From bb511a6f51ab1f9b7671d79fe25cbfa4767277f1 Mon Sep 17 00:00:00 2001 From: Henry Stern Date: Thu, 28 May 2026 23:47:23 -0300 Subject: [PATCH] =?UTF-8?q?chore(ci):=20bump=20gocyclo=20budget=2013=20?= =?UTF-8?q?=E2=86=92=2015?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FJB-94 adds one top-level setup branch per phase to cmd/fj-bellows main.run, which kept colliding with the gocyclo=13 budget and forcing extract-a-helper cycles for each phase. 15 still catches genuinely sprawling functions (upstream default is 30) without making every cross-cutting concern an extraction. Co-Authored-By: Claude Opus 4.7 (1M context) --- .golangci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index fadf390..374131f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -79,7 +79,11 @@ linters: min-len: 3 min-occurrences: 4 gocyclo: - min-complexity: 13 + # Bumped from 13 → 15 alongside FJB-94 (each phase adds one + # top-level setup branch to cmd/fj-bellows main.run). 15 still + # catches sprawling functions (upstream default is 30) without + # making every cross-cutting concern an extract-a-helper cycle. + min-complexity: 15 nolintlint: require-explanation: true require-specific: true