This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-01
Channels
- # announcements (7)
- # beginners (30)
- # boot (6)
- # calva (24)
- # cider (8)
- # clj-kondo (8)
- # cljs-dev (16)
- # cljsrn (8)
- # clojure (60)
- # clojure-italy (19)
- # clojure-mexico (6)
- # clojure-nlp (2)
- # clojure-uk (11)
- # clojurescript (36)
- # datomic (11)
- # hoplon (1)
- # juxt (2)
- # kaocha (1)
- # keechma (13)
- # nrepl (1)
- # off-topic (51)
- # reagent (7)
- # rewrite-clj (17)
- # robots (7)
- # shadow-cljs (2)
- # sql (4)
- # testing (1)
- # tools-deps (11)
- # vim (12)
clj-kondo v2019.06.01-alpha! 🎉 major new feature: detecting unused function arguments and local bindings https://github.com/borkdude/clj-kondo/releases/tag/v2019.06.01-alpha
I use spacemacs, do you want to add any extra guidance https://github.com/borkdude/flycheck-clj-kondo/blob/master/README.md or are folks generally expected to know what to do?
I opted to enable both joker and clj-kondo so I first added these packages to my .spacemacs
config like so:
dotspacemacs-additional-packages '(flycheck-clj-kondo flycheck-joker)
And then again in .spacemacs
added the following under dotspacemacs/user-config
;; setup clojure linters
(use-package clojure-mode
:ensure t
:config
(require 'flycheck-joker)
(require 'flycheck-clj-kondo)
(dolist (checkers '((clj-kondo-clj . clojure-joker)
(clj-kondo-cljs . clojurescript-joker)
(clj-kondo-cljc . clojure-joker)))
(flycheck-add-next-checker (car checkers) (cons 'error (cdr checkers)))))
I guess ideally these linters would be optionally provided by the spacemacs clojure layer: https://github.com/syl20bnr/spacemacs/tree/develop/layers/%2Blang/clojure
made a clj-kondo demo site here: https://clj-kondo.michielborkent.nl