Fix for incorrect eslint output parsing for graphql files

The output is configured to be JSON, but the handler was parsing it as 'lines'
This commit is contained in:
Aaron Franks 2019-11-24 15:47:07 -08:00 committed by GitHub
parent b91d82bfaa
commit 31715ff227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ call ale#linter#Define('graphql', {
\ 'name': 'eslint',
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
\ 'command': function('ale#handlers#eslint#GetCommand'),
\ 'callback': 'ale#handlers#eslint#Handle',
\ 'callback': 'ale#handlers#eslint#HandleJSON',
\})