next.js
9d1ae19a - [lint] Disable linting using project config for tests (#66145)

Commit
1 year ago
[lint] Disable linting using project config for tests (#66145) During integration testing, previously, calls to `next build` could rely on the project (the Next.js project) level ESLint configuration. In order to correct this, a new `lint` option was added to `nextBuild` that can be passed to enabled linting. If this is `false` or `undefined`, a `--no-lint` argument will be passed to `next build` to prevent it from running.
Author
Parents
Loading