Next.js Discord

Discord Forum

NextJs 15.x had configuration to disable linting, how to do the same in 16?

Unanswered
Channel catfish posted this in #help-forum
Open in Discord
Channel catfishOP
We used to have the following configuration in our next.config.ts, that for specific environments we could disable linting to speed up builds.

eslint: {
    ignoreDuringBuilds: process.env.LINT_ENABLED !== "true",
  },


How do we achieve this now?

1 Reply

Pacific sand lance
since next16, build no longers runs linting