9 lines
339 B
VimL
9 lines
339 B
VimL
" Author: Daniel Lupu <lupu.daniel.f@gmail.com>
|
|
" Description: xo for JavaScript files
|
|
|
|
call ale#linter#Define('javascript', {
|
|
\ 'name': 'xo',
|
|
\ 'executable': {b -> ale#handlers#xo#GetExecutable(b, 'javascript')},
|
|
\ 'command': {b -> ale#handlers#xo#GetLintCommand(b, 'javascript')},
|
|
\ 'callback': 'ale#handlers#xo#HandleJSON',
|
|
\})
|