-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Hello!
I can see that the linter has a rich set of flags:
-ignore exclude files matching the given regular expression
-ignore-tests exclude tests from the search (default: true)
-min-occurrences report from how many occurrences (default: 2)
-min-length only report strings with the minimum given length (default: 3)
-match-constant look for existing constants matching the values
-numbers search also for duplicated numbers
but only a couple of options are available here
goconst:
min-len: 3
min-occurrences: 3
It would be very useful for us to ignore some constants, or turn off this linter for tests without touching other linters
Could you help with that? Thanks
Metadata
Metadata
Assignees
Labels
No labels