-
Notifications
You must be signed in to change notification settings - Fork 1.3k
dashboard/app: add "[syzbot] " constant #4323
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
4950390 to
6ee7a2c
Compare
6ee7a2c to
1e8f5a9
Compare
|
@a-nogikh ptal |
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.
Are there global ignore strings list? Maybe [syzbot] could belong there. I think tests are easier to follow if it's a string rather than if it's some referenced const.
Also, here we patch it when it's used more explicitly, but there are also cases where it's a part of a title like "[syzbot] fix bug title" from email_test.go, and it was just not caught by the linter.
|
No. The only alternative I see is to use "// nolint: goconst" in every line with "[syzbot]". |
|
Maybe there are at least per-file annotations? There must be. |
|
https://golangci-lint.run/usage/linters/#goconst is about configuration. jgautheron/goconst#22 to increase this 3 days long discussion value. |
1e8f5a9 to
a1100e7
Compare
|
Added to goconst tool.
|
a1100e7 to
6491d5c
Compare
|
golangci/golangci-lint#4200 landed the feature. |
It contributes to google#4317 unblocking.
6491d5c to
032a471
Compare
|
#4374 landed it |
It contributes to #4317 unblocking.