-
-
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
Add "zero" linter #3491
Labels
enhancement
New feature or improvement
linter: new
Support new linter
no decision
No decision to fix or not
Comments
leonklingele
added a commit
to leonklingele/golangci-lint
that referenced
this issue
Jan 31, 2023
Implements golangci#3491.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or improvement
linter: new
Support new linter
no decision
No decision to fix or not
Your feature request related to a problem? Please describe.
The
zero
linter finds unnecessary assignment which zero value assigns to a variable:https://github.com/gostaticanalysis/zero
Describe the solution you'd like.
—
Describe alternatives you've considered.
—
Additional context.
No response
The text was updated successfully, but these errors were encountered: