-
Notifications
You must be signed in to change notification settings - Fork 18.9k
golangci-lint: update to v1.49.0 #44089
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
Conversation
e0b6013 to
efd367f
Compare
|
The remaining ones appear to be legit, but we should review what timeouts we should (and can) set; details about these checks can be found below;
|
efd367f to
be5dcfa
Compare
be5dcfa to
35c000b
Compare
7ba1ff0 to
ec14766
Compare
|
Oh, fun; bug in the linter? I tried to enable all |
858a134 to
520281f
Compare
Remove the "deadcode", "structcheck", and "varcheck" linters, as they are
deprecated:
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the golangci/golangci-lint#2649.
Signed-off-by: Sebastiaan van Stijn <[email protected]>
520281f to
2f1c382
Compare
neersighted
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- is there a lint that can enforce a reason being added to inline linter exclusions?
Hmm.. good one; maybe there is 🤔. Actually, I think There's a sh*tload of linters in GolangCI-lint https://golangci-lint.run/usage/linters/, and I'm interested in |
Remove the "deadcode", "structcheck", and "varcheck" linters, as they are
deprecated:
- A picture of a cute animal (not mandatory but encouraged)