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-05-05 04:25:00 -04:00
|
|
|
\ 'cwd': function('ale#handlers#eslint#GetCwd'),
|
2019-03-08 06:04:56 -05:00
|
|
|
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
2019-08-22 11:36:17 -04:00
|
|
|
\ 'callback': 'ale#handlers#eslint#HandleJSON',
|
2018-03-31 10:55:20 -04:00
|
|
|
\})
|