clojure icon indicating copy to clipboard operation
clojure copied to clipboard

clj-kondo lint rules

Open practicalli-johnny opened this issue 4 years ago • 0 comments

Ignoring expressions

Using ... will inform clj-kondo to ignore the following expression

#_:clj-kondo/ignore
(,,,)

Common use would be for a (comment ...) block (although I believe they are ignored by default in clj-kondo)

#_:clj-kondo/ignore
(comment
  (repl-driven-development :experiment)
)

Specific lint rules can be ingnored rather than blanket ignoring

#_{:clj-kondo/ignore [:invalid-arity]}
(,,,)

Add reference to lint rule on clj-kondo page

https://github.com/borkdude/clj-kondo/blob/master/doc/linters.md

practicalli-johnny avatar Dec 06 '20 07:12 practicalli-johnny