This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-02
Channels
- # announcements (2)
- # babashka (21)
- # beginners (80)
- # bristol-clojurians (1)
- # calva (1)
- # cider (4)
- # clara (2)
- # clj-kondo (5)
- # cljs-dev (41)
- # clojure (8)
- # clojure-dev (2)
- # clojure-europe (28)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-spec (13)
- # clojure-sweden (1)
- # clojure-uk (11)
- # clojuredesign-podcast (5)
- # clojurescript (5)
- # code-reviews (4)
- # cursive (25)
- # data-science (5)
- # datomic (25)
- # duct (15)
- # emacs (6)
- # fulcro (13)
- # graalvm (1)
- # graphql (5)
- # helix (2)
- # jobs (3)
- # jobs-discuss (4)
- # luminus (1)
- # malli (13)
- # meander (3)
- # off-topic (16)
- # pathom (2)
- # pedestal (1)
- # re-frame (5)
- # ring-swagger (3)
- # spacemacs (4)
- # sql (16)
- # tools-deps (1)
- # tree-sitter (8)
- # vrac (2)
- # xtdb (16)
- # yada (2)
I'd like to get started on this feature soon: https://github.com/borkdude/clj-kondo/issues/872 Ignoring a warning from clj-kondo on one form at a time. If you have any input on this, feel free to join the discussion.
some of the code in here: https://github.com/sogaiu/adorn adds inline defs to functions -- along with metadata. it might be relatively easy to adapt / copy-modify the code there to make editor support for adding the "markings" that you decide upon.
Right now I'm thinking of: ^:clj-kondo/ignore
for ignoring every warning/error in form. And ^{:clj-kondo/ignore [:invalid-arity]}
for ignoring specific linter warnings. Possibly support for fine-grained config: ^{:clj-kondo/config {:linters {:unresolved-symbol {:level :warning}}}}
on forms, although I think that's a bit of a stretch and too verbose for this purpose.