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

Eslint crashes when there's a required field along with an inline fragment. Eslint config: ```json "graphql/required-fields": ["error", { "requiredFields": ["id"], "schemaJsonFilepath": "./data/schema.json" }] ``` Schema: ``` interface Viewer { id:...

In my project, I use both literal `graphql` files for fragments and inline queries. Is there a way to lint both types of file with this plugin? [See for example.](https://github.com/apollographql/eslint-plugin-graphql/issues/106)

Would be good to know what the message looks like, and if it works well!

help wanted
feature
easy

So after I got this running against a Relay Modern project, I've noticed some issues with Relay Modern: - Relay Modern's `createPaginationContainer` requires the use of a `connection` directive, e.g:...

This may sound kind of dumb, but it would still be nice to have. If I put the same key twice inside of a query, could we make it display...

feature
easy

This plugin is great, but unnecessarily complicated, so I'm suggesting a possibly simpler approach, which also should result in better performance and simplify the code base! .eslintrc.js: ```js 'graphql/queries': ['error',...

When writing such code: ```js class ElectivesView... const withElectivesData = graphql(ElectivesQuery, { options: (ownProps) => ({ variables: ownProps.electiveVariables }) }) export default connect(mapStateToProps, mapDispatchToProps)(withElectivesData(ElectivesView)) ``` I can the following errors:...

help wanted
easy

Suggestion: `TypeDescriptions`: `Always` Checks that `types` always have descriptions. `bad` ```graphql type Widget { id: ID name: String } ``` `good` ```graphql # Blocks of content shown on the home...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint)) | [`6.8.0` -> `9.23.0`](https://renovatebot.com/diffs/npm/eslint/6.8.0/9.23.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`7.2.0` -> `11.1.0`](https://renovatebot.com/diffs/npm/mocha/7.2.0/11.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mocha/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...