This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-12
Channels
- # announcements (19)
- # babashka (33)
- # beginners (96)
- # bitcoin (6)
- # cider (11)
- # circleci (5)
- # clj-kondo (22)
- # cljs-dev (4)
- # cljsjs (2)
- # clojure (65)
- # clojure-australia (9)
- # clojure-berlin (1)
- # clojure-europe (53)
- # clojure-italy (2)
- # clojure-nl (2)
- # clojure-uk (42)
- # clojurescript (9)
- # conjure (1)
- # cursive (33)
- # data-oriented-programming (1)
- # data-science (6)
- # datomic (12)
- # emacs (12)
- # fulcro (7)
- # graphql (4)
- # honeysql (5)
- # jobs (2)
- # juxt (8)
- # lsp (30)
- # malli (9)
- # off-topic (9)
- # other-languages (1)
- # re-frame (17)
- # reagent (11)
- # reitit (5)
- # releases (2)
- # remote-jobs (3)
- # shadow-cljs (39)
- # spacemacs (6)
- # sql (2)
- # testing (3)
- # tools-deps (43)
- # vim (5)
- # xtdb (11)
I have a flycheck-clj-kondo question posted in #clj-kondo
but I’m not seeing the flycheck-clj-kondo listed in melpa packages
I think you shouldn't be using the package-install
in spacemacs.
For clj-kondo, I've set this up in the .spacemacs
file:
• SPC f e d
• in dotspacemacs-configuration-layers
(clojure :variables
clojure-backend 'cider
clojure-toplevel-inside-comment-form t
clojure-enable-clj-refactor t
clojure-enable-linters 'clj-kondo)
@ps
If you have LSP enabled for Clojure, then you do not need to add clj-kondo, lsp will already provide that.
If not using LSP, then yes as Shan says, add clj-kondo to the clojure layer using clojure-enable-linters 'clj-kondo
,
You will need the clj-kondo binary installed on the operating system executable path which is recognised by Emacs, check with SPC f e e
and see the value of PATH
Spacemacs develop
branch is required
As is the syntax-checking
layer
Any packages installed with package-install will be removed by Spacemacs the next time Emacs is restarted. There are a great many layers available with Spacemacs, removing the need to install packages directly https://develop.spacemacs.org/layers/LAYERS.html