summaryrefslogtreecommitdiff
path: root/ale_linters/graphql/gqlint.vim
blob: 6f1ca54aeb7264ca3080a53d32fa80ed79619c57 (plain)
1
2
3
4
5
6
7
8
9
10
" 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',
\})