10 lines
376 B
VimL
Executable file
10 lines
376 B
VimL
Executable file
" Author: Benjie Gillam <code@benjiegillam.com>
|
|
" Description: eslint for GraphQL files
|
|
|
|
call ale#linter#Define('graphql', {
|
|
\ 'name': 'eslint',
|
|
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
|
|
\ 'cwd': function('ale#handlers#eslint#GetCwd'),
|
|
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
|
\ 'callback': 'ale#handlers#eslint#HandleJSON',
|
|
\})
|