SA1019 does not flag deprecated interface methods #3399
Unanswered
ramiro-gamarra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm working on a monorepo with lots of tech debt and lots of contributions. One way we are trying to fight off some anti-patterns is by deprecating some methods, and disallowing code to be merged if one such deprecated method is used. My hope was that we could replicate the behavior of SA1019 with something like
ioutil
, but with our own packages:Unfortunately, I am not able to figure out a way to make it work like that. Using
and package
if I have a file such as
I get no warnings from golangci-lint as I had expected:
I see staticcheck as active. Am I doing something wrong or is this not really supported?
Thanks a lot for your help.
Beta Was this translation helpful? Give feedback.
All reactions