From 770eb17384040db8ca9eb19f03f0664d77ca115a Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 5 Dec 2023 15:25:54 +0100 Subject: .golangci.yml: opt-out goconst tests to integrate new golangci-lint --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit mrf-deployment