This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-27
Channels
- # announcements (2)
- # babashka (60)
- # beginners (73)
- # calva (23)
- # cider (2)
- # clj-kondo (19)
- # cljs-dev (31)
- # clojure (29)
- # clojure-berlin (1)
- # clojure-europe (6)
- # clojure-nl (17)
- # clojure-spec (21)
- # clojure-uk (15)
- # clojurescript (54)
- # core-async (48)
- # cursive (35)
- # datomic (12)
- # emacs (12)
- # fulcro (66)
- # graalvm (3)
- # graphql (16)
- # jackdaw (1)
- # malli (1)
- # off-topic (11)
- # pedestal (4)
- # re-frame (10)
- # reitit (1)
- # rewrite-clj (8)
- # ring-swagger (8)
- # shadow-cljs (14)
- # spacemacs (2)
- # vim (5)
is there a way to use the analysis output to ignore certain instances of error/warning? My use case is to have a file of grandfathered errors that I chip away at over time, while disallowing new errors.
seems like saving the analysis output, editing it down to those i want to ignore, and leaving in .clj-kondo/ might work
@tws
1. save the current findings (EDN output :findings
key) somewhere as a baseline
2. save the future findings to a file
3. find only the new findings using a small Clojure script (babashka may come in handy if you want it to be fast).
4. print those findings in CI or do whatever you want to do with it
Note that clj-kondo also works as a JVM lib, so you can also do it from a small Clojure jvm program
would you consider this as a feature? happy to make an issue. Basically above. A file inside .clj-kondo/
, probably in analytics format, where duplicate errors/warnings are supressed?
I think for now it falls more in the category of things you can do with scripting yourself, given the output of clj-kondo. See for examples: https://github.com/borkdude/clj-kondo/tree/master/analysis If enough people are asking for this, I will consider it.