-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Your feature request related to a problem? Please describe.
Some string literals may generate false positives. google/syzkaller#4323 is an example.
Describe the solution you'd like.
goconst sinve v1.7.0 supports the ignore-strings regexp.
It allows to opt-out some literals.
This new parameter is not yet supported by golangci-lint.
Describe alternatives you've considered.
- To opt-out specific lines by "// nolint: goconst".
- To add special literal.
Additional context.
No response
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested