summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-09 12:33:09 -0400
committerGitHub <noreply@github.com>2024-09-09 16:33:09 +0000
commit1e0ac609b57b9efdafd54de4cb56f98c507c032f (patch)
tree9a78e6a456a59a25ff6e1bfa14ef8b657c4d3040 /cli/schemas
parent3daab54612309a3e3aec5b7b8bd24b39ad510943 (diff)
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
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json76
1 files changed, 0 insertions, 76 deletions
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"
- }
- }
- }
}
}
},