ale/ale_linters/javascript/eslint.vim

13 lines
383 B
VimL

" Author: w0rp <devw0rp@gmail.com>
" Description: eslint for JavaScript files
call ale#handlers#eslint#InitVariables()
call ale#linter#Define('javascript', {
\ 'name': 'eslint',
\ 'output_stream': 'both',
\ 'executable_callback': 'ale#handlers#eslint#GetExecutable',
\ 'command_callback': 'ale#handlers#eslint#GetCommand',
\ 'callback': 'ale#handlers#eslint#Handle',
\})