flow linting should only happen on flow typed files.
This commit is contained in:
parent
f9cbc69ce1
commit
8d5353831e
@ -21,7 +21,7 @@ endfunction
|
|||||||
|
|
||||||
function! ale_linters#javascript#flow#GetCommand(buffer) abort
|
function! ale_linters#javascript#flow#GetCommand(buffer) abort
|
||||||
return ale_linters#javascript#flow#GetExecutable(a:buffer)
|
return ale_linters#javascript#flow#GetExecutable(a:buffer)
|
||||||
\ . ' check-contents --json --from ale'
|
\ . ' check-contents --respect-pragma --json --from ale'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale_linters#javascript#flow#Handle(buffer, lines)
|
function! ale_linters#javascript#flow#Handle(buffer, lines)
|
||||||
|
Loading…
Reference in New Issue
Block a user