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:
parent
10a40aaec4
commit
3f35101f68
12 changed files with 1244 additions and 559 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue