Add name and author to jshint
This commit is contained in:
parent
641aa8afc3
commit
c856d00c7c
@ -1,3 +1,5 @@
|
|||||||
|
" Author: Chris Kyrouac - https://github.com/fijshion
|
||||||
|
|
||||||
if exists('g:loaded_ale_linters_javascript_jshint')
|
if exists('g:loaded_ale_linters_javascript_jshint')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -49,6 +51,7 @@ function! ale_linters#javascript#jshint#Handle(buffer, lines)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call ALEAddLinter('javascript', {
|
call ALEAddLinter('javascript', {
|
||||||
|
\ 'name': 'jshint',
|
||||||
\ 'executable': 'jshint',
|
\ 'executable': 'jshint',
|
||||||
\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
|
\ 'command': 'jshint --reporter unix --config ' . g:ale_jshint_config_loc . ' -',
|
||||||
\ 'callback': 'ale_linters#javascript#jshint#Handle',
|
\ 'callback': 'ale_linters#javascript#jshint#Handle',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user