eslint-plugin-testing-library
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
eslint-plugin-testing-library@7.16.2 was published on 2026-03-24. Its manifest declares 2 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^18.18.0 || ^20.9.0 || >=21.1.0.
All eslint-plugin-testing-library versions · Permanent reference to 7.16.2
Package specifications
| Version | 7.16.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-24T11:40:47.169Z |
| Node.js requirement | ^18.18.0 || ^20.9.0 || >=21.1.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 429.30 KiB |
| Published file count | 7 |
| Package type | module |
| ES module entry | ./dist/index.mjs |
| Default entry | ./dist/index.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 20 |
| Repository stars | 1065 |
| Repository forks | 167 |
Install eslint-plugin-testing-library 7.16.2
npm install eslint-plugin-testing-library@7.16.2 pnpm add eslint-plugin-testing-library@7.16.2 yarn add eslint-plugin-testing-library@7.16.2
Runtime dependencies
- @typescript-eslint/scope-manager ^8.56.0
- @typescript-eslint/utils ^8.56.0
Peer requirements
- eslint ^8.57.0 || ^9.0.0 || ^10.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @eslint-community/eslint-utils@4.10.1 — indirect
- @typescript-eslint/project-service@8.72.1 — indirect
- @typescript-eslint/scope-manager@8.72.1 — direct
- @typescript-eslint/tsconfig-utils@8.72.1 — indirect
- @typescript-eslint/types@8.72.1 — indirect
- @typescript-eslint/typescript-estree@8.72.1 — indirect
- @typescript-eslint/utils@8.72.1 — direct
- @typescript-eslint/visitor-keys@8.72.1 — indirect
- balanced-match@4.0.4 — indirect
- brace-expansion@5.0.12 — indirect
- debug@4.4.3 — indirect
- eslint-visitor-keys@3.4.3 — indirect
- eslint-visitor-keys@5.0.1 — indirect
- fdir@6.5.0 — indirect
- minimatch@10.2.6 — indirect
- ms@2.1.3 — indirect
- picomatch@4.0.7 — indirect
- semver@7.8.5 — indirect
- tinyglobby@0.2.17 — indirect
- ts-api-utils@2.5.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 10/10 — all changesets reviewed |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 8/10 — dependency not pinned by hash detected -- score normalized to 8 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| Branch-Protection | 4/10 — branch protection is not maximal on development and all release branches |
| SAST | 8/10 — SAST tool is not run on all commits -- score normalized to 8 |
Evidence and freshness
- https://registry.npmjs.org/eslint-plugin-testing-library/7.16.2 — retrieved 2026-10-29T10:44:12.185Z
- https://api.deps.dev/v3/systems/npm/packages/eslint-plugin-testing-library/versions/7.16.2 — retrieved 2026-10-29T10:44:12.708Z
- https://api.deps.dev/v3/systems/npm/packages/eslint-plugin-testing-library/versions/7.16.2:dependencies — retrieved 2026-10-29T10:44:12.732Z
- https://api.deps.dev/v3/projects/github.com%2Ftesting-library%2Feslint-plugin-testing-library — retrieved 2026-10-29T10:44:12.855Z