11 lines
303 B
VimL
11 lines
303 B
VimL
|
" Author: Michiel Westerbeek <happylinks@gmail.com>
|
||
|
" Description: Linter for GraphQL Schemas
|
||
|
|
||
|
call ale#linter#Define('graphql', {
|
||
|
\ 'name': 'gqlint',
|
||
|
\ 'executable': 'gqlint',
|
||
|
\ 'cwd': '%s:h',
|
||
|
\ 'command': 'gqlint --reporter=simple %t',
|
||
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||
|
\})
|