diff --git a/packages/next/src/generators/application/lib/add-linting.ts b/packages/next/src/generators/application/lib/add-linting.ts index 73eec8abf44f28..0a0267a8419382 100644 --- a/packages/next/src/generators/application/lib/add-linting.ts +++ b/packages/next/src/generators/application/lib/add-linting.ts @@ -29,6 +29,7 @@ export async function addLinting( unitTestRunner: options.unitTestRunner, skipFormat: true, rootProject: options.rootProject, + setParserOptionsProject: options.setParserOptionsProject, }); if (options.linter === Linter.EsLint && isEslintConfigSupported(host)) { addExtendsToLintConfig(host, options.appProjectRoot, [