Update the canonical .golangci.yml for golangci-lint v2.15.0 #144

Merged
clawbot merged 1 commits from issue-142-golangci-v2-items into next 2026-11-04 01:28:10 +01:00
1 Commits
Author SHA1 Message Date
sneak 9733cb7833 Update the canonical .golangci.yml for golangci-lint v2.15.0 (closes #142)
check / check (push) Waiting to run
Moves the pin to v2.15.0 and enables canonicalheader again, because that
release fixes the random misses behind
#105.

The depguard exemption reached every directory below one ending in test,
and a whole checkout under such a directory. It now covers only the files
directly inside, and the directory a repository is cloned into does not
count. gomodguard_v2 also blocks github.com/go-redis/redis/v9, whose
pre-releases can still be imported.

uniq-by-line is now false, so a line that trips two linters reports both
findings.

Three comments are corrected. A new comment says the file has no
formatters section, so golangci-lint run does not run gofmt.

Model: opus-5-5
2026-11-03 23:49:17 +00:00