From 8d5353831e3c41a5547b71c39fc05d3a4bc8d0b6 Mon Sep 17 00:00:00 2001 From: delianides Date: Thu, 3 Nov 2016 15:51:49 -0400 Subject: flow linting should only happen on flow typed files. --- ale_linters/javascript/flow.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3