mirror of https://github.com/astral-sh/ruff
As we surface rule names more to users we want them to be easier to type than PascalCase. Prior art: Pylint and ESLint also use kebab-case for their rule names. Clippy uses snake_case but only for syntactical reasons (so that the argument to e.g. #![allow(clippy::some_lint)] can be parsed as a path[1]). [1]: https://doc.rust-lang.org/reference/paths.html |
||
|---|---|---|
| .. | ||
| config.rs | ||
| define_rule_mapping.rs | ||
| derive_message_formats.rs | ||
| lib.rs | ||
| prefixes.rs | ||
| rule_code_prefix.rs | ||