@eslint-react/eslint-plugin 2.0.0-next.172 → 2.0.0-next.173
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 +79 -120
- package/dist/index.js +1 -3
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_kit45 from "@eslint-react/kit";
|
|
2
2
|
import { RuleConfig } from "@eslint-react/kit";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/all.d.ts
|
|
@@ -26,7 +26,6 @@ declare const rules$12: {
|
|
|
26
26
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
27
27
|
readonly "@eslint-react/no-class-component": "warn";
|
|
28
28
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
29
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
30
29
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
31
30
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
32
31
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -101,7 +100,7 @@ declare const plugins$6: {
|
|
|
101
100
|
plugins: {};
|
|
102
101
|
name?: string;
|
|
103
102
|
rules?: Record<string, RuleConfig>;
|
|
104
|
-
settings?:
|
|
103
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
105
104
|
};
|
|
106
105
|
"all-legacy": {
|
|
107
106
|
plugins: string[];
|
|
@@ -112,7 +111,7 @@ declare const plugins$6: {
|
|
|
112
111
|
name: string;
|
|
113
112
|
version: string;
|
|
114
113
|
};
|
|
115
|
-
rules: Record<string,
|
|
114
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
116
115
|
};
|
|
117
116
|
"@eslint-react/hooks-extra": {
|
|
118
117
|
configs: {
|
|
@@ -120,7 +119,7 @@ declare const plugins$6: {
|
|
|
120
119
|
plugins: {};
|
|
121
120
|
name?: string;
|
|
122
121
|
rules?: Record<string, RuleConfig>;
|
|
123
|
-
settings?:
|
|
122
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
124
123
|
};
|
|
125
124
|
"recommended-legacy": {
|
|
126
125
|
plugins: string[];
|
|
@@ -131,7 +130,7 @@ declare const plugins$6: {
|
|
|
131
130
|
name: string;
|
|
132
131
|
version: string;
|
|
133
132
|
};
|
|
134
|
-
rules: Record<string,
|
|
133
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
135
134
|
};
|
|
136
135
|
"@eslint-react/naming-convention": {
|
|
137
136
|
configs: {
|
|
@@ -139,7 +138,7 @@ declare const plugins$6: {
|
|
|
139
138
|
plugins: {};
|
|
140
139
|
name?: string;
|
|
141
140
|
rules?: Record<string, RuleConfig>;
|
|
142
|
-
settings?:
|
|
141
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
143
142
|
};
|
|
144
143
|
"recommended-legacy": {
|
|
145
144
|
plugins: string[];
|
|
@@ -150,7 +149,7 @@ declare const plugins$6: {
|
|
|
150
149
|
name: string;
|
|
151
150
|
version: string;
|
|
152
151
|
};
|
|
153
|
-
rules: Record<string,
|
|
152
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
154
153
|
};
|
|
155
154
|
"@eslint-react/web-api": {
|
|
156
155
|
configs: {
|
|
@@ -158,7 +157,7 @@ declare const plugins$6: {
|
|
|
158
157
|
plugins: {};
|
|
159
158
|
name?: string;
|
|
160
159
|
rules?: Record<string, RuleConfig>;
|
|
161
|
-
settings?:
|
|
160
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
162
161
|
};
|
|
163
162
|
"recommended-legacy": {
|
|
164
163
|
plugins: string[];
|
|
@@ -169,7 +168,7 @@ declare const plugins$6: {
|
|
|
169
168
|
name: string;
|
|
170
169
|
version: string;
|
|
171
170
|
};
|
|
172
|
-
rules: Record<string,
|
|
171
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
173
172
|
};
|
|
174
173
|
"@eslint-react/dom": {
|
|
175
174
|
configs: {
|
|
@@ -177,7 +176,7 @@ declare const plugins$6: {
|
|
|
177
176
|
plugins: {};
|
|
178
177
|
name?: string;
|
|
179
178
|
rules?: Record<string, RuleConfig>;
|
|
180
|
-
settings?:
|
|
179
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
181
180
|
};
|
|
182
181
|
"recommended-legacy": {
|
|
183
182
|
plugins: string[];
|
|
@@ -188,7 +187,7 @@ declare const plugins$6: {
|
|
|
188
187
|
name: string;
|
|
189
188
|
version: string;
|
|
190
189
|
};
|
|
191
|
-
rules: Record<string,
|
|
190
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
192
191
|
};
|
|
193
192
|
"@eslint-react": {
|
|
194
193
|
configs: {
|
|
@@ -196,7 +195,7 @@ declare const plugins$6: {
|
|
|
196
195
|
plugins: {};
|
|
197
196
|
name?: string;
|
|
198
197
|
rules?: Record<string, RuleConfig>;
|
|
199
|
-
settings?:
|
|
198
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
200
199
|
};
|
|
201
200
|
"recommended-legacy": {
|
|
202
201
|
plugins: string[];
|
|
@@ -206,7 +205,7 @@ declare const plugins$6: {
|
|
|
206
205
|
plugins: {};
|
|
207
206
|
name?: string;
|
|
208
207
|
rules?: Record<string, RuleConfig>;
|
|
209
|
-
settings?:
|
|
208
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
210
209
|
};
|
|
211
210
|
"recommended-type-checked-legacy": {
|
|
212
211
|
plugins: string[];
|
|
@@ -216,7 +215,7 @@ declare const plugins$6: {
|
|
|
216
215
|
plugins: {};
|
|
217
216
|
name?: string;
|
|
218
217
|
rules?: Record<string, RuleConfig>;
|
|
219
|
-
settings?:
|
|
218
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
220
219
|
};
|
|
221
220
|
"recommended-typescript-legacy": {
|
|
222
221
|
plugins: string[];
|
|
@@ -227,20 +226,14 @@ declare const plugins$6: {
|
|
|
227
226
|
name: string;
|
|
228
227
|
version: string;
|
|
229
228
|
};
|
|
230
|
-
rules: Record<string,
|
|
229
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
231
230
|
};
|
|
232
231
|
};
|
|
233
232
|
declare const settings$5: {
|
|
234
233
|
"react-x": {
|
|
235
234
|
readonly version: "detect";
|
|
236
235
|
readonly importSource: "react";
|
|
237
|
-
readonly strict: true;
|
|
238
|
-
readonly skipImportCheck: true;
|
|
239
236
|
readonly polymorphicPropName: "as";
|
|
240
|
-
readonly additionalHooks: {
|
|
241
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
242
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
243
|
-
};
|
|
244
237
|
};
|
|
245
238
|
};
|
|
246
239
|
declare namespace debug_d_exports {
|
|
@@ -261,7 +254,7 @@ declare const plugins$5: {
|
|
|
261
254
|
plugins: {};
|
|
262
255
|
name?: string;
|
|
263
256
|
rules?: Record<string, RuleConfig>;
|
|
264
|
-
settings?:
|
|
257
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
265
258
|
};
|
|
266
259
|
"all-legacy": {
|
|
267
260
|
plugins: string[];
|
|
@@ -272,7 +265,7 @@ declare const plugins$5: {
|
|
|
272
265
|
name: string;
|
|
273
266
|
version: string;
|
|
274
267
|
};
|
|
275
|
-
rules: Record<string,
|
|
268
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
276
269
|
};
|
|
277
270
|
};
|
|
278
271
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
@@ -328,7 +321,7 @@ declare const plugins$4: {
|
|
|
328
321
|
plugins: {};
|
|
329
322
|
name?: string;
|
|
330
323
|
rules?: Record<string, RuleConfig>;
|
|
331
|
-
settings?:
|
|
324
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
332
325
|
};
|
|
333
326
|
"recommended-legacy": {
|
|
334
327
|
plugins: string[];
|
|
@@ -339,20 +332,14 @@ declare const plugins$4: {
|
|
|
339
332
|
name: string;
|
|
340
333
|
version: string;
|
|
341
334
|
};
|
|
342
|
-
rules: Record<string,
|
|
335
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
343
336
|
};
|
|
344
337
|
};
|
|
345
338
|
declare const settings$4: {
|
|
346
339
|
"react-x": {
|
|
347
340
|
readonly version: "detect";
|
|
348
341
|
readonly importSource: "react";
|
|
349
|
-
readonly strict: true;
|
|
350
|
-
readonly skipImportCheck: true;
|
|
351
342
|
readonly polymorphicPropName: "as";
|
|
352
|
-
readonly additionalHooks: {
|
|
353
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
354
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
355
|
-
};
|
|
356
343
|
};
|
|
357
344
|
};
|
|
358
345
|
declare namespace off_d_exports {
|
|
@@ -397,7 +384,6 @@ declare const rules$3: {
|
|
|
397
384
|
readonly "@eslint-react/no-children-only": "warn";
|
|
398
385
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
399
386
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
400
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
401
387
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
402
388
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
403
389
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -436,7 +422,7 @@ declare const plugins$3: {
|
|
|
436
422
|
plugins: {};
|
|
437
423
|
name?: string;
|
|
438
424
|
rules?: Record<string, RuleConfig>;
|
|
439
|
-
settings?:
|
|
425
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
440
426
|
};
|
|
441
427
|
"all-legacy": {
|
|
442
428
|
plugins: string[];
|
|
@@ -447,7 +433,7 @@ declare const plugins$3: {
|
|
|
447
433
|
name: string;
|
|
448
434
|
version: string;
|
|
449
435
|
};
|
|
450
|
-
rules: Record<string,
|
|
436
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
451
437
|
};
|
|
452
438
|
"@eslint-react/hooks-extra": {
|
|
453
439
|
configs: {
|
|
@@ -455,7 +441,7 @@ declare const plugins$3: {
|
|
|
455
441
|
plugins: {};
|
|
456
442
|
name?: string;
|
|
457
443
|
rules?: Record<string, RuleConfig>;
|
|
458
|
-
settings?:
|
|
444
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
459
445
|
};
|
|
460
446
|
"recommended-legacy": {
|
|
461
447
|
plugins: string[];
|
|
@@ -466,7 +452,7 @@ declare const plugins$3: {
|
|
|
466
452
|
name: string;
|
|
467
453
|
version: string;
|
|
468
454
|
};
|
|
469
|
-
rules: Record<string,
|
|
455
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
470
456
|
};
|
|
471
457
|
"@eslint-react/naming-convention": {
|
|
472
458
|
configs: {
|
|
@@ -474,7 +460,7 @@ declare const plugins$3: {
|
|
|
474
460
|
plugins: {};
|
|
475
461
|
name?: string;
|
|
476
462
|
rules?: Record<string, RuleConfig>;
|
|
477
|
-
settings?:
|
|
463
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
478
464
|
};
|
|
479
465
|
"recommended-legacy": {
|
|
480
466
|
plugins: string[];
|
|
@@ -485,7 +471,7 @@ declare const plugins$3: {
|
|
|
485
471
|
name: string;
|
|
486
472
|
version: string;
|
|
487
473
|
};
|
|
488
|
-
rules: Record<string,
|
|
474
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
489
475
|
};
|
|
490
476
|
"@eslint-react/web-api": {
|
|
491
477
|
configs: {
|
|
@@ -493,7 +479,7 @@ declare const plugins$3: {
|
|
|
493
479
|
plugins: {};
|
|
494
480
|
name?: string;
|
|
495
481
|
rules?: Record<string, RuleConfig>;
|
|
496
|
-
settings?:
|
|
482
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
497
483
|
};
|
|
498
484
|
"recommended-legacy": {
|
|
499
485
|
plugins: string[];
|
|
@@ -504,7 +490,7 @@ declare const plugins$3: {
|
|
|
504
490
|
name: string;
|
|
505
491
|
version: string;
|
|
506
492
|
};
|
|
507
|
-
rules: Record<string,
|
|
493
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
508
494
|
};
|
|
509
495
|
"@eslint-react/dom": {
|
|
510
496
|
configs: {
|
|
@@ -512,7 +498,7 @@ declare const plugins$3: {
|
|
|
512
498
|
plugins: {};
|
|
513
499
|
name?: string;
|
|
514
500
|
rules?: Record<string, RuleConfig>;
|
|
515
|
-
settings?:
|
|
501
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
516
502
|
};
|
|
517
503
|
"recommended-legacy": {
|
|
518
504
|
plugins: string[];
|
|
@@ -523,7 +509,7 @@ declare const plugins$3: {
|
|
|
523
509
|
name: string;
|
|
524
510
|
version: string;
|
|
525
511
|
};
|
|
526
|
-
rules: Record<string,
|
|
512
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
527
513
|
};
|
|
528
514
|
"@eslint-react": {
|
|
529
515
|
configs: {
|
|
@@ -531,7 +517,7 @@ declare const plugins$3: {
|
|
|
531
517
|
plugins: {};
|
|
532
518
|
name?: string;
|
|
533
519
|
rules?: Record<string, RuleConfig>;
|
|
534
|
-
settings?:
|
|
520
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
535
521
|
};
|
|
536
522
|
"recommended-legacy": {
|
|
537
523
|
plugins: string[];
|
|
@@ -541,7 +527,7 @@ declare const plugins$3: {
|
|
|
541
527
|
plugins: {};
|
|
542
528
|
name?: string;
|
|
543
529
|
rules?: Record<string, RuleConfig>;
|
|
544
|
-
settings?:
|
|
530
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
545
531
|
};
|
|
546
532
|
"recommended-type-checked-legacy": {
|
|
547
533
|
plugins: string[];
|
|
@@ -551,7 +537,7 @@ declare const plugins$3: {
|
|
|
551
537
|
plugins: {};
|
|
552
538
|
name?: string;
|
|
553
539
|
rules?: Record<string, RuleConfig>;
|
|
554
|
-
settings?:
|
|
540
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
555
541
|
};
|
|
556
542
|
"recommended-typescript-legacy": {
|
|
557
543
|
plugins: string[];
|
|
@@ -562,20 +548,14 @@ declare const plugins$3: {
|
|
|
562
548
|
name: string;
|
|
563
549
|
version: string;
|
|
564
550
|
};
|
|
565
|
-
rules: Record<string,
|
|
551
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
566
552
|
};
|
|
567
553
|
};
|
|
568
554
|
declare const settings$3: {
|
|
569
555
|
"react-x": {
|
|
570
556
|
readonly version: "detect";
|
|
571
557
|
readonly importSource: "react";
|
|
572
|
-
readonly strict: true;
|
|
573
|
-
readonly skipImportCheck: true;
|
|
574
558
|
readonly polymorphicPropName: "as";
|
|
575
|
-
readonly additionalHooks: {
|
|
576
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
577
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
578
|
-
};
|
|
579
559
|
};
|
|
580
560
|
};
|
|
581
561
|
declare namespace recommended_type_checked_d_exports {
|
|
@@ -619,7 +599,6 @@ declare const rules$2: {
|
|
|
619
599
|
readonly "@eslint-react/no-children-only": "warn";
|
|
620
600
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
621
601
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
622
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
623
602
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
624
603
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
625
604
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -658,7 +637,7 @@ declare const plugins$2: {
|
|
|
658
637
|
plugins: {};
|
|
659
638
|
name?: string;
|
|
660
639
|
rules?: Record<string, RuleConfig>;
|
|
661
|
-
settings?:
|
|
640
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
662
641
|
};
|
|
663
642
|
"all-legacy": {
|
|
664
643
|
plugins: string[];
|
|
@@ -669,7 +648,7 @@ declare const plugins$2: {
|
|
|
669
648
|
name: string;
|
|
670
649
|
version: string;
|
|
671
650
|
};
|
|
672
|
-
rules: Record<string,
|
|
651
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
673
652
|
};
|
|
674
653
|
"@eslint-react/hooks-extra": {
|
|
675
654
|
configs: {
|
|
@@ -677,7 +656,7 @@ declare const plugins$2: {
|
|
|
677
656
|
plugins: {};
|
|
678
657
|
name?: string;
|
|
679
658
|
rules?: Record<string, RuleConfig>;
|
|
680
|
-
settings?:
|
|
659
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
681
660
|
};
|
|
682
661
|
"recommended-legacy": {
|
|
683
662
|
plugins: string[];
|
|
@@ -688,7 +667,7 @@ declare const plugins$2: {
|
|
|
688
667
|
name: string;
|
|
689
668
|
version: string;
|
|
690
669
|
};
|
|
691
|
-
rules: Record<string,
|
|
670
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
692
671
|
};
|
|
693
672
|
"@eslint-react/naming-convention": {
|
|
694
673
|
configs: {
|
|
@@ -696,7 +675,7 @@ declare const plugins$2: {
|
|
|
696
675
|
plugins: {};
|
|
697
676
|
name?: string;
|
|
698
677
|
rules?: Record<string, RuleConfig>;
|
|
699
|
-
settings?:
|
|
678
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
700
679
|
};
|
|
701
680
|
"recommended-legacy": {
|
|
702
681
|
plugins: string[];
|
|
@@ -707,7 +686,7 @@ declare const plugins$2: {
|
|
|
707
686
|
name: string;
|
|
708
687
|
version: string;
|
|
709
688
|
};
|
|
710
|
-
rules: Record<string,
|
|
689
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
711
690
|
};
|
|
712
691
|
"@eslint-react/web-api": {
|
|
713
692
|
configs: {
|
|
@@ -715,7 +694,7 @@ declare const plugins$2: {
|
|
|
715
694
|
plugins: {};
|
|
716
695
|
name?: string;
|
|
717
696
|
rules?: Record<string, RuleConfig>;
|
|
718
|
-
settings?:
|
|
697
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
719
698
|
};
|
|
720
699
|
"recommended-legacy": {
|
|
721
700
|
plugins: string[];
|
|
@@ -726,7 +705,7 @@ declare const plugins$2: {
|
|
|
726
705
|
name: string;
|
|
727
706
|
version: string;
|
|
728
707
|
};
|
|
729
|
-
rules: Record<string,
|
|
708
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
730
709
|
};
|
|
731
710
|
"@eslint-react/dom": {
|
|
732
711
|
configs: {
|
|
@@ -734,7 +713,7 @@ declare const plugins$2: {
|
|
|
734
713
|
plugins: {};
|
|
735
714
|
name?: string;
|
|
736
715
|
rules?: Record<string, RuleConfig>;
|
|
737
|
-
settings?:
|
|
716
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
738
717
|
};
|
|
739
718
|
"recommended-legacy": {
|
|
740
719
|
plugins: string[];
|
|
@@ -745,7 +724,7 @@ declare const plugins$2: {
|
|
|
745
724
|
name: string;
|
|
746
725
|
version: string;
|
|
747
726
|
};
|
|
748
|
-
rules: Record<string,
|
|
727
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
749
728
|
};
|
|
750
729
|
"@eslint-react": {
|
|
751
730
|
configs: {
|
|
@@ -753,7 +732,7 @@ declare const plugins$2: {
|
|
|
753
732
|
plugins: {};
|
|
754
733
|
name?: string;
|
|
755
734
|
rules?: Record<string, RuleConfig>;
|
|
756
|
-
settings?:
|
|
735
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
757
736
|
};
|
|
758
737
|
"recommended-legacy": {
|
|
759
738
|
plugins: string[];
|
|
@@ -763,7 +742,7 @@ declare const plugins$2: {
|
|
|
763
742
|
plugins: {};
|
|
764
743
|
name?: string;
|
|
765
744
|
rules?: Record<string, RuleConfig>;
|
|
766
|
-
settings?:
|
|
745
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
767
746
|
};
|
|
768
747
|
"recommended-type-checked-legacy": {
|
|
769
748
|
plugins: string[];
|
|
@@ -773,7 +752,7 @@ declare const plugins$2: {
|
|
|
773
752
|
plugins: {};
|
|
774
753
|
name?: string;
|
|
775
754
|
rules?: Record<string, RuleConfig>;
|
|
776
|
-
settings?:
|
|
755
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
777
756
|
};
|
|
778
757
|
"recommended-typescript-legacy": {
|
|
779
758
|
plugins: string[];
|
|
@@ -784,20 +763,14 @@ declare const plugins$2: {
|
|
|
784
763
|
name: string;
|
|
785
764
|
version: string;
|
|
786
765
|
};
|
|
787
|
-
rules: Record<string,
|
|
766
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
788
767
|
};
|
|
789
768
|
};
|
|
790
769
|
declare const settings$2: {
|
|
791
770
|
"react-x": {
|
|
792
771
|
readonly version: "detect";
|
|
793
772
|
readonly importSource: "react";
|
|
794
|
-
readonly strict: true;
|
|
795
|
-
readonly skipImportCheck: true;
|
|
796
773
|
readonly polymorphicPropName: "as";
|
|
797
|
-
readonly additionalHooks: {
|
|
798
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
799
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
800
|
-
};
|
|
801
774
|
};
|
|
802
775
|
};
|
|
803
776
|
declare namespace recommended_typescript_d_exports {
|
|
@@ -839,7 +812,6 @@ declare const rules$1: {
|
|
|
839
812
|
readonly "@eslint-react/no-children-only": "warn";
|
|
840
813
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
841
814
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
842
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
843
815
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
844
816
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
845
817
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -878,7 +850,7 @@ declare const plugins$1: {
|
|
|
878
850
|
plugins: {};
|
|
879
851
|
name?: string;
|
|
880
852
|
rules?: Record<string, RuleConfig>;
|
|
881
|
-
settings?:
|
|
853
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
882
854
|
};
|
|
883
855
|
"all-legacy": {
|
|
884
856
|
plugins: string[];
|
|
@@ -889,7 +861,7 @@ declare const plugins$1: {
|
|
|
889
861
|
name: string;
|
|
890
862
|
version: string;
|
|
891
863
|
};
|
|
892
|
-
rules: Record<string,
|
|
864
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
893
865
|
};
|
|
894
866
|
"@eslint-react/hooks-extra": {
|
|
895
867
|
configs: {
|
|
@@ -897,7 +869,7 @@ declare const plugins$1: {
|
|
|
897
869
|
plugins: {};
|
|
898
870
|
name?: string;
|
|
899
871
|
rules?: Record<string, RuleConfig>;
|
|
900
|
-
settings?:
|
|
872
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
901
873
|
};
|
|
902
874
|
"recommended-legacy": {
|
|
903
875
|
plugins: string[];
|
|
@@ -908,7 +880,7 @@ declare const plugins$1: {
|
|
|
908
880
|
name: string;
|
|
909
881
|
version: string;
|
|
910
882
|
};
|
|
911
|
-
rules: Record<string,
|
|
883
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
912
884
|
};
|
|
913
885
|
"@eslint-react/naming-convention": {
|
|
914
886
|
configs: {
|
|
@@ -916,7 +888,7 @@ declare const plugins$1: {
|
|
|
916
888
|
plugins: {};
|
|
917
889
|
name?: string;
|
|
918
890
|
rules?: Record<string, RuleConfig>;
|
|
919
|
-
settings?:
|
|
891
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
920
892
|
};
|
|
921
893
|
"recommended-legacy": {
|
|
922
894
|
plugins: string[];
|
|
@@ -927,7 +899,7 @@ declare const plugins$1: {
|
|
|
927
899
|
name: string;
|
|
928
900
|
version: string;
|
|
929
901
|
};
|
|
930
|
-
rules: Record<string,
|
|
902
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
931
903
|
};
|
|
932
904
|
"@eslint-react/web-api": {
|
|
933
905
|
configs: {
|
|
@@ -935,7 +907,7 @@ declare const plugins$1: {
|
|
|
935
907
|
plugins: {};
|
|
936
908
|
name?: string;
|
|
937
909
|
rules?: Record<string, RuleConfig>;
|
|
938
|
-
settings?:
|
|
910
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
939
911
|
};
|
|
940
912
|
"recommended-legacy": {
|
|
941
913
|
plugins: string[];
|
|
@@ -946,7 +918,7 @@ declare const plugins$1: {
|
|
|
946
918
|
name: string;
|
|
947
919
|
version: string;
|
|
948
920
|
};
|
|
949
|
-
rules: Record<string,
|
|
921
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
950
922
|
};
|
|
951
923
|
"@eslint-react/dom": {
|
|
952
924
|
configs: {
|
|
@@ -954,7 +926,7 @@ declare const plugins$1: {
|
|
|
954
926
|
plugins: {};
|
|
955
927
|
name?: string;
|
|
956
928
|
rules?: Record<string, RuleConfig>;
|
|
957
|
-
settings?:
|
|
929
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
958
930
|
};
|
|
959
931
|
"recommended-legacy": {
|
|
960
932
|
plugins: string[];
|
|
@@ -965,7 +937,7 @@ declare const plugins$1: {
|
|
|
965
937
|
name: string;
|
|
966
938
|
version: string;
|
|
967
939
|
};
|
|
968
|
-
rules: Record<string,
|
|
940
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
969
941
|
};
|
|
970
942
|
"@eslint-react": {
|
|
971
943
|
configs: {
|
|
@@ -973,7 +945,7 @@ declare const plugins$1: {
|
|
|
973
945
|
plugins: {};
|
|
974
946
|
name?: string;
|
|
975
947
|
rules?: Record<string, RuleConfig>;
|
|
976
|
-
settings?:
|
|
948
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
977
949
|
};
|
|
978
950
|
"recommended-legacy": {
|
|
979
951
|
plugins: string[];
|
|
@@ -983,7 +955,7 @@ declare const plugins$1: {
|
|
|
983
955
|
plugins: {};
|
|
984
956
|
name?: string;
|
|
985
957
|
rules?: Record<string, RuleConfig>;
|
|
986
|
-
settings?:
|
|
958
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
987
959
|
};
|
|
988
960
|
"recommended-type-checked-legacy": {
|
|
989
961
|
plugins: string[];
|
|
@@ -993,7 +965,7 @@ declare const plugins$1: {
|
|
|
993
965
|
plugins: {};
|
|
994
966
|
name?: string;
|
|
995
967
|
rules?: Record<string, RuleConfig>;
|
|
996
|
-
settings?:
|
|
968
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
997
969
|
};
|
|
998
970
|
"recommended-typescript-legacy": {
|
|
999
971
|
plugins: string[];
|
|
@@ -1004,20 +976,14 @@ declare const plugins$1: {
|
|
|
1004
976
|
name: string;
|
|
1005
977
|
version: string;
|
|
1006
978
|
};
|
|
1007
|
-
rules: Record<string,
|
|
979
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
1008
980
|
};
|
|
1009
981
|
};
|
|
1010
982
|
declare const settings$1: {
|
|
1011
983
|
"react-x": {
|
|
1012
984
|
readonly version: "detect";
|
|
1013
985
|
readonly importSource: "react";
|
|
1014
|
-
readonly strict: true;
|
|
1015
|
-
readonly skipImportCheck: true;
|
|
1016
986
|
readonly polymorphicPropName: "as";
|
|
1017
|
-
readonly additionalHooks: {
|
|
1018
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1019
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1020
|
-
};
|
|
1021
987
|
};
|
|
1022
988
|
};
|
|
1023
989
|
declare namespace x_d_exports {
|
|
@@ -1037,7 +1003,6 @@ declare const rules: {
|
|
|
1037
1003
|
readonly "@eslint-react/no-children-only": "warn";
|
|
1038
1004
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1039
1005
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
1040
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1041
1006
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1042
1007
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1043
1008
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -1076,7 +1041,7 @@ declare const plugins: {
|
|
|
1076
1041
|
plugins: {};
|
|
1077
1042
|
name?: string;
|
|
1078
1043
|
rules?: Record<string, RuleConfig>;
|
|
1079
|
-
settings?:
|
|
1044
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
1080
1045
|
};
|
|
1081
1046
|
"recommended-legacy": {
|
|
1082
1047
|
plugins: string[];
|
|
@@ -1086,7 +1051,7 @@ declare const plugins: {
|
|
|
1086
1051
|
plugins: {};
|
|
1087
1052
|
name?: string;
|
|
1088
1053
|
rules?: Record<string, RuleConfig>;
|
|
1089
|
-
settings?:
|
|
1054
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
1090
1055
|
};
|
|
1091
1056
|
"recommended-type-checked-legacy": {
|
|
1092
1057
|
plugins: string[];
|
|
@@ -1096,7 +1061,7 @@ declare const plugins: {
|
|
|
1096
1061
|
plugins: {};
|
|
1097
1062
|
name?: string;
|
|
1098
1063
|
rules?: Record<string, RuleConfig>;
|
|
1099
|
-
settings?:
|
|
1064
|
+
settings?: _eslint_react_kit45.SettingsConfig;
|
|
1100
1065
|
};
|
|
1101
1066
|
"recommended-typescript-legacy": {
|
|
1102
1067
|
plugins: string[];
|
|
@@ -1107,20 +1072,14 @@ declare const plugins: {
|
|
|
1107
1072
|
name: string;
|
|
1108
1073
|
version: string;
|
|
1109
1074
|
};
|
|
1110
|
-
rules: Record<string,
|
|
1075
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
1111
1076
|
};
|
|
1112
1077
|
};
|
|
1113
1078
|
declare const settings: {
|
|
1114
1079
|
"react-x": {
|
|
1115
1080
|
readonly version: "detect";
|
|
1116
1081
|
readonly importSource: "react";
|
|
1117
|
-
readonly strict: true;
|
|
1118
|
-
readonly skipImportCheck: true;
|
|
1119
1082
|
readonly polymorphicPropName: "as";
|
|
1120
|
-
readonly additionalHooks: {
|
|
1121
|
-
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1122
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1123
|
-
};
|
|
1124
1083
|
};
|
|
1125
1084
|
};
|
|
1126
1085
|
//#endregion
|
|
@@ -1130,74 +1089,74 @@ declare const _default: {
|
|
|
1130
1089
|
all: typeof all_d_exports;
|
|
1131
1090
|
"all-legacy": {
|
|
1132
1091
|
plugins: string[];
|
|
1133
|
-
rules: Record<string,
|
|
1092
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1134
1093
|
};
|
|
1135
1094
|
debug: typeof debug_d_exports;
|
|
1136
1095
|
"debug-legacy": {
|
|
1137
1096
|
plugins: string[];
|
|
1138
|
-
rules: Record<string,
|
|
1097
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1139
1098
|
};
|
|
1140
1099
|
"disable-conflict-eslint-plugin-react": typeof disable_conflict_eslint_plugin_react_d_exports;
|
|
1141
1100
|
"disable-conflict-eslint-plugin-react-legacy": {
|
|
1142
1101
|
plugins: string[];
|
|
1143
|
-
rules: Record<string,
|
|
1102
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1144
1103
|
};
|
|
1145
1104
|
"disable-debug": typeof disable_debug_d_exports;
|
|
1146
1105
|
"disable-debug-legacy": {
|
|
1147
1106
|
plugins: string[];
|
|
1148
|
-
rules: Record<string,
|
|
1107
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1149
1108
|
};
|
|
1150
1109
|
"disable-dom": typeof disable_dom_d_exports;
|
|
1151
1110
|
"disable-dom-legacy": {
|
|
1152
1111
|
plugins: string[];
|
|
1153
|
-
rules: Record<string,
|
|
1112
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1154
1113
|
};
|
|
1155
1114
|
"disable-type-checked": typeof disable_type_checked_d_exports;
|
|
1156
1115
|
"disable-type-checked-legacy": {
|
|
1157
1116
|
plugins: string[];
|
|
1158
|
-
rules: Record<string,
|
|
1117
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1159
1118
|
};
|
|
1160
1119
|
"disable-web-api": typeof disable_web_api_d_exports;
|
|
1161
1120
|
"disable-web-api-legacy": {
|
|
1162
1121
|
plugins: string[];
|
|
1163
|
-
rules: Record<string,
|
|
1122
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1164
1123
|
};
|
|
1165
1124
|
dom: typeof dom_d_exports;
|
|
1166
1125
|
"dom-legacy": {
|
|
1167
1126
|
plugins: string[];
|
|
1168
|
-
rules: Record<string,
|
|
1127
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1169
1128
|
};
|
|
1170
1129
|
off: typeof off_d_exports;
|
|
1171
1130
|
"off-legacy": {
|
|
1172
1131
|
plugins: string[];
|
|
1173
|
-
rules: Record<string,
|
|
1132
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1174
1133
|
};
|
|
1175
1134
|
recommended: typeof recommended_d_exports;
|
|
1176
1135
|
"recommended-legacy": {
|
|
1177
1136
|
plugins: string[];
|
|
1178
|
-
rules: Record<string,
|
|
1137
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1179
1138
|
};
|
|
1180
1139
|
"recommended-type-checked": typeof recommended_type_checked_d_exports;
|
|
1181
1140
|
"recommended-type-checked-legacy": {
|
|
1182
1141
|
plugins: string[];
|
|
1183
|
-
rules: Record<string,
|
|
1142
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1184
1143
|
};
|
|
1185
1144
|
"recommended-typescript": typeof recommended_typescript_d_exports;
|
|
1186
1145
|
"recommended-typescript-legacy": {
|
|
1187
1146
|
plugins: string[];
|
|
1188
|
-
rules: Record<string,
|
|
1147
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1189
1148
|
};
|
|
1190
1149
|
x: typeof x_d_exports;
|
|
1191
1150
|
"x-legacy": {
|
|
1192
1151
|
plugins: string[];
|
|
1193
|
-
rules: Record<string,
|
|
1152
|
+
rules: Record<string, _eslint_react_kit45.RuleConfig<unknown[]>> | undefined;
|
|
1194
1153
|
};
|
|
1195
1154
|
};
|
|
1196
1155
|
meta: {
|
|
1197
1156
|
name: string;
|
|
1198
1157
|
version: string;
|
|
1199
1158
|
};
|
|
1200
|
-
rules: Record<string,
|
|
1159
|
+
rules: Record<string, _eslint_react_kit45.CompatibleRule>;
|
|
1201
1160
|
};
|
|
1202
1161
|
//#endregion
|
|
1203
1162
|
export { _default as default };
|
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.173";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
@@ -64,7 +64,6 @@ const rules$13 = {
|
|
|
64
64
|
"@eslint-react/no-children-only": "warn",
|
|
65
65
|
"@eslint-react/no-children-to-array": "warn",
|
|
66
66
|
"@eslint-react/no-clone-element": "warn",
|
|
67
|
-
"@eslint-react/no-comment-textnodes": "warn",
|
|
68
67
|
"@eslint-react/no-component-will-mount": "error",
|
|
69
68
|
"@eslint-react/no-component-will-receive-props": "error",
|
|
70
69
|
"@eslint-react/no-component-will-update": "error",
|
|
@@ -129,7 +128,6 @@ const rules$3 = {
|
|
|
129
128
|
"@eslint-react/no-children-to-array": "warn",
|
|
130
129
|
"@eslint-react/no-class-component": "warn",
|
|
131
130
|
"@eslint-react/no-clone-element": "warn",
|
|
132
|
-
"@eslint-react/no-comment-textnodes": "warn",
|
|
133
131
|
"@eslint-react/no-component-will-mount": "error",
|
|
134
132
|
"@eslint-react/no-component-will-receive-props": "error",
|
|
135
133
|
"@eslint-react/no-component-will-update": "error",
|
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.173",
|
|
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.42.0",
|
|
42
42
|
"@typescript-eslint/types": "^8.42.0",
|
|
43
43
|
"@typescript-eslint/utils": "^8.42.0",
|
|
44
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
45
|
-
"@eslint-react/shared": "2.0.0-next.
|
|
46
|
-
"@eslint-react/kit": "2.0.0-next.
|
|
47
|
-
"eslint-plugin-react-debug": "2.0.0-next.
|
|
48
|
-
"eslint-plugin-react-dom": "2.0.0-next.
|
|
49
|
-
"eslint-plugin-react-hooks-extra": "2.0.0-next.
|
|
50
|
-
"eslint-plugin-react-naming-convention": "2.0.0-next.
|
|
51
|
-
"eslint-plugin-react-web-api": "2.0.0-next.
|
|
52
|
-
"eslint-plugin-react-x": "2.0.0-next.
|
|
44
|
+
"@eslint-react/eff": "2.0.0-next.173",
|
|
45
|
+
"@eslint-react/shared": "2.0.0-next.173",
|
|
46
|
+
"@eslint-react/kit": "2.0.0-next.173",
|
|
47
|
+
"eslint-plugin-react-debug": "2.0.0-next.173",
|
|
48
|
+
"eslint-plugin-react-dom": "2.0.0-next.173",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-next.173",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.173",
|
|
51
|
+
"eslint-plugin-react-web-api": "2.0.0-next.173",
|
|
52
|
+
"eslint-plugin-react-x": "2.0.0-next.173"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsdown": "^0.14.2",
|