Skip to content

bump golangci-lint to v2.12.2#197

Merged
WillAbides merged 1 commit into
mainfrom
willabides/bump-golangci-lint
Jun 1, 2026
Merged

bump golangci-lint to v2.12.2#197
WillAbides merged 1 commit into
mainfrom
willabides/bump-golangci-lint

Conversation

@WillAbides

Copy link
Copy Markdown
Owner

The pinned golangci-lint v2.1.6 was built with go1.24 and panics on Go 1.26 stdlib files when running locally. Bump it to v2.12.2 (built with go1.26) and clean up the fallout.

  • .bindown.yaml: bump golangci-lint to v2.12.2
  • main.go: suppress a gosec G101 false positive on the kong help-text map (the word "token" in the help string trips the hardcoded-credentials check)
  • .golangci.yml: drop three exclusion rules that no longer match anything (surfaced by warn-unused: true after the upgrade); update the version comment

script/lint now exits 0 with no warnings.

@WillAbides
WillAbides enabled auto-merge June 1, 2026 17:32
@WillAbides
WillAbides merged commit a63fca7 into main Jun 1, 2026
3 of 5 checks passed
@WillAbides
WillAbides deleted the willabides/bump-golangci-lint branch June 1, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant