@eslint-react/eslint-plugin 2.2.1 → 2.2.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,1745 +1,13 @@
1
- import * as _eslint_react_shared7 from "@eslint-react/shared";
2
- import { RuleConfig } from "@eslint-react/shared";
1
+ import { CompatibleConfig, CompatiblePlugin } from "@eslint-react/shared";
3
2
 
4
- //#region src/configs/all.d.ts
5
- declare namespace all_d_exports {
6
- export { name$15 as name, plugins$10 as plugins, rules$15 as rules, settings$8 as settings };
7
- }
8
- declare const name$15 = "@eslint-react/all";
9
- declare const rules$15: {
10
- readonly "@eslint-react/jsx-key-before-spread": "warn";
11
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
12
- readonly "@eslint-react/jsx-no-duplicate-props": "warn";
13
- readonly "@eslint-react/jsx-no-iife": "warn";
14
- readonly "@eslint-react/jsx-no-undef": "error";
15
- readonly "@eslint-react/jsx-shorthand-boolean": "warn";
16
- readonly "@eslint-react/jsx-shorthand-fragment": "warn";
17
- readonly "@eslint-react/jsx-uses-react": "warn";
18
- readonly "@eslint-react/jsx-uses-vars": "warn";
19
- readonly "@eslint-react/no-access-state-in-setstate": "error";
20
- readonly "@eslint-react/no-array-index-key": "warn";
21
- readonly "@eslint-react/no-children-count": "warn";
22
- readonly "@eslint-react/no-children-for-each": "warn";
23
- readonly "@eslint-react/no-children-map": "warn";
24
- readonly "@eslint-react/no-children-only": "warn";
25
- readonly "@eslint-react/no-children-prop": "warn";
26
- readonly "@eslint-react/no-children-to-array": "warn";
27
- readonly "@eslint-react/no-class-component": "warn";
28
- readonly "@eslint-react/no-clone-element": "warn";
29
- readonly "@eslint-react/no-component-will-mount": "error";
30
- readonly "@eslint-react/no-component-will-receive-props": "error";
31
- readonly "@eslint-react/no-component-will-update": "error";
32
- readonly "@eslint-react/no-context-provider": "warn";
33
- readonly "@eslint-react/no-create-ref": "error";
34
- readonly "@eslint-react/no-default-props": "error";
35
- readonly "@eslint-react/no-direct-mutation-state": "error";
36
- readonly "@eslint-react/no-duplicate-key": "error";
37
- readonly "@eslint-react/no-forbidden-props": "off";
38
- readonly "@eslint-react/no-forward-ref": "warn";
39
- readonly "@eslint-react/no-implicit-key": "warn";
40
- readonly "@eslint-react/no-leaked-conditional-rendering": "off";
41
- readonly "@eslint-react/no-missing-component-display-name": "warn";
42
- readonly "@eslint-react/no-missing-context-display-name": "warn";
43
- readonly "@eslint-react/no-missing-key": "error";
44
- readonly "@eslint-react/no-misused-capture-owner-stack": "error";
45
- readonly "@eslint-react/no-nested-component-definitions": "error";
46
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
47
- readonly "@eslint-react/no-prop-types": "error";
48
- readonly "@eslint-react/no-redundant-should-component-update": "error";
49
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
50
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
51
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
52
- readonly "@eslint-react/no-string-refs": "error";
53
- readonly "@eslint-react/no-unnecessary-key": "warn";
54
- readonly "@eslint-react/no-unnecessary-use-callback": "warn";
55
- readonly "@eslint-react/no-unnecessary-use-memo": "warn";
56
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
57
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
58
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
59
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
60
- readonly "@eslint-react/no-unstable-context-value": "warn";
61
- readonly "@eslint-react/no-unstable-default-props": "warn";
62
- readonly "@eslint-react/no-unused-class-component-members": "warn";
63
- readonly "@eslint-react/no-unused-props": "off";
64
- readonly "@eslint-react/no-unused-state": "warn";
65
- readonly "@eslint-react/no-use-context": "warn";
66
- readonly "@eslint-react/no-useless-forward-ref": "warn";
67
- readonly "@eslint-react/no-useless-fragment": "warn";
68
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
69
- readonly "@eslint-react/prefer-namespace-import": "warn";
70
- readonly "@eslint-react/prefer-read-only-props": "off";
71
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
72
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
73
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
74
- readonly "@eslint-react/dom/no-find-dom-node": "error";
75
- readonly "@eslint-react/dom/no-flush-sync": "error";
76
- readonly "@eslint-react/dom/no-hydrate": "error";
77
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
78
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
79
- readonly "@eslint-react/dom/no-namespace": "error";
80
- readonly "@eslint-react/dom/no-render": "error";
81
- readonly "@eslint-react/dom/no-render-return-value": "error";
82
- readonly "@eslint-react/dom/no-script-url": "warn";
83
- readonly "@eslint-react/dom/no-string-style-prop": "error";
84
- readonly "@eslint-react/dom/no-unknown-property": "warn";
85
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
86
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
87
- readonly "@eslint-react/dom/no-use-form-state": "warn";
88
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
89
- readonly "@eslint-react/dom/prefer-namespace-import": "warn";
90
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
91
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
92
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
93
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
94
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
95
- readonly "@eslint-react/naming-convention/component-name": "warn";
96
- readonly "@eslint-react/naming-convention/context-name": "warn";
97
- readonly "@eslint-react/naming-convention/filename": "off";
98
- readonly "@eslint-react/naming-convention/filename-extension": "off";
99
- readonly "@eslint-react/naming-convention/use-state": "warn";
100
- };
101
- declare const plugins$10: {
102
- "@eslint-react/hooks-extra": {
103
- configs: {
104
- recommended: {
105
- plugins: {};
106
- name?: string;
107
- rules?: Record<string, RuleConfig>;
108
- settings?: _eslint_react_shared7.SettingsConfig;
109
- };
110
- };
111
- meta: {
112
- name: string;
113
- version: string;
114
- };
115
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
116
- };
117
- "@eslint-react/naming-convention": {
118
- configs: {
119
- recommended: {
120
- plugins: {};
121
- name?: string;
122
- rules?: Record<string, RuleConfig>;
123
- settings?: _eslint_react_shared7.SettingsConfig;
124
- };
125
- };
126
- meta: {
127
- name: string;
128
- version: string;
129
- };
130
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
131
- };
132
- "@eslint-react/web-api": {
133
- configs: {
134
- recommended: {
135
- plugins: {};
136
- name?: string;
137
- rules?: Record<string, RuleConfig>;
138
- settings?: _eslint_react_shared7.SettingsConfig;
139
- };
140
- };
141
- meta: {
142
- name: string;
143
- version: string;
144
- };
145
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
146
- };
147
- "@eslint-react/dom": {
148
- configs: {
149
- recommended: {
150
- plugins: {};
151
- name?: string;
152
- rules?: Record<string, RuleConfig>;
153
- settings?: _eslint_react_shared7.SettingsConfig;
154
- };
155
- strict: {
156
- plugins: {};
157
- name?: string;
158
- rules?: Record<string, RuleConfig>;
159
- settings?: _eslint_react_shared7.SettingsConfig;
160
- };
161
- };
162
- meta: {
163
- name: string;
164
- version: string;
165
- };
166
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
167
- };
168
- "@eslint-react": {
169
- configs: {
170
- recommended: {
171
- plugins: {};
172
- name?: string;
173
- rules?: Record<string, RuleConfig>;
174
- settings?: _eslint_react_shared7.SettingsConfig;
175
- };
176
- "recommended-typescript": {
177
- plugins: {};
178
- name?: string;
179
- rules?: Record<string, RuleConfig>;
180
- settings?: _eslint_react_shared7.SettingsConfig;
181
- };
182
- "recommended-type-checked": {
183
- plugins: {};
184
- name?: string;
185
- rules?: Record<string, RuleConfig>;
186
- settings?: _eslint_react_shared7.SettingsConfig;
187
- };
188
- strict: {
189
- plugins: {};
190
- name?: string;
191
- rules?: Record<string, RuleConfig>;
192
- settings?: _eslint_react_shared7.SettingsConfig;
193
- };
194
- "strict-typescript": {
195
- plugins: {};
196
- name?: string;
197
- rules?: Record<string, RuleConfig>;
198
- settings?: _eslint_react_shared7.SettingsConfig;
199
- };
200
- "strict-type-checked": {
201
- plugins: {};
202
- name?: string;
203
- rules?: Record<string, RuleConfig>;
204
- settings?: _eslint_react_shared7.SettingsConfig;
205
- };
206
- };
207
- meta: {
208
- name: string;
209
- version: string;
210
- };
211
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
212
- };
213
- };
214
- declare const settings$8: {
215
- "react-x": {
216
- readonly version: "detect";
217
- readonly importSource: "react";
218
- readonly polymorphicPropName: "as";
219
- };
220
- };
221
- declare namespace disable_conflict_eslint_plugin_react_d_exports {
222
- export { name$14 as name, rules$14 as rules };
223
- }
224
- declare const name$14 = "@eslint-react/disable-conflict-eslint-plugin-react";
225
- declare const rules$14: Record<string, RuleConfig>;
226
- declare namespace disable_dom_d_exports {
227
- export { name$13 as name, rules$13 as rules };
228
- }
229
- declare const name$13 = "@eslint-react/disable-dom";
230
- declare const rules$13: Record<string, RuleConfig>;
231
- declare namespace disable_type_checked_d_exports {
232
- export { name$12 as name, rules$12 as rules };
233
- }
234
- declare const name$12 = "@eslint-react/disable-type-checked";
235
- declare const rules$12: Record<string, RuleConfig>;
236
- declare namespace disable_web_api_d_exports {
237
- export { name$11 as name, rules$11 as rules };
238
- }
239
- declare const name$11 = "@eslint-react/disable-web-api";
240
- declare const rules$11: Record<string, RuleConfig>;
241
- declare namespace dom_d_exports {
242
- export { name$10 as name, plugins$9 as plugins, rules$10 as rules };
243
- }
244
- declare const name$10 = "@eslint-react/dom";
245
- declare const rules$10: {
246
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
247
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
248
- readonly "@eslint-react/dom/no-find-dom-node": "error";
249
- readonly "@eslint-react/dom/no-flush-sync": "error";
250
- readonly "@eslint-react/dom/no-hydrate": "error";
251
- readonly "@eslint-react/dom/no-namespace": "error";
252
- readonly "@eslint-react/dom/no-render": "error";
253
- readonly "@eslint-react/dom/no-render-return-value": "error";
254
- readonly "@eslint-react/dom/no-script-url": "warn";
255
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
256
- readonly "@eslint-react/dom/no-use-form-state": "error";
257
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
258
- };
259
- declare const plugins$9: {
260
- "@eslint-react/dom": {
261
- configs: {
262
- recommended: {
263
- plugins: {};
264
- name?: string;
265
- rules?: Record<string, RuleConfig>;
266
- settings?: _eslint_react_shared7.SettingsConfig;
267
- };
268
- strict: {
269
- plugins: {};
270
- name?: string;
271
- rules?: Record<string, RuleConfig>;
272
- settings?: _eslint_react_shared7.SettingsConfig;
273
- };
274
- };
275
- meta: {
276
- name: string;
277
- version: string;
278
- };
279
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
280
- };
281
- };
282
- declare namespace no_deprecated_d_exports {
283
- export { name$9 as name, plugins$8 as plugins, rules$9 as rules };
284
- }
285
- declare const name$9 = "@eslint-react/no-deprecated";
286
- declare const rules$9: {
287
- readonly "@eslint-react/no-component-will-mount": "error";
288
- readonly "@eslint-react/no-component-will-receive-props": "error";
289
- readonly "@eslint-react/no-component-will-update": "error";
290
- readonly "@eslint-react/no-create-ref": "error";
291
- readonly "@eslint-react/no-forward-ref": "error";
292
- readonly "@eslint-react/dom/no-find-dom-node": "error";
293
- readonly "@eslint-react/dom/no-hydrate": "error";
294
- readonly "@eslint-react/dom/no-render": "error";
295
- readonly "@eslint-react/dom/no-render-return-value": "error";
296
- };
297
- declare const plugins$8: {
298
- "@eslint-react/dom": {
299
- configs: {
300
- recommended: {
301
- plugins: {};
302
- name?: string;
303
- rules?: Record<string, RuleConfig>;
304
- settings?: _eslint_react_shared7.SettingsConfig;
305
- };
306
- strict: {
307
- plugins: {};
308
- name?: string;
309
- rules?: Record<string, RuleConfig>;
310
- settings?: _eslint_react_shared7.SettingsConfig;
311
- };
312
- };
313
- meta: {
314
- name: string;
315
- version: string;
316
- };
317
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
318
- };
319
- "@eslint-react": {
320
- configs: {
321
- recommended: {
322
- plugins: {};
323
- name?: string;
324
- rules?: Record<string, RuleConfig>;
325
- settings?: _eslint_react_shared7.SettingsConfig;
326
- };
327
- "recommended-typescript": {
328
- plugins: {};
329
- name?: string;
330
- rules?: Record<string, RuleConfig>;
331
- settings?: _eslint_react_shared7.SettingsConfig;
332
- };
333
- "recommended-type-checked": {
334
- plugins: {};
335
- name?: string;
336
- rules?: Record<string, RuleConfig>;
337
- settings?: _eslint_react_shared7.SettingsConfig;
338
- };
339
- strict: {
340
- plugins: {};
341
- name?: string;
342
- rules?: Record<string, RuleConfig>;
343
- settings?: _eslint_react_shared7.SettingsConfig;
344
- };
345
- "strict-typescript": {
346
- plugins: {};
347
- name?: string;
348
- rules?: Record<string, RuleConfig>;
349
- settings?: _eslint_react_shared7.SettingsConfig;
350
- };
351
- "strict-type-checked": {
352
- plugins: {};
353
- name?: string;
354
- rules?: Record<string, RuleConfig>;
355
- settings?: _eslint_react_shared7.SettingsConfig;
356
- };
357
- };
358
- meta: {
359
- name: string;
360
- version: string;
361
- };
362
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
363
- };
364
- };
365
- declare namespace off_d_exports {
366
- export { name$8 as name, rules$8 as rules };
367
- }
368
- declare const name$8 = "@eslint-react/off";
369
- declare const rules$8: Record<string, RuleConfig>;
370
- declare namespace recommended_d_exports {
371
- export { name$7 as name, plugins$7 as plugins, rules$7 as rules, settings$7 as settings };
372
- }
373
- declare const name$7 = "@eslint-react/recommended";
374
- declare const rules$7: {
375
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
376
- readonly "@eslint-react/naming-convention/context-name": "warn";
377
- readonly "@eslint-react/naming-convention/use-state": "warn";
378
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
379
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
380
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
381
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
382
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
383
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
384
- readonly "@eslint-react/dom/no-find-dom-node": "error";
385
- readonly "@eslint-react/dom/no-flush-sync": "error";
386
- readonly "@eslint-react/dom/no-hydrate": "error";
387
- readonly "@eslint-react/dom/no-namespace": "error";
388
- readonly "@eslint-react/dom/no-render": "error";
389
- readonly "@eslint-react/dom/no-render-return-value": "error";
390
- readonly "@eslint-react/dom/no-script-url": "warn";
391
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
392
- readonly "@eslint-react/dom/no-use-form-state": "error";
393
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
394
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
395
- readonly "@eslint-react/jsx-no-duplicate-props": "warn";
396
- readonly "@eslint-react/jsx-uses-react": "warn";
397
- readonly "@eslint-react/jsx-uses-vars": "warn";
398
- readonly "@eslint-react/no-access-state-in-setstate": "error";
399
- readonly "@eslint-react/no-array-index-key": "warn";
400
- readonly "@eslint-react/no-children-count": "warn";
401
- readonly "@eslint-react/no-children-for-each": "warn";
402
- readonly "@eslint-react/no-children-map": "warn";
403
- readonly "@eslint-react/no-children-only": "warn";
404
- readonly "@eslint-react/no-children-to-array": "warn";
405
- readonly "@eslint-react/no-clone-element": "warn";
406
- readonly "@eslint-react/no-component-will-mount": "error";
407
- readonly "@eslint-react/no-component-will-receive-props": "error";
408
- readonly "@eslint-react/no-component-will-update": "error";
409
- readonly "@eslint-react/no-context-provider": "warn";
410
- readonly "@eslint-react/no-create-ref": "error";
411
- readonly "@eslint-react/no-default-props": "error";
412
- readonly "@eslint-react/no-direct-mutation-state": "error";
413
- readonly "@eslint-react/no-duplicate-key": "error";
414
- readonly "@eslint-react/no-forward-ref": "warn";
415
- readonly "@eslint-react/no-implicit-key": "warn";
416
- readonly "@eslint-react/no-missing-key": "error";
417
- readonly "@eslint-react/no-nested-component-definitions": "error";
418
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
419
- readonly "@eslint-react/no-prop-types": "error";
420
- readonly "@eslint-react/no-redundant-should-component-update": "error";
421
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
422
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
423
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
424
- readonly "@eslint-react/no-string-refs": "error";
425
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
426
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
427
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
428
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
429
- readonly "@eslint-react/no-unused-class-component-members": "warn";
430
- readonly "@eslint-react/no-use-context": "warn";
431
- readonly "@eslint-react/no-useless-forward-ref": "warn";
432
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
433
- };
434
- declare const plugins$7: {
435
- "@eslint-react/hooks-extra": {
436
- configs: {
437
- recommended: {
438
- plugins: {};
439
- name?: string;
440
- rules?: Record<string, RuleConfig>;
441
- settings?: _eslint_react_shared7.SettingsConfig;
442
- };
443
- };
444
- meta: {
445
- name: string;
446
- version: string;
447
- };
448
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
449
- };
450
- "@eslint-react/naming-convention": {
451
- configs: {
452
- recommended: {
453
- plugins: {};
454
- name?: string;
455
- rules?: Record<string, RuleConfig>;
456
- settings?: _eslint_react_shared7.SettingsConfig;
457
- };
458
- };
459
- meta: {
460
- name: string;
461
- version: string;
462
- };
463
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
464
- };
465
- "@eslint-react/web-api": {
466
- configs: {
467
- recommended: {
468
- plugins: {};
469
- name?: string;
470
- rules?: Record<string, RuleConfig>;
471
- settings?: _eslint_react_shared7.SettingsConfig;
472
- };
473
- };
474
- meta: {
475
- name: string;
476
- version: string;
477
- };
478
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
479
- };
480
- "@eslint-react/dom": {
481
- configs: {
482
- recommended: {
483
- plugins: {};
484
- name?: string;
485
- rules?: Record<string, RuleConfig>;
486
- settings?: _eslint_react_shared7.SettingsConfig;
487
- };
488
- strict: {
489
- plugins: {};
490
- name?: string;
491
- rules?: Record<string, RuleConfig>;
492
- settings?: _eslint_react_shared7.SettingsConfig;
493
- };
494
- };
495
- meta: {
496
- name: string;
497
- version: string;
498
- };
499
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
500
- };
501
- "@eslint-react": {
502
- configs: {
503
- recommended: {
504
- plugins: {};
505
- name?: string;
506
- rules?: Record<string, RuleConfig>;
507
- settings?: _eslint_react_shared7.SettingsConfig;
508
- };
509
- "recommended-typescript": {
510
- plugins: {};
511
- name?: string;
512
- rules?: Record<string, RuleConfig>;
513
- settings?: _eslint_react_shared7.SettingsConfig;
514
- };
515
- "recommended-type-checked": {
516
- plugins: {};
517
- name?: string;
518
- rules?: Record<string, RuleConfig>;
519
- settings?: _eslint_react_shared7.SettingsConfig;
520
- };
521
- strict: {
522
- plugins: {};
523
- name?: string;
524
- rules?: Record<string, RuleConfig>;
525
- settings?: _eslint_react_shared7.SettingsConfig;
526
- };
527
- "strict-typescript": {
528
- plugins: {};
529
- name?: string;
530
- rules?: Record<string, RuleConfig>;
531
- settings?: _eslint_react_shared7.SettingsConfig;
532
- };
533
- "strict-type-checked": {
534
- plugins: {};
535
- name?: string;
536
- rules?: Record<string, RuleConfig>;
537
- settings?: _eslint_react_shared7.SettingsConfig;
538
- };
539
- };
540
- meta: {
541
- name: string;
542
- version: string;
543
- };
544
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
545
- };
546
- };
547
- declare const settings$7: {
548
- "react-x": {
549
- readonly version: "detect";
550
- readonly importSource: "react";
551
- readonly polymorphicPropName: "as";
552
- };
553
- };
554
- declare namespace recommended_type_checked_d_exports {
555
- export { name$6 as name, plugins$6 as plugins, rules$6 as rules, settings$6 as settings };
556
- }
557
- declare const name$6 = "@eslint-react/recommended-type-checked";
558
- declare const rules$6: {
559
- readonly "@eslint-react/no-leaked-conditional-rendering": "error";
560
- readonly "@eslint-react/dom/no-string-style-prop": "off";
561
- readonly "@eslint-react/dom/no-unknown-property": "off";
562
- readonly "@eslint-react/jsx-no-duplicate-props": "off";
563
- readonly "@eslint-react/jsx-no-undef": "off";
564
- readonly "@eslint-react/jsx-uses-react": "off";
565
- readonly "@eslint-react/jsx-uses-vars": "off";
566
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
567
- readonly "@eslint-react/naming-convention/context-name": "warn";
568
- readonly "@eslint-react/naming-convention/use-state": "warn";
569
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
570
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
571
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
572
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
573
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
574
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
575
- readonly "@eslint-react/dom/no-find-dom-node": "error";
576
- readonly "@eslint-react/dom/no-flush-sync": "error";
577
- readonly "@eslint-react/dom/no-hydrate": "error";
578
- readonly "@eslint-react/dom/no-namespace": "error";
579
- readonly "@eslint-react/dom/no-render": "error";
580
- readonly "@eslint-react/dom/no-render-return-value": "error";
581
- readonly "@eslint-react/dom/no-script-url": "warn";
582
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
583
- readonly "@eslint-react/dom/no-use-form-state": "error";
584
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
585
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
586
- readonly "@eslint-react/no-access-state-in-setstate": "error";
587
- readonly "@eslint-react/no-array-index-key": "warn";
588
- readonly "@eslint-react/no-children-count": "warn";
589
- readonly "@eslint-react/no-children-for-each": "warn";
590
- readonly "@eslint-react/no-children-map": "warn";
591
- readonly "@eslint-react/no-children-only": "warn";
592
- readonly "@eslint-react/no-children-to-array": "warn";
593
- readonly "@eslint-react/no-clone-element": "warn";
594
- readonly "@eslint-react/no-component-will-mount": "error";
595
- readonly "@eslint-react/no-component-will-receive-props": "error";
596
- readonly "@eslint-react/no-component-will-update": "error";
597
- readonly "@eslint-react/no-context-provider": "warn";
598
- readonly "@eslint-react/no-create-ref": "error";
599
- readonly "@eslint-react/no-default-props": "error";
600
- readonly "@eslint-react/no-direct-mutation-state": "error";
601
- readonly "@eslint-react/no-duplicate-key": "error";
602
- readonly "@eslint-react/no-forward-ref": "warn";
603
- readonly "@eslint-react/no-implicit-key": "warn";
604
- readonly "@eslint-react/no-missing-key": "error";
605
- readonly "@eslint-react/no-nested-component-definitions": "error";
606
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
607
- readonly "@eslint-react/no-prop-types": "error";
608
- readonly "@eslint-react/no-redundant-should-component-update": "error";
609
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
610
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
611
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
612
- readonly "@eslint-react/no-string-refs": "error";
613
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
614
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
615
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
616
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
617
- readonly "@eslint-react/no-unused-class-component-members": "warn";
618
- readonly "@eslint-react/no-use-context": "warn";
619
- readonly "@eslint-react/no-useless-forward-ref": "warn";
620
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
621
- };
622
- declare const plugins$6: {
623
- "@eslint-react/hooks-extra": {
624
- configs: {
625
- recommended: {
626
- plugins: {};
627
- name?: string;
628
- rules?: Record<string, RuleConfig>;
629
- settings?: _eslint_react_shared7.SettingsConfig;
630
- };
631
- };
632
- meta: {
633
- name: string;
634
- version: string;
635
- };
636
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
637
- };
638
- "@eslint-react/naming-convention": {
639
- configs: {
640
- recommended: {
641
- plugins: {};
642
- name?: string;
643
- rules?: Record<string, RuleConfig>;
644
- settings?: _eslint_react_shared7.SettingsConfig;
645
- };
646
- };
647
- meta: {
648
- name: string;
649
- version: string;
650
- };
651
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
652
- };
653
- "@eslint-react/web-api": {
654
- configs: {
655
- recommended: {
656
- plugins: {};
657
- name?: string;
658
- rules?: Record<string, RuleConfig>;
659
- settings?: _eslint_react_shared7.SettingsConfig;
660
- };
661
- };
662
- meta: {
663
- name: string;
664
- version: string;
665
- };
666
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
667
- };
668
- "@eslint-react/dom": {
669
- configs: {
670
- recommended: {
671
- plugins: {};
672
- name?: string;
673
- rules?: Record<string, RuleConfig>;
674
- settings?: _eslint_react_shared7.SettingsConfig;
675
- };
676
- strict: {
677
- plugins: {};
678
- name?: string;
679
- rules?: Record<string, RuleConfig>;
680
- settings?: _eslint_react_shared7.SettingsConfig;
681
- };
682
- };
683
- meta: {
684
- name: string;
685
- version: string;
686
- };
687
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
688
- };
689
- "@eslint-react": {
690
- configs: {
691
- recommended: {
692
- plugins: {};
693
- name?: string;
694
- rules?: Record<string, RuleConfig>;
695
- settings?: _eslint_react_shared7.SettingsConfig;
696
- };
697
- "recommended-typescript": {
698
- plugins: {};
699
- name?: string;
700
- rules?: Record<string, RuleConfig>;
701
- settings?: _eslint_react_shared7.SettingsConfig;
702
- };
703
- "recommended-type-checked": {
704
- plugins: {};
705
- name?: string;
706
- rules?: Record<string, RuleConfig>;
707
- settings?: _eslint_react_shared7.SettingsConfig;
708
- };
709
- strict: {
710
- plugins: {};
711
- name?: string;
712
- rules?: Record<string, RuleConfig>;
713
- settings?: _eslint_react_shared7.SettingsConfig;
714
- };
715
- "strict-typescript": {
716
- plugins: {};
717
- name?: string;
718
- rules?: Record<string, RuleConfig>;
719
- settings?: _eslint_react_shared7.SettingsConfig;
720
- };
721
- "strict-type-checked": {
722
- plugins: {};
723
- name?: string;
724
- rules?: Record<string, RuleConfig>;
725
- settings?: _eslint_react_shared7.SettingsConfig;
726
- };
727
- };
728
- meta: {
729
- name: string;
730
- version: string;
731
- };
732
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
733
- };
734
- };
735
- declare const settings$6: {
736
- "react-x": {
737
- readonly version: "detect";
738
- readonly importSource: "react";
739
- readonly polymorphicPropName: "as";
740
- };
741
- };
742
- declare namespace recommended_typescript_d_exports {
743
- export { name$5 as name, plugins$5 as plugins, rules$5 as rules, settings$5 as settings };
744
- }
745
- declare const name$5 = "@eslint-react/recommended-typescript";
746
- declare const rules$5: {
747
- readonly "@eslint-react/dom/no-string-style-prop": "off";
748
- readonly "@eslint-react/dom/no-unknown-property": "off";
749
- readonly "@eslint-react/jsx-no-duplicate-props": "off";
750
- readonly "@eslint-react/jsx-no-undef": "off";
751
- readonly "@eslint-react/jsx-uses-react": "off";
752
- readonly "@eslint-react/jsx-uses-vars": "off";
753
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
754
- readonly "@eslint-react/naming-convention/context-name": "warn";
755
- readonly "@eslint-react/naming-convention/use-state": "warn";
756
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
757
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
758
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
759
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
760
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
761
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
762
- readonly "@eslint-react/dom/no-find-dom-node": "error";
763
- readonly "@eslint-react/dom/no-flush-sync": "error";
764
- readonly "@eslint-react/dom/no-hydrate": "error";
765
- readonly "@eslint-react/dom/no-namespace": "error";
766
- readonly "@eslint-react/dom/no-render": "error";
767
- readonly "@eslint-react/dom/no-render-return-value": "error";
768
- readonly "@eslint-react/dom/no-script-url": "warn";
769
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
770
- readonly "@eslint-react/dom/no-use-form-state": "error";
771
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
772
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
773
- readonly "@eslint-react/no-access-state-in-setstate": "error";
774
- readonly "@eslint-react/no-array-index-key": "warn";
775
- readonly "@eslint-react/no-children-count": "warn";
776
- readonly "@eslint-react/no-children-for-each": "warn";
777
- readonly "@eslint-react/no-children-map": "warn";
778
- readonly "@eslint-react/no-children-only": "warn";
779
- readonly "@eslint-react/no-children-to-array": "warn";
780
- readonly "@eslint-react/no-clone-element": "warn";
781
- readonly "@eslint-react/no-component-will-mount": "error";
782
- readonly "@eslint-react/no-component-will-receive-props": "error";
783
- readonly "@eslint-react/no-component-will-update": "error";
784
- readonly "@eslint-react/no-context-provider": "warn";
785
- readonly "@eslint-react/no-create-ref": "error";
786
- readonly "@eslint-react/no-default-props": "error";
787
- readonly "@eslint-react/no-direct-mutation-state": "error";
788
- readonly "@eslint-react/no-duplicate-key": "error";
789
- readonly "@eslint-react/no-forward-ref": "warn";
790
- readonly "@eslint-react/no-implicit-key": "warn";
791
- readonly "@eslint-react/no-missing-key": "error";
792
- readonly "@eslint-react/no-nested-component-definitions": "error";
793
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
794
- readonly "@eslint-react/no-prop-types": "error";
795
- readonly "@eslint-react/no-redundant-should-component-update": "error";
796
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
797
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
798
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
799
- readonly "@eslint-react/no-string-refs": "error";
800
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
801
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
802
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
803
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
804
- readonly "@eslint-react/no-unused-class-component-members": "warn";
805
- readonly "@eslint-react/no-use-context": "warn";
806
- readonly "@eslint-react/no-useless-forward-ref": "warn";
807
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
808
- };
809
- declare const plugins$5: {
810
- "@eslint-react/hooks-extra": {
811
- configs: {
812
- recommended: {
813
- plugins: {};
814
- name?: string;
815
- rules?: Record<string, RuleConfig>;
816
- settings?: _eslint_react_shared7.SettingsConfig;
817
- };
818
- };
819
- meta: {
820
- name: string;
821
- version: string;
822
- };
823
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
824
- };
825
- "@eslint-react/naming-convention": {
826
- configs: {
827
- recommended: {
828
- plugins: {};
829
- name?: string;
830
- rules?: Record<string, RuleConfig>;
831
- settings?: _eslint_react_shared7.SettingsConfig;
832
- };
833
- };
834
- meta: {
835
- name: string;
836
- version: string;
837
- };
838
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
839
- };
840
- "@eslint-react/web-api": {
841
- configs: {
842
- recommended: {
843
- plugins: {};
844
- name?: string;
845
- rules?: Record<string, RuleConfig>;
846
- settings?: _eslint_react_shared7.SettingsConfig;
847
- };
848
- };
849
- meta: {
850
- name: string;
851
- version: string;
852
- };
853
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
854
- };
855
- "@eslint-react/dom": {
856
- configs: {
857
- recommended: {
858
- plugins: {};
859
- name?: string;
860
- rules?: Record<string, RuleConfig>;
861
- settings?: _eslint_react_shared7.SettingsConfig;
862
- };
863
- strict: {
864
- plugins: {};
865
- name?: string;
866
- rules?: Record<string, RuleConfig>;
867
- settings?: _eslint_react_shared7.SettingsConfig;
868
- };
869
- };
870
- meta: {
871
- name: string;
872
- version: string;
873
- };
874
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
875
- };
876
- "@eslint-react": {
877
- configs: {
878
- recommended: {
879
- plugins: {};
880
- name?: string;
881
- rules?: Record<string, RuleConfig>;
882
- settings?: _eslint_react_shared7.SettingsConfig;
883
- };
884
- "recommended-typescript": {
885
- plugins: {};
886
- name?: string;
887
- rules?: Record<string, RuleConfig>;
888
- settings?: _eslint_react_shared7.SettingsConfig;
889
- };
890
- "recommended-type-checked": {
891
- plugins: {};
892
- name?: string;
893
- rules?: Record<string, RuleConfig>;
894
- settings?: _eslint_react_shared7.SettingsConfig;
895
- };
896
- strict: {
897
- plugins: {};
898
- name?: string;
899
- rules?: Record<string, RuleConfig>;
900
- settings?: _eslint_react_shared7.SettingsConfig;
901
- };
902
- "strict-typescript": {
903
- plugins: {};
904
- name?: string;
905
- rules?: Record<string, RuleConfig>;
906
- settings?: _eslint_react_shared7.SettingsConfig;
907
- };
908
- "strict-type-checked": {
909
- plugins: {};
910
- name?: string;
911
- rules?: Record<string, RuleConfig>;
912
- settings?: _eslint_react_shared7.SettingsConfig;
913
- };
914
- };
915
- meta: {
916
- name: string;
917
- version: string;
918
- };
919
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
920
- };
921
- };
922
- declare const settings$5: {
923
- "react-x": {
924
- readonly version: "detect";
925
- readonly importSource: "react";
926
- readonly polymorphicPropName: "as";
927
- };
928
- };
929
- declare namespace strict_d_exports {
930
- export { name$4 as name, plugins$4 as plugins, rules$4 as rules, settings$4 as settings };
931
- }
932
- declare const name$4 = "@eslint-react/strict";
933
- declare const rules$4: {
934
- readonly "@eslint-react/jsx-no-iife": "error";
935
- readonly "@eslint-react/no-children-prop": "warn";
936
- readonly "@eslint-react/no-class-component": "error";
937
- readonly "@eslint-react/no-misused-capture-owner-stack": "error";
938
- readonly "@eslint-react/no-unnecessary-key": "warn";
939
- readonly "@eslint-react/no-unnecessary-use-callback": "warn";
940
- readonly "@eslint-react/no-unnecessary-use-memo": "warn";
941
- readonly "@eslint-react/no-unstable-context-value": "warn";
942
- readonly "@eslint-react/no-unstable-default-props": "warn";
943
- readonly "@eslint-react/no-unused-state": "warn";
944
- readonly "@eslint-react/no-useless-fragment": "warn";
945
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
946
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
947
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
948
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
949
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
950
- readonly "@eslint-react/naming-convention/context-name": "warn";
951
- readonly "@eslint-react/naming-convention/use-state": "warn";
952
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
953
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
954
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
955
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
956
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
957
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
958
- readonly "@eslint-react/dom/no-find-dom-node": "error";
959
- readonly "@eslint-react/dom/no-flush-sync": "error";
960
- readonly "@eslint-react/dom/no-hydrate": "error";
961
- readonly "@eslint-react/dom/no-namespace": "error";
962
- readonly "@eslint-react/dom/no-render": "error";
963
- readonly "@eslint-react/dom/no-render-return-value": "error";
964
- readonly "@eslint-react/dom/no-script-url": "warn";
965
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
966
- readonly "@eslint-react/dom/no-use-form-state": "error";
967
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
968
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
969
- readonly "@eslint-react/jsx-no-duplicate-props": "warn";
970
- readonly "@eslint-react/jsx-uses-react": "warn";
971
- readonly "@eslint-react/jsx-uses-vars": "warn";
972
- readonly "@eslint-react/no-access-state-in-setstate": "error";
973
- readonly "@eslint-react/no-array-index-key": "warn";
974
- readonly "@eslint-react/no-children-count": "warn";
975
- readonly "@eslint-react/no-children-for-each": "warn";
976
- readonly "@eslint-react/no-children-map": "warn";
977
- readonly "@eslint-react/no-children-only": "warn";
978
- readonly "@eslint-react/no-children-to-array": "warn";
979
- readonly "@eslint-react/no-clone-element": "warn";
980
- readonly "@eslint-react/no-component-will-mount": "error";
981
- readonly "@eslint-react/no-component-will-receive-props": "error";
982
- readonly "@eslint-react/no-component-will-update": "error";
983
- readonly "@eslint-react/no-context-provider": "warn";
984
- readonly "@eslint-react/no-create-ref": "error";
985
- readonly "@eslint-react/no-default-props": "error";
986
- readonly "@eslint-react/no-direct-mutation-state": "error";
987
- readonly "@eslint-react/no-duplicate-key": "error";
988
- readonly "@eslint-react/no-forward-ref": "warn";
989
- readonly "@eslint-react/no-implicit-key": "warn";
990
- readonly "@eslint-react/no-missing-key": "error";
991
- readonly "@eslint-react/no-nested-component-definitions": "error";
992
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
993
- readonly "@eslint-react/no-prop-types": "error";
994
- readonly "@eslint-react/no-redundant-should-component-update": "error";
995
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
996
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
997
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
998
- readonly "@eslint-react/no-string-refs": "error";
999
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
1000
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1001
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1002
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1003
- readonly "@eslint-react/no-unused-class-component-members": "warn";
1004
- readonly "@eslint-react/no-use-context": "warn";
1005
- readonly "@eslint-react/no-useless-forward-ref": "warn";
1006
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
1007
- };
1008
- declare const plugins$4: {
1009
- "@eslint-react/hooks-extra": {
1010
- configs: {
1011
- recommended: {
1012
- plugins: {};
1013
- name?: string;
1014
- rules?: Record<string, RuleConfig>;
1015
- settings?: _eslint_react_shared7.SettingsConfig;
1016
- };
1017
- };
1018
- meta: {
1019
- name: string;
1020
- version: string;
1021
- };
1022
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1023
- };
1024
- "@eslint-react/naming-convention": {
1025
- configs: {
1026
- recommended: {
1027
- plugins: {};
1028
- name?: string;
1029
- rules?: Record<string, RuleConfig>;
1030
- settings?: _eslint_react_shared7.SettingsConfig;
1031
- };
1032
- };
1033
- meta: {
1034
- name: string;
1035
- version: string;
1036
- };
1037
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1038
- };
1039
- "@eslint-react/web-api": {
1040
- configs: {
1041
- recommended: {
1042
- plugins: {};
1043
- name?: string;
1044
- rules?: Record<string, RuleConfig>;
1045
- settings?: _eslint_react_shared7.SettingsConfig;
1046
- };
1047
- };
1048
- meta: {
1049
- name: string;
1050
- version: string;
1051
- };
1052
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1053
- };
1054
- "@eslint-react/dom": {
1055
- configs: {
1056
- recommended: {
1057
- plugins: {};
1058
- name?: string;
1059
- rules?: Record<string, RuleConfig>;
1060
- settings?: _eslint_react_shared7.SettingsConfig;
1061
- };
1062
- strict: {
1063
- plugins: {};
1064
- name?: string;
1065
- rules?: Record<string, RuleConfig>;
1066
- settings?: _eslint_react_shared7.SettingsConfig;
1067
- };
1068
- };
1069
- meta: {
1070
- name: string;
1071
- version: string;
1072
- };
1073
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1074
- };
1075
- "@eslint-react": {
1076
- configs: {
1077
- recommended: {
1078
- plugins: {};
1079
- name?: string;
1080
- rules?: Record<string, RuleConfig>;
1081
- settings?: _eslint_react_shared7.SettingsConfig;
1082
- };
1083
- "recommended-typescript": {
1084
- plugins: {};
1085
- name?: string;
1086
- rules?: Record<string, RuleConfig>;
1087
- settings?: _eslint_react_shared7.SettingsConfig;
1088
- };
1089
- "recommended-type-checked": {
1090
- plugins: {};
1091
- name?: string;
1092
- rules?: Record<string, RuleConfig>;
1093
- settings?: _eslint_react_shared7.SettingsConfig;
1094
- };
1095
- strict: {
1096
- plugins: {};
1097
- name?: string;
1098
- rules?: Record<string, RuleConfig>;
1099
- settings?: _eslint_react_shared7.SettingsConfig;
1100
- };
1101
- "strict-typescript": {
1102
- plugins: {};
1103
- name?: string;
1104
- rules?: Record<string, RuleConfig>;
1105
- settings?: _eslint_react_shared7.SettingsConfig;
1106
- };
1107
- "strict-type-checked": {
1108
- plugins: {};
1109
- name?: string;
1110
- rules?: Record<string, RuleConfig>;
1111
- settings?: _eslint_react_shared7.SettingsConfig;
1112
- };
1113
- };
1114
- meta: {
1115
- name: string;
1116
- version: string;
1117
- };
1118
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1119
- };
1120
- };
1121
- declare const settings$4: {
1122
- "react-x": {
1123
- readonly version: "detect";
1124
- readonly importSource: "react";
1125
- readonly polymorphicPropName: "as";
1126
- };
1127
- };
1128
- declare namespace strict_type_checked_d_exports {
1129
- export { name$3 as name, plugins$3 as plugins, rules$3 as rules, settings$3 as settings };
1130
- }
1131
- declare const name$3 = "@eslint-react/strict-type-checked";
1132
- declare const rules$3: {
1133
- readonly "@eslint-react/no-leaked-conditional-rendering": "error";
1134
- readonly "@eslint-react/no-unused-props": "warn";
1135
- readonly "@eslint-react/dom/no-string-style-prop": "off";
1136
- readonly "@eslint-react/dom/no-unknown-property": "off";
1137
- readonly "@eslint-react/jsx-no-duplicate-props": "off";
1138
- readonly "@eslint-react/jsx-no-undef": "off";
1139
- readonly "@eslint-react/jsx-uses-react": "off";
1140
- readonly "@eslint-react/jsx-uses-vars": "off";
1141
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1142
- readonly "@eslint-react/naming-convention/context-name": "warn";
1143
- readonly "@eslint-react/naming-convention/use-state": "warn";
1144
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
1145
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
1146
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
1147
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
1148
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
1149
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
1150
- readonly "@eslint-react/dom/no-find-dom-node": "error";
1151
- readonly "@eslint-react/dom/no-flush-sync": "error";
1152
- readonly "@eslint-react/dom/no-hydrate": "error";
1153
- readonly "@eslint-react/dom/no-namespace": "error";
1154
- readonly "@eslint-react/dom/no-render": "error";
1155
- readonly "@eslint-react/dom/no-render-return-value": "error";
1156
- readonly "@eslint-react/dom/no-script-url": "warn";
1157
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1158
- readonly "@eslint-react/dom/no-use-form-state": "error";
1159
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
1160
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
1161
- readonly "@eslint-react/no-access-state-in-setstate": "error";
1162
- readonly "@eslint-react/no-array-index-key": "warn";
1163
- readonly "@eslint-react/no-children-count": "warn";
1164
- readonly "@eslint-react/no-children-for-each": "warn";
1165
- readonly "@eslint-react/no-children-map": "warn";
1166
- readonly "@eslint-react/no-children-only": "warn";
1167
- readonly "@eslint-react/no-children-to-array": "warn";
1168
- readonly "@eslint-react/no-clone-element": "warn";
1169
- readonly "@eslint-react/no-component-will-mount": "error";
1170
- readonly "@eslint-react/no-component-will-receive-props": "error";
1171
- readonly "@eslint-react/no-component-will-update": "error";
1172
- readonly "@eslint-react/no-context-provider": "warn";
1173
- readonly "@eslint-react/no-create-ref": "error";
1174
- readonly "@eslint-react/no-default-props": "error";
1175
- readonly "@eslint-react/no-direct-mutation-state": "error";
1176
- readonly "@eslint-react/no-duplicate-key": "error";
1177
- readonly "@eslint-react/no-forward-ref": "warn";
1178
- readonly "@eslint-react/no-implicit-key": "warn";
1179
- readonly "@eslint-react/no-missing-key": "error";
1180
- readonly "@eslint-react/no-nested-component-definitions": "error";
1181
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
1182
- readonly "@eslint-react/no-prop-types": "error";
1183
- readonly "@eslint-react/no-redundant-should-component-update": "error";
1184
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
1185
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
1186
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
1187
- readonly "@eslint-react/no-string-refs": "error";
1188
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
1189
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1190
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1191
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1192
- readonly "@eslint-react/no-unused-class-component-members": "warn";
1193
- readonly "@eslint-react/no-use-context": "warn";
1194
- readonly "@eslint-react/no-useless-forward-ref": "warn";
1195
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
1196
- readonly "@eslint-react/jsx-no-iife": "error";
1197
- readonly "@eslint-react/no-children-prop": "warn";
1198
- readonly "@eslint-react/no-class-component": "error";
1199
- readonly "@eslint-react/no-misused-capture-owner-stack": "error";
1200
- readonly "@eslint-react/no-unnecessary-key": "warn";
1201
- readonly "@eslint-react/no-unnecessary-use-callback": "warn";
1202
- readonly "@eslint-react/no-unnecessary-use-memo": "warn";
1203
- readonly "@eslint-react/no-unstable-context-value": "warn";
1204
- readonly "@eslint-react/no-unstable-default-props": "warn";
1205
- readonly "@eslint-react/no-unused-state": "warn";
1206
- readonly "@eslint-react/no-useless-fragment": "warn";
1207
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
1208
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
1209
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
1210
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1211
- };
1212
- declare const plugins$3: {
1213
- "@eslint-react/hooks-extra": {
1214
- configs: {
1215
- recommended: {
1216
- plugins: {};
1217
- name?: string;
1218
- rules?: Record<string, RuleConfig>;
1219
- settings?: _eslint_react_shared7.SettingsConfig;
1220
- };
1221
- };
1222
- meta: {
1223
- name: string;
1224
- version: string;
1225
- };
1226
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1227
- };
1228
- "@eslint-react/naming-convention": {
1229
- configs: {
1230
- recommended: {
1231
- plugins: {};
1232
- name?: string;
1233
- rules?: Record<string, RuleConfig>;
1234
- settings?: _eslint_react_shared7.SettingsConfig;
1235
- };
1236
- };
1237
- meta: {
1238
- name: string;
1239
- version: string;
1240
- };
1241
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1242
- };
1243
- "@eslint-react/web-api": {
1244
- configs: {
1245
- recommended: {
1246
- plugins: {};
1247
- name?: string;
1248
- rules?: Record<string, RuleConfig>;
1249
- settings?: _eslint_react_shared7.SettingsConfig;
1250
- };
1251
- };
1252
- meta: {
1253
- name: string;
1254
- version: string;
1255
- };
1256
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1257
- };
1258
- "@eslint-react/dom": {
1259
- configs: {
1260
- recommended: {
1261
- plugins: {};
1262
- name?: string;
1263
- rules?: Record<string, RuleConfig>;
1264
- settings?: _eslint_react_shared7.SettingsConfig;
1265
- };
1266
- strict: {
1267
- plugins: {};
1268
- name?: string;
1269
- rules?: Record<string, RuleConfig>;
1270
- settings?: _eslint_react_shared7.SettingsConfig;
1271
- };
1272
- };
1273
- meta: {
1274
- name: string;
1275
- version: string;
1276
- };
1277
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1278
- };
1279
- "@eslint-react": {
1280
- configs: {
1281
- recommended: {
1282
- plugins: {};
1283
- name?: string;
1284
- rules?: Record<string, RuleConfig>;
1285
- settings?: _eslint_react_shared7.SettingsConfig;
1286
- };
1287
- "recommended-typescript": {
1288
- plugins: {};
1289
- name?: string;
1290
- rules?: Record<string, RuleConfig>;
1291
- settings?: _eslint_react_shared7.SettingsConfig;
1292
- };
1293
- "recommended-type-checked": {
1294
- plugins: {};
1295
- name?: string;
1296
- rules?: Record<string, RuleConfig>;
1297
- settings?: _eslint_react_shared7.SettingsConfig;
1298
- };
1299
- strict: {
1300
- plugins: {};
1301
- name?: string;
1302
- rules?: Record<string, RuleConfig>;
1303
- settings?: _eslint_react_shared7.SettingsConfig;
1304
- };
1305
- "strict-typescript": {
1306
- plugins: {};
1307
- name?: string;
1308
- rules?: Record<string, RuleConfig>;
1309
- settings?: _eslint_react_shared7.SettingsConfig;
1310
- };
1311
- "strict-type-checked": {
1312
- plugins: {};
1313
- name?: string;
1314
- rules?: Record<string, RuleConfig>;
1315
- settings?: _eslint_react_shared7.SettingsConfig;
1316
- };
1317
- };
1318
- meta: {
1319
- name: string;
1320
- version: string;
1321
- };
1322
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1323
- };
1324
- };
1325
- declare const settings$3: {
1326
- "react-x": {
1327
- readonly version: "detect";
1328
- readonly importSource: "react";
1329
- readonly polymorphicPropName: "as";
1330
- };
1331
- };
1332
- declare namespace strict_typescript_d_exports {
1333
- export { name$2 as name, plugins$2 as plugins, rules$2 as rules, settings$2 as settings };
1334
- }
1335
- declare const name$2 = "@eslint-react/strict-typescript";
1336
- declare const rules$2: {
1337
- readonly "@eslint-react/dom/no-string-style-prop": "off";
1338
- readonly "@eslint-react/dom/no-unknown-property": "off";
1339
- readonly "@eslint-react/jsx-no-duplicate-props": "off";
1340
- readonly "@eslint-react/jsx-no-undef": "off";
1341
- readonly "@eslint-react/jsx-uses-react": "off";
1342
- readonly "@eslint-react/jsx-uses-vars": "off";
1343
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1344
- readonly "@eslint-react/naming-convention/context-name": "warn";
1345
- readonly "@eslint-react/naming-convention/use-state": "warn";
1346
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
1347
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
1348
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
1349
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
1350
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
1351
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
1352
- readonly "@eslint-react/dom/no-find-dom-node": "error";
1353
- readonly "@eslint-react/dom/no-flush-sync": "error";
1354
- readonly "@eslint-react/dom/no-hydrate": "error";
1355
- readonly "@eslint-react/dom/no-namespace": "error";
1356
- readonly "@eslint-react/dom/no-render": "error";
1357
- readonly "@eslint-react/dom/no-render-return-value": "error";
1358
- readonly "@eslint-react/dom/no-script-url": "warn";
1359
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1360
- readonly "@eslint-react/dom/no-use-form-state": "error";
1361
- readonly "@eslint-react/dom/no-void-elements-with-children": "error";
1362
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
1363
- readonly "@eslint-react/no-access-state-in-setstate": "error";
1364
- readonly "@eslint-react/no-array-index-key": "warn";
1365
- readonly "@eslint-react/no-children-count": "warn";
1366
- readonly "@eslint-react/no-children-for-each": "warn";
1367
- readonly "@eslint-react/no-children-map": "warn";
1368
- readonly "@eslint-react/no-children-only": "warn";
1369
- readonly "@eslint-react/no-children-to-array": "warn";
1370
- readonly "@eslint-react/no-clone-element": "warn";
1371
- readonly "@eslint-react/no-component-will-mount": "error";
1372
- readonly "@eslint-react/no-component-will-receive-props": "error";
1373
- readonly "@eslint-react/no-component-will-update": "error";
1374
- readonly "@eslint-react/no-context-provider": "warn";
1375
- readonly "@eslint-react/no-create-ref": "error";
1376
- readonly "@eslint-react/no-default-props": "error";
1377
- readonly "@eslint-react/no-direct-mutation-state": "error";
1378
- readonly "@eslint-react/no-duplicate-key": "error";
1379
- readonly "@eslint-react/no-forward-ref": "warn";
1380
- readonly "@eslint-react/no-implicit-key": "warn";
1381
- readonly "@eslint-react/no-missing-key": "error";
1382
- readonly "@eslint-react/no-nested-component-definitions": "error";
1383
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
1384
- readonly "@eslint-react/no-prop-types": "error";
1385
- readonly "@eslint-react/no-redundant-should-component-update": "error";
1386
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
1387
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
1388
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
1389
- readonly "@eslint-react/no-string-refs": "error";
1390
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
1391
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1392
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1393
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1394
- readonly "@eslint-react/no-unused-class-component-members": "warn";
1395
- readonly "@eslint-react/no-use-context": "warn";
1396
- readonly "@eslint-react/no-useless-forward-ref": "warn";
1397
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
1398
- readonly "@eslint-react/jsx-no-iife": "error";
1399
- readonly "@eslint-react/no-children-prop": "warn";
1400
- readonly "@eslint-react/no-class-component": "error";
1401
- readonly "@eslint-react/no-misused-capture-owner-stack": "error";
1402
- readonly "@eslint-react/no-unnecessary-key": "warn";
1403
- readonly "@eslint-react/no-unnecessary-use-callback": "warn";
1404
- readonly "@eslint-react/no-unnecessary-use-memo": "warn";
1405
- readonly "@eslint-react/no-unstable-context-value": "warn";
1406
- readonly "@eslint-react/no-unstable-default-props": "warn";
1407
- readonly "@eslint-react/no-unused-state": "warn";
1408
- readonly "@eslint-react/no-useless-fragment": "warn";
1409
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
1410
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
1411
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
1412
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1413
- };
1414
- declare const plugins$2: {
1415
- "@eslint-react/hooks-extra": {
1416
- configs: {
1417
- recommended: {
1418
- plugins: {};
1419
- name?: string;
1420
- rules?: Record<string, RuleConfig>;
1421
- settings?: _eslint_react_shared7.SettingsConfig;
1422
- };
1423
- };
1424
- meta: {
1425
- name: string;
1426
- version: string;
1427
- };
1428
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1429
- };
1430
- "@eslint-react/naming-convention": {
1431
- configs: {
1432
- recommended: {
1433
- plugins: {};
1434
- name?: string;
1435
- rules?: Record<string, RuleConfig>;
1436
- settings?: _eslint_react_shared7.SettingsConfig;
1437
- };
1438
- };
1439
- meta: {
1440
- name: string;
1441
- version: string;
1442
- };
1443
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1444
- };
1445
- "@eslint-react/web-api": {
1446
- configs: {
1447
- recommended: {
1448
- plugins: {};
1449
- name?: string;
1450
- rules?: Record<string, RuleConfig>;
1451
- settings?: _eslint_react_shared7.SettingsConfig;
1452
- };
1453
- };
1454
- meta: {
1455
- name: string;
1456
- version: string;
1457
- };
1458
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1459
- };
1460
- "@eslint-react/dom": {
1461
- configs: {
1462
- recommended: {
1463
- plugins: {};
1464
- name?: string;
1465
- rules?: Record<string, RuleConfig>;
1466
- settings?: _eslint_react_shared7.SettingsConfig;
1467
- };
1468
- strict: {
1469
- plugins: {};
1470
- name?: string;
1471
- rules?: Record<string, RuleConfig>;
1472
- settings?: _eslint_react_shared7.SettingsConfig;
1473
- };
1474
- };
1475
- meta: {
1476
- name: string;
1477
- version: string;
1478
- };
1479
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1480
- };
1481
- "@eslint-react": {
1482
- configs: {
1483
- recommended: {
1484
- plugins: {};
1485
- name?: string;
1486
- rules?: Record<string, RuleConfig>;
1487
- settings?: _eslint_react_shared7.SettingsConfig;
1488
- };
1489
- "recommended-typescript": {
1490
- plugins: {};
1491
- name?: string;
1492
- rules?: Record<string, RuleConfig>;
1493
- settings?: _eslint_react_shared7.SettingsConfig;
1494
- };
1495
- "recommended-type-checked": {
1496
- plugins: {};
1497
- name?: string;
1498
- rules?: Record<string, RuleConfig>;
1499
- settings?: _eslint_react_shared7.SettingsConfig;
1500
- };
1501
- strict: {
1502
- plugins: {};
1503
- name?: string;
1504
- rules?: Record<string, RuleConfig>;
1505
- settings?: _eslint_react_shared7.SettingsConfig;
1506
- };
1507
- "strict-typescript": {
1508
- plugins: {};
1509
- name?: string;
1510
- rules?: Record<string, RuleConfig>;
1511
- settings?: _eslint_react_shared7.SettingsConfig;
1512
- };
1513
- "strict-type-checked": {
1514
- plugins: {};
1515
- name?: string;
1516
- rules?: Record<string, RuleConfig>;
1517
- settings?: _eslint_react_shared7.SettingsConfig;
1518
- };
1519
- };
1520
- meta: {
1521
- name: string;
1522
- version: string;
1523
- };
1524
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1525
- };
1526
- };
1527
- declare const settings$2: {
1528
- "react-x": {
1529
- readonly version: "detect";
1530
- readonly importSource: "react";
1531
- readonly polymorphicPropName: "as";
1532
- };
1533
- };
1534
- declare namespace web_api_d_exports {
1535
- export { name$1 as name, plugins$1 as plugins, rules$1 as rules, settings$1 as settings };
1536
- }
1537
- declare const name$1 = "@eslint-react/web-api";
1538
- declare const rules$1: {
1539
- readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
1540
- readonly "@eslint-react/web-api/no-leaked-interval": "warn";
1541
- readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
1542
- readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
1543
- };
1544
- declare const plugins$1: {
1545
- "@eslint-react/web-api": {
1546
- configs: {
1547
- recommended: {
1548
- plugins: {};
1549
- name?: string;
1550
- rules?: Record<string, RuleConfig>;
1551
- settings?: _eslint_react_shared7.SettingsConfig;
1552
- };
1553
- };
1554
- meta: {
1555
- name: string;
1556
- version: string;
1557
- };
1558
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1559
- };
1560
- };
1561
- declare const settings$1: {
1562
- "react-x": {
1563
- readonly version: "detect";
1564
- readonly importSource: "react";
1565
- readonly polymorphicPropName: "as";
1566
- };
1567
- };
1568
- declare namespace x_d_exports {
1569
- export { name, plugins, rules, settings };
1570
- }
1571
- declare const name = "@eslint-react/x";
1572
- declare const rules: {
1573
- readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
1574
- readonly "@eslint-react/jsx-no-duplicate-props": "warn";
1575
- readonly "@eslint-react/jsx-uses-react": "warn";
1576
- readonly "@eslint-react/jsx-uses-vars": "warn";
1577
- readonly "@eslint-react/no-access-state-in-setstate": "error";
1578
- readonly "@eslint-react/no-array-index-key": "warn";
1579
- readonly "@eslint-react/no-children-count": "warn";
1580
- readonly "@eslint-react/no-children-for-each": "warn";
1581
- readonly "@eslint-react/no-children-map": "warn";
1582
- readonly "@eslint-react/no-children-only": "warn";
1583
- readonly "@eslint-react/no-children-to-array": "warn";
1584
- readonly "@eslint-react/no-clone-element": "warn";
1585
- readonly "@eslint-react/no-component-will-mount": "error";
1586
- readonly "@eslint-react/no-component-will-receive-props": "error";
1587
- readonly "@eslint-react/no-component-will-update": "error";
1588
- readonly "@eslint-react/no-context-provider": "warn";
1589
- readonly "@eslint-react/no-create-ref": "error";
1590
- readonly "@eslint-react/no-default-props": "error";
1591
- readonly "@eslint-react/no-direct-mutation-state": "error";
1592
- readonly "@eslint-react/no-duplicate-key": "error";
1593
- readonly "@eslint-react/no-forward-ref": "warn";
1594
- readonly "@eslint-react/no-implicit-key": "warn";
1595
- readonly "@eslint-react/no-missing-key": "error";
1596
- readonly "@eslint-react/no-nested-component-definitions": "error";
1597
- readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
1598
- readonly "@eslint-react/no-prop-types": "error";
1599
- readonly "@eslint-react/no-redundant-should-component-update": "error";
1600
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
1601
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
1602
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
1603
- readonly "@eslint-react/no-string-refs": "error";
1604
- readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
1605
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1606
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1607
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1608
- readonly "@eslint-react/no-unused-class-component-members": "warn";
1609
- readonly "@eslint-react/no-use-context": "warn";
1610
- readonly "@eslint-react/no-useless-forward-ref": "warn";
1611
- readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
1612
- };
1613
- declare const plugins: {
1614
- "@eslint-react": {
1615
- configs: {
1616
- recommended: {
1617
- plugins: {};
1618
- name?: string;
1619
- rules?: Record<string, RuleConfig>;
1620
- settings?: _eslint_react_shared7.SettingsConfig;
1621
- };
1622
- "recommended-typescript": {
1623
- plugins: {};
1624
- name?: string;
1625
- rules?: Record<string, RuleConfig>;
1626
- settings?: _eslint_react_shared7.SettingsConfig;
1627
- };
1628
- "recommended-type-checked": {
1629
- plugins: {};
1630
- name?: string;
1631
- rules?: Record<string, RuleConfig>;
1632
- settings?: _eslint_react_shared7.SettingsConfig;
1633
- };
1634
- strict: {
1635
- plugins: {};
1636
- name?: string;
1637
- rules?: Record<string, RuleConfig>;
1638
- settings?: _eslint_react_shared7.SettingsConfig;
1639
- };
1640
- "strict-typescript": {
1641
- plugins: {};
1642
- name?: string;
1643
- rules?: Record<string, RuleConfig>;
1644
- settings?: _eslint_react_shared7.SettingsConfig;
1645
- };
1646
- "strict-type-checked": {
1647
- plugins: {};
1648
- name?: string;
1649
- rules?: Record<string, RuleConfig>;
1650
- settings?: _eslint_react_shared7.SettingsConfig;
1651
- };
1652
- };
1653
- meta: {
1654
- name: string;
1655
- version: string;
1656
- };
1657
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
1658
- };
1659
- };
1660
- declare const settings: {
1661
- "react-x": {
1662
- readonly version: "detect";
1663
- readonly importSource: "react";
1664
- readonly polymorphicPropName: "as";
1665
- };
1666
- };
1667
- //#endregion
1668
3
  //#region src/index.d.ts
