# @graphql-eslint/eslint-plugin

> GraphQL plugin for ESLint

Latest version **4.4.1** (published 2026-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphql-eslint/eslint-plugin
pnpm add @graphql-eslint/eslint-plugin
yarn add @graphql-eslint/eslint-plugin
bun add @graphql-eslint/eslint-plugin
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.4.1 |
| Published | 2026-08-03 |
| First published | 2020-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 8 |
| Unpacked size | 827.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 830 |
| Author | Dotan Simha <dotansimha@gmail.com> |
| Maintainers | ivolodin, dotansimha |
| Keywords | eslint, eslintplugin, eslint-plugin, graphql |

## Links

- npm: https://www.npmjs.com/package/@graphql-eslint/eslint-plugin
- Repository: https://github.com/graphql-hive/graphql-eslint
- npm.io page: https://npm.io/package/@graphql-eslint/eslint-plugin

## Dependencies (8)

- [debug](https://npm.io/package/debug.md) ^4.3.4
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.2.12
- [graphql-config](https://npm.io/package/graphql-config.md) ^5.1.3
- [lodash.lowercase](https://npm.io/package/lodash.lowercase.md) ^4.3.0
- [graphql-depth-limit](https://npm.io/package/graphql-depth-limit.md) ^1.1.0
- [@graphql-tools/utils](https://npm.io/package/@graphql-tools/utils.md) ^10.0.0
- [@graphql-tools/code-file-loader](https://npm.io/package/@graphql-tools/code-file-loader.md) ^8.0.0
- [@graphql-tools/graphql-tag-pluck](https://npm.io/package/@graphql-tools/graphql-tag-pluck.md) ^8.3.4

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 4.4.1 (latest) — 2026-08-03
- 4.4.2-alpha-20260803170659-1779f77e37ef86fa9e32c7f7023d5008c023471e (alpha) — 2026-08-03
- 4.4.0-alpha-20250326141243-12554bde8bf48fb31557fcf07aa5e37391cdd64d — 2025-03-26
- 4.4.0-alpha-20250326141220-f6eca8205d2cad3110d6993a828a85700e944e36 — 2025-03-26
- 4.4.0-alpha-20250326141156-bc996305abeba26e89081fda4320d5539a395616 — 2025-03-26
- 4.4.0-alpha-20250326141139-32211d1af1e8b4381cae6467c7e59ce7daf956b9 — 2025-03-26
- 4.4.0-alpha-20250326141138-ef9dcd4181e9fa8552b06edbe2a36202fd57115b — 2025-03-26
- 4.4.0-alpha-20250326141056-e7ceac5f2aa6f682bebdeeca055ab9d3bde729ff — 2025-03-26
- 4.4.0-alpha-20250326141041-9ff43e8b59f833688b5d19b867340c8fba3a4ecb — 2025-03-26
- 4.4.0 — 2025-03-26
- 4.4.0-alpha-20250326140146-84122e893b292a32052bd85a900acdc408f24aa4 — 2025-03-26
- 4.4.0-alpha-20250326135551-2d99d1a73317ffa0af9bc73d87b251e2e5af8a22 — 2025-03-26
- 4.4.0-alpha-20250326131729-a6a8640843407de85b49a93dbdfd7a627502eca9 — 2025-03-26
- 4.4.0-alpha-20250326131336-91465b9a5d0a18e52c06df679bf5d423bd457602 — 2025-03-26
- 4.4.0-alpha-20250326082532-7f3f8558552b0c15e40c959b03e3abd4ea91095a — 2025-03-26
- … 874 more at https://npm.io/package/@graphql-eslint/eslint-plugin/versions

## README

# GraphQL-ESLint

[![npm version](https://badge.fury.io/js/%40graphql-eslint%2Feslint-plugin.svg)](https://badge.fury.io/js/%40graphql-eslint%2Feslint-plugin)

## Documentation

[https://the-guild.dev/graphql/eslint](https://the-guild.dev/graphql/eslint)

## Contributions

Contributions, issues and feature requests are very welcome. If you are using this package and fixed
a bug for yourself, please consider submitting a PR!

And if this is your first time contributing to this project, please do read our
[Contributor Workflow Guide](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md)
before you get started off.

## Code of Conduct

Help us keep GraphQL ESLint open and inclusive. Please read and follow our
[Code of Conduct](https://github.com/the-guild-org/Stack/blob/master/CODE_OF_CONDUCT.md) as adopted
from [Contributor Covenant](https://contributor-covenant.org).

## License

Released under the [MIT license](./LICENSE).

---
_Source: https://npm.io/package/@graphql-eslint/eslint-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
