eslint-plugin-react-x 5.27.1 → 5.27.2
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/dist/index.js +2 -2
- package/package.json +9 -7
package/dist/index.js
CHANGED
|
@@ -135,7 +135,7 @@ const rules$6 = {
|
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region package.json
|
|
137
137
|
var name$6 = "eslint-plugin-react-x";
|
|
138
|
-
var version = "5.27.
|
|
138
|
+
var version = "5.27.2";
|
|
139
139
|
//#endregion
|
|
140
140
|
//#region src/utils/create-rule.ts
|
|
141
141
|
function getDocsUrl(ruleName) {
|
|
@@ -6591,7 +6591,7 @@ function isInitializedFromRef(context, id, refParams, seen = /* @__PURE__ */ new
|
|
|
6591
6591
|
const writeExpr = reference.writeExpr == null ? null : Extract.unwrap(reference.writeExpr);
|
|
6592
6592
|
if (writeExpr == null) continue;
|
|
6593
6593
|
if (writeExpr.range[1] > id.range[0]) continue;
|
|
6594
|
-
if (Traverse.
|
|
6594
|
+
if (Traverse.hasParent(writeExpr, and(Check.isFunction, (n) => !Traverse.hasParent(id, (m) => m === n)))) continue;
|
|
6595
6595
|
if (isExpressionFromRef(context, writeExpr, refParams, seen)) return true;
|
|
6596
6596
|
}
|
|
6597
6597
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "5.27.
|
|
3
|
+
"version": "5.27.2",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eslint-react/ast": "5.27.
|
|
40
|
-
"@eslint-react/core": "5.27.
|
|
41
|
-
"@eslint-react/eslint": "5.27.
|
|
42
|
-
"@eslint-react/jsx": "5.27.
|
|
43
|
-
"@eslint-react/shared": "5.27.
|
|
44
|
-
"@eslint-react/var": "5.27.
|
|
39
|
+
"@eslint-react/ast": "5.27.2",
|
|
40
|
+
"@eslint-react/core": "5.27.2",
|
|
41
|
+
"@eslint-react/eslint": "5.27.2",
|
|
42
|
+
"@eslint-react/jsx": "5.27.2",
|
|
43
|
+
"@eslint-react/shared": "5.27.2",
|
|
44
|
+
"@eslint-react/var": "5.27.2",
|
|
45
45
|
"@typescript-eslint/scope-manager": "^8.71.2",
|
|
46
46
|
"@typescript-eslint/types": "^8.71.2",
|
|
47
47
|
"@typescript-eslint/typescript-estree": "^8.71.2",
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
"@local/eff": "0.0.0",
|
|
57
57
|
"@local/testkit": "0.0.0",
|
|
58
58
|
"@rbxts/react": "17.3.7-ts.2",
|
|
59
|
+
"@tsconfig/node20": "^20.1.10",
|
|
60
|
+
"@types/node": "^20.19.43",
|
|
59
61
|
"@types/react": "^19.3.0",
|
|
60
62
|
"@types/react-dom": "^19.3.0",
|
|
61
63
|
"dedent": "^1.7.2",
|