@code-pushup/eslint-plugin 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from "url";
5
5
 
6
6
  // packages/plugin-eslint/package.json
7
7
  var name = "@code-pushup/eslint-plugin";
8
- var version = "0.6.0";
8
+ var version = "0.6.2";
9
9
 
10
10
  // packages/plugin-eslint/src/lib/config.ts
11
11
  import { z } from "zod";
@@ -913,7 +913,7 @@ async function findCodePushupEslintrc(project) {
913
913
  }
914
914
  function getLintFilePatterns(project) {
915
915
  const options = project.targets?.["lint"]?.options;
916
- return options?.lintFilePatterns == null ? [project.root] : toArray(options.lintFilePatterns);
916
+ return options?.lintFilePatterns == null ? [`${project.root}/**/*`] : toArray(options.lintFilePatterns);
917
917
  }
918
918
  function getEslintConfig(project) {
919
919
  const options = project.targets?.["lint"]?.options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/eslint-plugin",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "dependencies": {
5
5
  "@code-pushup/utils": "*",
6
6
  "@code-pushup/models": "*",