Skip to content

chore(lint): add golangci-lint v2 with CI workflow#29

Merged
thibaultleouay merged 1 commit into
mainfrom
golangci
May 13, 2026
Merged

chore(lint): add golangci-lint v2 with CI workflow#29
thibaultleouay merged 1 commit into
mainfrom
golangci

Conversation

@thibaultleouay
Copy link
Copy Markdown
Member

Configure golangci-lint v2.12.2 with a curated linter set (bodyclose, errorlint, gocritic, gosec, revive, etc.) plus gofumpt + goimports formatters. Add a GitHub Actions workflow that runs lint on push and PR.

Tune rule suppressions for CLI idioms (tablewriter result discard, PAGER subprocess, urfave/cli int casts, proto Id/Url naming). Apply golangci-lint --fix across 59 files for whitespace, gofumpt, and staticcheck rewrites; tests still pass.

Configure golangci-lint v2.12.2 with a curated linter set (bodyclose,
errorlint, gocritic, gosec, revive, etc.) plus gofumpt + goimports
formatters. Add a GitHub Actions workflow that runs lint on push and PR.

Tune rule suppressions for CLI idioms (tablewriter result discard, PAGER
subprocess, urfave/cli int casts, proto Id/Url naming). Apply
golangci-lint --fix across 59 files for whitespace, gofumpt, and
staticcheck rewrites; tests still pass.
@thibaultleouay thibaultleouay merged commit ea19c17 into main May 13, 2026
2 checks passed
@thibaultleouay thibaultleouay deleted the golangci branch May 13, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant