Fork me on GitHub
#clj-kondo
<
2020-11-22
>
dominicm09:11:30

@borkdude I definitely don't have alternatives when I'm suggesting a lint rule though :). Other than writing better code.

borkdude09:11:43

@dominicm For example with this issue: https://github.com/borkdude/clj-kondo/issues/1076 You suggest a specific linting rule, but an alternative could have been a more general rule like the existing :single-key-in. That linter came from a discussion that we had while going through a couple of alternatives and imo is better than specific linters for :get-in, :assoc-in etc.

dominicm09:11:01

Ah. My creativity limits me here I'm afraid :)

borkdude09:11:58

That's why it can be useful to throw ideas around here first. If seancorfield (I think it was him) hadn't suggested it, maybe it would have become the more specific one :)

dominicm09:11:36

Happy to do that. I did start to, but didn't want to create noise.

borkdude10:11:45

Personally I don't mind, certainly not if it contributes to the quality of clj-kondo

👍 3