@borkdude I definitely don't have alternatives when I'm suggesting a lint rule though :). Other than writing better code.
@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.
Ah. My creativity limits me here I'm afraid :)
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 :)
Happy to do that. I did start to, but didn't want to create noise.
Personally I don't mind, certainly not if it contributes to the quality of clj-kondo