mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 22:53:40 +00:00
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:
parent
d97d05e508
commit
192b3db3ee
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user