This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-18
Channels
- # adventofcode (26)
- # announcements (3)
- # babashka (12)
- # beginners (20)
- # biff (33)
- # cider (4)
- # clj-kondo (9)
- # cljdoc (17)
- # clojure (35)
- # clojure-art (6)
- # clojure-belgium (1)
- # clojure-denmark (1)
- # clojure-europe (1)
- # clojure-norway (25)
- # clojurescript (29)
- # conjure (19)
- # cryogen (1)
- # datomic (23)
- # honeysql (2)
- # java (3)
- # joyride (9)
- # lsp (24)
- # malli (3)
- # nbb (2)
- # off-topic (25)
- # pathom (2)
- # pedestal (8)
- # portal (1)
- # practicalli (7)
- # re-frame (1)
- # reitit (4)
- # releases (1)
- # shadow-cljs (14)
You can do this in two ways: only explicitly lint the folders you want to lint: clj-kondo --lint src/foo src/bar
or configure {:output {:exclude-files ["regex"]}}
✅ 1
I don't like an idea to completely disable :shadowed-linter
for expression but want to configure :exclude
instead...
Well, the silly attempt did not work 🙂
(defn declare-type
#_{:clj-kondo/config {:linters {:shadowed-var {:exclude [type]}}}}
[type {:keys [as-handler, as-wrapper, type-alias]}]
I did not. This is in config.edn? Too far from expression itself, can be easily missed in refactoring...
replied to a thread:Can we use specific configuration to expression like
#_{:clj-kondo/config {}}
I don't like an idea to completely disable :shadowed-linter
for expression but want to configure :exclude
instead...
replied to a thread:Can we use specific configuration to expression like
#_{:clj-kondo/config {}}
Well, the silly attempt did not work 🙂
(defn declare-type
#_{:clj-kondo/config {:linters {:shadowed-var {:exclude [type]}}}}
[type {:keys [as-handler, as-wrapper, type-alias]}]