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
This commit is contained in:
David Sherret 2024-09-09 12:33:09 -04:00 committed by GitHub
parent 3daab54612
commit 1e0ac609b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 8 additions and 142 deletions

View file

@ -203,7 +203,7 @@ async function ensureNoNewITests() {
"coverage_tests.rs": 0,
"eval_tests.rs": 0,
"flags_tests.rs": 0,
"fmt_tests.rs": 17,
"fmt_tests.rs": 16,
"info_tests.rs": 18,
"init_tests.rs": 0,
"inspector_tests.rs": 0,
@ -223,7 +223,7 @@ async function ensureNoNewITests() {
"run_tests.rs": 348,
"shared_library_tests.rs": 0,
"task_tests.rs": 30,
"test_tests.rs": 75,
"test_tests.rs": 74,
"upgrade_tests.rs": 0,
"vendor_tests.rs": 1,
"watcher_tests.rs": 0,