Skip to content

chore: enable gocritic linter#2565

Merged
jackc merged 1 commit into
jackc:masterfrom
guerinoni:lint-gocritic
May 30, 2026
Merged

chore: enable gocritic linter#2565
jackc merged 1 commit into
jackc:masterfrom
guerinoni:lint-gocritic

Conversation

@guerinoni
Copy link
Copy Markdown
Contributor

@guerinoni guerinoni commented May 23, 2026

gocritic was added to the enabled linters in .golangci.yml.
This commit resolves every issue it reported across the
repository so the build stay green with the new linter on.

I think can also

Closes #2366

gocritic was added to the enabled linters in .golangci.yml.
This commit resolves every issue it reported across the
repository so the build stay green with the new linter on.
@jackc jackc merged commit 6206074 into jackc:master May 30, 2026
2 of 14 checks passed
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.

🔧 Integrate golangci-lint for Static Code Analysis

2 participants