2018-03-31 10:55:20 -04:00
|
|
|
" Author: w0rp <devw0rp@gmail.com>
|
|
|
|
" Description: eslint for JavaScript files
|
|
|
|
|
|
|
|
call ale#linter#Define('javascript', {
|
|
|
|
\ 'name': 'eslint',
|
|
|
|
\ 'output_stream': 'both',
|
2019-03-08 06:04:56 -05:00
|
|
|
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
|
2021-06-30 12:54:34 -04:00
|
|
|
\ 'cwd': function('ale#handlers#eslint#GetCwd'),
|
2019-03-08 06:04:56 -05:00
|
|
|
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
2019-07-08 12:44:45 -04:00
|
|
|
\ 'callback': 'ale#handlers#eslint#HandleJSON',
|
2018-03-31 10:55:20 -04:00
|
|
|
\})
|