We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3569c6 commit a5745dfCopy full SHA for a5745df
packages/linter/src/generators/lint-project/lint-project.ts
@@ -50,7 +50,7 @@ export async function lintProjectGenerator(
50
});
51
const projectConfig = readProjectConfiguration(tree, options.project);
52
53
- const lintFilePatterns = options.eslintFilePatterns;
+ const lintFilePatterns = options.eslintFilePatterns ?? [];
54
if (isBuildableLibraryProject(projectConfig)) {
55
lintFilePatterns.push(`${projectConfig.root}/package.json`);
56
}
0 commit comments