This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-26
Channels
- # announcements (9)
- # babashka (36)
- # beginners (13)
- # biff (24)
- # calva (12)
- # clj-kondo (18)
- # clojure (65)
- # clojure-brasil (1)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (87)
- # clojure-uk (4)
- # clojurescript (28)
- # datahike (25)
- # fulcro (12)
- # hyperfiddle (16)
- # malli (74)
- # missionary (1)
- # music (2)
- # off-topic (24)
- # polylith (4)
- # releases (3)
- # tools-deps (23)
Hello, does anyone know where should I put the "{:clj-kondo/config {:ignore [:unresolved-symbol]}}" when I define a new macro, so that the linter doesn't paint the whole buffer in red wherever I use this macro 😅
You cannot put it in the macro definition, kondo is a static analyzer, it doesn't expand macros
my question is if it is possible to ignore the linting when I use the second macro (defspel)
should be easy to mark defspel
as similar to a def. But I don’t know how you could do it inline
I've never needed to manually configure clj-kondo so I don't know if this is even possible. I could not solve this reading through the docs (which are great btw)
@U05H80AEKMM do you mean, you don't know where to put the config? (re: the original message)
this is in .clj-kondo/config.edn
HI, (sorry for the @ mention) I was trying to see if there was a way to add this config 'inline' for defspel.
ah yes, what @U11BV7MTK said then