mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
- Run golangci-lint fmt to apply gofumpt v0.11.0 formatting (v0.9.2→v0.11.0 bundled in golangci-lint) across 30 files: purely mechanical whitespace and grouping changes, no logic changes. - Remove 3 stale //nolint:recvcheck directives from pkg/config/latest/types.go (recvcheck in golangci-lint v2.13.1 no longer flags MarshalYAML/JSON patterns, making those suppression comments unused). - Disable newly-activated modernize sub-checks in .golangci.yml: errorsastype, embedlit, stringscut, reflecttypeassert — all require Go 1.27 APIs or x/tools ≥ v0.48; pre-existing violations in unrelated files. A follow-up PR should re-enable these and clean up the violations. - Add .golangci.yml exclusions for pkg/config/v*/ (recvcheck + nolintlint): frozen versioned config types that cannot be modified; recvcheck changed behaviour between v2.12.2 and v2.13.1 leaving stale nolint directives.