Fork me on GitHub
#clj-kondo
<
2022-09-04
>
andrzejsliwa16:09:25

Hey, any idea why on new lein project or deps.edn I have such error from clj-kondo (via Clojure Extras plugin in Intellij IDEA)

andrzejsliwa16:09:57

when I’m running it manually I got:

andrzejsliwa16:09:51

so I’m guessing that problem is with Clojure Extras, but maybe somebody can confirm

andrzejsliwa16:09:12

switching from :refer to :as is solving problem… but still on command line is just one warning less for :refer

borkdude16:09:53

clj-kondo doesn't work very well with multiple :refer :alls

andrzejsliwa16:09:47

what you would recommend? listening for kondo warnings (replacing with :as or explicit) or disable kondo…

borkdude16:09:05

replace with :refer [deftest is testing]

andrzejsliwa16:09:33

so this is standard best practice?

borkdude16:09:45

yes - in CLJS refer :all doesn't even work

andrzejsliwa16:09:09

thank you, I will.

andrzejsliwa16:09:21

👍 thanks for hint