Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (23 loc) · 1.2 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.2 KB

clojure-lint layer

Deprecation Notice

I recommend using clj-kondo to lint your Clojure Code, this project will not be further developed.


clojure-lint

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:

cljc_support

Installation

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.

Usage

This automatically enables flycheck-mode with flycheck-joker on Clojure-files and lints your code. No additional steps should be required.