Skip to content

Commit

Permalink
Increase the number of required occurences for goconst linter (elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch authored and kush-elastic committed May 2, 2022
1 parent 799c1a8 commit 07f1de3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ linters-settings:
goconst:
# minimal length of string constant, 3 by default
min-len: 3
# minimal occurrences count to trigger, 3 by default
min-occurrences: 2
# minimal occurrences count to trigger
min-occurrences: 5

dupl:
# tokens count to trigger issue, 150 by default
Expand Down
4 changes: 2 additions & 2 deletions dev-tools/templates/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ linters-settings:
goconst:
# minimal length of string constant, 3 by default
min-len: 3
# minimal occurrences count to trigger, 3 by default
min-occurrences: 2
# minimal occurrences count to trigger
min-occurrences: 5

dupl:
# tokens count to trigger issue, 150 by default
Expand Down

0 comments on commit 07f1de3

Please sign in to comment.