e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
9 lines
315 B
VimL
9 lines
315 B
VimL
" Author: Daniel Lupu <lupu.daniel.f@gmail.com>
|
|
" Description: xo for JavaScript files
|
|
|
|
call ale#linter#Define('javascript', {
|
|
\ 'name': 'xo',
|
|
\ 'executable': function('ale#handlers#xo#GetExecutable'),
|
|
\ 'command': function('ale#handlers#xo#GetLintCommand'),
|
|
\ 'callback': 'ale#handlers#xo#HandleJSON',
|
|
\})
|