Migrate canonical .golangci.yml to golangci-lint v2 config layout
All checks were successful
check / check (push) Successful in 6s

Move linter settings from the broken v1-style top-level linters-settings
key to linters.settings so golangci-lint >= v2 actually applies the
thresholds, and drop issues.exclude-use-default, which no longer exists
in the v2 schema. Add a comment documenting the v2 layout requirement.

Record the change in TODO.md Completed Steps.
This commit is contained in:
2026-08-07 16:44:49 +00:00
parent 3d8d1c0600
commit 3f9640b09e
2 changed files with 17 additions and 12 deletions

View File

@@ -21,6 +21,9 @@ fmt-check, and commit.
# Completed Steps
- 2026-08-07: Migrated the canonical `.golangci.yml` to the golangci-lint v2
config layout (settings under `linters.settings`, dropped
`exclude-use-default`).
- 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