@eslint-react/eslint-plugin 2.1.0-next.4 → 2.1.0-next.5
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 +158 -120
- package/dist/index.js +2 -5
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_kit4 from "@eslint-react/kit";
|
|
2
2
|
import { RuleConfig } from "@eslint-react/kit";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/all.d.ts
|
|
@@ -105,14 +105,14 @@ declare const plugins$9: {
|
|
|
105
105
|
plugins: {};
|
|
106
106
|
name?: string;
|
|
107
107
|
rules?: Record<string, RuleConfig>;
|
|
108
|
-
settings?:
|
|
108
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
meta: {
|
|
112
112
|
name: string;
|
|
113
113
|
version: string;
|
|
114
114
|
};
|
|
115
|
-
rules: Record<string,
|
|
115
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
116
116
|
};
|
|
117
117
|
"@eslint-react/hooks-extra": {
|
|
118
118
|
configs: {
|
|
@@ -120,14 +120,14 @@ declare const plugins$9: {
|
|
|
120
120
|
plugins: {};
|
|
121
121
|
name?: string;
|
|
122
122
|
rules?: Record<string, RuleConfig>;
|
|
123
|
-
settings?:
|
|
123
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
meta: {
|
|
127
127
|
name: string;
|
|
128
128
|
version: string;
|
|
129
129
|
};
|
|
130
|
-
rules: Record<string,
|
|
130
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
131
131
|
};
|
|
132
132
|
"@eslint-react/naming-convention": {
|
|
133
133
|
configs: {
|
|
@@ -135,14 +135,14 @@ declare const plugins$9: {
|
|
|
135
135
|
plugins: {};
|
|
136
136
|
name?: string;
|
|
137
137
|
rules?: Record<string, RuleConfig>;
|
|
138
|
-
settings?:
|
|
138
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
meta: {
|
|
142
142
|
name: string;
|
|
143
143
|
version: string;
|
|
144
144
|
};
|
|
145
|
-
rules: Record<string,
|
|
145
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
146
146
|
};
|
|
147
147
|
"@eslint-react/web-api": {
|
|
148
148
|
configs: {
|
|
@@ -150,14 +150,14 @@ declare const plugins$9: {
|
|
|
150
150
|
plugins: {};
|
|
151
151
|
name?: string;
|
|
152
152
|
rules?: Record<string, RuleConfig>;
|
|
153
|
-
settings?:
|
|
153
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
meta: {
|
|
157
157
|
name: string;
|
|
158
158
|
version: string;
|
|
159
159
|
};
|
|
160
|
-
rules: Record<string,
|
|
160
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
161
161
|
};
|
|
162
162
|
"@eslint-react/dom": {
|
|
163
163
|
configs: {
|
|
@@ -165,14 +165,20 @@ declare const plugins$9: {
|
|
|
165
165
|
plugins: {};
|
|
166
166
|
name?: string;
|
|
167
167
|
rules?: Record<string, RuleConfig>;
|
|
168
|
-
settings?:
|
|
168
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
169
|
+
};
|
|
170
|
+
strict: {
|
|
171
|
+
plugins: {};
|
|
172
|
+
name?: string;
|
|
173
|
+
rules?: Record<string, RuleConfig>;
|
|
174
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
169
175
|
};
|
|
170
176
|
};
|
|
171
177
|
meta: {
|
|
172
178
|
name: string;
|
|
173
179
|
version: string;
|
|
174
180
|
};
|
|
175
|
-
rules: Record<string,
|
|
181
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
176
182
|
};
|
|
177
183
|
"@eslint-react": {
|
|
178
184
|
configs: {
|
|
@@ -180,26 +186,26 @@ declare const plugins$9: {
|
|
|
180
186
|
plugins: {};
|
|
181
187
|
name?: string;
|
|
182
188
|
rules?: Record<string, RuleConfig>;
|
|
183
|
-
settings?:
|
|
189
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
184
190
|
};
|
|
185
191
|
"recommended-type-checked": {
|
|
186
192
|
plugins: {};
|
|
187
193
|
name?: string;
|
|
188
194
|
rules?: Record<string, RuleConfig>;
|
|
189
|
-
settings?:
|
|
195
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
190
196
|
};
|
|
191
197
|
"recommended-typescript": {
|
|
192
198
|
plugins: {};
|
|
193
199
|
name?: string;
|
|
194
200
|
rules?: Record<string, RuleConfig>;
|
|
195
|
-
settings?:
|
|
201
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
196
202
|
};
|
|
197
203
|
};
|
|
198
204
|
meta: {
|
|
199
205
|
name: string;
|
|
200
206
|
version: string;
|
|
201
207
|
};
|
|
202
|
-
rules: Record<string,
|
|
208
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
203
209
|
};
|
|
204
210
|
};
|
|
205
211
|
declare const settings$6: {
|
|
@@ -227,14 +233,14 @@ declare const plugins$8: {
|
|
|
227
233
|
plugins: {};
|
|
228
234
|
name?: string;
|
|
229
235
|
rules?: Record<string, RuleConfig>;
|
|
230
|
-
settings?:
|
|
236
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
231
237
|
};
|
|
232
238
|
};
|
|
233
239
|
meta: {
|
|
234
240
|
name: string;
|
|
235
241
|
version: string;
|
|
236
242
|
};
|
|
237
|
-
rules: Record<string,
|
|
243
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
238
244
|
};
|
|
239
245
|
};
|
|
240
246
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
@@ -272,14 +278,11 @@ declare const rules$8: {
|
|
|
272
278
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
273
279
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
274
280
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
275
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
276
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
277
281
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
278
282
|
readonly "@eslint-react/dom/no-render": "error";
|
|
279
283
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
280
284
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
281
285
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
282
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
283
286
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
284
287
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
285
288
|
};
|
|
@@ -290,14 +293,20 @@ declare const plugins$7: {
|
|
|
290
293
|
plugins: {};
|
|
291
294
|
name?: string;
|
|
292
295
|
rules?: Record<string, RuleConfig>;
|
|
293
|
-
settings?:
|
|
296
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
297
|
+
};
|
|
298
|
+
strict: {
|
|
299
|
+
plugins: {};
|
|
300
|
+
name?: string;
|
|
301
|
+
rules?: Record<string, RuleConfig>;
|
|
302
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
294
303
|
};
|
|
295
304
|
};
|
|
296
305
|
meta: {
|
|
297
306
|
name: string;
|
|
298
307
|
version: string;
|
|
299
308
|
};
|
|
300
|
-
rules: Record<string,
|
|
309
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
301
310
|
};
|
|
302
311
|
};
|
|
303
312
|
declare namespace no_deprecated_d_exports {
|
|
@@ -322,14 +331,20 @@ declare const plugins$6: {
|
|
|
322
331
|
plugins: {};
|
|
323
332
|
name?: string;
|
|
324
333
|
rules?: Record<string, RuleConfig>;
|
|
325
|
-
settings?:
|
|
334
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
335
|
+
};
|
|
336
|
+
strict: {
|
|
337
|
+
plugins: {};
|
|
338
|
+
name?: string;
|
|
339
|
+
rules?: Record<string, RuleConfig>;
|
|
340
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
326
341
|
};
|
|
327
342
|
};
|
|
328
343
|
meta: {
|
|
329
344
|
name: string;
|
|
330
345
|
version: string;
|
|
331
346
|
};
|
|
332
|
-
rules: Record<string,
|
|
347
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
333
348
|
};
|
|
334
349
|
"@eslint-react": {
|
|
335
350
|
configs: {
|
|
@@ -337,26 +352,26 @@ declare const plugins$6: {
|
|
|
337
352
|
plugins: {};
|
|
338
353
|
name?: string;
|
|
339
354
|
rules?: Record<string, RuleConfig>;
|
|
340
|
-
settings?:
|
|
355
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
341
356
|
};
|
|
342
357
|
"recommended-type-checked": {
|
|
343
358
|
plugins: {};
|
|
344
359
|
name?: string;
|
|
345
360
|
rules?: Record<string, RuleConfig>;
|
|
346
|
-
settings?:
|
|
361
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
347
362
|
};
|
|
348
363
|
"recommended-typescript": {
|
|
349
364
|
plugins: {};
|
|
350
365
|
name?: string;
|
|
351
366
|
rules?: Record<string, RuleConfig>;
|
|
352
|
-
settings?:
|
|
367
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
353
368
|
};
|
|
354
369
|
};
|
|
355
370
|
meta: {
|
|
356
371
|
name: string;
|
|
357
372
|
version: string;
|
|
358
373
|
};
|
|
359
|
-
rules: Record<string,
|
|
374
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
360
375
|
};
|
|
361
376
|
};
|
|
362
377
|
declare namespace off_d_exports {
|
|
@@ -381,14 +396,11 @@ declare const rules$5: {
|
|
|
381
396
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
382
397
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
383
398
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
384
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
385
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
386
399
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
387
400
|
readonly "@eslint-react/dom/no-render": "error";
|
|
388
401
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
389
402
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
390
403
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
391
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
392
404
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
393
405
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
394
406
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
@@ -438,14 +450,14 @@ declare const plugins$5: {
|
|
|
438
450
|
plugins: {};
|
|
439
451
|
name?: string;
|
|
440
452
|
rules?: Record<string, RuleConfig>;
|
|
441
|
-
settings?:
|
|
453
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
442
454
|
};
|
|
443
455
|
};
|
|
444
456
|
meta: {
|
|
445
457
|
name: string;
|
|
446
458
|
version: string;
|
|
447
459
|
};
|
|
448
|
-
rules: Record<string,
|
|
460
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
449
461
|
};
|
|
450
462
|
"@eslint-react/hooks-extra": {
|
|
451
463
|
configs: {
|
|
@@ -453,14 +465,14 @@ declare const plugins$5: {
|
|
|
453
465
|
plugins: {};
|
|
454
466
|
name?: string;
|
|
455
467
|
rules?: Record<string, RuleConfig>;
|
|
456
|
-
settings?:
|
|
468
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
457
469
|
};
|
|
458
470
|
};
|
|
459
471
|
meta: {
|
|
460
472
|
name: string;
|
|
461
473
|
version: string;
|
|
462
474
|
};
|
|
463
|
-
rules: Record<string,
|
|
475
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
464
476
|
};
|
|
465
477
|
"@eslint-react/naming-convention": {
|
|
466
478
|
configs: {
|
|
@@ -468,14 +480,14 @@ declare const plugins$5: {
|
|
|
468
480
|
plugins: {};
|
|
469
481
|
name?: string;
|
|
470
482
|
rules?: Record<string, RuleConfig>;
|
|
471
|
-
settings?:
|
|
483
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
472
484
|
};
|
|
473
485
|
};
|
|
474
486
|
meta: {
|
|
475
487
|
name: string;
|
|
476
488
|
version: string;
|
|
477
489
|
};
|
|
478
|
-
rules: Record<string,
|
|
490
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
479
491
|
};
|
|
480
492
|
"@eslint-react/web-api": {
|
|
481
493
|
configs: {
|
|
@@ -483,14 +495,14 @@ declare const plugins$5: {
|
|
|
483
495
|
plugins: {};
|
|
484
496
|
name?: string;
|
|
485
497
|
rules?: Record<string, RuleConfig>;
|
|
486
|
-
settings?:
|
|
498
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
487
499
|
};
|
|
488
500
|
};
|
|
489
501
|
meta: {
|
|
490
502
|
name: string;
|
|
491
503
|
version: string;
|
|
492
504
|
};
|
|
493
|
-
rules: Record<string,
|
|
505
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
494
506
|
};
|
|
495
507
|
"@eslint-react/dom": {
|
|
496
508
|
configs: {
|
|
@@ -498,14 +510,20 @@ declare const plugins$5: {
|
|
|
498
510
|
plugins: {};
|
|
499
511
|
name?: string;
|
|
500
512
|
rules?: Record<string, RuleConfig>;
|
|
501
|
-
settings?:
|
|
513
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
514
|
+
};
|
|
515
|
+
strict: {
|
|
516
|
+
plugins: {};
|
|
517
|
+
name?: string;
|
|
518
|
+
rules?: Record<string, RuleConfig>;
|
|
519
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
502
520
|
};
|
|
503
521
|
};
|
|
504
522
|
meta: {
|
|
505
523
|
name: string;
|
|
506
524
|
version: string;
|
|
507
525
|
};
|
|
508
|
-
rules: Record<string,
|
|
526
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
509
527
|
};
|
|
510
528
|
"@eslint-react": {
|
|
511
529
|
configs: {
|
|
@@ -513,26 +531,26 @@ declare const plugins$5: {
|
|
|
513
531
|
plugins: {};
|
|
514
532
|
name?: string;
|
|
515
533
|
rules?: Record<string, RuleConfig>;
|
|
516
|
-
settings?:
|
|
534
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
517
535
|
};
|
|
518
536
|
"recommended-type-checked": {
|
|
519
537
|
plugins: {};
|
|
520
538
|
name?: string;
|
|
521
539
|
rules?: Record<string, RuleConfig>;
|
|
522
|
-
settings?:
|
|
540
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
523
541
|
};
|
|
524
542
|
"recommended-typescript": {
|
|
525
543
|
plugins: {};
|
|
526
544
|
name?: string;
|
|
527
545
|
rules?: Record<string, RuleConfig>;
|
|
528
|
-
settings?:
|
|
546
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
529
547
|
};
|
|
530
548
|
};
|
|
531
549
|
meta: {
|
|
532
550
|
name: string;
|
|
533
551
|
version: string;
|
|
534
552
|
};
|
|
535
|
-
rules: Record<string,
|
|
553
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
536
554
|
};
|
|
537
555
|
};
|
|
538
556
|
declare const settings$5: {
|
|
@@ -552,6 +570,7 @@ declare const rules$4: {
|
|
|
552
570
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
553
571
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
554
572
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
573
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
555
574
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
556
575
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
557
576
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -566,14 +585,11 @@ declare const rules$4: {
|
|
|
566
585
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
567
586
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
568
587
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
569
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
570
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
571
588
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
572
589
|
readonly "@eslint-react/dom/no-render": "error";
|
|
573
590
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
574
591
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
575
592
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
576
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
577
593
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
578
594
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
579
595
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
@@ -620,14 +636,14 @@ declare const plugins$4: {
|
|
|
620
636
|
plugins: {};
|
|
621
637
|
name?: string;
|
|
622
638
|
rules?: Record<string, RuleConfig>;
|
|
623
|
-
settings?:
|
|
639
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
624
640
|
};
|
|
625
641
|
};
|
|
626
642
|
meta: {
|
|
627
643
|
name: string;
|
|
628
644
|
version: string;
|
|
629
645
|
};
|
|
630
|
-
rules: Record<string,
|
|
646
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
631
647
|
};
|
|
632
648
|
"@eslint-react/hooks-extra": {
|
|
633
649
|
configs: {
|
|
@@ -635,14 +651,14 @@ declare const plugins$4: {
|
|
|
635
651
|
plugins: {};
|
|
636
652
|
name?: string;
|
|
637
653
|
rules?: Record<string, RuleConfig>;
|
|
638
|
-
settings?:
|
|
654
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
639
655
|
};
|
|
640
656
|
};
|
|
641
657
|
meta: {
|
|
642
658
|
name: string;
|
|
643
659
|
version: string;
|
|
644
660
|
};
|
|
645
|
-
rules: Record<string,
|
|
661
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
646
662
|
};
|
|
647
663
|
"@eslint-react/naming-convention": {
|
|
648
664
|
configs: {
|
|
@@ -650,14 +666,14 @@ declare const plugins$4: {
|
|
|
650
666
|
plugins: {};
|
|
651
667
|
name?: string;
|
|
652
668
|
rules?: Record<string, RuleConfig>;
|
|
653
|
-
settings?:
|
|
669
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
654
670
|
};
|
|
655
671
|
};
|
|
656
672
|
meta: {
|
|
657
673
|
name: string;
|
|
658
674
|
version: string;
|
|
659
675
|
};
|
|
660
|
-
rules: Record<string,
|
|
676
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
661
677
|
};
|
|
662
678
|
"@eslint-react/web-api": {
|
|
663
679
|
configs: {
|
|
@@ -665,14 +681,14 @@ declare const plugins$4: {
|
|
|
665
681
|
plugins: {};
|
|
666
682
|
name?: string;
|
|
667
683
|
rules?: Record<string, RuleConfig>;
|
|
668
|
-
settings?:
|
|
684
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
669
685
|
};
|
|
670
686
|
};
|
|
671
687
|
meta: {
|
|
672
688
|
name: string;
|
|
673
689
|
version: string;
|
|
674
690
|
};
|
|
675
|
-
rules: Record<string,
|
|
691
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
676
692
|
};
|
|
677
693
|
"@eslint-react/dom": {
|
|
678
694
|
configs: {
|
|
@@ -680,14 +696,20 @@ declare const plugins$4: {
|
|
|
680
696
|
plugins: {};
|
|
681
697
|
name?: string;
|
|
682
698
|
rules?: Record<string, RuleConfig>;
|
|
683
|
-
settings?:
|
|
699
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
700
|
+
};
|
|
701
|
+
strict: {
|
|
702
|
+
plugins: {};
|
|
703
|
+
name?: string;
|
|
704
|
+
rules?: Record<string, RuleConfig>;
|
|
705
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
684
706
|
};
|
|
685
707
|
};
|
|
686
708
|
meta: {
|
|
687
709
|
name: string;
|
|
688
710
|
version: string;
|
|
689
711
|
};
|
|
690
|
-
rules: Record<string,
|
|
712
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
691
713
|
};
|
|
692
714
|
"@eslint-react": {
|
|
693
715
|
configs: {
|
|
@@ -695,26 +717,26 @@ declare const plugins$4: {
|
|
|
695
717
|
plugins: {};
|
|
696
718
|
name?: string;
|
|
697
719
|
rules?: Record<string, RuleConfig>;
|
|
698
|
-
settings?:
|
|
720
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
699
721
|
};
|
|
700
722
|
"recommended-type-checked": {
|
|
701
723
|
plugins: {};
|
|
702
724
|
name?: string;
|
|
703
725
|
rules?: Record<string, RuleConfig>;
|
|
704
|
-
settings?:
|
|
726
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
705
727
|
};
|
|
706
728
|
"recommended-typescript": {
|
|
707
729
|
plugins: {};
|
|
708
730
|
name?: string;
|
|
709
731
|
rules?: Record<string, RuleConfig>;
|
|
710
|
-
settings?:
|
|
732
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
711
733
|
};
|
|
712
734
|
};
|
|
713
735
|
meta: {
|
|
714
736
|
name: string;
|
|
715
737
|
version: string;
|
|
716
738
|
};
|
|
717
|
-
rules: Record<string,
|
|
739
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
718
740
|
};
|
|
719
741
|
};
|
|
720
742
|
declare const settings$4: {
|
|
@@ -732,6 +754,7 @@ declare const rules$3: {
|
|
|
732
754
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
733
755
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
734
756
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
757
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
735
758
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
736
759
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
737
760
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -746,14 +769,11 @@ declare const rules$3: {
|
|
|
746
769
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
747
770
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
748
771
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
749
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
750
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
751
772
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
752
773
|
readonly "@eslint-react/dom/no-render": "error";
|
|
753
774
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
754
775
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
755
776
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
756
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
757
777
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
758
778
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
759
779
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
@@ -800,14 +820,14 @@ declare const plugins$3: {
|
|
|
800
820
|
plugins: {};
|
|
801
821
|
name?: string;
|
|
802
822
|
rules?: Record<string, RuleConfig>;
|
|
803
|
-
settings?:
|
|
823
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
804
824
|
};
|
|
805
825
|
};
|
|
806
826
|
meta: {
|
|
807
827
|
name: string;
|
|
808
828
|
version: string;
|
|
809
829
|
};
|
|
810
|
-
rules: Record<string,
|
|
830
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
811
831
|
};
|
|
812
832
|
"@eslint-react/hooks-extra": {
|
|
813
833
|
configs: {
|
|
@@ -815,14 +835,14 @@ declare const plugins$3: {
|
|
|
815
835
|
plugins: {};
|
|
816
836
|
name?: string;
|
|
817
837
|
rules?: Record<string, RuleConfig>;
|
|
818
|
-
settings?:
|
|
838
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
819
839
|
};
|
|
820
840
|
};
|
|
821
841
|
meta: {
|
|
822
842
|
name: string;
|
|
823
843
|
version: string;
|
|
824
844
|
};
|
|
825
|
-
rules: Record<string,
|
|
845
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
826
846
|
};
|
|
827
847
|
"@eslint-react/naming-convention": {
|
|
828
848
|
configs: {
|
|
@@ -830,14 +850,14 @@ declare const plugins$3: {
|
|
|
830
850
|
plugins: {};
|
|
831
851
|
name?: string;
|
|
832
852
|
rules?: Record<string, RuleConfig>;
|
|
833
|
-
settings?:
|
|
853
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
834
854
|
};
|
|
835
855
|
};
|
|
836
856
|
meta: {
|
|
837
857
|
name: string;
|
|
838
858
|
version: string;
|
|
839
859
|
};
|
|
840
|
-
rules: Record<string,
|
|
860
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
841
861
|
};
|
|
842
862
|
"@eslint-react/web-api": {
|
|
843
863
|
configs: {
|
|
@@ -845,14 +865,14 @@ declare const plugins$3: {
|
|
|
845
865
|
plugins: {};
|
|
846
866
|
name?: string;
|
|
847
867
|
rules?: Record<string, RuleConfig>;
|
|
848
|
-
settings?:
|
|
868
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
849
869
|
};
|
|
850
870
|
};
|
|
851
871
|
meta: {
|
|
852
872
|
name: string;
|
|
853
873
|
version: string;
|
|
854
874
|
};
|
|
855
|
-
rules: Record<string,
|
|
875
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
856
876
|
};
|
|
857
877
|
"@eslint-react/dom": {
|
|
858
878
|
configs: {
|
|
@@ -860,14 +880,20 @@ declare const plugins$3: {
|
|
|
860
880
|
plugins: {};
|
|
861
881
|
name?: string;
|
|
862
882
|
rules?: Record<string, RuleConfig>;
|
|
863
|
-
settings?:
|
|
883
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
884
|
+
};
|
|
885
|
+
strict: {
|
|
886
|
+
plugins: {};
|
|
887
|
+
name?: string;
|
|
888
|
+
rules?: Record<string, RuleConfig>;
|
|
889
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
864
890
|
};
|
|
865
891
|
};
|
|
866
892
|
meta: {
|
|
867
893
|
name: string;
|
|
868
894
|
version: string;
|
|
869
895
|
};
|
|
870
|
-
rules: Record<string,
|
|
896
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
871
897
|
};
|
|
872
898
|
"@eslint-react": {
|
|
873
899
|
configs: {
|
|
@@ -875,26 +901,26 @@ declare const plugins$3: {
|
|
|
875
901
|
plugins: {};
|
|
876
902
|
name?: string;
|
|
877
903
|
rules?: Record<string, RuleConfig>;
|
|
878
|
-
settings?:
|
|
904
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
879
905
|
};
|
|
880
906
|
"recommended-type-checked": {
|
|
881
907
|
plugins: {};
|
|
882
908
|
name?: string;
|
|
883
909
|
rules?: Record<string, RuleConfig>;
|
|
884
|
-
settings?:
|
|
910
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
885
911
|
};
|
|
886
912
|
"recommended-typescript": {
|
|
887
913
|
plugins: {};
|
|
888
914
|
name?: string;
|
|
889
915
|
rules?: Record<string, RuleConfig>;
|
|
890
|
-
settings?:
|
|
916
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
891
917
|
};
|
|
892
918
|
};
|
|
893
919
|
meta: {
|
|
894
920
|
name: string;
|
|
895
921
|
version: string;
|
|
896
922
|
};
|
|
897
|
-
rules: Record<string,
|
|
923
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
898
924
|
};
|
|
899
925
|
};
|
|
900
926
|
declare const settings$3: {
|
|
@@ -914,6 +940,7 @@ declare const rules$2: {
|
|
|
914
940
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
915
941
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
916
942
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
943
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
917
944
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
918
945
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
919
946
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -928,14 +955,11 @@ declare const rules$2: {
|
|
|
928
955
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
929
956
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
930
957
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
931
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
932
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
933
958
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
934
959
|
readonly "@eslint-react/dom/no-render": "error";
|
|
935
960
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
936
961
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
937
962
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
938
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
939
963
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
940
964
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
941
965
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
@@ -975,7 +999,6 @@ declare const rules$2: {
|
|
|
975
999
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
976
1000
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
977
1001
|
readonly "@eslint-react/jsx-no-iife": "error";
|
|
978
|
-
readonly "@eslint-react/jsx-no-undef": "error";
|
|
979
1002
|
readonly "@eslint-react/no-children-prop": "warn";
|
|
980
1003
|
readonly "@eslint-react/no-class-component": "error";
|
|
981
1004
|
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
@@ -987,6 +1010,9 @@ declare const rules$2: {
|
|
|
987
1010
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
988
1011
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
989
1012
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
1013
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1014
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1015
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
990
1016
|
};
|
|
991
1017
|
declare const plugins$2: {
|
|
992
1018
|
"@eslint-react/debug": {
|
|
@@ -995,14 +1021,14 @@ declare const plugins$2: {
|
|
|
995
1021
|
plugins: {};
|
|
996
1022
|
name?: string;
|
|
997
1023
|
rules?: Record<string, RuleConfig>;
|
|
998
|
-
settings?:
|
|
1024
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
999
1025
|
};
|
|
1000
1026
|
};
|
|
1001
1027
|
meta: {
|
|
1002
1028
|
name: string;
|
|
1003
1029
|
version: string;
|
|
1004
1030
|
};
|
|
1005
|
-
rules: Record<string,
|
|
1031
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1006
1032
|
};
|
|
1007
1033
|
"@eslint-react/hooks-extra": {
|
|
1008
1034
|
configs: {
|
|
@@ -1010,14 +1036,14 @@ declare const plugins$2: {
|
|
|
1010
1036
|
plugins: {};
|
|
1011
1037
|
name?: string;
|
|
1012
1038
|
rules?: Record<string, RuleConfig>;
|
|
1013
|
-
settings?:
|
|
1039
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1014
1040
|
};
|
|
1015
1041
|
};
|
|
1016
1042
|
meta: {
|
|
1017
1043
|
name: string;
|
|
1018
1044
|
version: string;
|
|
1019
1045
|
};
|
|
1020
|
-
rules: Record<string,
|
|
1046
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1021
1047
|
};
|
|
1022
1048
|
"@eslint-react/naming-convention": {
|
|
1023
1049
|
configs: {
|
|
@@ -1025,14 +1051,14 @@ declare const plugins$2: {
|
|
|
1025
1051
|
plugins: {};
|
|
1026
1052
|
name?: string;
|
|
1027
1053
|
rules?: Record<string, RuleConfig>;
|
|
1028
|
-
settings?:
|
|
1054
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1029
1055
|
};
|
|
1030
1056
|
};
|
|
1031
1057
|
meta: {
|
|
1032
1058
|
name: string;
|
|
1033
1059
|
version: string;
|
|
1034
1060
|
};
|
|
1035
|
-
rules: Record<string,
|
|
1061
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1036
1062
|
};
|
|
1037
1063
|
"@eslint-react/web-api": {
|
|
1038
1064
|
configs: {
|
|
@@ -1040,14 +1066,14 @@ declare const plugins$2: {
|
|
|
1040
1066
|
plugins: {};
|
|
1041
1067
|
name?: string;
|
|
1042
1068
|
rules?: Record<string, RuleConfig>;
|
|
1043
|
-
settings?:
|
|
1069
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1044
1070
|
};
|
|
1045
1071
|
};
|
|
1046
1072
|
meta: {
|
|
1047
1073
|
name: string;
|
|
1048
1074
|
version: string;
|
|
1049
1075
|
};
|
|
1050
|
-
rules: Record<string,
|
|
1076
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1051
1077
|
};
|
|
1052
1078
|
"@eslint-react/dom": {
|
|
1053
1079
|
configs: {
|
|
@@ -1055,14 +1081,20 @@ declare const plugins$2: {
|
|
|
1055
1081
|
plugins: {};
|
|
1056
1082
|
name?: string;
|
|
1057
1083
|
rules?: Record<string, RuleConfig>;
|
|
1058
|
-
settings?:
|
|
1084
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1085
|
+
};
|
|
1086
|
+
strict: {
|
|
1087
|
+
plugins: {};
|
|
1088
|
+
name?: string;
|
|
1089
|
+
rules?: Record<string, RuleConfig>;
|
|
1090
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1059
1091
|
};
|
|
1060
1092
|
};
|
|
1061
1093
|
meta: {
|
|
1062
1094
|
name: string;
|
|
1063
1095
|
version: string;
|
|
1064
1096
|
};
|
|
1065
|
-
rules: Record<string,
|
|
1097
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1066
1098
|
};
|
|
1067
1099
|
"@eslint-react": {
|
|
1068
1100
|
configs: {
|
|
@@ -1070,26 +1102,26 @@ declare const plugins$2: {
|
|
|
1070
1102
|
plugins: {};
|
|
1071
1103
|
name?: string;
|
|
1072
1104
|
rules?: Record<string, RuleConfig>;
|
|
1073
|
-
settings?:
|
|
1105
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1074
1106
|
};
|
|
1075
1107
|
"recommended-type-checked": {
|
|
1076
1108
|
plugins: {};
|
|
1077
1109
|
name?: string;
|
|
1078
1110
|
rules?: Record<string, RuleConfig>;
|
|
1079
|
-
settings?:
|
|
1111
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1080
1112
|
};
|
|
1081
1113
|
"recommended-typescript": {
|
|
1082
1114
|
plugins: {};
|
|
1083
1115
|
name?: string;
|
|
1084
1116
|
rules?: Record<string, RuleConfig>;
|
|
1085
|
-
settings?:
|
|
1117
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1086
1118
|
};
|
|
1087
1119
|
};
|
|
1088
1120
|
meta: {
|
|
1089
1121
|
name: string;
|
|
1090
1122
|
version: string;
|
|
1091
1123
|
};
|
|
1092
|
-
rules: Record<string,
|
|
1124
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1093
1125
|
};
|
|
1094
1126
|
};
|
|
1095
1127
|
declare const settings$2: {
|
|
@@ -1107,6 +1139,7 @@ declare const rules$1: {
|
|
|
1107
1139
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
1108
1140
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1109
1141
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
1142
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
1110
1143
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
1111
1144
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
1112
1145
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -1121,14 +1154,11 @@ declare const rules$1: {
|
|
|
1121
1154
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
1122
1155
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
1123
1156
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
1124
|
-
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
1125
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
1126
1157
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
1127
1158
|
readonly "@eslint-react/dom/no-render": "error";
|
|
1128
1159
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
1129
1160
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1130
1161
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1131
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
1132
1162
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
1133
1163
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
1134
1164
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
@@ -1168,7 +1198,6 @@ declare const rules$1: {
|
|
|
1168
1198
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
1169
1199
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1170
1200
|
readonly "@eslint-react/jsx-no-iife": "error";
|
|
1171
|
-
readonly "@eslint-react/jsx-no-undef": "error";
|
|
1172
1201
|
readonly "@eslint-react/no-children-prop": "warn";
|
|
1173
1202
|
readonly "@eslint-react/no-class-component": "error";
|
|
1174
1203
|
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
@@ -1181,6 +1210,9 @@ declare const rules$1: {
|
|
|
1181
1210
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
1182
1211
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
1183
1212
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
1213
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1214
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1215
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1184
1216
|
};
|
|
1185
1217
|
declare const plugins$1: {
|
|
1186
1218
|
"@eslint-react/debug": {
|
|
@@ -1189,14 +1221,14 @@ declare const plugins$1: {
|
|
|
1189
1221
|
plugins: {};
|
|
1190
1222
|
name?: string;
|
|
1191
1223
|
rules?: Record<string, RuleConfig>;
|
|
1192
|
-
settings?:
|
|
1224
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1193
1225
|
};
|
|
1194
1226
|
};
|
|
1195
1227
|
meta: {
|
|
1196
1228
|
name: string;
|
|
1197
1229
|
version: string;
|
|
1198
1230
|
};
|
|
1199
|
-
rules: Record<string,
|
|
1231
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1200
1232
|
};
|
|
1201
1233
|
"@eslint-react/hooks-extra": {
|
|
1202
1234
|
configs: {
|
|
@@ -1204,14 +1236,14 @@ declare const plugins$1: {
|
|
|
1204
1236
|
plugins: {};
|
|
1205
1237
|
name?: string;
|
|
1206
1238
|
rules?: Record<string, RuleConfig>;
|
|
1207
|
-
settings?:
|
|
1239
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1208
1240
|
};
|
|
1209
1241
|
};
|
|
1210
1242
|
meta: {
|
|
1211
1243
|
name: string;
|
|
1212
1244
|
version: string;
|
|
1213
1245
|
};
|
|
1214
|
-
rules: Record<string,
|
|
1246
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1215
1247
|
};
|
|
1216
1248
|
"@eslint-react/naming-convention": {
|
|
1217
1249
|
configs: {
|
|
@@ -1219,14 +1251,14 @@ declare const plugins$1: {
|
|
|
1219
1251
|
plugins: {};
|
|
1220
1252
|
name?: string;
|
|
1221
1253
|
rules?: Record<string, RuleConfig>;
|
|
1222
|
-
settings?:
|
|
1254
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1223
1255
|
};
|
|
1224
1256
|
};
|
|
1225
1257
|
meta: {
|
|
1226
1258
|
name: string;
|
|
1227
1259
|
version: string;
|
|
1228
1260
|
};
|
|
1229
|
-
rules: Record<string,
|
|
1261
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1230
1262
|
};
|
|
1231
1263
|
"@eslint-react/web-api": {
|
|
1232
1264
|
configs: {
|
|
@@ -1234,14 +1266,14 @@ declare const plugins$1: {
|
|
|
1234
1266
|
plugins: {};
|
|
1235
1267
|
name?: string;
|
|
1236
1268
|
rules?: Record<string, RuleConfig>;
|
|
1237
|
-
settings?:
|
|
1269
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1238
1270
|
};
|
|
1239
1271
|
};
|
|
1240
1272
|
meta: {
|
|
1241
1273
|
name: string;
|
|
1242
1274
|
version: string;
|
|
1243
1275
|
};
|
|
1244
|
-
rules: Record<string,
|
|
1276
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1245
1277
|
};
|
|
1246
1278
|
"@eslint-react/dom": {
|
|
1247
1279
|
configs: {
|
|
@@ -1249,14 +1281,20 @@ declare const plugins$1: {
|
|
|
1249
1281
|
plugins: {};
|
|
1250
1282
|
name?: string;
|
|
1251
1283
|
rules?: Record<string, RuleConfig>;
|
|
1252
|
-
settings?:
|
|
1284
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1285
|
+
};
|
|
1286
|
+
strict: {
|
|
1287
|
+
plugins: {};
|
|
1288
|
+
name?: string;
|
|
1289
|
+
rules?: Record<string, RuleConfig>;
|
|
1290
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1253
1291
|
};
|
|
1254
1292
|
};
|
|
1255
1293
|
meta: {
|
|
1256
1294
|
name: string;
|
|
1257
1295
|
version: string;
|
|
1258
1296
|
};
|
|
1259
|
-
rules: Record<string,
|
|
1297
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1260
1298
|
};
|
|
1261
1299
|
"@eslint-react": {
|
|
1262
1300
|
configs: {
|
|
@@ -1264,26 +1302,26 @@ declare const plugins$1: {
|
|
|
1264
1302
|
plugins: {};
|
|
1265
1303
|
name?: string;
|
|
1266
1304
|
rules?: Record<string, RuleConfig>;
|
|
1267
|
-
settings?:
|
|
1305
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1268
1306
|
};
|
|
1269
1307
|
"recommended-type-checked": {
|
|
1270
1308
|
plugins: {};
|
|
1271
1309
|
name?: string;
|
|
1272
1310
|
rules?: Record<string, RuleConfig>;
|
|
1273
|
-
settings?:
|
|
1311
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1274
1312
|
};
|
|
1275
1313
|
"recommended-typescript": {
|
|
1276
1314
|
plugins: {};
|
|
1277
1315
|
name?: string;
|
|
1278
1316
|
rules?: Record<string, RuleConfig>;
|
|
1279
|
-
settings?:
|
|
1317
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1280
1318
|
};
|
|
1281
1319
|
};
|
|
1282
1320
|
meta: {
|
|
1283
1321
|
name: string;
|
|
1284
1322
|
version: string;
|
|
1285
1323
|
};
|
|
1286
|
-
rules: Record<string,
|
|
1324
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1287
1325
|
};
|
|
1288
1326
|
};
|
|
1289
1327
|
declare const settings$1: {
|
|
@@ -1345,26 +1383,26 @@ declare const plugins: {
|
|
|
1345
1383
|
plugins: {};
|
|
1346
1384
|
name?: string;
|
|
1347
1385
|
rules?: Record<string, RuleConfig>;
|
|
1348
|
-
settings?:
|
|
1386
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1349
1387
|
};
|
|
1350
1388
|
"recommended-type-checked": {
|
|
1351
1389
|
plugins: {};
|
|
1352
1390
|
name?: string;
|
|
1353
1391
|
rules?: Record<string, RuleConfig>;
|
|
1354
|
-
settings?:
|
|
1392
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1355
1393
|
};
|
|
1356
1394
|
"recommended-typescript": {
|
|
1357
1395
|
plugins: {};
|
|
1358
1396
|
name?: string;
|
|
1359
1397
|
rules?: Record<string, RuleConfig>;
|
|
1360
|
-
settings?:
|
|
1398
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1361
1399
|
};
|
|
1362
1400
|
};
|
|
1363
1401
|
meta: {
|
|
1364
1402
|
name: string;
|
|
1365
1403
|
version: string;
|
|
1366
1404
|
};
|
|
1367
|
-
rules: Record<string,
|
|
1405
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1368
1406
|
};
|
|
1369
1407
|
};
|
|
1370
1408
|
declare const settings: {
|
|
@@ -1449,7 +1487,7 @@ declare const _default: {
|
|
|
1449
1487
|
name: string;
|
|
1450
1488
|
version: string;
|
|
1451
1489
|
};
|
|
1452
|
-
rules: Record<string,
|
|
1490
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1453
1491
|
};
|
|
1454
1492
|
//#endregion
|
|
1455
1493
|
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.1.0-next.
|
|
12
|
+
var version = "2.1.0-next.5";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
@@ -25,14 +25,11 @@ const rules$14 = {
|
|
|
25
25
|
"@eslint-react/dom/no-find-dom-node": "error",
|
|
26
26
|
"@eslint-react/dom/no-flush-sync": "error",
|
|
27
27
|
"@eslint-react/dom/no-hydrate": "error",
|
|
28
|
-
"@eslint-react/dom/no-missing-button-type": "off",
|
|
29
|
-
"@eslint-react/dom/no-missing-iframe-sandbox": "off",
|
|
30
28
|
"@eslint-react/dom/no-namespace": "error",
|
|
31
29
|
"@eslint-react/dom/no-render": "error",
|
|
32
30
|
"@eslint-react/dom/no-render-return-value": "error",
|
|
33
31
|
"@eslint-react/dom/no-script-url": "warn",
|
|
34
32
|
"@eslint-react/dom/no-unsafe-iframe-sandbox": "warn",
|
|
35
|
-
"@eslint-react/dom/no-unsafe-target-blank": "off",
|
|
36
33
|
"@eslint-react/dom/no-use-form-state": "error",
|
|
37
34
|
"@eslint-react/dom/no-void-elements-with-children": "error"
|
|
38
35
|
};
|
|
@@ -403,6 +400,7 @@ const rules$5 = {
|
|
|
403
400
|
"@eslint-react/dom/no-string-style-prop": "off",
|
|
404
401
|
"@eslint-react/dom/no-unknown-property": "off",
|
|
405
402
|
"@eslint-react/jsx-no-duplicate-props": "off",
|
|
403
|
+
"@eslint-react/jsx-no-undef": "off",
|
|
406
404
|
"@eslint-react/jsx-uses-react": "off",
|
|
407
405
|
"@eslint-react/jsx-uses-vars": "off"
|
|
408
406
|
};
|
|
@@ -444,7 +442,6 @@ const settings$3 = { ...settings$4 };
|
|
|
444
442
|
const rules$2 = {
|
|
445
443
|
...rules$7,
|
|
446
444
|
"@eslint-react/jsx-no-iife": "error",
|
|
447
|
-
"@eslint-react/jsx-no-undef": "error",
|
|
448
445
|
"@eslint-react/no-children-prop": "warn",
|
|
449
446
|
"@eslint-react/no-class-component": "error",
|
|
450
447
|
"@eslint-react/no-misused-capture-owner-stack": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.1.0-next.
|
|
3
|
+
"version": "2.1.0-next.5",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"@typescript-eslint/types": "^8.46.0",
|
|
43
43
|
"@typescript-eslint/utils": "^8.46.0",
|
|
44
44
|
"ts-api-utils": "^2.1.0",
|
|
45
|
-
"@eslint-react/eff": "2.1.0-next.
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"eslint-plugin-react-
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"eslint-plugin-react-
|
|
52
|
-
"eslint-
|
|
53
|
-
"eslint-plugin-react-
|
|
45
|
+
"@eslint-react/eff": "2.1.0-next.5",
|
|
46
|
+
"eslint-plugin-react-debug": "2.1.0-next.5",
|
|
47
|
+
"eslint-plugin-react-dom": "2.1.0-next.5",
|
|
48
|
+
"eslint-plugin-react-hooks-extra": "2.1.0-next.5",
|
|
49
|
+
"@eslint-react/kit": "2.1.0-next.5",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.1.0-next.5",
|
|
51
|
+
"eslint-plugin-react-x": "2.1.0-next.5",
|
|
52
|
+
"@eslint-react/shared": "2.1.0-next.5",
|
|
53
|
+
"eslint-plugin-react-web-api": "2.1.0-next.5"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"tsdown": "^0.15.6",
|