summaryrefslogtreecommitdiff
path: root/ale_linters/graphql/eslint.vim
blob: a98233e91377f83ecab339c559634e31beeac727 (plain)
1
2
3
4
5
6
7
8
9
10
" Author: Benjie Gillam <code@benjiegillam.com>
" Description: eslint for GraphQL files

call ale#linter#Define('graphql', {
\   'name': 'eslint',
\   'executable': function('ale#handlers#eslint#GetExecutable'),
\   'cwd': function('ale#handlers#eslint#GetCwd'),
\   'command': function('ale#handlers#eslint#GetCommand'),
\   'callback': 'ale#handlers#eslint#HandleJSON',
\})