This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-06
Channels
- # announcements (3)
- # babashka (1)
- # beginners (26)
- # calva (1)
- # cider (17)
- # clj-commons (16)
- # clj-kondo (11)
- # clojure (21)
- # clojure-europe (9)
- # clojure-norway (1)
- # clojure-portugal (2)
- # clojure-spec (8)
- # clojure-uk (4)
- # clojurescript (35)
- # datomic (5)
- # emacs (9)
- # figwheel-main (15)
- # fulcro (26)
- # honeysql (1)
- # lsp (5)
- # off-topic (2)
- # polylith (1)
- # rdf (6)
- # re-frame (4)
- # reagent (15)
- # reitit (9)
- # releases (2)
- # shadow-cljs (4)
- # sql (25)
- # squint (2)
- # xtdb (7)
Is there a way to configure clj-kondo to disable the redundant expression linter just inside Midje fact
/`facts`?
(facts "about tests"
(fact "math"
(let [res {}]
(:status res) => 204
(+ 1 1) => 2)))
Oh sorry, I didn't see the screenshot, so testing
won't work here. Try :config-in-call
cc @UKFSJSM38 I think you contributed to the config for this lib right
Yeah, I added some hooks and some flaky fixes, do you think that one could go to the lib exported config as well?
I think so, but it would be good to test it :)
The :redundant-expression
linter got merged with :unused-value
recently. It seems that @U051KLSJF is still on an older version of kondo.
Thanks! I’ll try make a docs patch, I looked at the table of contents on the config but that one didn’t pop out to me.