diff options
Diffstat (limited to '.golangci.yml')
| -rw-r--r-- | .golangci.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml index 010e10490..7bee35ebf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -76,8 +76,8 @@ linters-settings: dupl: threshold: 60 goconst: - min-len: 7 - min-occurrences: 4 + min-len: 3 + min-occurrences: 3 nestif: # TODO: consider reducing this value. min-complexity: 12 @@ -109,3 +109,6 @@ issues: - path: (dashboard/app/.*_test\.go) linters: - dupl + - path: (prog/.*_test\.go) + linters: + - goconst |
