@eslint-react/jsx
Advanced tools
+2
-1
@@ -592,3 +592,4 @@ import { Traverse } from "@eslint-react/ast"; | ||
| if (property.computed) { | ||
| if (getStaticValue(key, context.sourceCode.getScope(key))?.value === name) return property; | ||
| const keyScope = context.sourceCode.getScope(key); | ||
| if (getStaticValue(key, keyScope)?.value === name) return property; | ||
| continue; | ||
@@ -595,0 +596,0 @@ } |
+6
-6
| { | ||
| "name": "@eslint-react/jsx", | ||
| "version": "5.18.3", | ||
| "version": "5.18.4", | ||
| "description": "ESLint React's TSESTree JSX utility module for static analysis of JSX patterns.", | ||
@@ -35,9 +35,9 @@ "homepage": "https://github.com/Rel1cx/eslint-react", | ||
| "ts-pattern": "^5.9.0", | ||
| "@eslint-react/eslint": "5.18.3", | ||
| "@eslint-react/shared": "5.18.3", | ||
| "@eslint-react/ast": "5.18.3", | ||
| "@eslint-react/var": "5.18.3" | ||
| "@eslint-react/ast": "5.18.4", | ||
| "@eslint-react/var": "5.18.4", | ||
| "@eslint-react/shared": "5.18.4", | ||
| "@eslint-react/eslint": "5.18.4" | ||
| }, | ||
| "devDependencies": { | ||
| "eslint": "^10.8.0", | ||
| "eslint": "^10.8.1", | ||
| "tsdown": "^0.22.14", | ||
@@ -44,0 +44,0 @@ "typescript": "6.0.3", |
55838
0.06%1382
0.07%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated