-
Notifications
You must be signed in to change notification settings - Fork 40
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
var-- should count as assignment #57
Comments
@troyronda Thanks for the report! This is fixed in 5f129ac on master but not yet released in WSL or merged to golangci-lint! I was hoping to get some work done with the fixer in #4 before the next PR to golangci-lint but I guess that might be a bit optimistic and since there are more fixes in wsl not yet merged to golangci-lint I might have to create a PR before the fixer is in place. |
I've released v1.2.6 in WSL in the meantime so if it's really urgent it's possible to build golangci-lint manually. |
@bombsimon Excellent. Thanks for the update! |
PR in |
Merged to master i golangci-lint, closing |
golangci-lint v1.21
resulted in a linter warning.
However an if statement following an assignment should be allowed.
The text was updated successfully, but these errors were encountered: