Migrate ESLint to v 9.x

This bumps needed dependencies and migrates previously used ESLint configs to the new flat config schema.
This commit is contained in:
regexowl 2025-07-08 14:15:19 +02:00 committed by Klara Simickova
parent 10a40aaec4
commit 3f35101f68
12 changed files with 1244 additions and 559 deletions

View file

@ -11,7 +11,6 @@ export interface Cleanup {
}
export const test = oldTest.extend<WithCleanup>({
// eslint-disable-next-line no-empty-pattern
cleanup: async ({}, use) => {
const cleanupFns: Map<symbol, () => Promise<unknown>> = new Map();

View file

@ -11,7 +11,6 @@ export const test = base.extend<PopupHandlerFixture>({
popupHandler: [
async ({ page }, use) => {
await closePopupsIfExist(page);
// eslint-disable-next-line react-hooks/rules-of-hooks
await use(undefined);
},
{ auto: true },