Skip to content

Drop redundant linters.#378

Merged
sudomateo merged 3 commits intomainfrom
jmcarp/drop-redundant-checks
Feb 16, 2026
Merged

Drop redundant linters.#378
sudomateo merged 3 commits intomainfrom
jmcarp/drop-redundant-checks

Conversation

@jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Feb 13, 2026

The golangci-lint tool includes various other linters, including staticcheck and goimports. This patch configures golangci-lint to do the work that was being done by other standalone linters, then drops the other linters from our configs.

@jmcarp jmcarp requested a review from a team as a code owner February 13, 2026 15:52
Copy link
Member

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to click the button 🤦

It may be better to remote the automated commit and do the API update in a separate PR to keep workstreams separated.

@jmcarp jmcarp force-pushed the jmcarp/drop-redundant-checks branch 3 times, most recently from 409e571 to 47e6844 Compare February 14, 2026 01:33
jmcarp and others added 2 commits February 16, 2026 12:48
The golangci-lint tool includes various other linters, including staticcheck
and goimports. This patch configures golangci-lint to do the work that was
being done by other standalone linters, then drops the other linters from our
configs.
@sudomateo sudomateo force-pushed the jmcarp/drop-redundant-checks branch from fe209b9 to 47ba862 Compare February 16, 2026 17:50
Comment on lines +27 to +28
exclusions:
generated: disable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This runs the formatters on generated files. Specfically, it disables the exclusion logic that would normally exclude generated files from formatters.

@sudomateo sudomateo merged commit f6fa9ab into main Feb 16, 2026
2 checks passed
@sudomateo sudomateo deleted the jmcarp/drop-redundant-checks branch February 16, 2026 18:08
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.

3 participants