Skip to content

Next should not require that eslint-config-next be installed separately #26348

@aslilac

Description

@aslilac

What version of Next.js are you using?

11.0.0

What version of Node.js are you using?

14.16.0

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying your application?

Vercel

Describe the Bug

next build fails when eslint-config-next isn't installed

Expected Behavior

If Next wants to require eslint-config-next be installed to successfully build a project then it should be listed as a dependency of Next itself. If eslint-config-next is not installed Next should still be able to successfully build a project, and it should not require that you manually specify eslint.ignoreDuringBuilds in your next.config.js.

It's incredibly confusing that Next will now always fail to build in it's default configuration, where this has never been an issue in any previous versions.

To Reproduce

Upgrade to Next 11 without installing eslint-config-next

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions