X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/ale_linters/graphql/gqlint.vim?ds=sidebyside diff --git a/.vim/bundle/ale/ale_linters/graphql/gqlint.vim b/.vim/bundle/ale/ale_linters/graphql/gqlint.vim new file mode 100644 index 00000000..6f1ca54a --- /dev/null +++ b/.vim/bundle/ale/ale_linters/graphql/gqlint.vim @@ -0,0 +1,10 @@ +" Author: Michiel Westerbeek +" 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', +\})