typescript-eslint 8.37.1-alpha.5 → 8.38.0

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.
@@ -75,6 +75,10 @@ function configImpl(...configs) {
75
75
  throw new TypeError(`tseslint.config(): Config at index ${configIndex}${nameErrorPhrase} has an 'extends' array that contains a config with a 'basePath' property at index ${extensionIndex}.` +
76
76
  ` 'basePath' in 'extends' is not allowed.`);
77
77
  }
78
+ if ('extends' in extension) {
79
+ throw new TypeError(`tseslint.config(): Config at index ${configIndex}${nameErrorPhrase} has an 'extends' array that contains a config with an 'extends' property at index ${extensionIndex}.` +
80
+ ` Nested 'extends' is not allowed.`);
81
+ }
78
82
  }
79
83
  if (nonObjectExtensions.length > 0) {
80
84
  const extensionIndices = nonObjectExtensions.join(', ');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-eslint",
3
- "version": "8.37.1-alpha.5",
3
+ "version": "8.38.0",
4
4
  "description": "Tooling which enables you to use TypeScript with ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -50,10 +50,10 @@
50
50
  "typecheck": "yarn run -BT nx typecheck"
51
51
  },
52
52
  "dependencies": {
53
- "@typescript-eslint/eslint-plugin": "8.37.1-alpha.5",
54
- "@typescript-eslint/parser": "8.37.1-alpha.5",
55
- "@typescript-eslint/typescript-estree": "8.37.1-alpha.5",
56
- "@typescript-eslint/utils": "8.37.1-alpha.5"
53
+ "@typescript-eslint/eslint-plugin": "8.38.0",
54
+ "@typescript-eslint/parser": "8.38.0",
55
+ "@typescript-eslint/typescript-estree": "8.38.0",
56
+ "@typescript-eslint/utils": "8.38.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "eslint": "^8.57.0 || ^9.0.0",