@eslint-react/eslint-plugin 1.9.0-next.0 → 1.9.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -73,12 +73,6 @@ declare const _default: {
73
73
  readonly "@eslint-react/dom/no-script-url": "warn";
74
74
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
75
75
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
76
- readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
77
- readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
78
- readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
79
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
80
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
81
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
82
76
  readonly "@eslint-react/naming-convention/component-name": "warn";
83
77
  readonly "@eslint-react/naming-convention/filename": "warn";
84
78
  readonly "@eslint-react/naming-convention/filename-extension": "warn";
@@ -127,15 +121,11 @@ declare const _default: {
127
121
  };
128
122
  };
129
123
  };
130
- readonly core: {
131
- readonly plugins: {
132
- readonly "@eslint-react": typeof react;
133
- readonly "@eslint-react/debug": typeof reactDebug;
134
- readonly "@eslint-react/dom": typeof reactDom;
135
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
136
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
137
- };
124
+ readonly "all-legacy": {
125
+ readonly plugins: readonly ["@eslint-react"];
138
126
  readonly rules: {
127
+ readonly "@eslint-react/avoid-shorthand-boolean": "warn";
128
+ readonly "@eslint-react/avoid-shorthand-fragment": "warn";
139
129
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
140
130
  readonly "@eslint-react/no-access-state-in-setstate": "error";
141
131
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -143,9 +133,12 @@ declare const _default: {
143
133
  readonly "@eslint-react/no-children-for-each": "warn";
144
134
  readonly "@eslint-react/no-children-map": "warn";
145
135
  readonly "@eslint-react/no-children-only": "warn";
136
+ readonly "@eslint-react/no-children-prop": "warn";
146
137
  readonly "@eslint-react/no-children-to-array": "warn";
138
+ readonly "@eslint-react/no-class-component": "warn";
147
139
  readonly "@eslint-react/no-clone-element": "warn";
148
140
  readonly "@eslint-react/no-comment-textnodes": "warn";
141
+ readonly "@eslint-react/no-complex-conditional-rendering": "warn";
149
142
  readonly "@eslint-react/no-component-will-mount": "error";
150
143
  readonly "@eslint-react/no-component-will-receive-props": "error";
151
144
  readonly "@eslint-react/no-component-will-update": "error";
@@ -153,6 +146,7 @@ declare const _default: {
153
146
  readonly "@eslint-react/no-default-props": "error";
154
147
  readonly "@eslint-react/no-direct-mutation-state": "error";
155
148
  readonly "@eslint-react/no-duplicate-key": "error";
149
+ readonly "@eslint-react/no-missing-component-display-name": "warn";
156
150
  readonly "@eslint-react/no-missing-key": "error";
157
151
  readonly "@eslint-react/no-nested-components": "warn";
158
152
  readonly "@eslint-react/no-prop-types": "error";
@@ -168,6 +162,25 @@ declare const _default: {
168
162
  readonly "@eslint-react/no-unstable-default-props": "error";
169
163
  readonly "@eslint-react/no-unused-class-component-members": "warn";
170
164
  readonly "@eslint-react/no-unused-state": "warn";
165
+ readonly "@eslint-react/no-useless-fragment": "warn";
166
+ readonly "@eslint-react/prefer-destructuring-assignment": "warn";
167
+ readonly "@eslint-react/prefer-shorthand-boolean": "warn";
168
+ readonly "@eslint-react/prefer-shorthand-fragment": "warn";
169
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
170
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
171
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
172
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
173
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
174
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
175
+ readonly "@eslint-react/dom/no-namespace": "error";
176
+ readonly "@eslint-react/dom/no-render-return-value": "error";
177
+ readonly "@eslint-react/dom/no-script-url": "warn";
178
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
179
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
180
+ readonly "@eslint-react/naming-convention/component-name": "warn";
181
+ readonly "@eslint-react/naming-convention/filename": "warn";
182
+ readonly "@eslint-react/naming-convention/filename-extension": "warn";
183
+ readonly "@eslint-react/naming-convention/use-state": "warn";
171
184
  };
172
185
  readonly settings: {
173
186
  readonly "react-x": {
@@ -212,7 +225,7 @@ declare const _default: {
212
225
  };
213
226
  };
214
227
  };
215
- readonly debug: {
228
+ readonly core: {
216
229
  readonly plugins: {
217
230
  readonly "@eslint-react": typeof react;
218
231
  readonly "@eslint-react/debug": typeof reactDebug;
@@ -221,9 +234,38 @@ declare const _default: {
221
234
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
222
235
  };
223
236
  readonly rules: {
224
- readonly "@eslint-react/debug/class-component": "warn";
225
- readonly "@eslint-react/debug/function-component": "warn";
226
- readonly "@eslint-react/debug/react-hooks": "warn";
237
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
238
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
239
+ readonly "@eslint-react/no-array-index-key": "warn";
240
+ readonly "@eslint-react/no-children-count": "warn";
241
+ readonly "@eslint-react/no-children-for-each": "warn";
242
+ readonly "@eslint-react/no-children-map": "warn";
243
+ readonly "@eslint-react/no-children-only": "warn";
244
+ readonly "@eslint-react/no-children-to-array": "warn";
245
+ readonly "@eslint-react/no-clone-element": "warn";
246
+ readonly "@eslint-react/no-comment-textnodes": "warn";
247
+ readonly "@eslint-react/no-component-will-mount": "error";
248
+ readonly "@eslint-react/no-component-will-receive-props": "error";
249
+ readonly "@eslint-react/no-component-will-update": "error";
250
+ readonly "@eslint-react/no-create-ref": "error";
251
+ readonly "@eslint-react/no-default-props": "error";
252
+ readonly "@eslint-react/no-direct-mutation-state": "error";
253
+ readonly "@eslint-react/no-duplicate-key": "error";
254
+ readonly "@eslint-react/no-missing-key": "error";
255
+ readonly "@eslint-react/no-nested-components": "warn";
256
+ readonly "@eslint-react/no-prop-types": "error";
257
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
258
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
259
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
260
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
261
+ readonly "@eslint-react/no-string-refs": "error";
262
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
263
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
264
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
265
+ readonly "@eslint-react/no-unstable-context-value": "error";
266
+ readonly "@eslint-react/no-unstable-default-props": "error";
267
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
268
+ readonly "@eslint-react/no-unused-state": "warn";
227
269
  };
228
270
  readonly settings: {
229
271
  readonly "react-x": {
@@ -268,25 +310,41 @@ declare const _default: {
268
310
  };
269
311
  };
270
312
  };
271
- readonly dom: {
272
- readonly plugins: {
273
- readonly "@eslint-react": typeof react;
274
- readonly "@eslint-react/debug": typeof reactDebug;
275
- readonly "@eslint-react/dom": typeof reactDom;
276
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
277
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
278
- };
313
+ readonly "core-legacy": {
314
+ readonly plugins: readonly ["@eslint-react"];
279
315
  readonly rules: {
280
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
281
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
282
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
283
- readonly "@eslint-react/dom/no-find-dom-node": "error";
284
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
285
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
286
- readonly "@eslint-react/dom/no-namespace": "error";
287
- readonly "@eslint-react/dom/no-script-url": "warn";
288
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
289
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
316
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
317
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
318
+ readonly "@eslint-react/no-array-index-key": "warn";
319
+ readonly "@eslint-react/no-children-count": "warn";
320
+ readonly "@eslint-react/no-children-for-each": "warn";
321
+ readonly "@eslint-react/no-children-map": "warn";
322
+ readonly "@eslint-react/no-children-only": "warn";
323
+ readonly "@eslint-react/no-children-to-array": "warn";
324
+ readonly "@eslint-react/no-clone-element": "warn";
325
+ readonly "@eslint-react/no-comment-textnodes": "warn";
326
+ readonly "@eslint-react/no-component-will-mount": "error";
327
+ readonly "@eslint-react/no-component-will-receive-props": "error";
328
+ readonly "@eslint-react/no-component-will-update": "error";
329
+ readonly "@eslint-react/no-create-ref": "error";
330
+ readonly "@eslint-react/no-default-props": "error";
331
+ readonly "@eslint-react/no-direct-mutation-state": "error";
332
+ readonly "@eslint-react/no-duplicate-key": "error";
333
+ readonly "@eslint-react/no-missing-key": "error";
334
+ readonly "@eslint-react/no-nested-components": "warn";
335
+ readonly "@eslint-react/no-prop-types": "error";
336
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
337
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
338
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
339
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
340
+ readonly "@eslint-react/no-string-refs": "error";
341
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
342
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
343
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
344
+ readonly "@eslint-react/no-unstable-context-value": "error";
345
+ readonly "@eslint-react/no-unstable-default-props": "error";
346
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
347
+ readonly "@eslint-react/no-unused-state": "warn";
290
348
  };
291
349
  readonly settings: {
292
350
  readonly "react-x": {
@@ -331,7 +389,7 @@ declare const _default: {
331
389
  };
332
390
  };
333
391
  };
334
- readonly off: {
392
+ readonly debug: {
335
393
  readonly plugins: {
336
394
  readonly "@eslint-react": typeof react;
337
395
  readonly "@eslint-react/debug": typeof reactDebug;
@@ -340,69 +398,9 @@ declare const _default: {
340
398
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
341
399
  };
342
400
  readonly rules: {
343
- "@eslint-react/avoid-shorthand-boolean"?: "off";
344
- "@eslint-react/avoid-shorthand-fragment"?: "off";
345
- "@eslint-react/ensure-forward-ref-using-ref"?: "off";
346
- "@eslint-react/no-access-state-in-setstate"?: "off";
347
- "@eslint-react/no-array-index-key"?: "off";
348
- "@eslint-react/no-children-count"?: "off";
349
- "@eslint-react/no-children-for-each"?: "off";
350
- "@eslint-react/no-children-map"?: "off";
351
- "@eslint-react/no-children-only"?: "off";
352
- "@eslint-react/no-children-prop"?: "off";
353
- "@eslint-react/no-children-to-array"?: "off";
354
- "@eslint-react/no-class-component"?: "off";
355
- "@eslint-react/no-clone-element"?: "off";
356
- "@eslint-react/no-comment-textnodes"?: "off";
357
- "@eslint-react/no-complex-conditional-rendering"?: "off";
358
- "@eslint-react/no-component-will-mount"?: "off";
359
- "@eslint-react/no-component-will-receive-props"?: "off";
360
- "@eslint-react/no-component-will-update"?: "off";
361
- "@eslint-react/no-create-ref"?: "off";
362
- "@eslint-react/no-default-props"?: "off";
363
- "@eslint-react/no-direct-mutation-state"?: "off";
364
- "@eslint-react/no-duplicate-key"?: "off";
365
- "@eslint-react/no-missing-component-display-name"?: "off";
366
- "@eslint-react/no-missing-key"?: "off";
367
- "@eslint-react/no-nested-components"?: "off";
368
- "@eslint-react/no-prop-types"?: "off";
369
- "@eslint-react/no-redundant-should-component-update"?: "off";
370
- "@eslint-react/no-set-state-in-component-did-mount"?: "off";
371
- "@eslint-react/no-set-state-in-component-did-update"?: "off";
372
- "@eslint-react/no-set-state-in-component-will-update"?: "off";
373
- "@eslint-react/no-string-refs"?: "off";
374
- "@eslint-react/no-unsafe-component-will-mount"?: "off";
375
- "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
376
- "@eslint-react/no-unsafe-component-will-update"?: "off";
377
- "@eslint-react/no-unstable-context-value"?: "off";
378
- "@eslint-react/no-unstable-default-props"?: "off";
379
- "@eslint-react/no-unused-class-component-members"?: "off";
380
- "@eslint-react/no-unused-state"?: "off";
381
- "@eslint-react/no-useless-fragment"?: "off";
382
- "@eslint-react/prefer-destructuring-assignment"?: "off";
383
- "@eslint-react/prefer-shorthand-boolean"?: "off";
384
- "@eslint-react/prefer-shorthand-fragment"?: "off";
385
- "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
386
- "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
387
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
388
- "@eslint-react/dom/no-find-dom-node"?: "off";
389
- "@eslint-react/dom/no-missing-button-type"?: "off";
390
- "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
391
- "@eslint-react/dom/no-namespace"?: "off";
392
- "@eslint-react/dom/no-render-return-value"?: "off";
393
- "@eslint-react/dom/no-script-url"?: "off";
394
- "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
395
- "@eslint-react/dom/no-unsafe-target-blank"?: "off";
396
- "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
397
- "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
398
- "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
399
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
400
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
401
- "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
402
- "@eslint-react/naming-convention/component-name"?: "off";
403
- "@eslint-react/naming-convention/filename"?: "off";
404
- "@eslint-react/naming-convention/filename-extension"?: "off";
405
- "@eslint-react/naming-convention/use-state"?: "off";
401
+ readonly "@eslint-react/debug/class-component": "warn";
402
+ readonly "@eslint-react/debug/function-component": "warn";
403
+ readonly "@eslint-react/debug/react-hooks": "warn";
406
404
  };
407
405
  readonly settings: {
408
406
  readonly "react-x": {
@@ -447,25 +445,12 @@ declare const _default: {
447
445
  };
448
446
  };
449
447
  };
450
- readonly "off-dom": {
451
- readonly plugins: {
452
- readonly "@eslint-react": typeof react;
453
- readonly "@eslint-react/debug": typeof reactDebug;
454
- readonly "@eslint-react/dom": typeof reactDom;
455
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
456
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
457
- };
448
+ readonly "debug-legacy": {
449
+ readonly plugins: readonly ["@eslint-react"];
458
450
  readonly rules: {
459
- "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
460
- "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
461
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
462
- "@eslint-react/dom/no-find-dom-node"?: "off";
463
- "@eslint-react/dom/no-missing-button-type"?: "off";
464
- "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
465
- "@eslint-react/dom/no-namespace"?: "off";
466
- "@eslint-react/dom/no-script-url"?: "off";
467
- "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
468
- "@eslint-react/dom/no-unsafe-target-blank"?: "off";
451
+ readonly "@eslint-react/debug/class-component": "warn";
452
+ readonly "@eslint-react/debug/function-component": "warn";
453
+ readonly "@eslint-react/debug/react-hooks": "warn";
469
454
  };
470
455
  readonly settings: {
471
456
  readonly "react-x": {
@@ -510,7 +495,7 @@ declare const _default: {
510
495
  };
511
496
  };
512
497
  };
513
- readonly recommended: {
498
+ readonly dom: {
514
499
  readonly plugins: {
515
500
  readonly "@eslint-react": typeof react;
516
501
  readonly "@eslint-react/debug": typeof reactDebug;
@@ -530,39 +515,6 @@ declare const _default: {
530
515
  readonly "@eslint-react/dom/no-script-url": "warn";
531
516
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
532
517
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
533
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
534
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
535
- readonly "@eslint-react/no-access-state-in-setstate": "error";
536
- readonly "@eslint-react/no-array-index-key": "warn";
537
- readonly "@eslint-react/no-children-count": "warn";
538
- readonly "@eslint-react/no-children-for-each": "warn";
539
- readonly "@eslint-react/no-children-map": "warn";
540
- readonly "@eslint-react/no-children-only": "warn";
541
- readonly "@eslint-react/no-children-to-array": "warn";
542
- readonly "@eslint-react/no-clone-element": "warn";
543
- readonly "@eslint-react/no-comment-textnodes": "warn";
544
- readonly "@eslint-react/no-component-will-mount": "error";
545
- readonly "@eslint-react/no-component-will-receive-props": "error";
546
- readonly "@eslint-react/no-component-will-update": "error";
547
- readonly "@eslint-react/no-create-ref": "error";
548
- readonly "@eslint-react/no-default-props": "error";
549
- readonly "@eslint-react/no-direct-mutation-state": "error";
550
- readonly "@eslint-react/no-duplicate-key": "error";
551
- readonly "@eslint-react/no-missing-key": "error";
552
- readonly "@eslint-react/no-nested-components": "warn";
553
- readonly "@eslint-react/no-prop-types": "error";
554
- readonly "@eslint-react/no-redundant-should-component-update": "error";
555
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
556
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
557
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
558
- readonly "@eslint-react/no-string-refs": "error";
559
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
560
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
561
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
562
- readonly "@eslint-react/no-unstable-context-value": "error";
563
- readonly "@eslint-react/no-unstable-default-props": "error";
564
- readonly "@eslint-react/no-unused-class-component-members": "warn";
565
- readonly "@eslint-react/no-unused-state": "warn";
566
518
  };
567
519
  readonly settings: {
568
520
  readonly "react-x": {
@@ -607,16 +559,9 @@ declare const _default: {
607
559
  };
608
560
  };
609
561
  };
610
- readonly "recommended-type-checked": {
611
- readonly plugins: {
612
- readonly "@eslint-react": typeof react;
613
- readonly "@eslint-react/debug": typeof reactDebug;
614
- readonly "@eslint-react/dom": typeof reactDom;
615
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
616
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
617
- };
562
+ readonly "dom-legacy": {
563
+ readonly plugins: readonly ["@eslint-react"];
618
564
  readonly rules: {
619
- readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
620
565
  readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
621
566
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
622
567
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
@@ -628,39 +573,6 @@ declare const _default: {
628
573
  readonly "@eslint-react/dom/no-script-url": "warn";
629
574
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
630
575
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
631
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
632
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
633
- readonly "@eslint-react/no-access-state-in-setstate": "error";
634
- readonly "@eslint-react/no-array-index-key": "warn";
635
- readonly "@eslint-react/no-children-count": "warn";
636
- readonly "@eslint-react/no-children-for-each": "warn";
637
- readonly "@eslint-react/no-children-map": "warn";
638
- readonly "@eslint-react/no-children-only": "warn";
639
- readonly "@eslint-react/no-children-to-array": "warn";
640
- readonly "@eslint-react/no-clone-element": "warn";
641
- readonly "@eslint-react/no-comment-textnodes": "warn";
642
- readonly "@eslint-react/no-component-will-mount": "error";
643
- readonly "@eslint-react/no-component-will-receive-props": "error";
644
- readonly "@eslint-react/no-component-will-update": "error";
645
- readonly "@eslint-react/no-create-ref": "error";
646
- readonly "@eslint-react/no-default-props": "error";
647
- readonly "@eslint-react/no-direct-mutation-state": "error";
648
- readonly "@eslint-react/no-duplicate-key": "error";
649
- readonly "@eslint-react/no-missing-key": "error";
650
- readonly "@eslint-react/no-nested-components": "warn";
651
- readonly "@eslint-react/no-prop-types": "error";
652
- readonly "@eslint-react/no-redundant-should-component-update": "error";
653
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
654
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
655
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
656
- readonly "@eslint-react/no-string-refs": "error";
657
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
658
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
659
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
660
- readonly "@eslint-react/no-unstable-context-value": "error";
661
- readonly "@eslint-react/no-unstable-default-props": "error";
662
- readonly "@eslint-react/no-unused-class-component-members": "warn";
663
- readonly "@eslint-react/no-unused-state": "warn";
664
576
  };
665
577
  readonly settings: {
666
578
  readonly "react-x": {
@@ -705,72 +617,72 @@ declare const _default: {
705
617
  };
706
618
  };
707
619
  };
708
- readonly "all-legacy": {
709
- readonly plugins: readonly ["@eslint-react"];
620
+ readonly off: {
621
+ readonly plugins: {
622
+ readonly "@eslint-react": typeof react;
623
+ readonly "@eslint-react/debug": typeof reactDebug;
624
+ readonly "@eslint-react/dom": typeof reactDom;
625
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
626
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
627
+ };
710
628
  readonly rules: {
711
- readonly "@eslint-react/avoid-shorthand-boolean": "warn";
712
- readonly "@eslint-react/avoid-shorthand-fragment": "warn";
713
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
714
- readonly "@eslint-react/no-access-state-in-setstate": "error";
715
- readonly "@eslint-react/no-array-index-key": "warn";
716
- readonly "@eslint-react/no-children-count": "warn";
717
- readonly "@eslint-react/no-children-for-each": "warn";
718
- readonly "@eslint-react/no-children-map": "warn";
719
- readonly "@eslint-react/no-children-only": "warn";
720
- readonly "@eslint-react/no-children-prop": "warn";
721
- readonly "@eslint-react/no-children-to-array": "warn";
722
- readonly "@eslint-react/no-class-component": "warn";
723
- readonly "@eslint-react/no-clone-element": "warn";
724
- readonly "@eslint-react/no-comment-textnodes": "warn";
725
- readonly "@eslint-react/no-complex-conditional-rendering": "warn";
726
- readonly "@eslint-react/no-component-will-mount": "error";
727
- readonly "@eslint-react/no-component-will-receive-props": "error";
728
- readonly "@eslint-react/no-component-will-update": "error";
729
- readonly "@eslint-react/no-create-ref": "error";
730
- readonly "@eslint-react/no-default-props": "error";
731
- readonly "@eslint-react/no-direct-mutation-state": "error";
732
- readonly "@eslint-react/no-duplicate-key": "error";
733
- readonly "@eslint-react/no-missing-component-display-name": "warn";
734
- readonly "@eslint-react/no-missing-key": "error";
735
- readonly "@eslint-react/no-nested-components": "warn";
736
- readonly "@eslint-react/no-prop-types": "error";
737
- readonly "@eslint-react/no-redundant-should-component-update": "error";
738
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
739
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
740
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
741
- readonly "@eslint-react/no-string-refs": "error";
742
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
743
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
744
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
745
- readonly "@eslint-react/no-unstable-context-value": "error";
746
- readonly "@eslint-react/no-unstable-default-props": "error";
747
- readonly "@eslint-react/no-unused-class-component-members": "warn";
748
- readonly "@eslint-react/no-unused-state": "warn";
749
- readonly "@eslint-react/no-useless-fragment": "warn";
750
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
751
- readonly "@eslint-react/prefer-shorthand-boolean": "warn";
752
- readonly "@eslint-react/prefer-shorthand-fragment": "warn";
753
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
754
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
755
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
756
- readonly "@eslint-react/dom/no-find-dom-node": "error";
757
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
758
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
759
- readonly "@eslint-react/dom/no-namespace": "error";
760
- readonly "@eslint-react/dom/no-render-return-value": "error";
761
- readonly "@eslint-react/dom/no-script-url": "warn";
762
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
763
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
764
- readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
765
- readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
766
- readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
767
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
768
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
769
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
770
- readonly "@eslint-react/naming-convention/component-name": "warn";
771
- readonly "@eslint-react/naming-convention/filename": "warn";
772
- readonly "@eslint-react/naming-convention/filename-extension": "warn";
773
- readonly "@eslint-react/naming-convention/use-state": "warn";
629
+ "@eslint-react/avoid-shorthand-boolean"?: "off";
630
+ "@eslint-react/avoid-shorthand-fragment"?: "off";
631
+ "@eslint-react/ensure-forward-ref-using-ref"?: "off";
632
+ "@eslint-react/no-access-state-in-setstate"?: "off";
633
+ "@eslint-react/no-array-index-key"?: "off";
634
+ "@eslint-react/no-children-count"?: "off";
635
+ "@eslint-react/no-children-for-each"?: "off";
636
+ "@eslint-react/no-children-map"?: "off";
637
+ "@eslint-react/no-children-only"?: "off";
638
+ "@eslint-react/no-children-prop"?: "off";
639
+ "@eslint-react/no-children-to-array"?: "off";
640
+ "@eslint-react/no-class-component"?: "off";
641
+ "@eslint-react/no-clone-element"?: "off";
642
+ "@eslint-react/no-comment-textnodes"?: "off";
643
+ "@eslint-react/no-complex-conditional-rendering"?: "off";
644
+ "@eslint-react/no-component-will-mount"?: "off";
645
+ "@eslint-react/no-component-will-receive-props"?: "off";
646
+ "@eslint-react/no-component-will-update"?: "off";
647
+ "@eslint-react/no-create-ref"?: "off";
648
+ "@eslint-react/no-default-props"?: "off";
649
+ "@eslint-react/no-direct-mutation-state"?: "off";
650
+ "@eslint-react/no-duplicate-key"?: "off";
651
+ "@eslint-react/no-missing-component-display-name"?: "off";
652
+ "@eslint-react/no-missing-key"?: "off";
653
+ "@eslint-react/no-nested-components"?: "off";
654
+ "@eslint-react/no-prop-types"?: "off";
655
+ "@eslint-react/no-redundant-should-component-update"?: "off";
656
+ "@eslint-react/no-set-state-in-component-did-mount"?: "off";
657
+ "@eslint-react/no-set-state-in-component-did-update"?: "off";
658
+ "@eslint-react/no-set-state-in-component-will-update"?: "off";
659
+ "@eslint-react/no-string-refs"?: "off";
660
+ "@eslint-react/no-unsafe-component-will-mount"?: "off";
661
+ "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
662
+ "@eslint-react/no-unsafe-component-will-update"?: "off";
663
+ "@eslint-react/no-unstable-context-value"?: "off";
664
+ "@eslint-react/no-unstable-default-props"?: "off";
665
+ "@eslint-react/no-unused-class-component-members"?: "off";
666
+ "@eslint-react/no-unused-state"?: "off";
667
+ "@eslint-react/no-useless-fragment"?: "off";
668
+ "@eslint-react/prefer-destructuring-assignment"?: "off";
669
+ "@eslint-react/prefer-shorthand-boolean"?: "off";
670
+ "@eslint-react/prefer-shorthand-fragment"?: "off";
671
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
672
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
673
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
674
+ "@eslint-react/dom/no-find-dom-node"?: "off";
675
+ "@eslint-react/dom/no-missing-button-type"?: "off";
676
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
677
+ "@eslint-react/dom/no-namespace"?: "off";
678
+ "@eslint-react/dom/no-render-return-value"?: "off";
679
+ "@eslint-react/dom/no-script-url"?: "off";
680
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
681
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
682
+ "@eslint-react/naming-convention/component-name"?: "off";
683
+ "@eslint-react/naming-convention/filename"?: "off";
684
+ "@eslint-react/naming-convention/filename-extension"?: "off";
685
+ "@eslint-react/naming-convention/use-state"?: "off";
774
686
  };
775
687
  readonly settings: {
776
688
  readonly "react-x": {
@@ -815,41 +727,26 @@ declare const _default: {
815
727
  };
816
728
  };
817
729
  };
818
- readonly "core-legacy": {
819
- readonly plugins: readonly ["@eslint-react"];
730
+ readonly "off-dom": {
731
+ readonly plugins: {
732
+ readonly "@eslint-react": typeof react;
733
+ readonly "@eslint-react/debug": typeof reactDebug;
734
+ readonly "@eslint-react/dom": typeof reactDom;
735
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
736
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
737
+ };
820
738
  readonly rules: {
821
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
822
- readonly "@eslint-react/no-access-state-in-setstate": "error";
823
- readonly "@eslint-react/no-array-index-key": "warn";
824
- readonly "@eslint-react/no-children-count": "warn";
825
- readonly "@eslint-react/no-children-for-each": "warn";
826
- readonly "@eslint-react/no-children-map": "warn";
827
- readonly "@eslint-react/no-children-only": "warn";
828
- readonly "@eslint-react/no-children-to-array": "warn";
829
- readonly "@eslint-react/no-clone-element": "warn";
830
- readonly "@eslint-react/no-comment-textnodes": "warn";
831
- readonly "@eslint-react/no-component-will-mount": "error";
832
- readonly "@eslint-react/no-component-will-receive-props": "error";
833
- readonly "@eslint-react/no-component-will-update": "error";
834
- readonly "@eslint-react/no-create-ref": "error";
835
- readonly "@eslint-react/no-default-props": "error";
836
- readonly "@eslint-react/no-direct-mutation-state": "error";
837
- readonly "@eslint-react/no-duplicate-key": "error";
838
- readonly "@eslint-react/no-missing-key": "error";
839
- readonly "@eslint-react/no-nested-components": "warn";
840
- readonly "@eslint-react/no-prop-types": "error";
841
- readonly "@eslint-react/no-redundant-should-component-update": "error";
842
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
843
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
844
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
845
- readonly "@eslint-react/no-string-refs": "error";
846
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
847
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
848
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
849
- readonly "@eslint-react/no-unstable-context-value": "error";
850
- readonly "@eslint-react/no-unstable-default-props": "error";
851
- readonly "@eslint-react/no-unused-class-component-members": "warn";
852
- readonly "@eslint-react/no-unused-state": "warn";
739
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
740
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
741
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
742
+ "@eslint-react/dom/no-find-dom-node"?: "off";
743
+ "@eslint-react/dom/no-missing-button-type"?: "off";
744
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
745
+ "@eslint-react/dom/no-namespace"?: "off";
746
+ "@eslint-react/dom/no-render-return-value"?: "off";
747
+ "@eslint-react/dom/no-script-url"?: "off";
748
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
749
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
853
750
  };
854
751
  readonly settings: {
855
752
  readonly "react-x": {
@@ -894,12 +791,20 @@ declare const _default: {
894
791
  };
895
792
  };
896
793
  };
897
- readonly "debug-legacy": {
794
+ readonly "off-dom-legacy": {
898
795
  readonly plugins: readonly ["@eslint-react"];
899
796
  readonly rules: {
900
- readonly "@eslint-react/debug/class-component": "warn";
901
- readonly "@eslint-react/debug/function-component": "warn";
902
- readonly "@eslint-react/debug/react-hooks": "warn";
797
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
798
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
799
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
800
+ "@eslint-react/dom/no-find-dom-node"?: "off";
801
+ "@eslint-react/dom/no-missing-button-type"?: "off";
802
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
803
+ "@eslint-react/dom/no-namespace"?: "off";
804
+ "@eslint-react/dom/no-render-return-value"?: "off";
805
+ "@eslint-react/dom/no-script-url"?: "off";
806
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
807
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
903
808
  };
904
809
  readonly settings: {
905
810
  readonly "react-x": {
@@ -944,19 +849,66 @@ declare const _default: {
944
849
  };
945
850
  };
946
851
  };
947
- readonly "dom-legacy": {
852
+ readonly "off-legacy": {
948
853
  readonly plugins: readonly ["@eslint-react"];
949
854
  readonly rules: {
950
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
951
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
952
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
953
- readonly "@eslint-react/dom/no-find-dom-node": "error";
954
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
955
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
956
- readonly "@eslint-react/dom/no-namespace": "error";
957
- readonly "@eslint-react/dom/no-script-url": "warn";
958
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
959
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
855
+ "@eslint-react/avoid-shorthand-boolean"?: "off";
856
+ "@eslint-react/avoid-shorthand-fragment"?: "off";
857
+ "@eslint-react/ensure-forward-ref-using-ref"?: "off";
858
+ "@eslint-react/no-access-state-in-setstate"?: "off";
859
+ "@eslint-react/no-array-index-key"?: "off";
860
+ "@eslint-react/no-children-count"?: "off";
861
+ "@eslint-react/no-children-for-each"?: "off";
862
+ "@eslint-react/no-children-map"?: "off";
863
+ "@eslint-react/no-children-only"?: "off";
864
+ "@eslint-react/no-children-prop"?: "off";
865
+ "@eslint-react/no-children-to-array"?: "off";
866
+ "@eslint-react/no-class-component"?: "off";
867
+ "@eslint-react/no-clone-element"?: "off";
868
+ "@eslint-react/no-comment-textnodes"?: "off";
869
+ "@eslint-react/no-complex-conditional-rendering"?: "off";
870
+ "@eslint-react/no-component-will-mount"?: "off";
871
+ "@eslint-react/no-component-will-receive-props"?: "off";
872
+ "@eslint-react/no-component-will-update"?: "off";
873
+ "@eslint-react/no-create-ref"?: "off";
874
+ "@eslint-react/no-default-props"?: "off";
875
+ "@eslint-react/no-direct-mutation-state"?: "off";
876
+ "@eslint-react/no-duplicate-key"?: "off";
877
+ "@eslint-react/no-missing-component-display-name"?: "off";
878
+ "@eslint-react/no-missing-key"?: "off";
879
+ "@eslint-react/no-nested-components"?: "off";
880
+ "@eslint-react/no-prop-types"?: "off";
881
+ "@eslint-react/no-redundant-should-component-update"?: "off";
882
+ "@eslint-react/no-set-state-in-component-did-mount"?: "off";
883
+ "@eslint-react/no-set-state-in-component-did-update"?: "off";
884
+ "@eslint-react/no-set-state-in-component-will-update"?: "off";
885
+ "@eslint-react/no-string-refs"?: "off";
886
+ "@eslint-react/no-unsafe-component-will-mount"?: "off";
887
+ "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
888
+ "@eslint-react/no-unsafe-component-will-update"?: "off";
889
+ "@eslint-react/no-unstable-context-value"?: "off";
890
+ "@eslint-react/no-unstable-default-props"?: "off";
891
+ "@eslint-react/no-unused-class-component-members"?: "off";
892
+ "@eslint-react/no-unused-state"?: "off";
893
+ "@eslint-react/no-useless-fragment"?: "off";
894
+ "@eslint-react/prefer-destructuring-assignment"?: "off";
895
+ "@eslint-react/prefer-shorthand-boolean"?: "off";
896
+ "@eslint-react/prefer-shorthand-fragment"?: "off";
897
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
898
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
899
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
900
+ "@eslint-react/dom/no-find-dom-node"?: "off";
901
+ "@eslint-react/dom/no-missing-button-type"?: "off";
902
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
903
+ "@eslint-react/dom/no-namespace"?: "off";
904
+ "@eslint-react/dom/no-render-return-value"?: "off";
905
+ "@eslint-react/dom/no-script-url"?: "off";
906
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
907
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
908
+ "@eslint-react/naming-convention/component-name"?: "off";
909
+ "@eslint-react/naming-convention/filename"?: "off";
910
+ "@eslint-react/naming-convention/filename-extension"?: "off";
911
+ "@eslint-react/naming-convention/use-state"?: "off";
960
912
  };
961
913
  readonly settings: {
962
914
  readonly "react-x": {
@@ -1001,19 +953,58 @@ declare const _default: {
1001
953
  };
1002
954
  };
1003
955
  };
1004
- readonly "off-dom-legacy": {
1005
- readonly plugins: readonly ["@eslint-react"];
956
+ readonly recommended: {
957
+ readonly plugins: {
958
+ readonly "@eslint-react": typeof react;
959
+ readonly "@eslint-react/debug": typeof reactDebug;
960
+ readonly "@eslint-react/dom": typeof reactDom;
961
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
962
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
963
+ };
1006
964
  readonly rules: {
1007
- "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
1008
- "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
1009
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
1010
- "@eslint-react/dom/no-find-dom-node"?: "off";
1011
- "@eslint-react/dom/no-missing-button-type"?: "off";
1012
- "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
1013
- "@eslint-react/dom/no-namespace"?: "off";
1014
- "@eslint-react/dom/no-script-url"?: "off";
1015
- "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
1016
- "@eslint-react/dom/no-unsafe-target-blank"?: "off";
965
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
966
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
967
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
968
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
969
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
970
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
971
+ readonly "@eslint-react/dom/no-namespace": "error";
972
+ readonly "@eslint-react/dom/no-render-return-value": "error";
973
+ readonly "@eslint-react/dom/no-script-url": "warn";
974
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
975
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
976
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
977
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
978
+ readonly "@eslint-react/no-array-index-key": "warn";
979
+ readonly "@eslint-react/no-children-count": "warn";
980
+ readonly "@eslint-react/no-children-for-each": "warn";
981
+ readonly "@eslint-react/no-children-map": "warn";
982
+ readonly "@eslint-react/no-children-only": "warn";
983
+ readonly "@eslint-react/no-children-to-array": "warn";
984
+ readonly "@eslint-react/no-clone-element": "warn";
985
+ readonly "@eslint-react/no-comment-textnodes": "warn";
986
+ readonly "@eslint-react/no-component-will-mount": "error";
987
+ readonly "@eslint-react/no-component-will-receive-props": "error";
988
+ readonly "@eslint-react/no-component-will-update": "error";
989
+ readonly "@eslint-react/no-create-ref": "error";
990
+ readonly "@eslint-react/no-default-props": "error";
991
+ readonly "@eslint-react/no-direct-mutation-state": "error";
992
+ readonly "@eslint-react/no-duplicate-key": "error";
993
+ readonly "@eslint-react/no-missing-key": "error";
994
+ readonly "@eslint-react/no-nested-components": "warn";
995
+ readonly "@eslint-react/no-prop-types": "error";
996
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
997
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
998
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
999
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
1000
+ readonly "@eslint-react/no-string-refs": "error";
1001
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1002
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1003
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1004
+ readonly "@eslint-react/no-unstable-context-value": "error";
1005
+ readonly "@eslint-react/no-unstable-default-props": "error";
1006
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
1007
+ readonly "@eslint-react/no-unused-state": "warn";
1017
1008
  };
1018
1009
  readonly settings: {
1019
1010
  readonly "react-x": {
@@ -1058,72 +1049,52 @@ declare const _default: {
1058
1049
  };
1059
1050
  };
1060
1051
  };
1061
- readonly "off-legacy": {
1052
+ readonly "recommended-legacy": {
1062
1053
  readonly plugins: readonly ["@eslint-react"];
1063
1054
  readonly rules: {
1064
- "@eslint-react/avoid-shorthand-boolean"?: "off";
1065
- "@eslint-react/avoid-shorthand-fragment"?: "off";
1066
- "@eslint-react/ensure-forward-ref-using-ref"?: "off";
1067
- "@eslint-react/no-access-state-in-setstate"?: "off";
1068
- "@eslint-react/no-array-index-key"?: "off";
1069
- "@eslint-react/no-children-count"?: "off";
1070
- "@eslint-react/no-children-for-each"?: "off";
1071
- "@eslint-react/no-children-map"?: "off";
1072
- "@eslint-react/no-children-only"?: "off";
1073
- "@eslint-react/no-children-prop"?: "off";
1074
- "@eslint-react/no-children-to-array"?: "off";
1075
- "@eslint-react/no-class-component"?: "off";
1076
- "@eslint-react/no-clone-element"?: "off";
1077
- "@eslint-react/no-comment-textnodes"?: "off";
1078
- "@eslint-react/no-complex-conditional-rendering"?: "off";
1079
- "@eslint-react/no-component-will-mount"?: "off";
1080
- "@eslint-react/no-component-will-receive-props"?: "off";
1081
- "@eslint-react/no-component-will-update"?: "off";
1082
- "@eslint-react/no-create-ref"?: "off";
1083
- "@eslint-react/no-default-props"?: "off";
1084
- "@eslint-react/no-direct-mutation-state"?: "off";
1085
- "@eslint-react/no-duplicate-key"?: "off";
1086
- "@eslint-react/no-missing-component-display-name"?: "off";
1087
- "@eslint-react/no-missing-key"?: "off";
1088
- "@eslint-react/no-nested-components"?: "off";
1089
- "@eslint-react/no-prop-types"?: "off";
1090
- "@eslint-react/no-redundant-should-component-update"?: "off";
1091
- "@eslint-react/no-set-state-in-component-did-mount"?: "off";
1092
- "@eslint-react/no-set-state-in-component-did-update"?: "off";
1093
- "@eslint-react/no-set-state-in-component-will-update"?: "off";
1094
- "@eslint-react/no-string-refs"?: "off";
1095
- "@eslint-react/no-unsafe-component-will-mount"?: "off";
1096
- "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
1097
- "@eslint-react/no-unsafe-component-will-update"?: "off";
1098
- "@eslint-react/no-unstable-context-value"?: "off";
1099
- "@eslint-react/no-unstable-default-props"?: "off";
1100
- "@eslint-react/no-unused-class-component-members"?: "off";
1101
- "@eslint-react/no-unused-state"?: "off";
1102
- "@eslint-react/no-useless-fragment"?: "off";
1103
- "@eslint-react/prefer-destructuring-assignment"?: "off";
1104
- "@eslint-react/prefer-shorthand-boolean"?: "off";
1105
- "@eslint-react/prefer-shorthand-fragment"?: "off";
1106
- "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
1107
- "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
1108
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
1109
- "@eslint-react/dom/no-find-dom-node"?: "off";
1110
- "@eslint-react/dom/no-missing-button-type"?: "off";
1111
- "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
1112
- "@eslint-react/dom/no-namespace"?: "off";
1113
- "@eslint-react/dom/no-render-return-value"?: "off";
1114
- "@eslint-react/dom/no-script-url"?: "off";
1115
- "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
1116
- "@eslint-react/dom/no-unsafe-target-blank"?: "off";
1117
- "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
1118
- "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
1119
- "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
1120
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
1121
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
1122
- "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
1123
- "@eslint-react/naming-convention/component-name"?: "off";
1124
- "@eslint-react/naming-convention/filename"?: "off";
1125
- "@eslint-react/naming-convention/filename-extension"?: "off";
1126
- "@eslint-react/naming-convention/use-state"?: "off";
1055
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
1056
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
1057
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
1058
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
1059
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
1060
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
1061
+ readonly "@eslint-react/dom/no-namespace": "error";
1062
+ readonly "@eslint-react/dom/no-render-return-value": "error";
1063
+ readonly "@eslint-react/dom/no-script-url": "warn";
1064
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1065
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1066
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1067
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
1068
+ readonly "@eslint-react/no-array-index-key": "warn";
1069
+ readonly "@eslint-react/no-children-count": "warn";
1070
+ readonly "@eslint-react/no-children-for-each": "warn";
1071
+ readonly "@eslint-react/no-children-map": "warn";
1072
+ readonly "@eslint-react/no-children-only": "warn";
1073
+ readonly "@eslint-react/no-children-to-array": "warn";
1074
+ readonly "@eslint-react/no-clone-element": "warn";
1075
+ readonly "@eslint-react/no-comment-textnodes": "warn";
1076
+ readonly "@eslint-react/no-component-will-mount": "error";
1077
+ readonly "@eslint-react/no-component-will-receive-props": "error";
1078
+ readonly "@eslint-react/no-component-will-update": "error";
1079
+ readonly "@eslint-react/no-create-ref": "error";
1080
+ readonly "@eslint-react/no-default-props": "error";
1081
+ readonly "@eslint-react/no-direct-mutation-state": "error";
1082
+ readonly "@eslint-react/no-duplicate-key": "error";
1083
+ readonly "@eslint-react/no-missing-key": "error";
1084
+ readonly "@eslint-react/no-nested-components": "warn";
1085
+ readonly "@eslint-react/no-prop-types": "error";
1086
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
1087
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
1088
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
1089
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
1090
+ readonly "@eslint-react/no-string-refs": "error";
1091
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
1092
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
1093
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
1094
+ readonly "@eslint-react/no-unstable-context-value": "error";
1095
+ readonly "@eslint-react/no-unstable-default-props": "error";
1096
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
1097
+ readonly "@eslint-react/no-unused-state": "warn";
1127
1098
  };
1128
1099
  readonly settings: {
1129
1100
  readonly "react-x": {
@@ -1168,9 +1139,16 @@ declare const _default: {
1168
1139
  };
1169
1140
  };
1170
1141
  };
1171
- readonly "recommended-legacy": {
1172
- readonly plugins: readonly ["@eslint-react"];
1142
+ readonly "recommended-type-checked": {
1143
+ readonly plugins: {
1144
+ readonly "@eslint-react": typeof react;
1145
+ readonly "@eslint-react/debug": typeof reactDebug;
1146
+ readonly "@eslint-react/dom": typeof reactDom;
1147
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
1148
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
1149
+ };
1173
1150
  readonly rules: {
1151
+ readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
1174
1152
  readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
1175
1153
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
1176
1154
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
@@ -1182,7 +1160,6 @@ declare const _default: {
1182
1160
  readonly "@eslint-react/dom/no-script-url": "warn";
1183
1161
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1184
1162
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1185
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
1186
1163
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1187
1164
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1188
1165
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -1274,7 +1251,6 @@ declare const _default: {
1274
1251
  readonly "@eslint-react/dom/no-script-url": "warn";
1275
1252
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1276
1253
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1277
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
1278
1254
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1279
1255
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1280
1256
  readonly "@eslint-react/no-array-index-key": "warn";