summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/jscs.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript/jscs.vim')
-rw-r--r--ale_linters/javascript/jscs.vim4
1 files changed, 2 insertions, 2 deletions
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 -',