dimaMachina / graphql-eslint

ESLint parser, plugin and set rules for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools.
https://the-guild.dev/graphql/eslint
MIT License
795 stars 103 forks source link

Add ignore config to `no-unused-fields` rule #2281

Open maciesielka opened 5 months ago

maciesielka commented 5 months ago

Description

Changes here add a ignoredFieldSelectors configuration to the no-unused-fields rule such that some fields are allowed to be unused.

Fixes #2280

Type of change

Please delete options that are not relevant.

Checklist:

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: 0a2deaa83a39c8b849341357a1c22f86a16b33ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------------- | ----- | | @graphql-eslint/eslint-plugin | Major |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR