1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 06:00:04 +08:00
SpaceVim/bundle/ale/ale_linters/javascript/eslint.vim

12 lines
398 B
VimL
Raw Normal View History

2021-02-10 10:31:34 +08:00
" 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'),
2023-06-09 12:10:45 +08:00
\ 'cwd': function('ale#handlers#eslint#GetCwd'),
2021-02-10 10:31:34 +08:00
\ 'command': function('ale#handlers#eslint#GetCommand'),
\ 'callback': 'ale#handlers#eslint#HandleJSON',
\})