From 9860650b3df6d1185cd8ddb419df08466517c205 Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Sat, 20 Jun 2026 19:07:54 +0200 Subject: [PATCH] chore(lint): tweak golangci-lint Signed-off-by: Luca Di Maio --- .golangci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 2d4ada74..a84a30c4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -165,7 +165,7 @@ linters: cyclop: # The maximal code complexity to report. # Default: 10 - max-complexity: 30 + max-complexity: 35 # The maximal average package complexity. # If it's higher than 0.0 (float) the check is enabled. # Default: 0.0 @@ -320,6 +320,9 @@ linters: # https://github.com/godoc-lint/godoc-lint?tab=readme-ov-file#no-unused-link - no-unused-link + gocyclo: + min-complexity: 35 + govet: # Enable all analyzers. # Default: false