clj-kondo

https://github.com/clj-kondo/clj-kondo
lread 2020-11-30T22:14:12.040500Z

Heyo! I just learned that defprotocol https://clojure.atlassian.net/browse/CLJ-888. Should clj-kondo help out with a linter here? If so, want me to raise a git issue?

borkdude 2020-11-30T22:15:58.040700Z

yes please

lread 2020-11-30T22:29:14.041200Z

Cool, thanks, raised: https://github.com/borkdude/clj-kondo/issues/1082

borkdude 2020-11-30T22:30:29.042300Z

@lee It would help me if you could also make a suggestion for the specific error message, it will make me think less

lread 2020-11-30T22:30:39.042600Z

Sure thing.

borkdude 2020-11-30T22:30:55.043Z

Thanks!

borkdude 2020-11-30T22:31:18.043500Z

I'll also label it as PR welcome, but I'll get to it at some point if nobody else will take it

lread 2020-11-30T22:33:32.044500Z

I’m distractible to a fault, so I’d better not take it on until I make some progress on rewrite-cljc. :simple_smile:

borkdude 2020-11-30T22:34:05.045300Z

And I wouldn't want to distract you from that :)

lread 2020-11-30T22:35:27.046100Z

Also… noticed that clj-kondo doesn’t seem to validate defrecord functions? Maybe that’s covered by https://github.com/borkdude/clj-kondo/issues/140

borkdude 2020-11-30T22:36:01.046700Z

yes, that's a TODO. I run into it myself sometimes, but quite rarely :)

lread 2020-11-30T22:36:30.047400Z

Yeah, rewrite-clj uses protocols and records and that’s the only reason I noticed.

borkdude 2020-11-30T22:36:38.047700Z

I'll put that in the high priority column, it's been sitting there long enough ;)