diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-06 11:34:20 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-07 10:41:01 +0200 |
| commit | 3f04838a10346e60b9dd81f0adb47c2518486d28 (patch) | |
| tree | 76348cbffe82c8126b2f01ad5e1b6d757c1d3007 /.golangci.yml | |
| parent | cdf1aa4dc338ddd37917942e7d6b992f4e079a00 (diff) | |
.golangci.yml: make goconst checker more strict
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 |
