-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix all the linter errors in cmd package #2334
Conversation
I will be posting some more fixes which will actually remove some of the problems, tomorrow. But all of those will be in separate PR based on this one |
Well most are silenced actually as a lot of them will require a lot of code changes.
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, one tiny suggestion
@@ -55,7 +55,7 @@ var ( | |||
showCloudLogs = true | |||
) | |||
|
|||
//nolint:funlen,gocognit,gocyclo | |||
//nolint:funlen,gocognit,gocyclo,cyclop |
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.
//nolint:funlen,gocognit,gocyclo,cyclop | |
//nolint:funlen,gocognit,cyclop |
gocyclo has been disabled
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.
why didn't nolintlint told me that then 🤔
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.
There is an open question for it golangci/golangci-lint#2395
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 is very nice! 👍
I have a somewhat related suggestion though, about version; see the comment.
Well most are silenced actually as a lot of them will require a lot of
code changes.