summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/eslint.vim
blob: cf4de6ecf48ec730739f24c2c8b46b6bc85d63bf (plain)
1
2
3
4
5
6
7
8
9
10
11
" Author: w0rp <devw0rp@gmail.com>
" Description: eslint for JavaScript files

call ale#linter#Define('javascript', {
\   'name': 'eslint',
\   'output_stream': 'both',
\   'executable': function('ale#handlers#eslint#GetExecutable'),
\   'cwd': function('ale#handlers#eslint#GetCwd'),
\   'command': function('ale#handlers#eslint#GetCommand'),
\   'callback': 'ale#handlers#eslint#HandleJSON',
\})