golangci-lint v2.15.0 (CI pin bumped from v2.12.2) no longer panics on the Go 1.27 standard library, so staticcheck and unused are back in .golangci.yml.
Findings fixed:
unused: groupTree.depth, pdf.charWidth, a test helper callCount.
ST1005: three notifier errors started with a product name (rephrased); the CLI usage text is now a usageError type instead of errors.New(usage).
QF1001/QF1008: two negations rewritten by De Morgan; cfg.Common.Validate() → cfg.Validate().
golangci-lint run reports 0 issues; go test -p 1 ./... passes.
golangci-lint **v2.15.0** (CI pin bumped from v2.12.2) no longer panics on the Go 1.27 standard library, so `staticcheck` and `unused` are back in `.golangci.yml`.
Findings fixed:
- `unused`: `groupTree.depth`, `pdf.charWidth`, a test helper `callCount`.
- ST1005: three notifier errors started with a product name (rephrased); the CLI usage text is now a `usageError` type instead of `errors.New(usage)`.
- QF1001/QF1008: two negations rewritten by De Morgan; `cfg.Common.Validate()` → `cfg.Validate()`.
`golangci-lint run` reports 0 issues; `go test -p 1 ./...` passes.
Closes #43
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
golangci-lint v2.15.0 ships a honnef.co/go/tools that analyzes the Go 1.27
standard library without panicking. Fix what they found: dead helpers, an
unused constant, error strings starting with a product name, the usage
error, and two negations simplified by De Morgan.
Closes#43
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi
merged commit 4097139e0b into main2026-11-23 06:17:47 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
golangci-lint v2.15.0 (CI pin bumped from v2.12.2) no longer panics on the Go 1.27 standard library, so
staticcheckandunusedare back in.golangci.yml.Findings fixed:
unused:groupTree.depth,pdf.charWidth, a test helpercallCount.usageErrortype instead oferrors.New(usage).cfg.Common.Validate()→cfg.Validate().golangci-lint runreports 0 issues;go test -p 1 ./...passes.Closes #43
🤖 Generated with Claude Code
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3