# What changed in eslint-plugin-testing-library

> 8 changes in eslint-plugin-testing-library 7 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/eslint-plugin-testing-library/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## eslint-plugin-testing-library 7

### Breaking changes

- Removed pnpm from engines, so it is no longer listed as an engine requirement. (7.13.5) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.13.5)

### New APIs and options

- Adds the prefer-user-event-setup ESLint rule. (7.14.0) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.14.0)

### Tooling

- The plugin now supports ESLint v10. (7.16.0) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.16.0)
- The package is bundled in both CJS and ESM formats, allowing consumers to use either module format. (7.15.0) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.15.0)

### Fixes and other changes

- Detects userEvent when it is imported from a custom module. (7.16.2) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.16.2)
- Prevents duplicate errors for chained property access. (7.16.1) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.16.1)
- Exposes the correct version in plugin metadata. (7.15.2) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.15.2)
- The prefer-find-by autofix now keeps the assertion. (7.13.4) — [release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases/tag/v7.13.4)
