Skip to content
JS
Package

eslint-plugin-testing-library

ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library

v7.16.2, 24 Mar 2026MITESM + CommonJSTypes: BundledLinting and formattingTesting
$ npm install eslint-plugin-testing-library

Key numbers

As of 25 Sept 2026
Weekly downloads
7.5m
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 months ago
v7.16.2
GitHub stars
1.1k
168 forks
Open issues / PRs
30 / 25
Contributors
-
Commits, last 52 weeks
258

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.7m (16 Jun 2026)Low 3.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,483,882 downloads last week, 31,637,686 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
19169 in total
Latest version
7.16.2, 24 Mar 20266 months ago
First published
2 Oct 2019
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
30
Open pull requests
25
Commits, last 52 weeks
258
Dependents on npm
1,387

Major versions

  1. v7 first release 7.0.0, 23 Nov 2024
  2. v6 first release 6.0.0, 12 Aug 2023
  3. v5 first release 5.0.0, 25 Oct 2021
  4. v4 first release 4.0.0, 11 Apr 2021
  5. v3 first release 3.0.0, 29 Mar 2020
  6. v2 first release 2.0.0, 28 Jan 2020
  7. v1 first release 1.0.0, 2 Oct 2019

Recent releases

VersionPublished
7.16.224 Mar 2026
7.16.119 Mar 2026
7.16.017 Feb 2026
7.15.431 Dec 2025
7.15.322 Dec 2025
7.15.222 Dec 2025
7.15.116 Dec 2025
7.15.016 Dec 2025
7.14.015 Dec 2025
7.13.611 Dec 2025
7.13.521 Nov 2025
7.13.413 Nov 2025
7.13.314 Oct 2025
7.13.213 Oct 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^18.18.0 || ^20.9.0 || >=21.1.0
Runtimes
-
Unpacked size (npm)
429 kB
Dependencies (2)
@typescript-eslint/utils@typescript-eslint/scope-manager
Peer dependencies (1)
eslint
npm install eslint-plugin-testing-library
  • jsDelivrhttps://cdn.jsdelivr.net/npm/eslint-plugin-testing-library@7.16.2/
  • unpkghttps://unpkg.com/eslint-plugin-testing-library@7.16.2/
  • esm.shhttps://esm.sh/eslint-plugin-testing-library@7.16.2
PackageWeekly downloadsGzipLast releaseModuleComparison
eslint-plugin-ava203.2k-3 months agoESM only-
eslint-plugin-no-only-tests1.8m-4 months agoCommonJS-
eslint-plugin-chai-friendly505k-3 months agoCommonJS-
eslint-plugin-import-newlines97.9k-7 months agoCommonJS-
eslint-plugin-vitest-globals124k-6 months agoCommonJS-
@html-eslint/eslint-plugin214.2k-8 days agoCommonJS-
eslint-plugin-react47.5m-1 year agoCommonJS-
eslint-plugin-html663.4k-1 day agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.