summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/standard.vim
diff options
context:
space:
mode:
authorIan Campbell <ipcampbell@gmail.com>2019-10-21 20:24:22 -0400
committerIan Campbell <ipcampbell@gmail.com>2019-10-21 20:46:54 -0400
commitea91209a6685faa0275dc5f8735836ced8b08e4b (patch)
treedf96de7c43917620ba402a383f8b2521fa4a9737 /ale_linters/javascript/standard.vim
parentcf5120ba756b339ef78a285d46814fa13b04aafd (diff)
downloadale-ea91209a6685faa0275dc5f8735836ced8b08e4b.zip
Allow the use of StandardX for StandardJS linting and fixing.
See https://github.com/standard/standardx
Diffstat (limited to 'ale_linters/javascript/standard.vim')
-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 203a803e..1990adce 100644
--- a/ale_linters/javascript/standard.vim
+++ b/ale_linters/javascript/standard.vim
@@ -7,6 +7,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/standardx/bin/cmd.js',
\ 'node_modules/standard/bin/cmd.js',
\ 'node_modules/semistandard/bin/cmd.js',
\ 'node_modules/.bin/standard',