Commit a4e1dd7
authored
feat!(test): Add linting for react-testing-library (#82)
## 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.1 parent d2ab218 commit a4e1dd7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments