playwright/tests/components/ct-react-vite/src/components
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
..
Button.tsx chore(ct): type check (#18208) 2022-10-20 13:33:25 -07:00
CheckChildrenProp.tsx fix(ct): solid pass children when they are defined (#29648) 2024-02-26 11:15:08 -08:00
ComponentAsProp.tsx feat(ct): react component as props (#28382) 2023-12-22 20:51:59 -08:00
Counter.tsx test(ct): update child (#22712) 2023-05-01 15:20:46 -07:00
DefaultChildren.tsx chore(ct): react vite tests (#16525) 2022-08-15 13:17:56 -07:00
EmptyFragment.tsx fix(ct): empty slots or children (#28225) 2023-11-27 15:53:50 -08:00
Fetcher.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
MultipleChildren.tsx chore(ct): react vite tests (#16525) 2022-08-15 13:17:56 -07:00
MultiRoot.tsx chore(ct): react vite tests (#16525) 2022-08-15 13:17:56 -07:00
TitleWithFont.css fix(chromium): continue requests paused for the second time (#27429) 2023-10-04 11:18:06 -07:00
TitleWithFont.tsx fix(chromium): continue requests paused for the second time (#27429) 2023-10-04 11:18:06 -07:00