summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPavel Pertsev <morhetz@gmail.com>2017-08-18 13:37:08 +0300
committerw0rp <devw0rp@gmail.com>2017-08-30 22:21:45 +0100
commit05ce86ea33d882af998d1da3b2dcafb3d8a16465 (patch)
tree73f5458a9e6ef16129fc16c22d124dc1d259268b /doc
parent6e423a94cd428917a5efed6611f46bbc9fe33176 (diff)
downloadale-05ce86ea33d882af998d1da3b2dcafb3d8a16465.zip
Add prettier-eslint legacy option
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-javascript.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ale-javascript.txt b/doc/ale-javascript.txt
index 806c7f8c..3dd9d271 100644
--- a/doc/ale-javascript.txt
+++ b/doc/ale-javascript.txt
@@ -96,6 +96,11 @@ g:ale_javascript_prettier_use_local_config *g:ale_javascript_prettier_use_lo
===============================================================================
prettier-eslint *ale-javascript-prettier-eslint*
+ALE supports `prettier-eslint` >= 4.2.0. Using lower version is not recommended
+because it cannot be configured to use the ESLint configuration file for input
+given via stdin. However ALE could be set up on your own risk with older
+versions with |g:ale_javascript_prettier_eslint_legacy|
+
g:ale_javascript_prettier_eslint_executable
*g:ale_javascript_prettier_eslint_executable*
*b:ale_javascript_prettier_eslint_executable*
@@ -122,6 +127,14 @@ g:ale_javascript_prettier_eslint_use_global
See |ale-integrations-local-executables|
+g:ale_javascript_prettier_eslint_legacy
+ *g:ale_javascript_prettier_eslint_legacy*
+ *b:ale_javascript_prettier_eslint_legacy*
+ Type: |Number|
+ Default: `0`
+
+ Fallback option for `prettier-eslint` < 4.2.0
+
===============================================================================
prettier-standard *ale-javascript-prettier-standard*