mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
nit: docs for ignore & select (#15883)
This commit is contained in:
parent
de4d9979eb
commit
b848afeae8
3 changed files with 11 additions and 8 deletions
|
@ -656,7 +656,8 @@ pub struct LintCommonOptions {
|
|||
///
|
||||
/// When breaking ties between enabled and disabled rules (via `select` and
|
||||
/// `ignore`, respectively), more specific prefixes override less
|
||||
/// specific prefixes.
|
||||
/// specific prefixes. `ignore` takes precedence over `select` if the same
|
||||
/// prefix appears in both.
|
||||
#[option(
|
||||
default = "[]",
|
||||
value_type = "list[RuleSelector]",
|
||||
|
@ -742,7 +743,8 @@ pub struct LintCommonOptions {
|
|||
///
|
||||
/// When breaking ties between enabled and disabled rules (via `select` and
|
||||
/// `ignore`, respectively), more specific prefixes override less
|
||||
/// specific prefixes.
|
||||
/// specific prefixes. `ignore` takes precedence over `select` if the
|
||||
/// same prefix appears in both.
|
||||
#[option(
|
||||
default = r#"["E4", "E7", "E9", "F"]"#,
|
||||
value_type = "list[RuleSelector]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue