aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2023-12-05 15:25:54 +0100
committerTaras Madan <tarasmadan@google.com>2023-12-06 11:31:44 +0000
commit770eb17384040db8ca9eb19f03f0664d77ca115a (patch)
treed9828fee852d212e1f9266ff6a9af436401b0351
parent2ab72b4feef2c97f22f90cfbf9e45a6cfcd08bda (diff)
.golangci.yml: opt-out goconst tests to integrate new golangci-lint
-rw-r--r--.golangci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 1a5171205..17856068c 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -82,6 +82,8 @@ linters-settings:
goconst:
min-len: 3
min-occurrences: 3
+ ignore-tests: true # re-enable once goconst 1.7.0+ merged into golangci-lint
+ ignore-strings: "[syzbot] | (2)|Re: " # will be enabled by goconst 1.7.0
nestif:
# TODO: consider reducing this value.
min-complexity: 12