e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
10 lines
376 B
VimL
10 lines
376 B
VimL
" 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',
|
|
\})
|