eslint-plugin-react-x 2.5.4-next.5 → 2.5.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.
- package/dist/index.js +3 -5
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var __exportAll = (all, symbols) => {
|
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region package.json
|
|
36
36
|
var name$6 = "eslint-plugin-react-x";
|
|
37
|
-
var version = "2.5.4
|
|
37
|
+
var version = "2.5.4";
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/utils/create-rule.ts
|
|
@@ -200,8 +200,8 @@ const RULE_NAME$61 = "jsx-key-before-spread";
|
|
|
200
200
|
var jsx_key_before_spread_default = createRule({
|
|
201
201
|
meta: {
|
|
202
202
|
type: "problem",
|
|
203
|
-
docs: { description: "Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform
|
|
204
|
-
messages: { jsxKeyBeforeSpread: "The 'key' prop must be placed before any spread props when using the new JSX transform
|
|
203
|
+
docs: { description: "Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform." },
|
|
204
|
+
messages: { jsxKeyBeforeSpread: "The 'key' prop must be placed before any spread props when using the new JSX transform." },
|
|
205
205
|
schema: []
|
|
206
206
|
},
|
|
207
207
|
name: RULE_NAME$61,
|
|
@@ -3494,7 +3494,6 @@ const rules$6 = {
|
|
|
3494
3494
|
"react-x/no-create-ref": "error",
|
|
3495
3495
|
"react-x/no-default-props": "error",
|
|
3496
3496
|
"react-x/no-direct-mutation-state": "error",
|
|
3497
|
-
"react-x/no-duplicate-key": "error",
|
|
3498
3497
|
"react-x/no-forward-ref": "warn",
|
|
3499
3498
|
"react-x/no-implicit-key": "warn",
|
|
3500
3499
|
"react-x/no-missing-key": "error",
|
|
@@ -3576,7 +3575,6 @@ const rules$2 = {
|
|
|
3576
3575
|
"react-x/no-children-prop": "error",
|
|
3577
3576
|
"react-x/no-class-component": "error",
|
|
3578
3577
|
"react-x/no-misused-capture-owner-stack": "error",
|
|
3579
|
-
"react-x/no-unnecessary-key": "warn",
|
|
3580
3578
|
"react-x/no-unnecessary-use-callback": "warn",
|
|
3581
3579
|
"react-x/no-unnecessary-use-memo": "warn",
|
|
3582
3580
|
"react-x/no-unstable-context-value": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "2.5.4
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "A set of composable ESLint rules for for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -46,16 +46,16 @@
|
|
|
46
46
|
"string-ts": "^2.3.1",
|
|
47
47
|
"ts-api-utils": "^2.4.0",
|
|
48
48
|
"ts-pattern": "^5.9.0",
|
|
49
|
-
"@eslint-react/ast": "2.5.4
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/shared": "2.5.4
|
|
53
|
-
"@eslint-react/var": "2.5.4
|
|
49
|
+
"@eslint-react/ast": "2.5.4",
|
|
50
|
+
"@eslint-react/core": "2.5.4",
|
|
51
|
+
"@eslint-react/eff": "2.5.4",
|
|
52
|
+
"@eslint-react/shared": "2.5.4",
|
|
53
|
+
"@eslint-react/var": "2.5.4"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@types/react": "^19.2.
|
|
56
|
+
"@types/react": "^19.2.8",
|
|
57
57
|
"@types/react-dom": "^19.2.3",
|
|
58
|
-
"tsdown": "^0.19.0
|
|
58
|
+
"tsdown": "^0.19.0",
|
|
59
59
|
"@local/configs": "0.0.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|