-
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
Bump golangci-lint to v1.42.0 from v1.30.0. #4206
Conversation
Also fix the resulting lint errors, and a few of the resulting lint warnings. One of the main linters we use (golint) is now deprecated. The replacement is known as revive, and golangci-lint displays a warning about this now. Unfortunately quite a few lint warnings appear during that update, so I'm doing it in a few pieces. Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
This updates the version of golangci-lint installed in our presubmit images. This accompanies tektoncd/pipeline#4206, which should make tests pass for tektoncd/pipeline with this update. Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
This updates the version of golangci-lint installed in our presubmit images. This accompanies tektoncd/pipeline#4206, which should make tests pass for tektoncd/pipeline with this update. Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
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
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 |
/test check-pr-has-kind-label |
This updates the version of golangci-lint installed in our presubmit images. This accompanies tektoncd/pipeline#4206, which should make tests pass for tektoncd/pipeline with this update. Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
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, and switching some suppressions to revive from golint. Signed-off-by: Dan Lorenc <dlorenc@google.com>
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, and switching some suppressions to revive from golint. Signed-off-by: Dan Lorenc <dlorenc@google.com>
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 <dlorenc@google.com>
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, switching some suppressions to revive from golint, and fixing some new errors. Signed-off-by: Dan Lorenc <dlorenc@google.com>
Changes
Also fix the resulting lint errors, and a few of the resulting lint warnings.
One of the main linters we use (golint) is now deprecated. The replacement is known
as revive, and golangci-lint displays a warning about this now.
Unfortunately quite a few lint warnings appear during that update, so I'm doing it in a few pieces.
Signed-off-by: Dan Lorenc lorenc.d@gmail.com
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes