summaryrefslogtreecommitdiff
path: root/prettier/testdata
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-03-18 07:23:21 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-03-17 18:23:21 -0400
commitd1b0a1ef6c9cf0726687402bd12ce9ad4ead8424 (patch)
tree2dc34916085c9febcafc44bca028db6b257b6d95 /prettier/testdata
parent942df0be0d8bb37862195c438017df7746b0f3f0 (diff)
Add prettier styling options (denoland/deno_std#281)
Original: https://github.com/denoland/deno_std/commit/fae48d5dfbbe6267c71a0dc48647548b190dd875
Diffstat (limited to 'prettier/testdata')
-rw-r--r--prettier/testdata/opts/0.ts2
-rw-r--r--prettier/testdata/opts/1.ts1
-rw-r--r--prettier/testdata/opts/2.ts1
-rw-r--r--prettier/testdata/opts/3.md1
4 files changed, 5 insertions, 0 deletions
diff --git a/prettier/testdata/opts/0.ts b/prettier/testdata/opts/0.ts
new file mode 100644
index 000000000..fb85014a5
--- /dev/null
+++ b/prettier/testdata/opts/0.ts
@@ -0,0 +1,2 @@
+console.log(0)
+console.log([function foo() {}, function baz() {}, a => {}])
diff --git a/prettier/testdata/opts/1.ts b/prettier/testdata/opts/1.ts
new file mode 100644
index 000000000..c23a66c28
--- /dev/null
+++ b/prettier/testdata/opts/1.ts
@@ -0,0 +1 @@
+console.log ("1")
diff --git a/prettier/testdata/opts/2.ts b/prettier/testdata/opts/2.ts
new file mode 100644
index 000000000..2cfe9aece
--- /dev/null
+++ b/prettier/testdata/opts/2.ts
@@ -0,0 +1 @@
+console.log({a:1})
diff --git a/prettier/testdata/opts/3.md b/prettier/testdata/opts/3.md
new file mode 100644
index 000000000..85e73d4b0
--- /dev/null
+++ b/prettier/testdata/opts/3.md
@@ -0,0 +1 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.