From 1e0ac609b57b9efdafd54de4cb56f98c507c032f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 9 Sep 2024 12:33:09 -0400 Subject: BREAKING: remove deprecated files config (#25535) The long form "files" config has been flattened into the parent. Old: ```json { "test": { "files": { "include": ["**/*.ts"], "exclude": ["ignore.ts"] } } } ``` New: ```json { "test": { "include": ["**/*.ts"], "exclude": ["ignore.ts"] } } ``` This was deprecated some time ago, but we're removing it now in Deno 2.0. Closes #25415 --- cli/schemas/config-file.v1.json | 76 ----------------------------------------- 1 file changed, 76 deletions(-) (limited to 'cli/schemas') diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index d0dc27e75..8d0af55bf 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -279,25 +279,6 @@ "type": "string" } }, - "files": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "List of files, directories or globs that will be linted.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "List of files, directories or globs that will not be linted.", - "items": { - "type": "string" - } - } - } - }, "rules": { "type": "object", "properties": { @@ -355,25 +336,6 @@ "type": "string" } }, - "files": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "List of files, directories or globs that will be formatted.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "List of files, directories or globs that will not be formatted.", - "items": { - "type": "string" - } - } - } - }, "useTabs": { "description": "Whether to use tabs (true) or spaces (false) for indentation.", "type": "boolean", @@ -477,25 +439,6 @@ "items": { "type": "string" } - }, - "files": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "List of files, directories or globs that will be searched for tests.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "List of files, directories or globs that will not be searched for tests.", - "items": { - "type": "string" - } - } - } } } }, @@ -536,25 +479,6 @@ "items": { "type": "string" } - }, - "files": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "List of files, directories or globs that will be searched for benchmarks.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "List of files, directories or globs that will not be searched for benchmarks.", - "items": { - "type": "string" - } - } - } } } }, -- cgit v1.2.3