You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Problem
There was no linting for [`@testing-library/react`](https://testing-library.com/docs/react-testing-library/intro) yet the `package.json` was already installing [`eslint-plugin-testing-library`](https://github.com/Belco90/eslint-plugin-testing-library).
## Solution
Added `'plugin:testing-library/react'` as one of the plugins the `eslint.config.js` extends from to receive the recommended react ESLint rules.
Fixes#81
BREAKING CHANGE: This is now failing for new lint errors so it's technically a breaking change, although it should be super-duper minor.
🚀 Feature Proposal
testing-library
has a linting package calledeslint-plugin-testing-library
. It's already included in thepackage.json
, but not being used in theeslint.config.js
.Motivation
To follow best practices and anticipate common mistakes when writing tests with Testing Library
Example
See usage with React
The text was updated successfully, but these errors were encountered: