This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-08
Channels
- # babashka (18)
- # beginners (35)
- # biff (15)
- # cider (24)
- # clj-commons (26)
- # clj-kondo (12)
- # clojure (18)
- # clojure-austin (1)
- # clojure-dev (2)
- # clojure-europe (15)
- # clojure-losangeles (1)
- # clojure-nl (1)
- # clojure-norway (88)
- # clojure-seattle (2)
- # clojure-spec (14)
- # clojure-uk (27)
- # clojuredesign-podcast (5)
- # clojurescript (25)
- # cursive (3)
- # datahike (26)
- # datalevin (13)
- # datomic (39)
- # etaoin (19)
- # events (1)
- # fulcro (12)
- # graphql (1)
- # hyperfiddle (40)
- # introduce-yourself (3)
- # joyride (8)
- # lsp (53)
- # missionary (7)
- # nyc (1)
- # off-topic (31)
- # overtone (10)
- # reitit (6)
- # shadow-cljs (9)
- # slack-help (9)
- # thejaloniki (1)
- # tools-deps (12)
hi eveybody! I'm working on a project which is full of macros so seeing lots of errors when running clj-kondo. I'm currently trying to ignore them with :
:config-in-call {app/the-macro {:linters {:unresolved-symbol {:level :off}}}
...}
etc.
So a couple of questions :
Is there a way of muting all linters for a specific macro?
And is there a way of logging the linter error/warning keyword next to each error so I can know what to mute?thank!!!
i can help you write a hook if you would like that instead
thanks @UEENNMX0T, I think for now ignoring them will be enough, but in the future I should probably do that
has anyone explored auto-generating hooks from macro definitions? i wonder if it would be possible for "simple" macros to convert the syntax-quoted output into the relevant api/X-node
forms
right, but that requires duplicating the macro in the hook. i'm wondering if it would be possible to analyze the input and create a similar macroexpand
hook without duplication
yeah no doubt i'll run headfirst into them, but it's fun to try
https://clojurians.slack.com/archives/CPABC1H61/p1699481214925639 is a thread where kondo told me a fib