Skip to content

Commit

Permalink
fix(eslint): @next/next/no-unwanted-polyfillio set to error because o…
Browse files Browse the repository at this point in the history
…f chain attack
  • Loading branch information
ModyQyW committed Oct 22, 2024
1 parent 81a9715 commit 0d4c05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eslint/configs/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 0d4c05b

Please sign in to comment.