mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 21:44:47 +08:00
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:
@@ -5,5 +5,5 @@ call ale#linter#Define('graphql', {
|
|||||||
\ 'name': 'eslint',
|
\ 'name': 'eslint',
|
||||||
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
|
\ 'executable': function('ale#handlers#eslint#GetExecutable'),
|
||||||
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
\ 'command': function('ale#handlers#eslint#GetCommand'),
|
||||||
\ 'callback': 'ale#handlers#eslint#Handle',
|
\ 'callback': 'ale#handlers#eslint#HandleJSON',
|
||||||
\})
|
\})
|
||||||
|
|||||||
Reference in New Issue
Block a user