@typescript-eslint/eslint-plugin 8.64.1-alpha.2 → 8.64.1-alpha.4

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.
@@ -274,8 +274,7 @@ exports.default = (0, util_1.createRule)({
274
274
  return false;
275
275
  }
276
276
  const { variableScope } = variable.scope;
277
- if (!((variableScope.block.type ===
278
- utils_1.AST_NODE_TYPES.ArrowFunctionExpression ||
277
+ if (!((variableScope.block.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression ||
279
278
  variableScope.block.type === utils_1.AST_NODE_TYPES.FunctionExpression) &&
280
279
  getOuterScope(variableScope) === shadowedVariable.scope)) {
281
280
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "8.64.1-alpha.2",
3
+ "version": "8.64.1-alpha.4",
4
4
  "description": "TypeScript plugin for ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -49,10 +49,10 @@
49
49
  "ignore": "^7.0.5",
50
50
  "natural-compare": "^1.4.0",
51
51
  "ts-api-utils": "^2.5.0",
52
- "@typescript-eslint/scope-manager": "8.64.1-alpha.2",
53
- "@typescript-eslint/type-utils": "8.64.1-alpha.2",
54
- "@typescript-eslint/visitor-keys": "8.64.1-alpha.2",
55
- "@typescript-eslint/utils": "8.64.1-alpha.2"
52
+ "@typescript-eslint/scope-manager": "8.64.1-alpha.4",
53
+ "@typescript-eslint/utils": "8.64.1-alpha.4",
54
+ "@typescript-eslint/type-utils": "8.64.1-alpha.4",
55
+ "@typescript-eslint/visitor-keys": "8.64.1-alpha.4"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/json-schema": "^7.0.15",
@@ -69,20 +69,20 @@
69
69
  "mdast-util-from-markdown": "^2.0.2",
70
70
  "mdast-util-mdx": "^3.0.0",
71
71
  "micromark-extension-mdxjs": "^3.0.0",
72
- "prettier": "3.8.0",
72
+ "prettier": "3.9.5",
73
73
  "rimraf": "^5.0.10",
74
74
  "title-case": "^4.3.2",
75
75
  "tsx": "^4.7.2",
76
76
  "typescript": ">=4.8.4 <6.1.0",
77
77
  "unist-util-visit": "^5.0.0",
78
78
  "vitest": "^4.0.18",
79
- "@typescript-eslint/rule-schema-to-typescript-types": "8.64.1-alpha.2",
80
- "@typescript-eslint/rule-tester": "8.64.1-alpha.2"
79
+ "@typescript-eslint/rule-schema-to-typescript-types": "8.64.1-alpha.4",
80
+ "@typescript-eslint/rule-tester": "8.64.1-alpha.4"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
84
84
  "typescript": ">=4.8.4 <6.1.0",
85
- "@typescript-eslint/parser": "^8.64.1-alpha.2"
85
+ "@typescript-eslint/parser": "^8.64.1-alpha.4"
86
86
  },
87
87
  "funding": {
88
88
  "type": "opencollective",