2018-03-31 10:55:20 -04:00
|
|
|
" Author: Michiel Westerbeek <happylinks@gmail.com>
|
|
|
|
" Description: Linter for GraphQL Schemas
|
|
|
|
|
|
|
|
call ale#linter#Define('graphql', {
|
|
|
|
\ 'name': 'gqlint',
|
|
|
|
\ 'executable': 'gqlint',
|
2021-06-30 12:54:34 -04:00
|
|
|
\ 'cwd': '%s:h',
|
|
|
|
\ 'command': 'gqlint --reporter=simple %t',
|
2018-03-31 10:55:20 -04:00
|
|
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
|
|
|
\})
|