@nx/eslint 21.2.0 → 21.2.1
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.2.
|
3
|
+
"version": "21.2.1",
|
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.2.
|
39
|
-
"@nx/js": "21.2.
|
38
|
+
"@nx/devkit": "21.2.1",
|
39
|
+
"@nx/js": "21.2.1",
|
40
40
|
"semver": "^7.5.3",
|
41
41
|
"tslib": "^2.3.0",
|
42
42
|
"typescript": "~5.8.2"
|
@@ -116,13 +116,13 @@ Please see https://nx.dev/recipes/tips-n-tricks/eslint for full guidance on how
|
|
116
116
|
}
|
117
117
|
throw new Error('Invalid lint configuration. Nothing to lint. Please check your lint target pattern(s).');
|
118
118
|
}
|
119
|
-
// output fixes to disk, if applicable based on the options
|
120
|
-
await ESLint.outputFixes(lintResults);
|
121
119
|
// if quiet, only show errors
|
122
120
|
if (normalizedOptions.quiet) {
|
123
121
|
console.debug('Quiet mode enabled - filtering out warnings\n');
|
124
122
|
lintResults = ESLint.getErrorResults(lintResults);
|
125
123
|
}
|
124
|
+
// output fixes to disk, if applicable based on the options
|
125
|
+
await ESLint.outputFixes(lintResults);
|
126
126
|
const formatter = await eslint.loadFormatter(normalizedOptions.format);
|
127
127
|
const formattedResults = await formatter.format(lintResults);
|
128
128
|
if (normalizedOptions.outputFile) {
|