Skip to content

Conversation

johnsaigle
Copy link
Contributor

Ensures that all rules are enabled by default with a deny-list,
instead of disabling all rules and using an allow-list. This change
allows us to benefit from new rules that could be added to gocritic in
the future. Our current policy in CI is to fail on new rules and this
is already in place for e.g. clippy lints for new Rust releases.

@johnsaigle johnsaigle added the ci label Sep 17, 2025
@johnsaigle johnsaigle marked this pull request as ready for review September 18, 2025 12:57
@johnsaigle
Copy link
Contributor Author

@panoel Would you mind reviewing?

@johnsaigle johnsaigle force-pushed the gocritic-enable-all branch 2 times, most recently from 70e6597 to 7046c31 Compare September 25, 2025 17:51
…les will get run

- Ensures that all rules are enabled by default with a deny-list,
  instead of disabling all rules and using an allow-list. This change
  allows us to benefit from new rules that could be added to gocritic in
  the future. Our current policy in CI is to fail on new rules and this
  is already in place for e.g. clippy lints for new Rust releases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants