Fork me on GitHub
#clj-kondo
<
2019-12-07
>
Nick McCurdy04:12:25

Thanks I forgot to run that part of the setup

Nick McCurdy04:12:48

I’m enjoying Kondo so far 🙂

erwinrooijakkers19:12:22

I use this config:

(use-package clojure-mode
    :ensure t
    :config
    (require 'flycheck-joker)
    ;; (require 'flycheck-clj-kondo)
    (dolist (checker '(clj-kondo-clj clj-kondo-cljs clj-kondo-cljc clj-kondo-edn))
      (setq flycheck-checkers (cons checker (delq checker flycheck-checkers))))
    (dolist (checkers '((clj-kondo-clj . clojure-joker)
                        (clj-kondo-cljs . clojurescript-joker)
                        (clj-kondo-cljc . clojure-joker)
                        (clj-kondo-edn . edn-joker)))
      (flycheck-add-next-checker (car checkers) (cons 'error (cdr checkers)))))
And get this warning: > Error (use-package): clojure-mode/:config: clj-kondo-clj is not a valid syntax checker

borkdude20:12:39

you commented out require flycheck-clj-kondo, that's probably why?

erwinrooijakkers16:12:45

No doesn’t change the outcome…

erwinrooijakkers16:12:07

Same error messages with or without

erwinrooijakkers16:12:36

And I’ve added clj-kondo to additional packages like this:

dotspacemacs-additional-packages
   '(
     flycheck-joker
     flycheck-clj-kondo
     )

borkdude16:12:07

is this spacemacs? probably better ask in #spacemacs, they're very helpful there and they know it better than I do

erwinrooijakkers16:12:15

Ok I will thanks!