diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-09 12:33:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 16:33:09 +0000 |
commit | 1e0ac609b57b9efdafd54de4cb56f98c507c032f (patch) | |
tree | 9a78e6a456a59a25ff6e1bfa14ef8b657c4d3040 /tests/integration/lsp_tests.rs | |
parent | 3daab54612309a3e3aec5b7b8bd24b39ad510943 (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 'tests/integration/lsp_tests.rs')
-rw-r--r-- | tests/integration/lsp_tests.rs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/integration/lsp_tests.rs b/tests/integration/lsp_tests.rs index 78e526085..981dcc01d 100644 --- a/tests/integration/lsp_tests.rs +++ b/tests/integration/lsp_tests.rs @@ -10269,9 +10269,7 @@ fn lsp_format_exclude_with_config() { "deno.fmt.jsonc", r#"{ "fmt": { - "files": { - "exclude": ["ignored.ts"] - }, + "exclude": ["ignored.ts"], "options": { "useTabs": true, "lineWidth": 40, @@ -10322,9 +10320,7 @@ fn lsp_format_exclude_default_config() { "deno.fmt.jsonc", r#"{ "fmt": { - "files": { - "exclude": ["ignored.ts"] - }, + "exclude": ["ignored.ts"], "options": { "useTabs": true, "lineWidth": 40, @@ -11707,9 +11703,7 @@ fn lsp_lint_exclude_with_config() { "deno.lint.jsonc", r#"{ "lint": { - "files": { - "exclude": ["ignored.ts"] - }, + "exclude": ["ignored.ts"], "rules": { "exclude": ["camelcase"], "include": ["ban-untagged-todo"], |