I recommend using clj-kondo to lint your Clojure Code, this project will not be further developed.
Enables clojure-mode, flycheck and flycheck-joker. Uses joker for linting in Clojure(Script). Therefore, you have to install joker and make sure it is a binary in the path, e.g. with
yaourt -S joker
Supports clj, cljs and cljc-files:
Clone this repository to a location where you store your private layers, e.g. ~/.emacs.layers
mkdir ~/.emacs.layers/
git clone https://github.com/n2o/clojure-lint-spacemacs-layer ~/.emacs.layers/clojure-lint
Then link this layer into your .emacs.d
folder:
ln -s ~/.emacs.layers/clojure-lint/ ~/.emacs.d/private/clojure-lint
At last, add the new layer clojure-lint
and the syntax-checking
layer to your dotspacemacs-configuration-layers.
This automatically enables flycheck-mode with flycheck-joker on Clojure-files and lints your code. No additional steps should be required.