Skip to content

Commit

Permalink
fix(linter): fixes usages of lintProjectGenerator without eslintFileP…
Browse files Browse the repository at this point in the history
…atterns provided (#18741)
  • Loading branch information
jbean96 authored Aug 22, 2023
1 parent b4222a0 commit 34f4148
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function lintProjectGenerator(
});
const projectConfig = readProjectConfiguration(tree, options.project);

const lintFilePatterns = options.eslintFilePatterns;
const lintFilePatterns = options.eslintFilePatterns ?? [];
if (isBuildableLibraryProject(projectConfig)) {
lintFilePatterns.push(`${projectConfig.root}/package.json`);
}
Expand Down

1 comment on commit 34f4148

@vercel
Copy link

@vercel vercel bot commented on 34f4148 Aug 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.