@nx/eslint 21.3.0-canary.20250627-07233f0 → 21.3.0-canary.20250628-7430238
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/eslint",
|
3
|
-
"version": "21.3.0-canary.
|
3
|
+
"version": "21.3.0-canary.20250628-7430238",
|
4
4
|
"private": false,
|
5
5
|
"description": "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"eslint": "^8.0.0 || ^9.0.0"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@nx/devkit": "21.3.0-canary.
|
39
|
-
"@nx/js": "21.3.0-canary.
|
38
|
+
"@nx/devkit": "21.3.0-canary.20250628-7430238",
|
39
|
+
"@nx/js": "21.3.0-canary.20250628-7430238",
|
40
40
|
"semver": "^7.5.3",
|
41
41
|
"tslib": "^2.3.0",
|
42
42
|
"typescript": "~5.8.2"
|
@@ -101,8 +101,19 @@ Please see https://nx.dev/recipes/tips-n-tricks/eslint for full guidance on how
|
|
101
101
|
success: false,
|
102
102
|
};
|
103
103
|
}
|
104
|
-
//
|
105
|
-
|
104
|
+
// log unexpected errors
|
105
|
+
const lines = (err.message ? err.message : err.toString()).split('\n');
|
106
|
+
const bodyLines = lines.slice(1);
|
107
|
+
if (err.stack) {
|
108
|
+
bodyLines.push(...err.stack.split('\n'));
|
109
|
+
}
|
110
|
+
devkit_1.output.error({
|
111
|
+
title: lines[0],
|
112
|
+
bodyLines,
|
113
|
+
});
|
114
|
+
return {
|
115
|
+
success: false,
|
116
|
+
};
|
106
117
|
}
|
107
118
|
if (lintResults.length === 0 && errorOnUnmatchedPattern) {
|
108
119
|
const ignoredPatterns = (await Promise.all(normalizedLintFilePatterns.map(async (pattern) => (await eslint.isPathIgnored(pattern)) ? pattern : null)))
|