golangci: set canonical config to the org-standard v2 file, note v2.12.2
All checks were successful
check / check (push) Successful in 7s

This commit is contained in:
clawbot
2026-08-07 20:56:53 +00:00
parent 2390c04450
commit 81c1a368d0
2 changed files with 9 additions and 25 deletions

11
TODO.md
View File

@@ -21,12 +21,11 @@ fmt-check, and commit.
# Completed Steps
- 2026-08-07: Migrated the canonical `.golangci.yml` to the golangci-lint v2
schema via `golangci-lint migrate` under v2.12.2 (settings under
`linters.settings`, explicit `exclusions` and `formatters` blocks,
`gomodguard` disabled in favor of `gomodguard_v2`; `gci` intentionally not
enabled). Recorded the canonical golangci-lint version (v2.12.2,
commit-pinned) in REPO_POLICIES.md.
- 2026-08-07: Set the canonical `.golangci.yml` to the org-standard v2-schema
config already deployed byte-identical across the org's Go repos (settings
under `linters.settings` so thresholds like lll/funlen/cyclop/dupl actually
apply under golangci-lint v2). Recorded the canonical golangci-lint version
(v2.12.2, commit-pinned) in REPO_POLICIES.md.
- 2026-03-20: Strengthened constructor naming and Params struct rules in the Go
styleguide.
- 2026-03-18: Documented fail-fast Dockerfile lint stage and conditional -v test