Skip to content

Commit 69db489

Browse files
committed
Lower complexity threshold
1 parent a6bdf42 commit 69db489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
linters-settings:
33
cyclop:
44
# NOTE: This is a very high transitional threshold
5-
max-complexity: 38
5+
max-complexity: 37
66
package-average: 34.0
77
skip-tests: true
88

@@ -26,7 +26,7 @@ linters-settings:
2626
default-signifies-exhaustive: true
2727

2828
nestif:
29-
min-complexity: 10
29+
min-complexity: 8
3030

3131
nolintlint:
3232
require-explanation: true

0 commit comments

Comments
 (0)