TheBevyFlock / bevy_cli

A Bevy CLI tool and linter.
https://thebevyflock.github.io/bevy_cli/
Apache License 2.0
48 stars 7 forks source link

Create lint groups #90

Closed BD103 closed 2 months ago

BD103 commented 2 months ago

See the project board for a definitive list, along with what lints go in what categories. As of writing this, the categories are:

(They're essentially the same as Clippy's lint groups!)

BD103 commented 2 months ago

This can be done with LintStore::register_group(). This will probably require some additional metadata to live alongside Lint definitions, so we may need to define a custom declare_tool_lint! macro. See register_categories() for how Clippy does this.