Add support for linting GraphQL with ESLint
This commit is contained in:
9
ale_linters/graphql/eslint.vim
Normal file
9
ale_linters/graphql/eslint.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
" Author: Benjie Gillam <code@benjiegillam.com>
|
||||
" Description: eslint for GraphQL files
|
||||
|
||||
call ale#linter#Define('graphql', {
|
||||
\ 'name': 'eslint',
|
||||
\ 'executable_callback': 'ale#handlers#eslint#GetExecutable',
|
||||
\ 'command_callback': 'ale#handlers#eslint#GetCommand',
|
||||
\ 'callback': 'ale#handlers#eslint#Handle',
|
||||
\})
|
||||
Reference in New Issue
Block a user