-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Switch the linter from golint to revive, and fix warnings. #4212
Conversation
Looks like we might have to wait for tektoncd/plumbing#882 since 1.39 throws some warnings that 1.42 doesn't. |
/test pull-tekton-pipeline-build-tests |
Failure is legit I think. Does |
If I run golangci-lint 1.42 locally, I see no errors. If I run it with 1.39, I see these. My guess was that the plumbing change hadn't taken effect yet. Might be worth just fixing these though... |
/test pull-tekton-pipeline-build-tests |
This finishes up the switch from the deprecated golint to revive, which is the replacement. This was started in tektoncd#4206. This consisted of one new lint warning, switching some suppressions to revive from golint, and fixing some new errors. Signed-off-by: Dan Lorenc <[email protected]>
The following is the coverage report on the affected files.
|
OK, I gave up and fixed them. |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor, vdemeester 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 |
/retest |
Changes
This finishes up the switch from the deprecated golint to
revive, which is the replacement. This was started in #4206.
This consisted of one new lint warning, and switching some
suppressions to revive from golint.
Signed-off-by: Dan Lorenc [email protected]
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes