This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-04
Channels
- # announcements (30)
- # aws (7)
- # babashka (7)
- # beginners (64)
- # calva (39)
- # cherry (17)
- # cider (1)
- # clj-on-windows (6)
- # clojure (30)
- # clojure-austin (12)
- # clojure-europe (25)
- # clojure-nl (2)
- # clojure-norway (23)
- # clojure-spec (23)
- # clojure-uk (6)
- # clojurescript (20)
- # cursive (18)
- # datahike (3)
- # datalevin (12)
- # datomic (9)
- # etaoin (5)
- # graalvm (45)
- # instaparse (2)
- # interceptors (11)
- # kaocha (1)
- # lsp (102)
- # meander (6)
- # nbb (16)
- # off-topic (30)
- # pathom (83)
- # pedestal (6)
- # portal (5)
- # re-frame (12)
- # reitit (5)
- # rewrite-clj (10)
- # scittle (35)
- # shadow-cljs (49)
- # spacemacs (10)
- # vim (14)
pinging @ericdallo - I don't think it should have to be slower
there were some issues before that it wanted to analyze your whole project before it did anything, but I think they might be addressed now
We use for all nubank services as official linter on CI, it's pretty fast even on medium/big projects
and for clojure-lsp format
we don't check external dependencies, so it's even faster than running clojure-lsp diagnostics
.
Consistency is important too (rely on classpath, project settings etc), than you manually pass folders to it
We use at Nubank via lein-clojure-lsp, this way lein lint
works on both local and CI and users don't need clojure-lsp installed locally for intellij Users for example
but I don't think it will be that fast as in the end formatting whole project code is not that fast as it delegates to cljfmt in the end
personally I don't care so much, it does that via lsp on-save-hook locally but we have some people who still don't use lsp !
cljstyle is a fork of cljfmt that's distributed as a single binary: https://github.com/greglook/cljstyle