diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/javascript/jscs.vim | 3 | ||||
-rw-r--r-- | ale_linters/ruby/rubocop.vim | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim index 2be08e92..cfac067a 100644 --- a/ale_linters/javascript/jscs.vim +++ b/ale_linters/javascript/jscs.vim @@ -1,3 +1,5 @@ +" Author: Chris Kyrouac - https://github.com/fijshion + if exists('g:loaded_ale_linters_javascript_jscs') finish endif @@ -41,6 +43,7 @@ function! ale_linters#javascript#jscs#Handle(buffer, lines) endfunction call ALEAddLinter('javascript', { +\ 'name': 'jscs', \ 'executable': 'jscs', \ 'command': 'jscs -r unix -n -', \ 'callback': 'ale_linters#javascript#jscs#Handle', diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index 7ed91f4a..2fe74cc9 100644 --- a/ale_linters/ruby/rubocop.vim +++ b/ale_linters/ruby/rubocop.vim @@ -1,3 +1,5 @@ +" Author: Chris Kyrouac - https://github.com/fijshion + if exists('g:loaded_ale_linters_ruby_rubocop') finish endif @@ -38,6 +40,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines) endfunction call ALEAddLinter('ruby', { +\ 'name': 'rubocop', \ 'executable': 'rubocop', \ 'command': 'rubocop --format emacs --stdin _', \ 'callback': 'ale_linters#ruby#rubocop#Handle', |