{"repo":"borkdude/flycheck-clj-kondo","free":true,"listed":false,"github":"https://github.com/borkdude/flycheck-clj-kondo","clone":"git clone https://github.com/borkdude/flycheck-clj-kondo.git","description":"Emacs integration for clj-kondo via flycheck","language":"Emacs Lisp","stars":101,"topics":["clojure","clojurescript","linter","flycheck-extension"],"license":null,"category":"dev-tools","readme_excerpt":"flycheck-clj-kondo This package integrates clj-kondo with Emacs via flycheck. Installation Before installing the Emacs package, make sure the clj-kondo is on your path. For installation instructions, see https://github.com/borkdude/clj-kondo. MELPA Install from MELPA: Then add the following to your init.el: use-package Install via use-package: el-get Install via el-get: Multiple linters To set up multiple linters, e.g. in combination with flycheck-joker, add this after you required the linter packages: This ensures that the clj-kondo checkers are the first ones in the flycheck-checkers list. This is needed to make the chain work. To create the chain, also add the following code: Project Setup To lint across namespaces in a project, clj-condo needs a directory to store cached data. Create a .clj-kondo directory and lint the entire classpath from the command line. Testing Make sure Eldev and Babashka are installed. Run bb test for testing and bb lint for linting. You can also run bb all to execute the full test, lint, and compile check suite. Troubleshooting clj-kondo is on my PATH but Flycheck still says it's disabled (M-x flycheck-verify-setup) Check your PATH according to Emacs: M-x shell , then echo $PATH . If there are any differences between that PATH and the one you are able to run clj-kondo from (e.g., your PATH according to Terminal on macOS), add them by including them in your Emacs config. For example, if you needed to include /usr/local/bin , you could add to init.e","default_branch":null,"files":null,"tree":[],"storefront":"/r/borkdude","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borkdude/flycheck-clj-kondo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}