summaryrefslogtreecommitdiff
path: root/cli
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
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')
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/schemas/config-file.v1.json76
2 files changed, 1 insertions, 77 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index c582004ad..63ad21c37 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -65,7 +65,7 @@ winres.workspace = true
[dependencies]
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
deno_cache_dir = { workspace = true }
-deno_config = { version = "=0.33.2", features = ["workspace", "sync"] }
+deno_config = { version = "=0.34.0", features = ["workspace", "sync"] }
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "0.148.0", features = ["html", "syntect"] }
deno_graph = { version = "=0.82.1" }
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"
- }
- }
- }
}
}
},