jonase / eastwood

Clojure lint tool
1.09k stars 66 forks source link

Make `:unused-locals` configurable #449

Open christophe-riolo opened 11 months ago

christophe-riolo commented 11 months ago

Hello,

I was running in a similar issue as #193 , but as in #445 I run into Unknown error: java.lang.IllegalArgumentException: No matching clause: :unused-locals when I try to implement the :if-inside-macroexpansion-of, which makes me think that the same kind of fix is needed for this linter.

Thanks for Eastwood :pray:

vemv commented 11 months ago

Hi!

Thanks for the report.

I may give it a shot, however :unused-locals is one of those things where clj-kondo does an excellent job as well.

Normally I try to put effort in the areas where Eastwood still uniquely shines.

You can, in the meantime, use https://github.com/jonase/eastwood#ignored-faults which always works for all available linters.

Cheers - V