summaryrefslogtreecommitdiff
path: root/test/prettier-test-files
diff options
context:
space:
mode:
authoraliou <aliou@users.noreply.github.com>2017-08-29 17:05:19 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-08-29 16:05:19 +0100
commitb36882e72e14673a62bcc129f00e58caa5f0c9d3 (patch)
tree2f2d2324c95de9f6b016bf4d164a0e31d8293ed2 /test/prettier-test-files
parent87fb72346ac2353000c987cbc24326301d95a343 (diff)
downloadale-b36882e72e14673a62bcc129f00e58caa5f0c9d3.zip
Add support for prettier configuration file. (#886)
* Add support for prettier configuration file. As of version 1.6.0, prettier allows passing a `--config` argument with a path to a configuration file. * Add test prettier configuration file. * Add option to use local prettier configuration. * Add description for new prettier option. * Also check if the config is present before using it.
Diffstat (limited to 'test/prettier-test-files')
-rw-r--r--test/prettier-test-files/testfile.js0
-rw-r--r--test/prettier-test-files/with_config/.prettierrc0
-rw-r--r--test/prettier-test-files/with_config/testfile.js0
3 files changed, 0 insertions, 0 deletions
diff --git a/test/prettier-test-files/testfile.js b/test/prettier-test-files/testfile.js
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/prettier-test-files/testfile.js
diff --git a/test/prettier-test-files/with_config/.prettierrc b/test/prettier-test-files/with_config/.prettierrc
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/prettier-test-files/with_config/.prettierrc
diff --git a/test/prettier-test-files/with_config/testfile.js b/test/prettier-test-files/with_config/testfile.js
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/prettier-test-files/with_config/testfile.js