@nx/eslint 20.0.0-beta.7 → 20.0.0-beta.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/eslint",
3
- "version": "20.0.0-beta.7",
3
+ "version": "20.0.0-beta.8",
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-beta.7",
39
- "@nx/js": "20.0.0-beta.7",
38
+ "@nx/devkit": "20.0.0-beta.8",
39
+ "@nx/js": "20.0.0-beta.8",
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) {