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

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