Add note about prioritizing naming convention over preservation (#3157)

This commit is contained in:
Matthew Lloyd 2023-02-22 21:32:46 -05:00 committed by GitHub
parent 5fd827545b
commit e66739884f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,6 +152,9 @@ This implies that rule names:
* should not contain instructions on what you what you should use instead
(these belong in the rule documentation and the `autofix_title` for rules that have autofix)
When re-implementing rules from other linters, this convention is given more importance than
preserving the original rule name.
### Example: Adding a new configuration option
Ruff's user-facing settings live in a few different places.