eastwood

Bailey Kocin 2023-12-12T21:11:14.433319Z

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.

Bailey Kocin 2023-12-12T21:11:21.584049Z

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

vemv 2023-12-12T21:13:01.931729Z

https://github.com/jonase/eastwood?tab=readme-ov-file#ignored-faults is more generalized and flexible

Bailey Kocin 2023-12-12T21:14:27.249689Z

Oh so I can just do a

:deprecations {'my.namespace true}

Bailey Kocin 2023-12-12T21:14:28.521869Z

Neato

✌️ 1
Bailey Kocin 2023-12-12T21:14:52.938929Z

Thanks!

🍻 1