summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorAaron Franks <25241+af@users.noreply.github.com>2019-11-24 15:47:07 -0800
committerGitHub <noreply@github.com>2019-11-24 15:47:07 -0800
commit31715ff22768a87be2b8db592be5e7eb499ced30 (patch)
tree665e049889d615edce4fbab4dfd1cd26a5385a82 /ale_linters
parentb91d82bfaa395bb86b3ea51f63cc8cef05e90f98 (diff)
downloadale-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'
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/graphql/eslint.vim2
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',
\})