diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-24 22:27:18 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-24 22:27:18 +0100 |
commit | a03121f5b051ed1f146a8979ea5d2bb26fe05bff (patch) | |
tree | defbf1cd9c45af97667ec7ff47733a6cceca4207 /ale_linters/javascript | |
parent | b4c0335ebceb5ba360a71dd3d0f10ec1d5807a83 (diff) | |
download | ale-a03121f5b051ed1f146a8979ea5d2bb26fe05bff.zip |
Break shared handlers up into their own files, and fix stylelint error handling
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r-- | ale_linters/javascript/jscs.vim | 2 | ||||
-rw-r--r-- | ale_linters/javascript/jshint.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim index 52710bac..aef607ec 100644 --- a/ale_linters/javascript/jscs.vim +++ b/ale_linters/javascript/jscs.vim @@ -5,5 +5,5 @@ call ale#linter#Define('javascript', { \ 'name': 'jscs', \ 'executable': 'jscs', \ 'command': 'jscs -r unix -n -', -\ 'callback': 'ale#handlers#HandleUnixFormatAsError', +\ 'callback': 'ale#handlers#unix#HandleAsError', \}) diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 6835eeb0..ddb8619f 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -43,5 +43,5 @@ call ale#linter#Define('javascript', { \ 'name': 'jshint', \ 'executable_callback': 'ale_linters#javascript#jshint#GetExecutable', \ 'command_callback': 'ale_linters#javascript#jshint#GetCommand', -\ 'callback': 'ale#handlers#HandleUnixFormatAsError', +\ 'callback': 'ale#handlers#unix#HandleAsError', \}) |