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')
 | 
					if exists('g:loaded_ale_linters_javascript_jscs')
 | 
				
			||||||
    finish
 | 
					    finish
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
@ -41,6 +43,7 @@ function! ale_linters#javascript#jscs#Handle(buffer, lines)
 | 
				
			|||||||
endfunction
 | 
					endfunction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call ALEAddLinter('javascript', {
 | 
					call ALEAddLinter('javascript', {
 | 
				
			||||||
 | 
					\   'name': 'jscs',
 | 
				
			||||||
\   'executable': 'jscs',
 | 
					\   'executable': 'jscs',
 | 
				
			||||||
\   'command': 'jscs -r unix -n -',
 | 
					\   'command': 'jscs -r unix -n -',
 | 
				
			||||||
\   'callback': 'ale_linters#javascript#jscs#Handle',
 | 
					\   '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')
 | 
					if exists('g:loaded_ale_linters_ruby_rubocop')
 | 
				
			||||||
    finish
 | 
					    finish
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
@ -38,6 +40,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines)
 | 
				
			|||||||
endfunction
 | 
					endfunction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call ALEAddLinter('ruby', {
 | 
					call ALEAddLinter('ruby', {
 | 
				
			||||||
 | 
					\   'name': 'rubocop',
 | 
				
			||||||
\   'executable': 'rubocop',
 | 
					\   'executable': 'rubocop',
 | 
				
			||||||
\   'command': 'rubocop --format emacs --stdin _',
 | 
					\   'command': 'rubocop --format emacs --stdin _',
 | 
				
			||||||
\   'callback': 'ale_linters#ruby#rubocop#Handle',
 | 
					\   'callback': 'ale_linters#ruby#rubocop#Handle',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user