-
Notifications
You must be signed in to change notification settings - Fork 433
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.63.4 #1132
🌱Bump golangci-lint to v1.63.4 #1132
Conversation
Signed-off-by: dongjiang <dongjiang1989@126.com>
Welcome @dongjiang1989! |
Hi @dongjiang1989. 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-sigs/prow repository. |
@@ -4,6 +4,19 @@ run: | |||
# while if uncached! | |||
timeout: 10m | |||
|
|||
linters: | |||
enable: |
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.
This seems like a short list. How did we decide which ones to enable?
Wondering if we should try to enable the same as in CR (potentially split up in multiple PRs if there would be a lot of findings)
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 @sbueringer
In my opinion it should be possible to enable all linters.
Under the previous default settings, .golangci.yaml
only enabled [errcheck gosimple govet ineffassign staticcheck unused]
linter.
I'll add other linters for next PR.
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.
Sounds good, thx!
In my opinion it should be possible to enable all linters.
Just to avoid misunderstandings. I would only enable the ones enabled in controller-runtime (vs. all :))
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.
Just to avoid misunderstandings. I would only enable the ones enabled in controller-runtime (vs. all :))
Thanks!
I got it.
/ok-to-test |
/lgtm Thank you! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dongjiang1989, sbueringer 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 |
LGTM label has been added. Git tree hash: 65057e12d9234faf5428e394eec8c208a0970614
|
Bump golangci-lint to v1.63.4