Skip to content

Commit 68fe1fb

Browse files
committed
chore(next): next lint install - unpin eslint version to v8
1 parent 6158c1f commit 68fe1fb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -430,13 +430,6 @@ export async function runLintCheck(
430430
// Check if necessary deps installed, and install any that are missing
431431
deps = await hasNecessaryDependencies(baseDir, requiredPackages)
432432
if (deps.missing.length > 0) {
433-
deps.missing.forEach((dep) => {
434-
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'
437-
}
438-
})
439-
440433
await installDependencies(baseDir, deps.missing, true)
441434
}
442435

0 commit comments

Comments
 (0)