summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/graphql/gqlint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/graphql/gqlint.vim b/ale_linters/graphql/gqlint.vim
new file mode 100644
index 00000000..0b70abb0
--- /dev/null
+++ b/ale_linters/graphql/gqlint.vim
@@ -0,0 +1,9 @@
+" Author: Michiel Westerbeek <happylinks@gmail.com>
+" Description: Linter for GraphQL Schemas
+
+call ale#linter#Define('graphql', {
+ \ 'name': 'gqlint',
+ \ 'executable': 'gqlint',
+ \ 'command': 'gqlint --reporter=simple %t',
+ \ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\})