Update golangci-lint to v2.12.2 with canonical config
All checks were successful
check / check (push) Successful in 1m5s
All checks were successful
check / check (push) Successful in 1m5s
Bump the pinned golangci-lint from v2.12.1 to v2.12.2 in the Dockerfile lint stage (tagged, digest-pinned Debian image) and in script/bootstrap (go install ref). Replace .golangci.yml with the canonical config: linter settings (lll, funlen, cyclop, dupl) move under linters.settings per the v2 schema so they are actually applied, and the redundant issues.exclude-use-default key is dropped. No new lint findings surfaced; make check is green.
This commit is contained in:
7
TODO.md
7
TODO.md
@@ -19,6 +19,13 @@
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- update golangci-lint to v2.12.2 with the canonical config
|
||||
(2026-08-07, branch `golangci-v2.12.2`): bumped the pinned linter
|
||||
in the `Dockerfile` lint stage and `script/bootstrap` from v2.12.1
|
||||
to v2.12.2, and replaced `.golangci.yml` with the canonical file —
|
||||
the linter settings (`lll`, `funlen`, `cyclop`, `dupl` thresholds)
|
||||
now live under `linters.settings` per the v2 schema, so they are
|
||||
actually applied; no new lint findings surfaced
|
||||
- make the binary the default Make target (2026-07-24, branch
|
||||
`make-default-target`): plain `make` now builds `sfdupes`
|
||||
(previously it ran `check` plus `build`); `make build` remains as
|
||||
|
||||
Reference in New Issue
Block a user