mirror of https://github.com/dense-analysis/ale
12 lines
398 B
VimL
12 lines
398 B
VimL
" 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',
|
|
\})
|