Close #1504 - Add an option for removing --respect-pragma for flow

This commit is contained in:
w0rp
2018-04-15 12:25:15 +01:00
parent 60917c9005
commit fb720251bf
3 changed files with 27 additions and 2 deletions

View File

@@ -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*