Fork me on GitHub
#clj-kondo
<
2019-05-15
>
mynomoto17:05:55

Is the plan for clj-kondo to do everything that the joker linter does?

borkdude17:05:46

step by step, maybe

borkdude17:05:01

what are the most pressing things you are missing from joker?

mynomoto16:05:15

Unused bindings and using undefined vars. And then I wouldn't need joker anymore. 😃

borkdude17:05:50

https://github.com/borkdude/clj-kondo/issues/173 https://github.com/borkdude/clj-kondo/issues/174 with unresolved vars I’m a little bit concerned about too many false positive, e.g. when people use (use 'foo), etc.

mynomoto17:05:00

I would be happy with what joker does, do not support use nor :refer-all. You need to help yourself too 😉

borkdude17:05:24

yeah. a little secret is that clj-kondo totally ignores use right now

borkdude17:05:39

I think that’s the direction the community should be taking. clojurescript also doesn’t support it 😉

mynomoto17:05:43

It would be nice to use regex for exclusions of unused namespaces. Something like .*\.spec

borkdude17:05:03

I guess that’s possible without affecting current users of the config. which is {:linters {:unused-namespace {:exclude [some.namespace/foo]}

borkdude17:05:22

we could just allow strings in there and interpret them as regex maybe

mynomoto17:05:33

That should work. 👍:skin-tone-2:

mynomoto21:05:38

Great! 🎆