# @typescript-eslint/rule-tester

> Tooling to test ESLint rules

Latest version **8.72.2** (published 2026-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @typescript-eslint/rule-tester
pnpm add @typescript-eslint/rule-tester
yarn add @typescript-eslint/rule-tester
bun add @typescript-eslint/rule-tester
```

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.72.2 |
| Published | 2026-11-09 |
| First published | 2023-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | ^18.18.0 \|\| ^20.9.0 \|\| >=21.1.0 |
| Dependencies | 7 |
| Unpacked size | 123.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 16400 |
| Maintainers | jameshenry, bradzacher |
| Keywords | eslint, typescript, estree |

## Links

- npm: https://www.npmjs.com/package/@typescript-eslint/rule-tester
- Repository: https://github.com/typescript-eslint/typescript-eslint
- Homepage: https://typescript-eslint.io/packages/rule-tester
- Issues: https://github.com/typescript-eslint/typescript-eslint/issues
- Funding: https://opencollective.com/typescript-eslint
- npm.io page: https://npm.io/package/@typescript-eslint/rule-tester

## Dependencies (7)

- [ajv](https://npm.io/package/ajv.md) ^6.12.6
- [semver](https://npm.io/package/semver.md) ^7.7.3
- [lodash.merge](https://npm.io/package/lodash.merge.md) 4.6.2
- [@typescript-eslint/utils](https://npm.io/package/@typescript-eslint/utils.md) 8.72.2
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) 8.72.2
- [@typescript-eslint/typescript-estree](https://npm.io/package/@typescript-eslint/typescript-estree.md) 8.72.2
- [json-stable-stringify-without-jsonify](https://npm.io/package/json-stable-stringify-without-jsonify.md) ^1.0.1

## 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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 8.72.2 (latest) — 2026-11-09
- 8.72.3-alpha.8 (canary) — 2026-11-11
- 8.0.0-alpha.62 (rc-v8) — 2024-07-31
- 7.0.0-alpha.0 (rc-v6) — 2023-07-10
- 8.72.3-alpha.7 — 2026-11-10
- 8.72.3-alpha.6 — 2026-11-10
- 8.72.3-alpha.5 — 2026-11-10
- 8.72.3-alpha.4 — 2026-11-10
- 8.72.3-alpha.3 — 2026-11-10
- 8.72.3-alpha.2 — 2026-11-10
- 8.72.3-alpha.1 — 2026-11-10
- 8.72.3-alpha.0 — 2026-11-09
- 8.72.2-alpha.11 — 2026-11-02
- 8.72.2-alpha.10 — 2026-11-02
- 8.72.2-alpha.9 — 2026-11-02
- … 2104 more at https://npm.io/package/@typescript-eslint/rule-tester/versions

## README

# `@typescript-eslint/rule-tester`

> Tooling to test ESLint rules

[![NPM Version](https://img.shields.io/npm/v/@typescript-eslint/rule-tester.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/rule-tester)
[![NPM Downloads](https://img.shields.io/npm/dm/@typescript-eslint/rule-tester.svg?style=flat-square)](https://www.npmjs.com/package/@typescript-eslint/rule-tester)

👉 See **https://typescript-eslint.io/packages/rule-tester** for documentation on this package.

<!-- Local path for docs: docs/packages/Rule_Tester.mdx -->

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