mirror of https://github.com/dense-analysis/ale
Merge pull request #164 from delianides/master
flow linting should only happen on flow typed files.
This commit is contained in:
commit
ccc08d08f6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue