npm / eslint-plugin-testing-library
eslint-plugin-testing-library
What changed in eslint-plugin-testing-library 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking1 new APIs and options2 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initeslint-plugin-testing-library 78 changes
Breaking changes 1
Removed pnpm from engines, so it is no longer listed as an engine requirement.
New APIs and options 1
Adds the prefer-user-event-setup ESLint rule.
Tooling 2
The plugin now supports ESLint v10.
The package is bundled in both CJS and ESM formats, allowing consumers to use either module format.
Fixes and other changes 4
Detects userEvent when it is imported from a custom module.
Prevents duplicate errors for chained property access.
Exposes the correct version in plugin metadata.
The prefer-find-by autofix now keeps the assertion.