playwright/tests/components/ct-react-vite/src
Simon Knott b599335404
chore(ui): enable react/recommended lint rules (#32214)
Closes https://github.com/microsoft/playwright/issues/32159. I
originally set out to enable Strict Mode for our React UI, but found a
way better thing: Enabling the lint rules we had already installed!

`eslint-plugin-react` is already in of our `package.json`, and this PR
enables it and fixes some of the reported issues. Most of them are
around the `key` prop which is mostly about performance, but there's
also fixes for misspelled `data-testid` props.
2024-08-20 14:16:28 +02:00
..
assets fix(chromium): continue requests paused for the second time (#27429) 2023-10-04 11:18:06 -07:00
components chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
pages test(ct): react vite router (#18601) 2022-11-08 08:39:48 -08:00
App.tsx fix(ct-react): do not reset mount hooks upon update (#29072) 2024-01-19 12:55:36 -08:00
main.tsx feat(ct-react): Support React 18 only (#19814) 2023-03-03 14:28:33 -08:00
vite-env.d.ts chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00