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.
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.tomllint 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?
Cargo.toml.