-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable deprecated linters - structcheck, deadcode, varcheck, ifshort #7115
Comments
/kind cleanup |
/assign |
I've removed the linters in #7114 to see if it's desirable / if there's any objections. |
I'd 👍 for making use of A buggy / non-deterministic ifshort makes no sense for me. |
+1 to drop them |
+1 to drop them given that we are already running the unused linter |
/triage accepted |
dropped in #7114 /close |
@killianmuldoon: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The following linters are deprecated in golangci-lint but we're still using them in our config:
We should remove these linters at some point as they're no longer mantained, but is there a strong reason to keep any of them around?
I think ifshort is low-impact and is currently buggy (gives different results on my machine for some reason). The others - deadcode, varcheck, and struct check can all be replaced by
unused
The text was updated successfully, but these errors were encountered: