Liking cljdoc? Tell your friends :D

Docker

To run with Docker:

docker run -v $PWD/src:/src --rm cljkondo/clj-kondo clj-kondo --lint src

To lint an entire project including dependencies, you can mount your Maven dependencies into the container:

docker run -v $PWD/src:/src -v $HOME/.m2:$HOME/.m2 --rm cljkondo/clj-kondo \
  clj-kondo --lint $(clj -Spath)

To lint stdin:

echo '(select-keys)' | docker run -i --rm clj-kondo/clj-kondo clj-kondo --lint -

You can use the latest tag to get the latest non-SNAPSHOT release. See tags.

Can you improve this documentation? These fine people already did:
Michiel Borkent & Imre Kószó
Edit on GitHub

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

× close