-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-Build-SystemRelated to build systems or continuous integrationRelated to build systems or continuous integrationC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Description
What problem does this solve or what need does it fill?
There's currently no project-level clippy lints defined.
What solution would you like?
Once #10011 is merged, we could expand the Cargo.toml lint table with a set of clippy lints we want to uphold through the codebase. Something we could use as inspiration is the set of clippy used in Embark projects. While some lints in it are probably too restrictive/opinionated, we could filter it and possibly check for additional lints that might fit the codebase in the full lint list.
We could then remove the few clippy warnings currently checked in CI, since they would be picked up from the lint table. This could be done over the course of several PRs since the resulting diff might be large.
What alternative(s) have you considered?
- Keep the current setup as-is.
- Just move the lints checked in CI to
Cargo.toml.
Retrodad0001
Metadata
Metadata
Assignees
Labels
A-Build-SystemRelated to build systems or continuous integrationRelated to build systems or continuous integrationC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy