@eslint-react/eslint-plugin 2.0.0-next.156 → 2.0.0-next.157
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.d.ts +38 -38
- package/dist/index.js +2 -2
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_shared2 from "@eslint-react/shared";
|
|
2
2
|
import * as _eslint_react_kit0 from "@eslint-react/kit";
|
|
3
3
|
import { RulePreset } from "@eslint-react/kit";
|
|
4
4
|
|
|
@@ -100,7 +100,7 @@ declare const plugins$6: {
|
|
|
100
100
|
configs: {
|
|
101
101
|
all: {
|
|
102
102
|
plugins: {
|
|
103
|
-
"react-debug":
|
|
103
|
+
"react-debug": _eslint_react_shared2.CompatiblePlugin;
|
|
104
104
|
};
|
|
105
105
|
name?: string;
|
|
106
106
|
rules?: Record<string, any>;
|
|
@@ -120,7 +120,7 @@ declare const plugins$6: {
|
|
|
120
120
|
configs: {
|
|
121
121
|
recommended: {
|
|
122
122
|
plugins: {
|
|
123
|
-
"react-hooks-extra":
|
|
123
|
+
"react-hooks-extra": _eslint_react_shared2.CompatiblePlugin;
|
|
124
124
|
};
|
|
125
125
|
name?: string;
|
|
126
126
|
rules?: Record<string, any>;
|
|
@@ -140,7 +140,7 @@ declare const plugins$6: {
|
|
|
140
140
|
configs: {
|
|
141
141
|
recommended: {
|
|
142
142
|
plugins: {
|
|
143
|
-
"react-naming-convention":
|
|
143
|
+
"react-naming-convention": _eslint_react_shared2.CompatiblePlugin;
|
|
144
144
|
};
|
|
145
145
|
name?: string;
|
|
146
146
|
rules?: Record<string, any>;
|
|
@@ -160,7 +160,7 @@ declare const plugins$6: {
|
|
|
160
160
|
configs: {
|
|
161
161
|
recommended: {
|
|
162
162
|
plugins: {
|
|
163
|
-
"react-web-api":
|
|
163
|
+
"react-web-api": _eslint_react_shared2.CompatiblePlugin;
|
|
164
164
|
};
|
|
165
165
|
name?: string;
|
|
166
166
|
rules?: Record<string, any>;
|
|
@@ -180,7 +180,7 @@ declare const plugins$6: {
|
|
|
180
180
|
configs: {
|
|
181
181
|
recommended: {
|
|
182
182
|
plugins: {
|
|
183
|
-
"react-dom":
|
|
183
|
+
"react-dom": _eslint_react_shared2.CompatiblePlugin;
|
|
184
184
|
};
|
|
185
185
|
name?: string;
|
|
186
186
|
rules?: Record<string, any>;
|
|
@@ -200,7 +200,7 @@ declare const plugins$6: {
|
|
|
200
200
|
configs: {
|
|
201
201
|
recommended: {
|
|
202
202
|
plugins: {
|
|
203
|
-
"react-x":
|
|
203
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
204
204
|
};
|
|
205
205
|
name?: string;
|
|
206
206
|
rules?: Record<string, any>;
|
|
@@ -211,7 +211,7 @@ declare const plugins$6: {
|
|
|
211
211
|
};
|
|
212
212
|
"recommended-type-checked": {
|
|
213
213
|
plugins: {
|
|
214
|
-
"react-x":
|
|
214
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
215
215
|
};
|
|
216
216
|
name?: string;
|
|
217
217
|
rules?: Record<string, any>;
|
|
@@ -222,7 +222,7 @@ declare const plugins$6: {
|
|
|
222
222
|
};
|
|
223
223
|
"recommended-typescript": {
|
|
224
224
|
plugins: {
|
|
225
|
-
"react-x":
|
|
225
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
226
226
|
};
|
|
227
227
|
name?: string;
|
|
228
228
|
rules?: Record<string, any>;
|
|
@@ -269,7 +269,7 @@ declare const plugins$5: {
|
|
|
269
269
|
configs: {
|
|
270
270
|
all: {
|
|
271
271
|
plugins: {
|
|
272
|
-
"react-debug":
|
|
272
|
+
"react-debug": _eslint_react_shared2.CompatiblePlugin;
|
|
273
273
|
};
|
|
274
274
|
name?: string;
|
|
275
275
|
rules?: Record<string, any>;
|
|
@@ -337,7 +337,7 @@ declare const plugins$4: {
|
|
|
337
337
|
configs: {
|
|
338
338
|
recommended: {
|
|
339
339
|
plugins: {
|
|
340
|
-
"react-dom":
|
|
340
|
+
"react-dom": _eslint_react_shared2.CompatiblePlugin;
|
|
341
341
|
};
|
|
342
342
|
name?: string;
|
|
343
343
|
rules?: Record<string, any>;
|
|
@@ -447,7 +447,7 @@ declare const plugins$3: {
|
|
|
447
447
|
configs: {
|
|
448
448
|
all: {
|
|
449
449
|
plugins: {
|
|
450
|
-
"react-debug":
|
|
450
|
+
"react-debug": _eslint_react_shared2.CompatiblePlugin;
|
|
451
451
|
};
|
|
452
452
|
name?: string;
|
|
453
453
|
rules?: Record<string, any>;
|
|
@@ -467,7 +467,7 @@ declare const plugins$3: {
|
|
|
467
467
|
configs: {
|
|
468
468
|
recommended: {
|
|
469
469
|
plugins: {
|
|
470
|
-
"react-hooks-extra":
|
|
470
|
+
"react-hooks-extra": _eslint_react_shared2.CompatiblePlugin;
|
|
471
471
|
};
|
|
472
472
|
name?: string;
|
|
473
473
|
rules?: Record<string, any>;
|
|
@@ -487,7 +487,7 @@ declare const plugins$3: {
|
|
|
487
487
|
configs: {
|
|
488
488
|
recommended: {
|
|
489
489
|
plugins: {
|
|
490
|
-
"react-naming-convention":
|
|
490
|
+
"react-naming-convention": _eslint_react_shared2.CompatiblePlugin;
|
|
491
491
|
};
|
|
492
492
|
name?: string;
|
|
493
493
|
rules?: Record<string, any>;
|
|
@@ -507,7 +507,7 @@ declare const plugins$3: {
|
|
|
507
507
|
configs: {
|
|
508
508
|
recommended: {
|
|
509
509
|
plugins: {
|
|
510
|
-
"react-web-api":
|
|
510
|
+
"react-web-api": _eslint_react_shared2.CompatiblePlugin;
|
|
511
511
|
};
|
|
512
512
|
name?: string;
|
|
513
513
|
rules?: Record<string, any>;
|
|
@@ -527,7 +527,7 @@ declare const plugins$3: {
|
|
|
527
527
|
configs: {
|
|
528
528
|
recommended: {
|
|
529
529
|
plugins: {
|
|
530
|
-
"react-dom":
|
|
530
|
+
"react-dom": _eslint_react_shared2.CompatiblePlugin;
|
|
531
531
|
};
|
|
532
532
|
name?: string;
|
|
533
533
|
rules?: Record<string, any>;
|
|
@@ -547,7 +547,7 @@ declare const plugins$3: {
|
|
|
547
547
|
configs: {
|
|
548
548
|
recommended: {
|
|
549
549
|
plugins: {
|
|
550
|
-
"react-x":
|
|
550
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
551
551
|
};
|
|
552
552
|
name?: string;
|
|
553
553
|
rules?: Record<string, any>;
|
|
@@ -558,7 +558,7 @@ declare const plugins$3: {
|
|
|
558
558
|
};
|
|
559
559
|
"recommended-type-checked": {
|
|
560
560
|
plugins: {
|
|
561
|
-
"react-x":
|
|
561
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
562
562
|
};
|
|
563
563
|
name?: string;
|
|
564
564
|
rules?: Record<string, any>;
|
|
@@ -569,7 +569,7 @@ declare const plugins$3: {
|
|
|
569
569
|
};
|
|
570
570
|
"recommended-typescript": {
|
|
571
571
|
plugins: {
|
|
572
|
-
"react-x":
|
|
572
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
573
573
|
};
|
|
574
574
|
name?: string;
|
|
575
575
|
rules?: Record<string, any>;
|
|
@@ -678,7 +678,7 @@ declare const plugins$2: {
|
|
|
678
678
|
configs: {
|
|
679
679
|
all: {
|
|
680
680
|
plugins: {
|
|
681
|
-
"react-debug":
|
|
681
|
+
"react-debug": _eslint_react_shared2.CompatiblePlugin;
|
|
682
682
|
};
|
|
683
683
|
name?: string;
|
|
684
684
|
rules?: Record<string, any>;
|
|
@@ -698,7 +698,7 @@ declare const plugins$2: {
|
|
|
698
698
|
configs: {
|
|
699
699
|
recommended: {
|
|
700
700
|
plugins: {
|
|
701
|
-
"react-hooks-extra":
|
|
701
|
+
"react-hooks-extra": _eslint_react_shared2.CompatiblePlugin;
|
|
702
702
|
};
|
|
703
703
|
name?: string;
|
|
704
704
|
rules?: Record<string, any>;
|
|
@@ -718,7 +718,7 @@ declare const plugins$2: {
|
|
|
718
718
|
configs: {
|
|
719
719
|
recommended: {
|
|
720
720
|
plugins: {
|
|
721
|
-
"react-naming-convention":
|
|
721
|
+
"react-naming-convention": _eslint_react_shared2.CompatiblePlugin;
|
|
722
722
|
};
|
|
723
723
|
name?: string;
|
|
724
724
|
rules?: Record<string, any>;
|
|
@@ -738,7 +738,7 @@ declare const plugins$2: {
|
|
|
738
738
|
configs: {
|
|
739
739
|
recommended: {
|
|
740
740
|
plugins: {
|
|
741
|
-
"react-web-api":
|
|
741
|
+
"react-web-api": _eslint_react_shared2.CompatiblePlugin;
|
|
742
742
|
};
|
|
743
743
|
name?: string;
|
|
744
744
|
rules?: Record<string, any>;
|
|
@@ -758,7 +758,7 @@ declare const plugins$2: {
|
|
|
758
758
|
configs: {
|
|
759
759
|
recommended: {
|
|
760
760
|
plugins: {
|
|
761
|
-
"react-dom":
|
|
761
|
+
"react-dom": _eslint_react_shared2.CompatiblePlugin;
|
|
762
762
|
};
|
|
763
763
|
name?: string;
|
|
764
764
|
rules?: Record<string, any>;
|
|
@@ -778,7 +778,7 @@ declare const plugins$2: {
|
|
|
778
778
|
configs: {
|
|
779
779
|
recommended: {
|
|
780
780
|
plugins: {
|
|
781
|
-
"react-x":
|
|
781
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
782
782
|
};
|
|
783
783
|
name?: string;
|
|
784
784
|
rules?: Record<string, any>;
|
|
@@ -789,7 +789,7 @@ declare const plugins$2: {
|
|
|
789
789
|
};
|
|
790
790
|
"recommended-type-checked": {
|
|
791
791
|
plugins: {
|
|
792
|
-
"react-x":
|
|
792
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
793
793
|
};
|
|
794
794
|
name?: string;
|
|
795
795
|
rules?: Record<string, any>;
|
|
@@ -800,7 +800,7 @@ declare const plugins$2: {
|
|
|
800
800
|
};
|
|
801
801
|
"recommended-typescript": {
|
|
802
802
|
plugins: {
|
|
803
|
-
"react-x":
|
|
803
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
804
804
|
};
|
|
805
805
|
name?: string;
|
|
806
806
|
rules?: Record<string, any>;
|
|
@@ -907,7 +907,7 @@ declare const plugins$1: {
|
|
|
907
907
|
configs: {
|
|
908
908
|
all: {
|
|
909
909
|
plugins: {
|
|
910
|
-
"react-debug":
|
|
910
|
+
"react-debug": _eslint_react_shared2.CompatiblePlugin;
|
|
911
911
|
};
|
|
912
912
|
name?: string;
|
|
913
913
|
rules?: Record<string, any>;
|
|
@@ -927,7 +927,7 @@ declare const plugins$1: {
|
|
|
927
927
|
configs: {
|
|
928
928
|
recommended: {
|
|
929
929
|
plugins: {
|
|
930
|
-
"react-hooks-extra":
|
|
930
|
+
"react-hooks-extra": _eslint_react_shared2.CompatiblePlugin;
|
|
931
931
|
};
|
|
932
932
|
name?: string;
|
|
933
933
|
rules?: Record<string, any>;
|
|
@@ -947,7 +947,7 @@ declare const plugins$1: {
|
|
|
947
947
|
configs: {
|
|
948
948
|
recommended: {
|
|
949
949
|
plugins: {
|
|
950
|
-
"react-naming-convention":
|
|
950
|
+
"react-naming-convention": _eslint_react_shared2.CompatiblePlugin;
|
|
951
951
|
};
|
|
952
952
|
name?: string;
|
|
953
953
|
rules?: Record<string, any>;
|
|
@@ -967,7 +967,7 @@ declare const plugins$1: {
|
|
|
967
967
|
configs: {
|
|
968
968
|
recommended: {
|
|
969
969
|
plugins: {
|
|
970
|
-
"react-web-api":
|
|
970
|
+
"react-web-api": _eslint_react_shared2.CompatiblePlugin;
|
|
971
971
|
};
|
|
972
972
|
name?: string;
|
|
973
973
|
rules?: Record<string, any>;
|
|
@@ -987,7 +987,7 @@ declare const plugins$1: {
|
|
|
987
987
|
configs: {
|
|
988
988
|
recommended: {
|
|
989
989
|
plugins: {
|
|
990
|
-
"react-dom":
|
|
990
|
+
"react-dom": _eslint_react_shared2.CompatiblePlugin;
|
|
991
991
|
};
|
|
992
992
|
name?: string;
|
|
993
993
|
rules?: Record<string, any>;
|
|
@@ -1007,7 +1007,7 @@ declare const plugins$1: {
|
|
|
1007
1007
|
configs: {
|
|
1008
1008
|
recommended: {
|
|
1009
1009
|
plugins: {
|
|
1010
|
-
"react-x":
|
|
1010
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1011
1011
|
};
|
|
1012
1012
|
name?: string;
|
|
1013
1013
|
rules?: Record<string, any>;
|
|
@@ -1018,7 +1018,7 @@ declare const plugins$1: {
|
|
|
1018
1018
|
};
|
|
1019
1019
|
"recommended-type-checked": {
|
|
1020
1020
|
plugins: {
|
|
1021
|
-
"react-x":
|
|
1021
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1022
1022
|
};
|
|
1023
1023
|
name?: string;
|
|
1024
1024
|
rules?: Record<string, any>;
|
|
@@ -1029,7 +1029,7 @@ declare const plugins$1: {
|
|
|
1029
1029
|
};
|
|
1030
1030
|
"recommended-typescript": {
|
|
1031
1031
|
plugins: {
|
|
1032
|
-
"react-x":
|
|
1032
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1033
1033
|
};
|
|
1034
1034
|
name?: string;
|
|
1035
1035
|
rules?: Record<string, any>;
|
|
@@ -1114,7 +1114,7 @@ declare const plugins: {
|
|
|
1114
1114
|
configs: {
|
|
1115
1115
|
recommended: {
|
|
1116
1116
|
plugins: {
|
|
1117
|
-
"react-x":
|
|
1117
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1118
1118
|
};
|
|
1119
1119
|
name?: string;
|
|
1120
1120
|
rules?: Record<string, any>;
|
|
@@ -1125,7 +1125,7 @@ declare const plugins: {
|
|
|
1125
1125
|
};
|
|
1126
1126
|
"recommended-type-checked": {
|
|
1127
1127
|
plugins: {
|
|
1128
|
-
"react-x":
|
|
1128
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1129
1129
|
};
|
|
1130
1130
|
name?: string;
|
|
1131
1131
|
rules?: Record<string, any>;
|
|
@@ -1136,7 +1136,7 @@ declare const plugins: {
|
|
|
1136
1136
|
};
|
|
1137
1137
|
"recommended-typescript": {
|
|
1138
1138
|
plugins: {
|
|
1139
|
-
"react-x":
|
|
1139
|
+
"react-x": _eslint_react_shared2.CompatiblePlugin;
|
|
1140
1140
|
};
|
|
1141
1141
|
name?: string;
|
|
1142
1142
|
rules?: Record<string, any>;
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
|
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
11
|
var name = "@eslint-react/eslint-plugin";
|
|
12
|
-
var version = "2.0.0-next.
|
|
12
|
+
var version = "2.0.0-next.157";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
@@ -469,7 +469,7 @@ const plugin = {
|
|
|
469
469
|
...react.rules,
|
|
470
470
|
...padKeysLeft(reactDom.rules, "dom/"),
|
|
471
471
|
...padKeysLeft(reactWebApi.rules, "web-api/"),
|
|
472
|
-
...padKeysLeft(reactHooksExtra, "hooks-extra/"),
|
|
472
|
+
...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
|
|
473
473
|
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
|
|
474
474
|
...padKeysLeft(reactDebug.rules, "debug/")
|
|
475
475
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.157",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"@typescript-eslint/type-utils": "^8.41.0",
|
|
42
42
|
"@typescript-eslint/types": "^8.41.0",
|
|
43
43
|
"@typescript-eslint/utils": "^8.41.0",
|
|
44
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"eslint-
|
|
47
|
-
"eslint-plugin-react-dom": "2.0.0-next.
|
|
48
|
-
"
|
|
49
|
-
"eslint-plugin-react-
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"eslint-plugin-react-
|
|
52
|
-
"eslint-plugin-react-x": "2.0.0-next.
|
|
44
|
+
"@eslint-react/eff": "2.0.0-next.157",
|
|
45
|
+
"@eslint-react/kit": "2.0.0-next.157",
|
|
46
|
+
"@eslint-react/shared": "2.0.0-next.157",
|
|
47
|
+
"eslint-plugin-react-dom": "2.0.0-next.157",
|
|
48
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-next.157",
|
|
49
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.157",
|
|
50
|
+
"eslint-plugin-react-web-api": "2.0.0-next.157",
|
|
51
|
+
"eslint-plugin-react-debug": "2.0.0-next.157",
|
|
52
|
+
"eslint-plugin-react-x": "2.0.0-next.157"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsdown": "^0.14.2",
|