Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 569 Bytes

Docker

To run with Docker:

docker run -v $PWD/src:/src --rm borkdude/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 borkdude/clj-kondo \
  clj-kondo --lint $(clj -Spath)

To lint stdin:

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

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

You can’t perform that action at this time.