Liking cljdoc? Tell your friends :D

noahtheduke.splint.rules

All rules-related functionality.

Rules don't actually use defrecord, but act like they do with the following definition:

(defrecord Rule [name genre full-name docstring init-type pattern-raw replace-raw message min-clojure-version ext pattern patterns on-match autocorrect])

All rules-related functionality.

Rules don't actually use defrecord, but act like they do with the following definition:

(defrecord Rule
  [name genre full-name docstring init-type pattern-raw replace-raw message min-clojure-version ext pattern patterns on-match autocorrect])
raw docstring

defrulecljmacro

(defrule rule-name
         docs
         {:keys [pattern patterns replace on-match message init-type
                 min-clojure-version ext autocorrect]
          :as opts})

Define a new rule.

Must include:

  • EITHER :pattern or :patterns,
  • EITHER :replace or :on-match
Define a new rule.

Must include:

* EITHER `:pattern` or `:patterns`,
* EITHER `:replace` or `:on-match`
sourceraw docstring

global-rulesclj

All registered rules, indexed by their qualified name, and all registered genres.

All registered rules, indexed by their qualified name, and all registered genres.
sourceraw docstring

postwalk-splicing-replaceclj

(postwalk-splicing-replace binds replace-form)
source

replace->diagnosticclj

(replace->diagnostic replace-form)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close