ale/ale_linters/graphql/gqlint.vim

11 lines
303 B
VimL
Raw Normal View History

" Author: Michiel Westerbeek <happylinks@gmail.com>
" Description: Linter for GraphQL Schemas
call ale#linter#Define('graphql', {
2017-08-20 12:37:21 +00:00
\ 'name': 'gqlint',
\ 'executable': 'gqlint',
\ 'cwd': '%s:h',
\ 'command': 'gqlint --reporter=simple %t',
2017-08-20 12:37:21 +00:00
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})