-
Notifications
You must be signed in to change notification settings - Fork 40.9k
hack/tools enable additional linter gocritic in golangci-lint #113256
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
@oscr: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/sig testing |
Enables linter gocritic with two checks enabled for a subset of the project
00d6944
to
21fa8d1
Compare
which linter enables the missing check on errors? |
we'd like to prioritize that if possible |
/test pull-kubernetes-e2e-kind |
@aojea Do you mean EDIT: Maybe you mean this revive check https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unhandled-error ? |
Before you prepare PRs against test/e2e* that add error checks (or any other wide-ranging changes), let's merge #112923 first. |
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.
Thanks!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oscr, thockin 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 Failure not related to this pr: |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Enables linter gocritic with two checks enabled for a subset of the project.
My goal is to remove the exclusions in follow up prs, but I'm trying to keep the prs small to make them easier to merge.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?