eslint-plugin-react-x 5.0.1-beta.0 → 5.0.1-beta.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 +1 -21
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -141,7 +141,7 @@ const rules$7 = {
|
|
|
141
141
|
//#endregion
|
|
142
142
|
//#region package.json
|
|
143
143
|
var name$6 = "eslint-plugin-react-x";
|
|
144
|
-
var version = "5.0.1-beta.
|
|
144
|
+
var version = "5.0.1-beta.2";
|
|
145
145
|
|
|
146
146
|
//#endregion
|
|
147
147
|
//#region src/utils/create-rule.ts
|
|
@@ -3591,20 +3591,15 @@ const IMPURE_FUNCS = new Map([
|
|
|
3591
3591
|
["globalThis", new Set([
|
|
3592
3592
|
"addEventListener",
|
|
3593
3593
|
"alert",
|
|
3594
|
-
"alert",
|
|
3595
3594
|
"blur",
|
|
3596
3595
|
"cancelAnimationFrame",
|
|
3597
3596
|
"cancelIdleCallback",
|
|
3598
3597
|
"clearInterval",
|
|
3599
|
-
"clearInterval",
|
|
3600
|
-
"clearTimeout",
|
|
3601
3598
|
"clearTimeout",
|
|
3602
3599
|
"close",
|
|
3603
3600
|
"confirm",
|
|
3604
|
-
"confirm",
|
|
3605
3601
|
"dispatchEvent",
|
|
3606
3602
|
"fetch",
|
|
3607
|
-
"fetch",
|
|
3608
3603
|
"focus",
|
|
3609
3604
|
"getComputedStyle",
|
|
3610
3605
|
"getSelection",
|
|
@@ -3613,11 +3608,8 @@ const IMPURE_FUNCS = new Map([
|
|
|
3613
3608
|
"moveTo",
|
|
3614
3609
|
"open",
|
|
3615
3610
|
"postMessage",
|
|
3616
|
-
"postMessage",
|
|
3617
3611
|
"print",
|
|
3618
3612
|
"prompt",
|
|
3619
|
-
"prompt",
|
|
3620
|
-
"queueMicrotask",
|
|
3621
3613
|
"queueMicrotask",
|
|
3622
3614
|
"removeEventListener",
|
|
3623
3615
|
"reportError",
|
|
@@ -3629,8 +3621,6 @@ const IMPURE_FUNCS = new Map([
|
|
|
3629
3621
|
"scrollBy",
|
|
3630
3622
|
"scrollTo",
|
|
3631
3623
|
"setInterval",
|
|
3632
|
-
"setInterval",
|
|
3633
|
-
"setTimeout",
|
|
3634
3624
|
"setTimeout",
|
|
3635
3625
|
"stop",
|
|
3636
3626
|
"structuredClone"
|
|
@@ -3734,20 +3724,15 @@ const IMPURE_FUNCS = new Map([
|
|
|
3734
3724
|
["window", new Set([
|
|
3735
3725
|
"addEventListener",
|
|
3736
3726
|
"alert",
|
|
3737
|
-
"alert",
|
|
3738
3727
|
"blur",
|
|
3739
3728
|
"cancelAnimationFrame",
|
|
3740
3729
|
"cancelIdleCallback",
|
|
3741
3730
|
"clearInterval",
|
|
3742
|
-
"clearInterval",
|
|
3743
|
-
"clearTimeout",
|
|
3744
3731
|
"clearTimeout",
|
|
3745
3732
|
"close",
|
|
3746
3733
|
"confirm",
|
|
3747
|
-
"confirm",
|
|
3748
3734
|
"dispatchEvent",
|
|
3749
3735
|
"fetch",
|
|
3750
|
-
"fetch",
|
|
3751
3736
|
"focus",
|
|
3752
3737
|
"getComputedStyle",
|
|
3753
3738
|
"getSelection",
|
|
@@ -3756,11 +3741,8 @@ const IMPURE_FUNCS = new Map([
|
|
|
3756
3741
|
"moveTo",
|
|
3757
3742
|
"open",
|
|
3758
3743
|
"postMessage",
|
|
3759
|
-
"postMessage",
|
|
3760
3744
|
"print",
|
|
3761
3745
|
"prompt",
|
|
3762
|
-
"prompt",
|
|
3763
|
-
"queueMicrotask",
|
|
3764
3746
|
"queueMicrotask",
|
|
3765
3747
|
"removeEventListener",
|
|
3766
3748
|
"reportError",
|
|
@@ -3772,8 +3754,6 @@ const IMPURE_FUNCS = new Map([
|
|
|
3772
3754
|
"scrollBy",
|
|
3773
3755
|
"scrollTo",
|
|
3774
3756
|
"setInterval",
|
|
3775
|
-
"setInterval",
|
|
3776
|
-
"setTimeout",
|
|
3777
3757
|
"setTimeout",
|
|
3778
3758
|
"stop",
|
|
3779
3759
|
"structuredClone"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "5.0.1-beta.
|
|
3
|
+
"version": "5.0.1-beta.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",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"string-ts": "^2.3.1",
|
|
46
46
|
"ts-api-utils": "^2.5.0",
|
|
47
47
|
"ts-pattern": "^5.9.0",
|
|
48
|
-
"@eslint-react/ast": "5.0.1-beta.
|
|
49
|
-
"@eslint-react/jsx": "5.0.1-beta.
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
48
|
+
"@eslint-react/ast": "5.0.1-beta.2",
|
|
49
|
+
"@eslint-react/jsx": "5.0.1-beta.2",
|
|
50
|
+
"@eslint-react/shared": "5.0.1-beta.2",
|
|
51
|
+
"@eslint-react/var": "5.0.1-beta.2",
|
|
52
|
+
"@eslint-react/core": "5.0.1-beta.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.2.14",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"eslint": "^10.2.0",
|
|
58
58
|
"tsdown": "^0.21.7",
|
|
59
59
|
"tsl-dx": "^0.10.2",
|
|
60
|
-
"@local/
|
|
61
|
-
"@local/
|
|
60
|
+
"@local/configs": "0.0.0",
|
|
61
|
+
"@local/eff": "3.0.0-beta.72"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"eslint": "^10.0.0",
|