diff --git a/src/eslint/configs/next.ts b/src/eslint/configs/next.ts index 20e1af64..82e98b1c 100644 --- a/src/eslint/configs/next.ts +++ b/src/eslint/configs/next.ts @@ -77,7 +77,7 @@ export function next(options: NextOptions = {}): Config[] { "@next/next/no-typos": "warn", // https://nextjs.org/docs/messages/no-unwanted-polyfillio - "@next/next/no-unwanted-polyfillio": "warn", + "@next/next/no-unwanted-polyfillio": "error", ...rules, },