mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 02:12:22 +00:00
Exclude deprecated extend-ignore from the JSON schema
Now that the option is deprecated we no longer want IDEs to suggest it in their autocompletion.
This commit is contained in:
parent
ba457c21b5
commit
104c63afc6
2 changed files with 1 additions and 10 deletions
|
@ -66,16 +66,6 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"extend-ignore": {
|
||||
"description": "A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.\n\nThis option has been DEPRECATED in favor of `ignore` since its usage is now interchangeable with `ignore`.",
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"$ref": "#/definitions/RuleSelector"
|
||||
}
|
||||
},
|
||||
"extend-select": {
|
||||
"description": "A list of rule codes or prefixes to enable, in addition to those specified by `select`.",
|
||||
"type": [
|
||||
|
|
|
@ -147,6 +147,7 @@ pub struct Options {
|
|||
///
|
||||
/// This option has been DEPRECATED in favor of `ignore`
|
||||
/// since its usage is now interchangeable with `ignore`.
|
||||
#[schemars(skip)]
|
||||
pub extend_ignore: Option<Vec<RuleSelector>>,
|
||||
#[option(
|
||||
default = "[]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue