From 31715ff22768a87be2b8db592be5e7eb499ced30 Mon Sep 17 00:00:00 2001 From: Aaron Franks <25241+af@users.noreply.github.com> Date: Sun, 24 Nov 2019 15:47:07 -0800 Subject: Fix for incorrect eslint output parsing for graphql files The output is configured to be JSON, but the handler was parsing it as 'lines' --- ale_linters/graphql/eslint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', \}) -- cgit v1.2.3