diff --git a/ruff.schema.json b/ruff.schema.json index f1e425ea270fb7..00ce4201818d4d 100644 --- a/ruff.schema.json +++ b/ruff.schema.json @@ -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": [ diff --git a/ruff_cli/src/args.rs b/ruff_cli/src/args.rs index c87b9b8f9568e7..39aad884e57127 100644 --- a/ruff_cli/src/args.rs +++ b/ruff_cli/src/args.rs @@ -117,8 +117,7 @@ pub struct CheckArgs { help_heading = "Rule selection" )] pub extend_select: Option>, - /// Like --ignore, but adds additional rule codes on top of the ignored - /// ones. + /// Like --ignore. (Deprecated: You can just use --ignore instead.) #[arg( long, value_delimiter = ',', diff --git a/src/settings/options.rs b/src/settings/options.rs index 18162ec043caf0..4ad8025a542b28 100644 --- a/src/settings/options.rs +++ b/src/settings/options.rs @@ -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>, #[option( default = "[]",