31715ff227
The output is configured to be JSON, but the handler was parsing it as 'lines'
9 lines
325 B
VimL
9 lines
325 B
VimL
" Author: Benjie Gillam <code@benjiegillam.com>
|
|
" Description: eslint for GraphQL files
|
|
|
|
call ale#linter#Define('graphql', {
|
|
\ 'name': 'eslint',
|
|
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
|
|
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
|
\ 'callback': 'ale#handlers#eslint#HandleJSON',
|
|
\})
|