summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2016-11-05 21:02:59 +0000
committerGitHub <noreply@github.com>2016-11-05 21:02:59 +0000
commitccc08d08f68aaf5615e93b4bce0eb79e73ff7a5f (patch)
tree3c107d377d5c3c4bd226e4f69a3183359cd5a4dc
parent60b89abd9c55d70a3a621e1563feb1afe36798a4 (diff)
parent8d5353831e3c41a5547b71c39fc05d3a4bc8d0b6 (diff)
downloadale-ccc08d08f68aaf5615e93b4bce0eb79e73ff7a5f.zip
Merge pull request #164 from delianides/master
flow linting should only happen on flow typed files.
-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)