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:
Martin Fischer 2023-01-30 05:28:37 +01:00 committed by Charlie Marsh
parent ba457c21b5
commit 104c63afc6
2 changed files with 1 additions and 10 deletions

View file

@ -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": [

View file

@ -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 = "[]",