Skip to content

Commit

Permalink
Merge glob patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 27, 2025
1 parent 18612d2 commit 3815fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/plugins/nyc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const enablers = ['nyc'];

const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);

const config = ['.nycrc', '.nycrc.json', '.nycrc.{yml,yaml}', 'nyc.config.js', 'package.json'];
const config = ['.nycrc', '.nycrc.{json,yml,yaml}', 'nyc.config.js', 'package.json'];

const resolveConfig: ResolveConfig<NycConfig> = config => {
const extend = config?.extends ?? [];
Expand Down

0 comments on commit 3815fae

Please sign in to comment.