-
Notifications
You must be signed in to change notification settings - Fork 1.6k
🌱 Bump the linter version #2275
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
|
Welcome @davidlanouette! |
|
Hi @davidlanouette. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/assign @estroz |
| - gosimple | ||
| - govet | ||
| - ineffassign | ||
| - interfacer |
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.
WARN [runner] The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner
| - gocyclo | ||
| - gofmt | ||
| - goimports | ||
| - golint |
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.
WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
| - misspell | ||
| - nakedret | ||
| - prealloc | ||
| - scopelint |
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.
WARN [runner] The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref.
| - ineffassign | ||
| - interfacer | ||
| - lll | ||
| - maligned |
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.
WARN [runner] The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'.
|
/ok-to-test |
|
bump. @camilamacedo86 or @joelanford Can I get a post-checks review for this? |
|
@davidlanouette can you squash your commits? Then I'll approve. |
|
@estroz I've squashed all commits into 1. Thanks for the review help! |
|
OOPS. looks like I have a little bit more work to do... @estroz I'll ping you again once I've addressed that failed job. |
|
/retest |
|
@estroz It looks like the retest did the trick. I think it only needs an lgtm, and she's good to go. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidlanouette, estroz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@davidlanouette thanks for the submission! |
Description
Update the version of golangci-lint to the latest version.
This change updates both the version that is downloaded, the config file to account for deprecated linters in 1.41, and fixes some issues found by
revive(which replacesgolint.)make lintandmake testboth pass with no issues.Motivation
Although the version in current use isn't "old", there are some linters that aren't maintained anymore, or have been supersededded by other linters.
The thought is that the latest version will be more likely to catch more "issues" - before they make it into a release.
Fixes
Fixes #2274