summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/fmt/with_config
diff options
context:
space:
mode:
authorscarf <greenscarf005@gmail.com>2023-04-27 12:02:36 +0900
committerGitHub <noreply@github.com>2023-04-26 23:02:36 -0400
commit90a5ef5e343bedc0f6f5326b14b6851b71733bea (patch)
tree4c53261235e3d8720cad99341ee1eac31a92fa3e /cli/tests/testdata/fmt/with_config
parent4192978c3afc943b93d9fae0f65822a2c4edfa62 (diff)
feat(cli): flatten deno.json configuaration (#17799)
Diffstat (limited to 'cli/tests/testdata/fmt/with_config')
-rw-r--r--cli/tests/testdata/fmt/with_config/deno.deprecated.jsonc20
-rw-r--r--cli/tests/testdata/fmt/with_config/deno.jsonc28
2 files changed, 32 insertions, 16 deletions
diff --git a/cli/tests/testdata/fmt/with_config/deno.deprecated.jsonc b/cli/tests/testdata/fmt/with_config/deno.deprecated.jsonc
new file mode 100644
index 000000000..e053233fd
--- /dev/null
+++ b/cli/tests/testdata/fmt/with_config/deno.deprecated.jsonc
@@ -0,0 +1,20 @@
+{
+ "fmt": {
+ "files": {
+ "include": [
+ "./subdir/"
+ ],
+ "exclude": [
+ "./subdir/b.ts"
+ ]
+ },
+ "options": {
+ "useTabs": true,
+ "lineWidth": 40,
+ "indentWidth": 8,
+ "singleQuote": true,
+ "proseWrap": "always",
+ "semiColons": false
+ }
+ }
+}
diff --git a/cli/tests/testdata/fmt/with_config/deno.jsonc b/cli/tests/testdata/fmt/with_config/deno.jsonc
index 44e3f9a99..ffd265dcd 100644
--- a/cli/tests/testdata/fmt/with_config/deno.jsonc
+++ b/cli/tests/testdata/fmt/with_config/deno.jsonc
@@ -1,20 +1,16 @@
{
"fmt": {
- "files": {
- "include": [
- "./subdir/"
- ],
- "exclude": [
- "./subdir/b.ts"
- ]
- },
- "options": {
- "useTabs": true,
- "lineWidth": 40,
- "indentWidth": 8,
- "singleQuote": true,
- "proseWrap": "always",
- "semiColons": false
- }
+ "include": [
+ "./subdir/"
+ ],
+ "exclude": [
+ "./subdir/b.ts"
+ ],
+ "useTabs": true,
+ "lineWidth": 40,
+ "indentWidth": 8,
+ "singleQuote": true,
+ "proseWrap": "always",
+ "semiColons": false
}
}