flow linting should only happen on flow typed files.

This commit is contained in:
delianides 2016-11-03 15:51:49 -04:00
parent f9cbc69ce1
commit 8d5353831e
No known key found for this signature in database
GPG Key ID: 545CB12B21760CDA

View File

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