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])

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])
raw docstring

defrulecljmacro

(defrule rule-name docs 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, grouped by :init-type and full-name

All registered rules, grouped by :init-type and full-name
sourceraw docstring

replace->diagnosticclj

(replace->diagnostic replace-map)
source

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

× close