From d15836e260130f85edd5d9a104e5304f001d2681 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 3 Mar 2021 14:35:57 +0000 Subject: Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml index 1499747b..a327370e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -102,7 +102,7 @@ linters-settings: #local-prefixes: github.com/org/project gocyclo: # minimal code complexity to report, 30 by default (but we recommend 10-20) - min-complexity: 13 + min-complexity: 25 maligned: # print struct with more effective memory layout or not, false by default suggest-new: true -- cgit v1.2.3