eslint-plugin-react-x 3.0.0-next.70 → 3.0.0-next.71
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 -3
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -148,7 +148,7 @@ const rules$7 = {
|
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region package.json
|
|
150
150
|
var name$6 = "eslint-plugin-react-x";
|
|
151
|
-
var version = "3.0.0-next.
|
|
151
|
+
var version = "3.0.0-next.71";
|
|
152
152
|
|
|
153
153
|
//#endregion
|
|
154
154
|
//#region src/utils/create-rule.ts
|
|
@@ -2829,8 +2829,7 @@ function create$30(ctx) {
|
|
|
2829
2829
|
if (inChildrenToArray) return;
|
|
2830
2830
|
const elements = node.elements.filter(ast.is(AST_NODE_TYPES.JSXElement));
|
|
2831
2831
|
if (elements.length === 0) return;
|
|
2832
|
-
const
|
|
2833
|
-
for (const el of elements) if (!jsx.hasAttribute(el, "key", scope)) ctx.report({
|
|
2832
|
+
for (const el of elements) if (!jsx.hasAttribute(el, "key")) ctx.report({
|
|
2834
2833
|
messageId: "default",
|
|
2835
2834
|
node: el
|
|
2836
2835
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.71",
|
|
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",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"string-ts": "^2.3.1",
|
|
46
46
|
"ts-api-utils": "^2.4.0",
|
|
47
47
|
"ts-pattern": "^5.9.0",
|
|
48
|
-
"@eslint-react/ast": "3.0.0-next.
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
48
|
+
"@eslint-react/ast": "3.0.0-next.71",
|
|
49
|
+
"@eslint-react/eff": "3.0.0-next.71",
|
|
50
|
+
"@eslint-react/core": "3.0.0-next.71",
|
|
51
|
+
"@eslint-react/shared": "3.0.0-next.71",
|
|
52
|
+
"@eslint-react/var": "3.0.0-next.71"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.2.14",
|