ruff/ruff_macros/src
Martin Fischer c600991905 Change AsRef<str> impl for Rule to kebab-case
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
2023-01-19 21:37:11 -05:00
..
config.rs Add proc-macro to derive `CheckCodePrefix` (#1656) 2023-01-05 11:39:16 -05:00
define_rule_mapping.rs Change AsRef<str> impl for Rule to kebab-case 2023-01-19 21:37:11 -05:00
derive_message_formats.rs derive-msg-formats 4/5: Implement #[derive_message_formats] 2023-01-19 11:03:32 -05:00
lib.rs derive-msg-formats 4/5: Implement #[derive_message_formats] 2023-01-19 11:03:32 -05:00
prefixes.rs Implement flake8-commas (#1872) 2023-01-15 14:03:32 -05:00
rule_code_prefix.rs rule 7/8: Change Rule enum definition 2023-01-18 23:51:48 -05:00