summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-09-22 11:36:53 +0100
committerGitHub <noreply@github.com>2019-09-22 11:36:53 +0100
commite6241ee0d2717e94c252f42806cb43e1ca733e56 (patch)
tree580d4aa6abe0cf3a6fe72203ffc6ae17e3b6e6b1
parentab8e0433536dc6074c77f6ed1fa18325ea1be349 (diff)
parent07c11e4e7f66f64d48760db493c615f1899ee604 (diff)
downloadale-e6241ee0d2717e94c252f42806cb43e1ca733e56.zip
Merge pull request #2784 from hsanson/2733-add-semistandard-executable-to-path-search
Add semistandard to node_modules search.
-rw-r--r--ale_linters/javascript/standard.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/javascript/standard.vim b/ale_linters/javascript/standard.vim
index 4cd2c303..203a803e 100644
--- a/ale_linters/javascript/standard.vim
+++ b/ale_linters/javascript/standard.vim
@@ -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