Credit fijshion for his work in the files, and make the new linters work again by adding the now required name arguments.

This commit is contained in:
w0rp 2016-09-15 21:09:04 +01:00
parent d97d05e508
commit 192b3db3ee
2 changed files with 6 additions and 0 deletions

View File

@ -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',

View File

@ -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',