diff options
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r-- | ale_linters/javascript/eslint.vim | 4 | ||||
-rw-r--r-- | ale_linters/javascript/jscs.vim | 4 | ||||
-rw-r--r-- | ale_linters/javascript/jshint.vim | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim index 94d14e6b..d140a957 100644 --- a/ale_linters/javascript/eslint.vim +++ b/ale_linters/javascript/eslint.vim @@ -49,14 +49,14 @@ function! ale_linters#javascript#eslint#Handle(buffer, lines) return output endfunction -call ALEAddLinter('javascript', { +call ale#linter#Define('javascript', { \ 'name': 'eslint', \ 'executable': g:ale_javascript_eslint_executable, \ 'command': g:ale_javascript_eslint_executable . ' -f unix --stdin --stdin-filename %s', \ 'callback': 'ale_linters#javascript#eslint#Handle', \}) -call ALEAddLinter('javascript.jsx', { +call ale#linter#Define('javascript.jsx', { \ 'name': 'eslint', \ 'executable': g:ale_javascript_eslint_executable, \ 'command': g:ale_javascript_eslint_executable . ' -f unix --stdin --stdin-filename %s', diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim index 263ea88d..9252eef3 100644 --- a/ale_linters/javascript/jscs.vim +++ b/ale_linters/javascript/jscs.vim @@ -43,14 +43,14 @@ function! ale_linters#javascript#jscs#Handle(buffer, lines) return output endfunction -call ALEAddLinter('javascript', { +call ale#linter#Define('javascript', { \ 'name': 'jscs', \ 'executable': 'jscs', \ 'command': 'jscs -r unix -n -', \ 'callback': 'ale_linters#javascript#jscs#Handle', \}) -call ALEAddLinter('javascript.jsx', { +call ale#linter#Define('javascript.jsx', { \ 'name': 'jscs', \ 'executable': 'jscs', \ 'command': 'jscs -r unix -n -', diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index a020ca0c..11c60409 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -70,14 +70,14 @@ function! ale_linters#javascript#jshint#Handle(buffer, lines) return output endfunction -call ALEAddLinter('javascript', { +call ale#linter#Define('javascript', { \ 'name': 'jshint', \ 'executable': g:ale_javascript_jshint_executable, \ 'command_callback': 'ale_linters#javascript#jshint#GetCommand', \ 'callback': 'ale_linters#javascript#jshint#Handle', \}) -call ALEAddLinter('javascript.jsx', { +call ale#linter#Define('javascript.jsx', { \ 'name': 'jshint', \ 'executable': g:ale_javascript_jshint_executable, \ 'command_callback': 'ale_linters#javascript#jshint#GetCommand', |