playwright/packages/web/src/shared
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
..
DEPS.list chore: reuse image diff component in trace/html (#28727) 2023-12-22 10:17:35 -08:00
glassPane.tsx chore: network panel polish (#28924) 2024-01-10 15:28:33 -08:00
imageDiffView.spec.tsx refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
imageDiffView.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
resizeView.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00