From d646ebda72cffdec06fbef81cbf72d04806bef42 Mon Sep 17 00:00:00 2001 From: Michiel Westerbeek Date: Sun, 20 Aug 2017 14:36:46 +0200 Subject: Added new linter for GraphQL: gqlint (#863) * Added new linter for GraphQL: GQLint * added help-files --- ale_linters/graphql/gqlint.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/graphql/gqlint.vim (limited to 'ale_linters') 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 +" Description: Linter for GraphQL Schemas + +call ale#linter#Define('graphql', { + \ 'name': 'gqlint', + \ 'executable': 'gqlint', + \ 'command': 'gqlint --reporter=simple %t', + \ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) -- cgit v1.2.3