1
0
Fork 0
mirror of synced 2024-11-23 09:15:35 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/graphql/eslint.vim

11 lines
376 B
VimL
Raw Normal View History

" Author: Benjie Gillam <code@benjiegillam.com>
" Description: eslint for GraphQL files
call ale#linter#Define('graphql', {
\ 'name': 'eslint',
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'),
2020-01-07 07:45:07 -05:00
\ 'callback': 'ale#handlers#eslint#HandleJSON',
\})