@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.
- package/index.js +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.
|
|
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;
|