mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 19:28:52 +08:00
Add support for linting GraphQL with ESLint
This commit is contained in:
1 parent
d4ea0423a2
commit
e84ee4332f
4 files changed
+15
-2
No files matched your search
@@ -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