mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 15:42:26 +00:00
Merge pull request #2784 from hsanson/2733-add-semistandard-executable-to-path-search
Add semistandard to node_modules search.
This commit is contained in:
commit
e6241ee0d2
@ -8,6 +8,7 @@ call ale#Set('javascript_standard_options', '')
|
||||
function! ale_linters#javascript#standard#GetExecutable(buffer) abort
|
||||
return ale#node#FindExecutable(a:buffer, 'javascript_standard', [
|
||||
\ 'node_modules/standard/bin/cmd.js',
|
||||
\ 'node_modules/semistandard/bin/cmd.js',
|
||||
\ 'node_modules/.bin/standard',
|
||||
\])
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user