Skip to content

Commit 2490439

Browse files
authored
next-lint: Use ESLint v9 by default (#71371)
### Why? Since ESLint v9 was unblocked, we no longer need to pin installing v8 when running `next lint` for the first time.
1 parent 1970f9f commit 2490439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/next/src/lib/eslint/runLintCheck.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ export async function runLintCheck(
432432
if (deps.missing.length > 0) {
433433
deps.missing.forEach((dep) => {
434434
if (dep.pkg === 'eslint') {
435-
// eslint v9 has breaking changes, so lock to 8 until dependency plugins fully support v9.
436-
dep.pkg = 'eslint@^8'
435+
// pin to v9 to avoid breaking changes
436+
dep.pkg = 'eslint@^9'
437437
}
438438
})
439439

0 commit comments

Comments
 (0)