This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-23
Channels
- # announcements (26)
- # babashka (8)
- # babashka-sci-dev (3)
- # beginners (93)
- # biff (44)
- # calva (1)
- # cider (7)
- # clj-kondo (13)
- # cljdoc (1)
- # clojure (121)
- # clojure-australia (2)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (1)
- # clojurescript (35)
- # conjure (1)
- # core-async (2)
- # datalevin (6)
- # datomic (28)
- # emacs (25)
- # events (1)
- # fulcro (5)
- # introduce-yourself (2)
- # jobs (8)
- # leiningen (2)
- # off-topic (13)
- # other-languages (1)
- # podcasts-discuss (1)
- # polylith (7)
- # rdf (6)
- # re-frame (1)
- # reagent (53)
- # releases (3)
- # rewrite-clj (7)
- # scittle (5)
- # shadow-cljs (63)
- # specter (1)
- # squint (5)
- # tools-build (5)
- # xtdb (7)
any hints why kondo reports warning from this?
it is unused in the sense that if you write clojure like this:
(do "foo" "bar")
the string "foo" is unused, but clj-kondo doesn't know about the fact macro, perhaps there is a config for it and it can be improved. e.g. with :config-in-call {midje.sweet/fact {:linters {:unused-value {:level :off}}}}
or a more sophisticated hookinteresting corner case, but agreed, the config could go https://github.com/marick/Midje/blob/master/test-resources/clj-kondo.exports/marick/midje/config.ednfor all midje users, the same for facts
, tabular
I suppose
thanks for the clairification, looked into config.edn and still a bit unsure how all the different macros should be configured, at least tabular gives me warnings and something like
(:require [com.rpl.specter :refer [transform ALL]])
gives me unresolved varwe can maybe make a clj-kondo configs library for that one (https://github.com/clj-kondo/configs)