This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-12
Channels
- # announcements (4)
- # asami (3)
- # babashka (18)
- # babashka-sci-dev (2)
- # beginners (55)
- # calva (18)
- # clj-commons (23)
- # clj-kondo (2)
- # cljfx (7)
- # cljs-dev (15)
- # clojure (96)
- # clojure-europe (43)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-uk (11)
- # clojurescript (1)
- # datalevin (2)
- # datomic (10)
- # events (1)
- # google-cloud (4)
- # gratitude (16)
- # helix (3)
- # hyperfiddle (63)
- # inf-clojure (13)
- # introduce-yourself (4)
- # ipfs (2)
- # jobs (2)
- # jobs-discuss (12)
- # leiningen (7)
- # lsp (15)
- # off-topic (38)
- # polylith (24)
- # portal (27)
- # remote-jobs (8)
- # sci (27)
- # spacemacs (5)
- # specter (1)
- # sql (5)
- # xtdb (41)
What's the proper way to use :clojure-lsp/unused-public-var
& exclude-when-defined-by
? I have a def
-like macro (`devcards.core/defcard-rg`), and I'd like to get rid of unused public var warnings
unless you configured clj-kondo to lint devcards.core/defcard-rg
as something else I think, is your project public?
Ah, that might be the reason. In any case, we decided to ditch the library in question so that sort of solves the problem :)
👍 1
:linters {
:clojure-lsp/unused-public-var
{:level :warning
:exclude-when-defined-by #{nosco.views.design-system-utils/defsection}}}
Do you have a repro with that macro @U7PBP4UVA? So I can try