diff options
author | Aaron Franks <25241+af@users.noreply.github.com> | 2019-11-24 15:47:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-24 15:47:07 -0800 |
commit | 31715ff22768a87be2b8db592be5e7eb499ced30 (patch) | |
tree | 665e049889d615edce4fbab4dfd1cd26a5385a82 | |
parent | b91d82bfaa395bb86b3ea51f63cc8cef05e90f98 (diff) | |
download | ale-31715ff22768a87be2b8db592be5e7eb499ced30.zip |
Fix for incorrect eslint output parsing for graphql files
The output is configured to be JSON, but the handler was parsing it as 'lines'
-rw-r--r-- | ale_linters/graphql/eslint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/graphql/eslint.vim b/ale_linters/graphql/eslint.vim index 654b8c17..aed1a371 100644 --- a/ale_linters/graphql/eslint.vim +++ b/ale_linters/graphql/eslint.vim @@ -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', \}) |