summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/xo.vim
blob: 5b206df8d7292c3f8ac9a694c8fccd9c04d7cf56 (plain)
1
2
3
4
5
6
7
8
9
" 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',
\})