summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/flow.vim
diff options
context:
space:
mode:
authordelianides <github@delianides.com>2016-11-03 15:51:49 -0400
committerdelianides <github@delianides.com>2016-11-03 15:51:49 -0400
commit8d5353831e3c41a5547b71c39fc05d3a4bc8d0b6 (patch)
tree3817d19dfa149f60c82ca2072eda4aec0ea8c026 /ale_linters/javascript/flow.vim
parentf9cbc69ce1368ffde415a51bd59a1b271d269748 (diff)
downloadale-8d5353831e3c41a5547b71c39fc05d3a4bc8d0b6.zip
flow linting should only happen on flow typed files.
Diffstat (limited to 'ale_linters/javascript/flow.vim')
-rw-r--r--ale_linters/javascript/flow.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim
index 0a07c192..d23d2f30 100644
--- a/ale_linters/javascript/flow.vim
+++ b/ale_linters/javascript/flow.vim
@@ -21,7 +21,7 @@ endfunction
function! ale_linters#javascript#flow#GetCommand(buffer) abort
return ale_linters#javascript#flow#GetExecutable(a:buffer)
- \ . ' check-contents --json --from ale'
+ \ . ' check-contents --respect-pragma --json --from ale'
endfunction
function! ale_linters#javascript#flow#Handle(buffer, lines)