@nx/eslint 20.0.0-canary.20241003-84a5c7a → 20.0.0-canary.20241005-75c1da3
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": "20.0.0-canary.
|
3
|
+
"version": "20.0.0-canary.20241005-75c1da3",
|
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": "20.0.0-canary.
|
39
|
-
"@nx/js": "20.0.0-canary.
|
38
|
+
"@nx/devkit": "20.0.0-canary.20241005-75c1da3",
|
39
|
+
"@nx/js": "20.0.0-canary.20241005-75c1da3",
|
40
40
|
"semver": "^7.5.3",
|
41
41
|
"tslib": "^2.3.0",
|
42
42
|
"typescript": "~5.4.2"
|
@@ -71,18 +71,6 @@ function convertEslintJsonToFlatConfig(tree, root, config, ignorePaths) {
|
|
71
71
|
isFlatCompatNeeded = true;
|
72
72
|
}
|
73
73
|
exportElements.push((0, ast_utils_1.generateFlatOverride)(override));
|
74
|
-
// eslint-plugin-import cannot be used with ESLint v9 yet
|
75
|
-
// TODO(jack): Once v9 support is released, remove this block.
|
76
|
-
// See: https://github.com/import-js/eslint-plugin-import/pull/2996
|
77
|
-
if (override.extends === 'plugin:@nx/react') {
|
78
|
-
exportElements.push((0, ast_utils_1.generateFlatOverride)({
|
79
|
-
rules: {
|
80
|
-
'import/first': 'off',
|
81
|
-
'import/no-amd': 'off',
|
82
|
-
'import/no-webpack-loader-syntax': 'off',
|
83
|
-
},
|
84
|
-
}));
|
85
|
-
}
|
86
74
|
});
|
87
75
|
}
|
88
76
|
if (config.ignorePatterns) {
|