summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/fmt')
-rw-r--r--cli/tests/testdata/fmt/deno.glob.json11
-rw-r--r--cli/tests/testdata/fmt/glob/data/tes.ts3
-rw-r--r--cli/tests/testdata/fmt/glob/data/test1.js2
-rw-r--r--cli/tests/testdata/fmt/glob/data/test1.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/data/test12.ts3
-rw-r--r--cli/tests/testdata/fmt/glob/nested/fizz/bar.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/nested/fizz/bazz.ts3
-rw-r--r--cli/tests/testdata/fmt/glob/nested/fizz/fizz.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/nested/fizz/foo.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/nested/foo/bar.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/nested/foo/bazz.ts3
-rw-r--r--cli/tests/testdata/fmt/glob/nested/foo/fizz.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/nested/foo/foo.ts2
-rw-r--r--cli/tests/testdata/fmt/glob/pages/[id].ts2
14 files changed, 41 insertions, 0 deletions
diff --git a/cli/tests/testdata/fmt/deno.glob.json b/cli/tests/testdata/fmt/deno.glob.json
new file mode 100644
index 000000000..ff74e9d2b
--- /dev/null
+++ b/cli/tests/testdata/fmt/deno.glob.json
@@ -0,0 +1,11 @@
+{
+ "fmt": {
+ "include": [
+ "glob/data/test1.?s",
+ "glob/nested/foo/*.ts",
+ "glob/nested/fizz/*.ts",
+ "glob/pages/[id].ts"
+ ],
+ "exclude": ["glob/nested/**/*bazz.ts"]
+ }
+}
diff --git a/cli/tests/testdata/fmt/glob/data/tes.ts b/cli/tests/testdata/fmt/glob/data/tes.ts
new file mode 100644
index 000000000..0127c4af3
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/data/tes.ts
@@ -0,0 +1,3 @@
+ function foo() {
+
+} \ No newline at end of file
diff --git a/cli/tests/testdata/fmt/glob/data/test1.js b/cli/tests/testdata/fmt/glob/data/test1.js
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/data/test1.js
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/data/test1.ts b/cli/tests/testdata/fmt/glob/data/test1.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/data/test1.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/data/test12.ts b/cli/tests/testdata/fmt/glob/data/test12.ts
new file mode 100644
index 000000000..0127c4af3
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/data/test12.ts
@@ -0,0 +1,3 @@
+ function foo() {
+
+} \ No newline at end of file
diff --git a/cli/tests/testdata/fmt/glob/nested/fizz/bar.ts b/cli/tests/testdata/fmt/glob/nested/fizz/bar.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/fizz/bar.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/nested/fizz/bazz.ts b/cli/tests/testdata/fmt/glob/nested/fizz/bazz.ts
new file mode 100644
index 000000000..0127c4af3
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/fizz/bazz.ts
@@ -0,0 +1,3 @@
+ function foo() {
+
+} \ No newline at end of file
diff --git a/cli/tests/testdata/fmt/glob/nested/fizz/fizz.ts b/cli/tests/testdata/fmt/glob/nested/fizz/fizz.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/fizz/fizz.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/nested/fizz/foo.ts b/cli/tests/testdata/fmt/glob/nested/fizz/foo.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/fizz/foo.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/nested/foo/bar.ts b/cli/tests/testdata/fmt/glob/nested/foo/bar.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/foo/bar.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/nested/foo/bazz.ts b/cli/tests/testdata/fmt/glob/nested/foo/bazz.ts
new file mode 100644
index 000000000..0127c4af3
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/foo/bazz.ts
@@ -0,0 +1,3 @@
+ function foo() {
+
+} \ No newline at end of file
diff --git a/cli/tests/testdata/fmt/glob/nested/foo/fizz.ts b/cli/tests/testdata/fmt/glob/nested/foo/fizz.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/foo/fizz.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/nested/foo/foo.ts b/cli/tests/testdata/fmt/glob/nested/foo/foo.ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/nested/foo/foo.ts
@@ -0,0 +1,2 @@
+ function foo() {
+}
diff --git a/cli/tests/testdata/fmt/glob/pages/[id].ts b/cli/tests/testdata/fmt/glob/pages/[id].ts
new file mode 100644
index 000000000..e939e4595
--- /dev/null
+++ b/cli/tests/testdata/fmt/glob/pages/[id].ts
@@ -0,0 +1,2 @@
+ function foo() {
+}