This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-28
Channels
- # asami (1)
- # aws (9)
- # babashka (16)
- # beginners (32)
- # calva (2)
- # clj-kondo (20)
- # cljdoc (6)
- # clojure (35)
- # clojure-dev (25)
- # clojure-europe (11)
- # clojure-india (1)
- # clojure-norway (2)
- # clojure-spec (26)
- # clojure-uk (1)
- # clojurescript (41)
- # conjure (3)
- # css (9)
- # cursive (18)
- # data-oriented-programming (6)
- # data-science (2)
- # emacs (47)
- # events (1)
- # fulcro (15)
- # graalvm (30)
- # gratitude (7)
- # honeysql (27)
- # inf-clojure (4)
- # introduce-yourself (2)
- # lsp (129)
- # malli (7)
- # missionary (21)
- # nbb (17)
- # off-topic (18)
- # re-frame (6)
- # releases (1)
- # shadow-cljs (120)
- # vim (7)
- # xtdb (15)
How do I disable the linter completely for a specific namespace?
@viebel Either in the namespace metadata:
(ns foo {:clj-kondo/config '{:linters {foo {:level :off}}}})
or in .clj-kondo/config.edn
:
{:config-in-ns {my.namespace {:linters ...}}}
That’s for a specific linter. I want to disable all the linters
What should be instead of …
?
Is there another option?
We don't have anything in the API for this. So perhaps edn/read-string
+ surrounded with try/catch and count the args until &
to get the fixed args
I'm back to looking at this https://clojurians.slack.com/archives/CHY97NXE2/p1657652041362049 and ultimately trying to join the corresponding :var-definition's :arglist-str to a :var-usage.
I see. Here it is for https://github.com/borkdude/quickdoc/blob/a8068f1c8b13e09a2966804213fc41dd813de18e/src/quickdoc/impl.clj#L57. I'm looking at this stuff as part of my effort to make a normalized schema of the analysis data. I've decided to scale it back for now and only include functions and their calls (not all vars). I have function arities as separate records referencing their functions. So var-usages -> specific function arities -> fn definitions.