eslint-plugin-react-dom 1.35.0 → 1.36.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/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var settings = {
|
|
|
66
66
|
|
|
67
67
|
// package.json
|
|
68
68
|
var name2 = "eslint-plugin-react-dom";
|
|
69
|
-
var version = "1.
|
|
69
|
+
var version = "1.36.0-beta.0";
|
|
70
70
|
var createRule = shared.createRuleForPlugin("dom");
|
|
71
71
|
|
|
72
72
|
// src/utils/find-custom-component.ts
|
|
@@ -222,7 +222,7 @@ var no_flush_sync_default = createRule({
|
|
|
222
222
|
meta: {
|
|
223
223
|
type: "problem",
|
|
224
224
|
docs: {
|
|
225
|
-
description: "
|
|
225
|
+
description: "disallow 'flushSync'",
|
|
226
226
|
[Symbol.for("rule_features")]: RULE_FEATURES4
|
|
227
227
|
},
|
|
228
228
|
messages: {
|
|
@@ -1897,7 +1897,7 @@ var no_use_form_state_default = createRule({
|
|
|
1897
1897
|
meta: {
|
|
1898
1898
|
type: "problem",
|
|
1899
1899
|
docs: {
|
|
1900
|
-
description: "replace usages of '
|
|
1900
|
+
description: "replace the usages of 'useFormState' with 'useActionState'",
|
|
1901
1901
|
[Symbol.for("rule_features")]: RULE_FEATURES14
|
|
1902
1902
|
},
|
|
1903
1903
|
fixable: "code",
|
package/dist/index.mjs
CHANGED
|
@@ -43,7 +43,7 @@ var settings = {
|
|
|
43
43
|
|
|
44
44
|
// package.json
|
|
45
45
|
var name2 = "eslint-plugin-react-dom";
|
|
46
|
-
var version = "1.
|
|
46
|
+
var version = "1.36.0-beta.0";
|
|
47
47
|
var createRule = createRuleForPlugin("dom");
|
|
48
48
|
|
|
49
49
|
// src/utils/find-custom-component.ts
|
|
@@ -199,7 +199,7 @@ var no_flush_sync_default = createRule({
|
|
|
199
199
|
meta: {
|
|
200
200
|
type: "problem",
|
|
201
201
|
docs: {
|
|
202
|
-
description: "
|
|
202
|
+
description: "disallow 'flushSync'",
|
|
203
203
|
[Symbol.for("rule_features")]: RULE_FEATURES4
|
|
204
204
|
},
|
|
205
205
|
messages: {
|
|
@@ -1874,7 +1874,7 @@ var no_use_form_state_default = createRule({
|
|
|
1874
1874
|
meta: {
|
|
1875
1875
|
type: "problem",
|
|
1876
1876
|
docs: {
|
|
1877
|
-
description: "replace usages of '
|
|
1877
|
+
description: "replace the usages of 'useFormState' with 'useActionState'",
|
|
1878
1878
|
[Symbol.for("rule_features")]: RULE_FEATURES14
|
|
1879
1879
|
},
|
|
1880
1880
|
fixable: "code",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0-beta.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"compare-versions": "^6.1.1",
|
|
50
50
|
"string-ts": "^2.2.1",
|
|
51
51
|
"ts-pattern": "^5.6.2",
|
|
52
|
-
"@eslint-react/ast": "1.
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/
|
|
52
|
+
"@eslint-react/ast": "1.36.0-beta.0",
|
|
53
|
+
"@eslint-react/eff": "1.36.0-beta.0",
|
|
54
|
+
"@eslint-react/var": "1.36.0-beta.0",
|
|
55
|
+
"@eslint-react/shared": "1.36.0-beta.0",
|
|
56
|
+
"@eslint-react/jsx": "1.36.0-beta.0",
|
|
57
|
+
"@eslint-react/core": "1.36.0-beta.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/react": "^19.0.10",
|