@dry-lint/graphql
v3.0.0
Published
Detect duplicate or near-duplicate definitions in GraphQL schemas.
Maintainers
Readme
@dry-lint/graphql
Part of the dry-lint monorepo.
Extracts types, queries, mutations, and fragments from GraphQL schemas (.graphql / .gql) so you can detect duplicate or overlapping type definitions and operations across your GraphQL API.
Install
bun add -D @dry-lint/graphqlConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/graphql"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
