🌱chore: Update golangci-lint version to v2.10.1#3470
🌱chore: Update golangci-lint version to v2.10.1#3470dongjiang1989 wants to merge 4 commits intokubernetes-sigs:mainfrom
Conversation
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dongjiang1989 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Looks like the nolint's are somehow not working, maybe they have to be in different files somehow? (https://github.com/kubernetes-sigs/controller-runtime/actions/runs/22764085086?pr=3470) |
.golangci.yml
Outdated
| # Allow 'version' as a package name even though it conflicts with Go 1.24+ stdlib | ||
| - linters: | ||
| - revive | ||
| path: tools/setup-envtest/version/.*\.go$ |
There was a problem hiding this comment.
Maybe let's just use the nolint comments consistently for this one instead of also adding an exclude here?
There was a problem hiding this comment.
Thanks @sbueringer
Fixed
So many nolint add, just add in .golangci.yml
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
No description provided.