diff options
author | Ian Campbell <ipcampbell@gmail.com> | 2019-10-21 20:24:22 -0400 |
---|---|---|
committer | Ian Campbell <ipcampbell@gmail.com> | 2019-10-21 20:46:54 -0400 |
commit | ea91209a6685faa0275dc5f8735836ced8b08e4b (patch) | |
tree | df96de7c43917620ba402a383f8b2521fa4a9737 /autoload | |
parent | cf5120ba756b339ef78a285d46814fa13b04aafd (diff) | |
download | ale-ea91209a6685faa0275dc5f8735836ced8b08e4b.zip |
Allow the use of StandardX for StandardJS linting and fixing.
See https://github.com/standard/standardx
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fixers/standard.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/fixers/standard.vim b/autoload/ale/fixers/standard.vim index 731a4f46..cffa9f9d 100644 --- a/autoload/ale/fixers/standard.vim +++ b/autoload/ale/fixers/standard.vim @@ -7,6 +7,7 @@ call ale#Set('javascript_standard_options', '') function! ale#fixers#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/.bin/standard', \]) |