1669
- declare const _default: {
1670
- configs: {
1671
- /**
1672
- * Enable all applicable rules from this plugin
1673
- */
1674
- all: typeof all_d_exports;
1675
- /**
1676
- * Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
1677
- */
1678
- "disable-conflict-eslint-plugin-react": typeof disable_conflict_eslint_plugin_react_d_exports;
1679
- /**
1680
- * Disable rules in the `dom` preset
1681
- */
1682
- "disable-dom": typeof disable_dom_d_exports;
1683
- /**
1684
- * Disable rules that require type information
1685
- */
1686
- "disable-type-checked": typeof disable_type_checked_d_exports;
1687
- /**
1688
- * Disable rules in the `web-api` preset
1689
- */
1690
- "disable-web-api": typeof disable_web_api_d_exports;
1691
- /**
1692
- * Enable rules for `"react-dom"`
1693
- */
1694
- dom: typeof dom_d_exports;
1695
- /**
1696
- * Enable all non-deprecated rules from the `x` and `dom` presets
1697
- * This preset sets the severity of these rules to `"error"`
1698
- */
1699
- "no-deprecated": typeof no_deprecated_d_exports;
1700
- /**
1701
- * Disable all rules in this plugin except for debug rules
1702
- */
1703
- off: typeof off_d_exports;
1704
- /**
1705
- * Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects
1706
- * This preset includes the `x`, `dom`, and `web-api` presets
1707
- */
1708
- recommended: typeof recommended_d_exports;
1709
- /**
1710
- * Same as the `recommended-typescript` preset but enables additional rules that require type information
1711
- */
1712
- "recommended-type-checked": typeof recommended_type_checked_d_exports;
1713
- /**
1714
- * Same as the `recommended` preset but disables rules that can be enforced by TypeScript
1715
- */
1716
- "recommended-typescript": typeof recommended_typescript_d_exports;
1717
- /**
1718
- * More strict version of the `recommended` preset
1719
- */
1720
- strict: typeof strict_d_exports;
1721
- /**
1722
- * Same as the `strict-typescript` preset but enables additional rules that require type information
1723
- */
1724
- "strict-type-checked": typeof strict_type_checked_d_exports;
1725
- /**
1726
- * Same as the `strict` preset but disables rules that can be enforced by TypeScript
1727
- */
1728
- "strict-typescript": typeof strict_typescript_d_exports;
1729
- /**
1730
- * Enable rules for interacting with Web APIs
1731
- */
1732
- "web-api": typeof web_api_d_exports;
1733
- /**
1734
- * Enable rules for `"react"`
1735
- */
1736
- x: typeof x_d_exports;
1737
- };
1738
- meta: {
1739
- name: string;
1740
- version: string;
1741
- };
1742
- rules: Record<string, _eslint_react_shared7.CompatibleRule>;
4
+ type ConfigName = "all" | "disable-conflict-eslint-plugin-react" | "disable-dom" | "disable-type-checked" | "disable-web-api" | "dom" | "no-deprecated" | "off" | "recommended" | "recommended-type-checked" | "recommended-typescript" | "strict" | "strict-type-checked" | "strict-typescript" | "web-api" | "x";
5
+ declare const plugin: CompatiblePlugin & {
6
+ /**
7
+ * For more information about each preset, please refer to the documentation.
8
+ * @see https://eslint-react.xyz/docs/presets
9
+ */
10
+ configs: Record<ConfigName, CompatibleConfig>;
1743
11
  };
1744
12
  //#endregion
1745
- export { _default as default };
13
+ export { plugin as default };