Add support for linting GraphQL with ESLint

This commit is contained in:
Benjie Gillam
2017-11-27 14:22:05 +00:00
parent d4ea0423a2
commit e84ee4332f
4 changed files with 15 additions and 2 deletions

View File

@@ -2,6 +2,9 @@
ALE GraphQL Integration *ale-graphql-options*
===============================================================================
eslint *ale-graphql-eslint*
===============================================================================
gqlint *ale-graphql-gqlint*

View File

@@ -74,6 +74,7 @@ CONTENTS *ale-contents*
gofmt...............................|ale-go-gofmt|
gometalinter........................|ale-go-gometalinter|
graphql...............................|ale-graphql-options|
eslint..............................|ale-graphql-eslint|
gqlint..............................|ale-graphql-gqlint|
handlebars............................|ale-handlebars-options|
ember-template-lint.................|ale-handlebars-embertemplatelint|
@@ -294,7 +295,7 @@ Notes:
* FusionScript: `fusion-lint`
* GLSL: glslang
* Go: `gofmt`, `goimports`, `go vet`, `golint`, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!!
* GraphQL: `gqlint`
* GraphQL: `eslint`, `gqlint`
* Haml: `haml-lint`
* Handlebars: `ember-template-lint`
* Haskell: `ghc`, `stack-ghc`, `stack-build`!!, `ghc-mod`, `stack-ghc-mod`, `hlint`, `hdevtools`, `hfmt`