eastwood 2023-12-12

How would I disable a deprecations warning for an instance method in java in my eastwood config?

(disable-warning {:linter :deprecations
                  ....
                  :reason "something uses this even when knowing other things exist"})
I want to disable a the deprecation warning for Instance method 'public final void java.lang.Thread.stop()' is deprecated.

Not sure how to refer to that here....

Oh so I can just do a

:deprecations {'my.namespace true}

Neato

✌️ 1

Thanks!

🍻 1