This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-07
Channels
- # aleph (4)
- # announcements (9)
- # babashka (44)
- # beginners (6)
- # cider (8)
- # clj-kondo (5)
- # clojars (10)
- # clojure (10)
- # clojure-berlin (1)
- # clojure-dev (9)
- # clojure-europe (20)
- # clojure-gamedev (1)
- # clojure-miami (2)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (5)
- # clojurescript (12)
- # conjure (1)
- # cursive (19)
- # data-science (2)
- # datahike (10)
- # etaoin (5)
- # events (3)
- # fulcro (14)
- # gratitude (2)
- # honeysql (8)
- # humbleui (1)
- # hyperfiddle (60)
- # introduce-yourself (7)
- # jobs-discuss (27)
- # juxt (2)
- # kaocha (7)
- # lsp (23)
- # malli (9)
- # missionary (2)
- # off-topic (48)
- # pathom (24)
- # releases (1)
- # shadow-cljs (256)
- # sql (46)
- # xtdb (19)
one thing that might be useful: when emitting a lint warning, also print what linter caused that warning so tweaking those settings becomes easier. In our case I’d like to enable/encourage usage of :refer :all
in test namespaces. Is there a way to disable the :refer-all
linter for a specific directory or namespace prefix?
Assuming your test namespaces have pattern to them, you can use a https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#namespace-groups and https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#config-in-ns
if you want the name of the linter in the output, use :output {:linter-name true}
: https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#show-linter-name-in-message
glad to help