From fb720251bf38139c1811665852e1bc2f73d0393f Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 15 Apr 2018 12:25:15 +0100 Subject: Close #1504 - Add an option for removing --respect-pragma for flow --- doc/ale-javascript.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/ale-javascript.txt') 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* -- cgit v1.2.3