@eslint-react/eslint-plugin 4.0.3-beta.0 → 4.2.0-beta.0
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/README.md +7 -0
- package/dist/index.js +4 -4
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
- [Rules](#rules)
|
|
29
29
|
- [Benchmark](#benchmark)
|
|
30
30
|
- [FAQ](#faq)
|
|
31
|
+
- [Migration](#migration)
|
|
31
32
|
- [Changelog](#changelog)
|
|
32
33
|
- [Roadmap](#roadmap)
|
|
33
34
|
- [Disclaimer](#disclaimer)
|
|
@@ -193,6 +194,12 @@ export default defineConfig(
|
|
|
193
194
|
|
|
194
195
|
[Frequently Asked Questions ↗](https://eslint-react.xyz/docs/faq)
|
|
195
196
|
|
|
197
|
+
## Migration
|
|
198
|
+
|
|
199
|
+
- [Migrating from eslint-plugin-react ↗](https://beta.eslint-react.xyz/docs/migrating-from-eslint-plugin-react)
|
|
200
|
+
- [Custom Rules for Missing Rules ↗](https://beta.eslint-react.xyz/docs/migrating-from-eslint-plugin-react#custom-rules-for-missing-rules)
|
|
201
|
+
- [Migrating from eslint-plugin-react-hooks ↗](https://beta.eslint-react.xyz/docs/migrating-from-eslint-plugin-react-hooks)
|
|
202
|
+
|
|
196
203
|
## Changelog
|
|
197
204
|
|
|
198
205
|
[Changelog ↗](https://www.eslint-react.xyz/docs/changelog)
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ const rules$20 = {
|
|
|
136
136
|
"@eslint-react/jsx-no-children-prop": "warn",
|
|
137
137
|
"@eslint-react/jsx-no-children-prop-with-children": "error",
|
|
138
138
|
"@eslint-react/jsx-no-comment-textnodes": "warn",
|
|
139
|
-
"@eslint-react/jsx-no-
|
|
139
|
+
"@eslint-react/jsx-no-key-after-spread": "error",
|
|
140
140
|
"@eslint-react/jsx-no-namespace": "error",
|
|
141
141
|
"@eslint-react/jsx-no-useless-fragment": "warn",
|
|
142
142
|
"@eslint-react/rsc-function-definition": "error",
|
|
@@ -236,7 +236,7 @@ const rules$15 = {
|
|
|
236
236
|
"@eslint-react/set-state-in-render": "off",
|
|
237
237
|
"@eslint-react/unstable-rules-of-props": "off",
|
|
238
238
|
"@eslint-react/unstable-rules-of-state": "off",
|
|
239
|
-
"@eslint-react/jsx-no-
|
|
239
|
+
"@eslint-react/jsx-no-key-after-spread": "off",
|
|
240
240
|
"@eslint-react/jsx-no-namespace": "off",
|
|
241
241
|
"@eslint-react/rsc-function-definition": "off"
|
|
242
242
|
};
|
|
@@ -252,7 +252,7 @@ const rules$14 = {
|
|
|
252
252
|
"@eslint-react/jsx-no-children-prop": "warn",
|
|
253
253
|
"@eslint-react/jsx-no-children-prop-with-children": "error",
|
|
254
254
|
"@eslint-react/jsx-no-comment-textnodes": "warn",
|
|
255
|
-
"@eslint-react/jsx-no-
|
|
255
|
+
"@eslint-react/jsx-no-key-after-spread": "error",
|
|
256
256
|
"@eslint-react/jsx-no-namespace": "error"
|
|
257
257
|
};
|
|
258
258
|
|
|
@@ -452,7 +452,7 @@ const settings = { ...settings$1 };
|
|
|
452
452
|
//#endregion
|
|
453
453
|
//#region package.json
|
|
454
454
|
var name = "@eslint-react/eslint-plugin";
|
|
455
|
-
var version = "4.0
|
|
455
|
+
var version = "4.2.0-beta.0";
|
|
456
456
|
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/utils/type-of.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.2.0-beta.0",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"@typescript-eslint/types": "^8.57.2",
|
|
48
48
|
"@typescript-eslint/utils": "^8.57.2",
|
|
49
49
|
"ts-api-utils": "^2.5.0",
|
|
50
|
-
"
|
|
51
|
-
"eslint-
|
|
52
|
-
"eslint-plugin-react-jsx": "4.0
|
|
53
|
-
"eslint-plugin-react-naming-convention": "4.0
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
50
|
+
"eslint-plugin-react-dom": "4.2.0-beta.0",
|
|
51
|
+
"@eslint-react/shared": "4.2.0-beta.0",
|
|
52
|
+
"eslint-plugin-react-jsx": "4.2.0-beta.0",
|
|
53
|
+
"eslint-plugin-react-naming-convention": "4.2.0-beta.0",
|
|
54
|
+
"eslint-plugin-react-rsc": "4.2.0-beta.0",
|
|
55
|
+
"eslint-plugin-react-web-api": "4.2.0-beta.0",
|
|
56
|
+
"eslint-plugin-react-x": "4.2.0-beta.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"tsdown": "^0.21.7",
|
|
60
|
-
"@local/
|
|
61
|
-
"@local/
|
|
60
|
+
"@local/eff": "3.0.0-beta.72",
|
|
61
|
+
"@local/configs": "0.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"eslint": "^10.0.0",
|