summaryrefslogtreecommitdiff
path: root/doc/ale-javascript.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-15 12:25:15 +0100
committerw0rp <devw0rp@gmail.com>2018-04-15 12:25:15 +0100
commitfb720251bf38139c1811665852e1bc2f73d0393f (patch)
treec8dc084d5f6629ae3739379efdbabd9e2654166e /doc/ale-javascript.txt
parent60917c900560e92b299ef3443f083334c0e8adcf (diff)
downloadale-fb720251bf38139c1811665852e1bc2f73d0393f.zip
Close #1504 - Add an option for removing --respect-pragma for flow
Diffstat (limited to 'doc/ale-javascript.txt')
-rw-r--r--doc/ale-javascript.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ale-javascript.txt b/doc/ale-javascript.txt
index 80f41016..53a70fd7 100644
--- a/doc/ale-javascript.txt
+++ b/doc/ale-javascript.txt
@@ -103,6 +103,17 @@ g:ale_javascript_flow_use_global *g:ale_javascript_flow_use_global*
See |ale-integrations-local-executables|
+g:ale_javascript_flow_use_respect_pragma
+ *g:ale_javascript_flow_use_respect_pragma*
+ *b:ale_javascript_flow_use_respect_pragma*
+ Type: |Number|
+ Default: `1`
+
+ By default, ALE will use the `--respect-pragma` option for `flow`, so only
+ files with the `@flow` pragma are checked by ALE. This option can be set to
+ `0` to disable that behaviour, so all files can be checked by `flow`.
+
+
===============================================================================
importjs *ale-javascript-importjs*