eslint-plugin-graphql icon indicating copy to clipboard operation
eslint-plugin-graphql copied to clipboard

:vertical_traffic_light: Check your GraphQL query strings against a schema.

Results 101 eslint-plugin-graphql issues
Sort by recently updated
recently updated
newest added
trafficstars

Having a clear license text & copyright statement (ideally in a LICENSE file) makes it easier to provide proper attribution and makes it easier for me to get approvals to...

I want to use all current list of validators for Relay, except `NoUnusedVariables` validator. For now, I can describe all validators explicitly but may lose some new validators in future....

feature
easy
good first issue

Fix #248 The current `required-fields` rule only checks that the required fields exist on the top level fragment or query. However, if someone is using spread fragments, this doesn't recursively...

TODO: - [ ] Make sure all of the significant new logic is covered by tests - [ ] Rebase your changes on master so that they can be merged...

How can I add the necessary config to my create react app project?

ESLint crashes when there's a query with an Object Type field without a selection. Schema: ``` type MyObjectType { id: ID! someField: String } type Query { fieldName: MyObjectType }...

has-reproduction

Fix #297 - [x] Make sure all of the significant new logic is covered by tests - [x] Rebase your changes on master so that they can be merged easily...

With version 4.0.0 I try to lint deprecated field in a [gql](https://github.com/commercetools/sunrise-spa/blob/ece163ef3be3e41d3c731b21991f0decddb3aa5d/src/components/Cart.gql#L48) file and a template in a [js](https://github.com/commercetools/sunrise-spa/blob/411347c70a9e3e46711ce036096c5f65ce87041f/src/components/checkout/ShippingMethod/ShippingMethod.js#L80) file. If I configure [.eslintrc.js](https://github.com/commercetools/sunrise-spa/blob/411347c70a9e3e46711ce036096c5f65ce87041f/.eslintrc.js) it with: ``` 'graphql/template-strings': [ 'error',...

The relay-compiler already validate if we have defined a variable and doesn't use them and in some cases when you don't need to use @arguments/@argumentDefinitions we receive a false negative,...

First off, great tool! I haven't dug too far into it, but I just loaded it up with this `gql` query / fragment combo and I'm seeing the error: `Variable...

bug
help wanted