From ec7653cdfef85f1638b966d1370ab44b2be8fa7a Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 20 Oct 2024 09:22:39 +0100
Subject: [PATCH] Increase slightly the gocognit code complexity threshold

---
 .golangci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.golangci.yml b/.golangci.yml
index f4d86fd..ac16c10 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -120,7 +120,7 @@ linters-settings:
     min-complexity: 30
   gocognit:
     # minimal code complexity to report, 30 by default (but we recommend 10-20)
-    min-complexity: 20
+    min-complexity: 25
   maligned:
     # print struct with more effective memory layout or not, false by default
     suggest-new: true
-- 
GitLab