From a5cbf6fbbcd580399b509f30d6408be32e1f6899 Mon Sep 17 00:00:00 2001 From: closer-claudio Date: Sun, 15 Nov 2026 11:41:10 -0800 Subject: [PATCH] lint: the backlog stops naming what validate/runner.go no longer has The backlog block exempted validate/runner.go from forbidigo (7 findings at enrolment), varnamelen (2) and err113 (1). The runner has since stopped printing (it reports through Runner.Report), its errors are wrapped, and the short names are gone: with the three exemptions removed, `just do lint go` finds nothing in the file. gocognit's one finding there is still found and stays. The entry for cmd/git-validation/main.go stays whole: taken out, its five findings come back (forbidigo 3, gocognit 1, revive 1). For https://github.com/forkcloser/git-validation/issues/37. Co-Authored-By: Claude Fable 5.2 Signed-off-by: closer-claudio --- .lint-go.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.lint-go.yaml b/.lint-go.yaml index e772868..0ac6a08 100644 --- a/.lint-go.yaml +++ b/.lint-go.yaml @@ -136,8 +136,5 @@ golangci: - paralleltest # 2 - testpackage # 1 - path: ^validate/runner\.go$ - linters: # 11 findings - - forbidigo # 7 - - varnamelen # 2 - - err113 # 1 + linters: # 1 findings - gocognit # 1