@coderwyd/eslint-config 3.4.0 → 3.6.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.cts CHANGED
@@ -206,7 +206,7 @@ interface RuleOptions {
206
206
  */
207
207
  'default-case'?: Linter.RuleEntry<DefaultCase>
208
208
  /**
209
- * Enforce `default` clauses in switch statements to be last
209
+ * Enforce `default` clauses in `switch` statements to be last
210
210
  * @see https://eslint.org/docs/latest/rules/default-case-last
211
211
  */
212
212
  'default-case-last'?: Linter.RuleEntry<[]>
@@ -382,233 +382,233 @@ interface RuleOptions {
382
382
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
383
383
  /**
384
384
  * Enforce or ban the use of inline type-only markers for named imports.
385
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
385
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
386
386
  */
387
387
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
388
388
  /**
389
389
  * Ensure a default export is present, given a default import.
390
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
390
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
391
391
  */
392
392
  'import/default'?: Linter.RuleEntry<[]>
393
393
  /**
394
394
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
395
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
395
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
396
396
  */
397
397
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
398
398
  /**
399
399
  * Forbid any invalid exports, i.e. re-export of the same name.
400
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
400
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
401
401
  */
402
402
  'import/export'?: Linter.RuleEntry<[]>
403
403
  /**
404
404
  * Ensure all exports appear after other statements.
405
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
405
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
406
406
  */
407
407
  'import/exports-last'?: Linter.RuleEntry<[]>
408
408
  /**
409
409
  * Ensure consistent use of file extension within the import path.
410
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
410
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
411
411
  */
412
412
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
413
413
  /**
414
414
  * Ensure all imports appear before other statements.
415
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
415
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
416
416
  */
417
417
  'import/first'?: Linter.RuleEntry<ImportFirst>
418
418
  /**
419
419
  * Prefer named exports to be grouped together in a single export declaration.
420
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
420
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
421
421
  */
422
422
  'import/group-exports'?: Linter.RuleEntry<[]>
423
423
  /**
424
424
  * Replaced by `import-x/first`.
425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
425
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
426
426
  * @deprecated
427
427
  */
428
428
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
429
429
  /**
430
430
  * Enforce the maximum number of dependencies a module can have.
431
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
431
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
432
432
  */
433
433
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
434
434
  /**
435
435
  * Ensure named imports correspond to a named export in the remote file.
436
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
436
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
437
437
  */
438
438
  'import/named'?: Linter.RuleEntry<ImportNamed>
439
439
  /**
440
440
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
441
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
441
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
442
442
  */
443
443
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
444
444
  /**
445
445
  * Enforce a newline after import statements.
446
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
446
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
447
447
  */
448
448
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
449
449
  /**
450
450
  * Forbid import of modules using absolute paths.
451
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
451
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
452
452
  */
453
453
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
454
454
  /**
455
455
  * Forbid AMD `require` and `define` calls.
456
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
456
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
457
457
  */
458
458
  'import/no-amd'?: Linter.RuleEntry<[]>
459
459
  /**
460
460
  * Forbid anonymous values as default exports.
461
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
461
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
462
462
  */
463
463
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
464
464
  /**
465
465
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
466
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
466
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
467
467
  */
468
468
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
469
469
  /**
470
470
  * Forbid a module from importing a module with a dependency path back to itself.
471
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
471
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
472
472
  */
473
473
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
474
474
  /**
475
475
  * Forbid default exports.
476
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
476
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
477
477
  */
478
478
  'import/no-default-export'?: Linter.RuleEntry<[]>
479
479
  /**
480
480
  * Forbid imported names marked with `@deprecated` documentation tag.
481
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
481
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
482
482
  */
483
483
  'import/no-deprecated'?: Linter.RuleEntry<[]>
484
484
  /**
485
485
  * Forbid repeated import of the same module in multiple places.
486
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
486
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
487
487
  */
488
488
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
489
489
  /**
490
490
  * Forbid `require()` calls with expressions.
491
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
491
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
492
492
  */
493
493
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
494
494
  /**
495
495
  * Forbid empty named import blocks.
496
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
496
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
497
497
  */
498
498
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
499
499
  /**
500
500
  * Forbid the use of extraneous packages.
501
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
501
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
502
502
  */
503
503
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
504
504
  /**
505
505
  * Forbid import statements with CommonJS module.exports.
506
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
506
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
507
507
  */
508
508
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
509
509
  /**
510
510
  * Forbid importing the submodules of other modules.
511
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
511
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
512
512
  */
513
513
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
514
514
  /**
515
515
  * Forbid the use of mutable exports with `var` or `let`.
516
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
516
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
517
517
  */
518
518
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
519
519
  /**
520
520
  * Forbid use of exported name as identifier of default export.
521
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
521
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
522
522
  */
523
523
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
524
524
  /**
525
525
  * Forbid use of exported name as property of default export.
526
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
526
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
527
527
  */
528
528
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
529
529
  /**
530
530
  * Forbid named default exports.
531
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
531
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
532
532
  */
533
533
  'import/no-named-default'?: Linter.RuleEntry<[]>
534
534
  /**
535
535
  * Forbid named exports.
536
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
536
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
537
537
  */
538
538
  'import/no-named-export'?: Linter.RuleEntry<[]>
539
539
  /**
540
540
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
541
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
541
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
542
542
  */
543
543
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
544
544
  /**
545
545
  * Forbid Node.js builtin modules.
546
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
546
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
547
547
  */
548
548
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
549
549
  /**
550
550
  * Forbid importing packages through relative paths.
551
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
551
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
552
552
  */
553
553
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
554
554
  /**
555
555
  * Forbid importing modules from parent directories.
556
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
556
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
557
557
  */
558
558
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
559
559
  /**
560
560
  * Forbid importing a default export by a different name.
561
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
561
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
562
562
  */
563
563
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
564
564
  /**
565
565
  * Enforce which files can be imported in a given folder.
566
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
566
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
567
567
  */
568
568
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
569
569
  /**
570
570
  * Forbid a module from importing itself.
571
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
571
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
572
572
  */
573
573
  'import/no-self-import'?: Linter.RuleEntry<[]>
574
574
  /**
575
575
  * Forbid unassigned imports.
576
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
576
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
577
577
  */
578
578
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
579
579
  /**
580
580
  * Ensure imports point to a file/module that can be resolved.
581
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
581
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
582
582
  */
583
583
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
584
584
  /**
585
585
  * Forbid modules without exports, or exports without matching import in another module.
586
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
586
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
587
587
  */
588
588
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
589
589
  /**
590
590
  * Forbid unnecessary path segments in import and require statements.
591
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
591
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
592
592
  */
593
593
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
594
594
  /**
595
595
  * Forbid webpack loader syntax in imports.
596
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
596
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
597
597
  */
598
598
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
599
599
  /**
600
600
  * Enforce a convention in module import order.
601
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
601
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
602
602
  */
603
603
  'import/order'?: Linter.RuleEntry<ImportOrder>
604
604
  /**
605
605
  * Prefer a default export if module exports a single name or multiple names.
606
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
606
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
607
607
  */
608
608
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
609
609
  /**
610
610
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
611
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
611
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
612
612
  */
613
613
  'import/unambiguous'?: Linter.RuleEntry<[]>
614
614
  /**
@@ -2529,8 +2529,12 @@ interface RuleOptions {
2529
2529
  */
2530
2530
  'radix'?: Linter.RuleEntry<Radix>
2531
2531
  /**
2532
- * disallow passing 'children' to void DOM elements
2533
- * @see https://eslint-react.xyz/docs/rules/dom-no-children-in-void-dom-elements
2532
+ * Surfaces diagnostics from React Forget
2533
+ */
2534
+ 'react-compiler/react-compiler'?: Linter.RuleEntry<ReactCompilerReactCompiler>
2535
+ /**
2536
+ * disallow void elements (AKA self-closing elements) from having children
2537
+ * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
2534
2538
  */
2535
2539
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2536
2540
  /**
@@ -2589,10 +2593,20 @@ interface RuleOptions {
2589
2593
  */
2590
2594
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2591
2595
  /**
2592
- * enforce custom hooks to use at least one other hook inside
2593
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2596
+ * disallow void elements (AKA self-closing elements) from having children
2597
+ * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
2598
+ */
2599
+ 'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
2600
+ /**
2601
+ * enforce custom Hooks to use at least one other hook inside
2602
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
2594
2603
  */
2595
2604
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2605
+ /**
2606
+ * disallow unnecessary usage of 'useCallback'
2607
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2608
+ */
2609
+ 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2596
2610
  /**
2597
2611
  * disallow unnecessary usage of 'useMemo'
2598
2612
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
@@ -2609,8 +2623,8 @@ interface RuleOptions {
2609
2623
  */
2610
2624
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2611
2625
  /**
2612
- * enforce custom hooks to use at least one other hook inside
2613
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2626
+ * enforce custom Hooks to use at least one other hook inside
2627
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
2614
2628
  */
2615
2629
  'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2616
2630
  /**
@@ -2623,6 +2637,11 @@ interface RuleOptions {
2623
2637
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2624
2638
  */
2625
2639
  'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2640
+ /**
2641
+ * enforce custom Hooks to use at least one other hook inside
2642
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
2643
+ */
2644
+ 'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
2626
2645
  /**
2627
2646
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2628
2647
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
@@ -2659,6 +2678,26 @@ interface RuleOptions {
2659
2678
  */
2660
2679
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2661
2680
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2681
+ /**
2682
+ * enforce that every 'addEventListener' in a component or custom Hook has a corresponding 'removeEventListener'.
2683
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
2684
+ */
2685
+ 'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
2686
+ /**
2687
+ * enforce that every 'setInterval' in a component or custom Hook has a corresponding 'clearInterval'.
2688
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
2689
+ */
2690
+ 'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
2691
+ /**
2692
+ * enforce cleanup of 'ResizeObserver' instances in components and custom Hooks.
2693
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
2694
+ */
2695
+ 'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
2696
+ /**
2697
+ * enforce that every 'setTimeout' in a component or custom Hook has a corresponding 'clearTimeout'.
2698
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
2699
+ */
2700
+ 'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
2662
2701
  /**
2663
2702
  * disallow using shorthand boolean attributes
2664
2703
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
@@ -2676,12 +2715,12 @@ interface RuleOptions {
2676
2715
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2677
2716
  /**
2678
2717
  * disallow duplicate props
2679
- * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
2718
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
2680
2719
  */
2681
2720
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
2682
2721
  /**
2683
- * a helper rule to mark variables as used
2684
- * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
2722
+ * helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
2723
+ * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2685
2724
  */
2686
2725
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
2687
2726
  /**
@@ -2784,6 +2823,11 @@ interface RuleOptions {
2784
2823
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
2785
2824
  */
2786
2825
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
2826
+ /**
2827
+ * disallow duplicate props
2828
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
2829
+ */
2830
+ 'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
2787
2831
  /**
2788
2832
  * disallow duplicate keys when rendering list
2789
2833
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
@@ -2914,6 +2958,11 @@ interface RuleOptions {
2914
2958
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2915
2959
  */
2916
2960
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
2961
+ /**
2962
+ * helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
2963
+ * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2964
+ */
2965
+ 'react/use-jsx-vars'?: Linter.RuleEntry<[]>
2917
2966
  /**
2918
2967
  * disallow confusing quantifiers
2919
2968
  * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
@@ -3369,7 +3418,7 @@ interface RuleOptions {
3369
3418
  */
3370
3419
  'semi-style'?: Linter.RuleEntry<SemiStyle>
3371
3420
  /**
3372
- * Enforce sorted import declarations within modules
3421
+ * Enforce sorted `import` declarations within modules
3373
3422
  * @see https://eslint.org/docs/latest/rules/sort-imports
3374
3423
  */
3375
3424
  'sort-imports'?: Linter.RuleEntry<SortImports>
@@ -3980,7 +4029,7 @@ interface RuleOptions {
3980
4029
  */
3981
4030
  'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
3982
4031
  /**
3983
- * Enforce padding around afterAll blocks
4032
+ * Enforce padding around `test` blocks
3984
4033
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
3985
4034
  */
3986
4035
  'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
@@ -4085,7 +4134,7 @@ interface RuleOptions {
4085
4134
  */
4086
4135
  'test/prefer-todo'?: Linter.RuleEntry<[]>
4087
4136
  /**
4088
- * Prefer `vi.mocked()` over `fn as Mock`
4137
+ * require `vi.mocked()` over `fn as Mock`
4089
4138
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
4090
4139
  */
4091
4140
  'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
@@ -4120,7 +4169,7 @@ interface RuleOptions {
4120
4169
  */
4121
4170
  'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
4122
4171
  /**
4123
- * Require promises that have expectations in their chain to be valid
4172
+ * require promises that have expectations in their chain to be valid
4124
4173
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
4125
4174
  */
4126
4175
  'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
@@ -4278,7 +4327,7 @@ interface RuleOptions {
4278
4327
  * Disallow using code marked as `@deprecated`
4279
4328
  * @see https://typescript-eslint.io/rules/no-deprecated
4280
4329
  */
4281
- 'ts/no-deprecated'?: Linter.RuleEntry<[]>
4330
+ 'ts/no-deprecated'?: Linter.RuleEntry<TsNoDeprecated>
4282
4331
  /**
4283
4332
  * Disallow duplicate class members
4284
4333
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -4396,6 +4445,11 @@ interface RuleOptions {
4396
4445
  * @see https://typescript-eslint.io/rules/no-misused-promises
4397
4446
  */
4398
4447
  'ts/no-misused-promises'?: Linter.RuleEntry<TsNoMisusedPromises>
4448
+ /**
4449
+ * Disallow using the spread operator when it might cause unexpected behavior
4450
+ * @see https://typescript-eslint.io/rules/no-misused-spread
4451
+ */
4452
+ 'ts/no-misused-spread'?: Linter.RuleEntry<TsNoMisusedSpread>
4399
4453
  /**
4400
4454
  * Disallow enums from having both number and string members
4401
4455
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -4594,7 +4648,7 @@ interface RuleOptions {
4594
4648
  */
4595
4649
  'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
4596
4650
  /**
4597
- * Enforce non-null assertions over explicit type casts
4651
+ * Enforce non-null assertions over explicit type assertions
4598
4652
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
4599
4653
  */
4600
4654
  'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
@@ -4679,7 +4733,7 @@ interface RuleOptions {
4679
4733
  */
4680
4734
  'ts/prefer-readonly-parameter-types'?: Linter.RuleEntry<TsPreferReadonlyParameterTypes>
4681
4735
  /**
4682
- * Enforce using type parameter when calling `Array#reduce` instead of casting
4736
+ * Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
4683
4737
  * @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
4684
4738
  */
4685
4739
  'ts/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
@@ -9342,12 +9396,51 @@ type PaddingLineBetweenStatements = {
9342
9396
  next: _PaddingLineBetweenStatementsStatementType
9343
9397
  }[]
9344
9398
  // ----- perfectionist/sort-array-includes -----
9345
- type PerfectionistSortArrayIncludes = []|[{
9399
+ type PerfectionistSortArrayIncludes = {
9346
9400
 
9347
- partitionByComment?: (string[] | boolean | string)
9401
+ partitionByComment?: (string[] | boolean | string | {
9402
+ block?: (string[] | boolean | string)
9403
+ line?: (string[] | boolean | string)
9404
+ [k: string]: unknown | undefined
9405
+ })
9348
9406
 
9349
9407
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9350
9408
 
9409
+ customGroups?: ({
9410
+
9411
+ groupName?: string
9412
+
9413
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9414
+
9415
+ order?: ("desc" | "asc")
9416
+
9417
+ newlinesInside?: ("always" | "never")
9418
+ anyOf?: {
9419
+
9420
+ selector?: ("literal" | "spread")
9421
+
9422
+ elementNamePattern?: string
9423
+ }[]
9424
+ } | {
9425
+
9426
+ groupName?: string
9427
+
9428
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9429
+
9430
+ order?: ("desc" | "asc")
9431
+
9432
+ newlinesInside?: ("always" | "never")
9433
+
9434
+ selector?: ("literal" | "spread")
9435
+
9436
+ elementNamePattern?: string
9437
+ })[]
9438
+ useConfigurationIf?: {
9439
+ allNamesMatchPattern?: string
9440
+ }
9441
+
9442
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9443
+
9351
9444
  partitionByNewLine?: boolean
9352
9445
 
9353
9446
  specialCharacters?: ("remove" | "trim" | "keep")
@@ -9358,16 +9451,24 @@ type PerfectionistSortArrayIncludes = []|[{
9358
9451
 
9359
9452
  locales?: (string | string[])
9360
9453
 
9361
- order?: ("asc" | "desc")
9454
+ groups?: (string | string[] | {
9455
+
9456
+ newlinesBetween?: ("ignore" | "always" | "never")
9457
+ [k: string]: unknown | undefined
9458
+ })[]
9362
9459
 
9363
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9364
- }]
9460
+ order?: ("asc" | "desc")
9461
+ }[]
9365
9462
  // ----- perfectionist/sort-classes -----
9366
9463
  type PerfectionistSortClasses = []|[{
9367
9464
 
9368
9465
  ignoreCallbackDependenciesPatterns?: string[]
9369
9466
 
9370
- partitionByComment?: (string[] | boolean | string)
9467
+ partitionByComment?: (string[] | boolean | string | {
9468
+ block?: (string[] | boolean | string)
9469
+ line?: (string[] | boolean | string)
9470
+ [k: string]: unknown | undefined
9471
+ })
9371
9472
 
9372
9473
  customGroups?: ({
9373
9474
 
@@ -9376,6 +9477,8 @@ type PerfectionistSortClasses = []|[{
9376
9477
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9377
9478
 
9378
9479
  order?: ("desc" | "asc")
9480
+
9481
+ newlinesInside?: ("always" | "never")
9379
9482
  anyOf?: {
9380
9483
 
9381
9484
  elementValuePattern?: string
@@ -9396,6 +9499,8 @@ type PerfectionistSortClasses = []|[{
9396
9499
 
9397
9500
  order?: ("desc" | "asc")
9398
9501
 
9502
+ newlinesInside?: ("always" | "never")
9503
+
9399
9504
  elementValuePattern?: string
9400
9505
 
9401
9506
  decoratorNamePattern?: string
@@ -9417,18 +9522,26 @@ type PerfectionistSortClasses = []|[{
9417
9522
 
9418
9523
  alphabet?: string
9419
9524
 
9525
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9526
+
9420
9527
  locales?: (string | string[])
9421
9528
 
9422
- groups?: (string | string[])[]
9529
+ groups?: (string | string[] | {
9530
+
9531
+ newlinesBetween?: ("ignore" | "always" | "never")
9532
+ [k: string]: unknown | undefined
9533
+ })[]
9423
9534
 
9424
9535
  order?: ("asc" | "desc")
9425
-
9426
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9427
9536
  }]
9428
9537
  // ----- perfectionist/sort-decorators -----
9429
9538
  type PerfectionistSortDecorators = []|[{
9430
9539
 
9431
- partitionByComment?: (string[] | boolean | string)
9540
+ partitionByComment?: (string[] | boolean | string | {
9541
+ block?: (string[] | boolean | string)
9542
+ line?: (string[] | boolean | string)
9543
+ [k: string]: unknown | undefined
9544
+ })
9432
9545
 
9433
9546
  sortOnParameters?: boolean
9434
9547
 
@@ -9450,18 +9563,26 @@ type PerfectionistSortDecorators = []|[{
9450
9563
 
9451
9564
  alphabet?: string
9452
9565
 
9566
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9567
+
9453
9568
  locales?: (string | string[])
9454
9569
 
9455
- groups?: (string | string[])[]
9570
+ groups?: (string | string[] | {
9571
+
9572
+ newlinesBetween?: ("ignore" | "always" | "never")
9573
+ [k: string]: unknown | undefined
9574
+ })[]
9456
9575
 
9457
9576
  order?: ("asc" | "desc")
9458
-
9459
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9460
9577
  }]
9461
9578
  // ----- perfectionist/sort-enums -----
9462
9579
  type PerfectionistSortEnums = []|[{
9463
9580
 
9464
- partitionByComment?: (string[] | boolean | string)
9581
+ partitionByComment?: (string[] | boolean | string | {
9582
+ block?: (string[] | boolean | string)
9583
+ line?: (string[] | boolean | string)
9584
+ [k: string]: unknown | undefined
9585
+ })
9465
9586
 
9466
9587
  forceNumericSort?: boolean
9467
9588
 
@@ -9475,16 +9596,20 @@ type PerfectionistSortEnums = []|[{
9475
9596
 
9476
9597
  alphabet?: string
9477
9598
 
9599
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9600
+
9478
9601
  locales?: (string | string[])
9479
9602
 
9480
9603
  order?: ("asc" | "desc")
9481
-
9482
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9483
9604
  }]
9484
9605
  // ----- perfectionist/sort-exports -----
9485
9606
  type PerfectionistSortExports = []|[{
9486
9607
 
9487
- partitionByComment?: (string[] | boolean | string)
9608
+ partitionByComment?: (string[] | boolean | string | {
9609
+ block?: (string[] | boolean | string)
9610
+ line?: (string[] | boolean | string)
9611
+ [k: string]: unknown | undefined
9612
+ })
9488
9613
 
9489
9614
  groupKind?: ("mixed" | "values-first" | "types-first")
9490
9615
 
@@ -9496,11 +9621,11 @@ type PerfectionistSortExports = []|[{
9496
9621
 
9497
9622
  alphabet?: string
9498
9623
 
9624
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9625
+
9499
9626
  locales?: (string | string[])
9500
9627
 
9501
9628
  order?: ("asc" | "desc")
9502
-
9503
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9504
9629
  }]
9505
9630
  // ----- perfectionist/sort-heritage-clauses -----
9506
9631
  type PerfectionistSortHeritageClauses = []|[{
@@ -9515,13 +9640,17 @@ type PerfectionistSortHeritageClauses = []|[{
9515
9640
 
9516
9641
  alphabet?: string
9517
9642
 
9643
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9644
+
9518
9645
  locales?: (string | string[])
9519
9646
 
9520
- groups?: (string | string[])[]
9647
+ groups?: (string | string[] | {
9648
+
9649
+ newlinesBetween?: ("ignore" | "always" | "never")
9650
+ [k: string]: unknown | undefined
9651
+ })[]
9521
9652
 
9522
9653
  order?: ("asc" | "desc")
9523
-
9524
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9525
9654
  }]
9526
9655
  // ----- perfectionist/sort-imports -----
9527
9656
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
@@ -9538,7 +9667,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9538
9667
  }
9539
9668
  }
9540
9669
 
9541
- partitionByComment?: (string[] | boolean | string)
9670
+ partitionByComment?: (string[] | boolean | string | {
9671
+ block?: (string[] | boolean | string)
9672
+ line?: (string[] | boolean | string)
9673
+ [k: string]: unknown | undefined
9674
+ })
9542
9675
 
9543
9676
  internalPattern?: string[]
9544
9677
 
@@ -9560,13 +9693,17 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9560
9693
 
9561
9694
  alphabet?: string
9562
9695
 
9696
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9697
+
9563
9698
  locales?: (string | string[])
9564
9699
 
9565
- groups?: (string | string[])[]
9700
+ groups?: (string | string[] | {
9701
+
9702
+ newlinesBetween?: ("ignore" | "always" | "never")
9703
+ [k: string]: unknown | undefined
9704
+ })[]
9566
9705
 
9567
9706
  order?: ("asc" | "desc")
9568
-
9569
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9570
9707
  })
9571
9708
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9572
9709
  [k: string]: unknown | undefined
@@ -9576,11 +9713,19 @@ interface _PerfectionistSortImports_IsLineLength {
9576
9713
  [k: string]: unknown | undefined
9577
9714
  }
9578
9715
  // ----- perfectionist/sort-interfaces -----
9579
- type PerfectionistSortInterfaces = []|[{
9716
+ type PerfectionistSortInterfaces = {
9580
9717
 
9581
9718
  ignorePattern?: string[]
9719
+ useConfigurationIf?: {
9720
+ allNamesMatchPattern?: string
9721
+ declarationMatchesPattern?: string
9722
+ }
9582
9723
 
9583
- partitionByComment?: (string[] | boolean | string)
9724
+ partitionByComment?: (string[] | boolean | string | {
9725
+ block?: (string[] | boolean | string)
9726
+ line?: (string[] | boolean | string)
9727
+ [k: string]: unknown | undefined
9728
+ })
9584
9729
  customGroups?: ({
9585
9730
  [k: string]: (string | string[]) | undefined
9586
9731
  } | ({
@@ -9590,6 +9735,8 @@ type PerfectionistSortInterfaces = []|[{
9590
9735
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9591
9736
 
9592
9737
  order?: ("desc" | "asc")
9738
+
9739
+ newlinesInside?: ("always" | "never")
9593
9740
  anyOf?: {
9594
9741
 
9595
9742
  modifiers?: ("optional" | "required" | "multiline")[]
@@ -9606,6 +9753,8 @@ type PerfectionistSortInterfaces = []|[{
9606
9753
 
9607
9754
  order?: ("desc" | "asc")
9608
9755
 
9756
+ newlinesInside?: ("always" | "never")
9757
+
9609
9758
  modifiers?: ("optional" | "required" | "multiline")[]
9610
9759
 
9611
9760
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
@@ -9615,6 +9764,8 @@ type PerfectionistSortInterfaces = []|[{
9615
9764
 
9616
9765
  groupKind?: ("mixed" | "required-first" | "optional-first")
9617
9766
 
9767
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9768
+
9618
9769
  partitionByNewLine?: boolean
9619
9770
 
9620
9771
  specialCharacters?: ("remove" | "trim" | "keep")
@@ -9627,16 +9778,22 @@ type PerfectionistSortInterfaces = []|[{
9627
9778
 
9628
9779
  locales?: (string | string[])
9629
9780
 
9630
- groups?: (string | string[])[]
9781
+ groups?: (string | string[] | {
9782
+
9783
+ newlinesBetween?: ("ignore" | "always" | "never")
9784
+ [k: string]: unknown | undefined
9785
+ })[]
9631
9786
 
9632
9787
  order?: ("asc" | "desc")
9633
-
9634
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9635
- }]
9788
+ }[]
9636
9789
  // ----- perfectionist/sort-intersection-types -----
9637
9790
  type PerfectionistSortIntersectionTypes = []|[{
9638
9791
 
9639
- partitionByComment?: (string[] | boolean | string)
9792
+ partitionByComment?: (string[] | boolean | string | {
9793
+ block?: (string[] | boolean | string)
9794
+ line?: (string[] | boolean | string)
9795
+ [k: string]: unknown | undefined
9796
+ })
9640
9797
 
9641
9798
  partitionByNewLine?: boolean
9642
9799
 
@@ -9648,13 +9805,17 @@ type PerfectionistSortIntersectionTypes = []|[{
9648
9805
 
9649
9806
  alphabet?: string
9650
9807
 
9808
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9809
+
9651
9810
  locales?: (string | string[])
9652
9811
 
9653
- groups?: (string | string[])[]
9812
+ groups?: (string | string[] | {
9813
+
9814
+ newlinesBetween?: ("ignore" | "always" | "never")
9815
+ [k: string]: unknown | undefined
9816
+ })[]
9654
9817
 
9655
9818
  order?: ("asc" | "desc")
9656
-
9657
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9658
9819
  }]
9659
9820
  // ----- perfectionist/sort-jsx-props -----
9660
9821
  type PerfectionistSortJsxProps = []|[{
@@ -9671,18 +9832,26 @@ type PerfectionistSortJsxProps = []|[{
9671
9832
 
9672
9833
  alphabet?: string
9673
9834
 
9835
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9836
+
9674
9837
  locales?: (string | string[])
9675
9838
 
9676
- groups?: (string | string[])[]
9839
+ groups?: (string | string[] | {
9840
+
9841
+ newlinesBetween?: ("ignore" | "always" | "never")
9842
+ [k: string]: unknown | undefined
9843
+ })[]
9677
9844
 
9678
9845
  order?: ("asc" | "desc")
9679
-
9680
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9681
9846
  }]
9682
9847
  // ----- perfectionist/sort-maps -----
9683
9848
  type PerfectionistSortMaps = []|[{
9684
9849
 
9685
- partitionByComment?: (string[] | boolean | string)
9850
+ partitionByComment?: (string[] | boolean | string | {
9851
+ block?: (string[] | boolean | string)
9852
+ line?: (string[] | boolean | string)
9853
+ [k: string]: unknown | undefined
9854
+ })
9686
9855
 
9687
9856
  partitionByNewLine?: boolean
9688
9857
 
@@ -9692,16 +9861,20 @@ type PerfectionistSortMaps = []|[{
9692
9861
 
9693
9862
  alphabet?: string
9694
9863
 
9864
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9865
+
9695
9866
  locales?: (string | string[])
9696
9867
 
9697
9868
  order?: ("asc" | "desc")
9698
-
9699
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9700
9869
  }]
9701
9870
  // ----- perfectionist/sort-modules -----
9702
9871
  type PerfectionistSortModules = []|[{
9703
9872
 
9704
- partitionByComment?: (string[] | boolean | string)
9873
+ partitionByComment?: (string[] | boolean | string | {
9874
+ block?: (string[] | boolean | string)
9875
+ line?: (string[] | boolean | string)
9876
+ [k: string]: unknown | undefined
9877
+ })
9705
9878
 
9706
9879
  customGroups?: ({
9707
9880
 
@@ -9710,6 +9883,8 @@ type PerfectionistSortModules = []|[{
9710
9883
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9711
9884
 
9712
9885
  order?: ("desc" | "asc")
9886
+
9887
+ newlinesInside?: ("always" | "never")
9713
9888
  anyOf?: {
9714
9889
 
9715
9890
  decoratorNamePattern?: string
@@ -9728,6 +9903,8 @@ type PerfectionistSortModules = []|[{
9728
9903
 
9729
9904
  order?: ("desc" | "asc")
9730
9905
 
9906
+ newlinesInside?: ("always" | "never")
9907
+
9731
9908
  decoratorNamePattern?: string
9732
9909
 
9733
9910
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
@@ -9747,18 +9924,26 @@ type PerfectionistSortModules = []|[{
9747
9924
 
9748
9925
  alphabet?: string
9749
9926
 
9927
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9928
+
9750
9929
  locales?: (string | string[])
9751
9930
 
9752
- groups?: (string | string[])[]
9931
+ groups?: (string | string[] | {
9932
+
9933
+ newlinesBetween?: ("ignore" | "always" | "never")
9934
+ [k: string]: unknown | undefined
9935
+ })[]
9753
9936
 
9754
9937
  order?: ("asc" | "desc")
9755
-
9756
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9757
9938
  }]
9758
9939
  // ----- perfectionist/sort-named-exports -----
9759
9940
  type PerfectionistSortNamedExports = []|[{
9760
9941
 
9761
- partitionByComment?: (string[] | boolean | string)
9942
+ partitionByComment?: (string[] | boolean | string | {
9943
+ block?: (string[] | boolean | string)
9944
+ line?: (string[] | boolean | string)
9945
+ [k: string]: unknown | undefined
9946
+ })
9762
9947
 
9763
9948
  groupKind?: ("mixed" | "values-first" | "types-first")
9764
9949
 
@@ -9770,16 +9955,20 @@ type PerfectionistSortNamedExports = []|[{
9770
9955
 
9771
9956
  alphabet?: string
9772
9957
 
9958
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9959
+
9773
9960
  locales?: (string | string[])
9774
9961
 
9775
9962
  order?: ("asc" | "desc")
9776
-
9777
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9778
9963
  }]
9779
9964
  // ----- perfectionist/sort-named-imports -----
9780
9965
  type PerfectionistSortNamedImports = []|[{
9781
9966
 
9782
- partitionByComment?: (string[] | boolean | string)
9967
+ partitionByComment?: (string[] | boolean | string | {
9968
+ block?: (string[] | boolean | string)
9969
+ line?: (string[] | boolean | string)
9970
+ [k: string]: unknown | undefined
9971
+ })
9783
9972
 
9784
9973
  groupKind?: ("mixed" | "values-first" | "types-first")
9785
9974
 
@@ -9793,18 +9982,26 @@ type PerfectionistSortNamedImports = []|[{
9793
9982
 
9794
9983
  alphabet?: string
9795
9984
 
9985
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9986
+
9796
9987
  locales?: (string | string[])
9797
9988
 
9798
9989
  order?: ("asc" | "desc")
9799
-
9800
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9801
9990
  }]
9802
9991
  // ----- perfectionist/sort-object-types -----
9803
- type PerfectionistSortObjectTypes = []|[{
9992
+ type PerfectionistSortObjectTypes = {
9804
9993
 
9805
9994
  ignorePattern?: string[]
9995
+ useConfigurationIf?: {
9996
+ allNamesMatchPattern?: string
9997
+ declarationMatchesPattern?: string
9998
+ }
9806
9999
 
9807
- partitionByComment?: (string[] | boolean | string)
10000
+ partitionByComment?: (string[] | boolean | string | {
10001
+ block?: (string[] | boolean | string)
10002
+ line?: (string[] | boolean | string)
10003
+ [k: string]: unknown | undefined
10004
+ })
9808
10005
  customGroups?: ({
9809
10006
  [k: string]: (string | string[]) | undefined
9810
10007
  } | ({
@@ -9814,6 +10011,8 @@ type PerfectionistSortObjectTypes = []|[{
9814
10011
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9815
10012
 
9816
10013
  order?: ("desc" | "asc")
10014
+
10015
+ newlinesInside?: ("always" | "never")
9817
10016
  anyOf?: {
9818
10017
 
9819
10018
  modifiers?: ("optional" | "required" | "multiline")[]
@@ -9830,6 +10029,8 @@ type PerfectionistSortObjectTypes = []|[{
9830
10029
 
9831
10030
  order?: ("desc" | "asc")
9832
10031
 
10032
+ newlinesInside?: ("always" | "never")
10033
+
9833
10034
  modifiers?: ("optional" | "required" | "multiline")[]
9834
10035
 
9835
10036
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
@@ -9839,6 +10040,8 @@ type PerfectionistSortObjectTypes = []|[{
9839
10040
 
9840
10041
  groupKind?: ("mixed" | "required-first" | "optional-first")
9841
10042
 
10043
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10044
+
9842
10045
  partitionByNewLine?: boolean
9843
10046
 
9844
10047
  specialCharacters?: ("remove" | "trim" | "keep")
@@ -9851,12 +10054,14 @@ type PerfectionistSortObjectTypes = []|[{
9851
10054
 
9852
10055
  locales?: (string | string[])
9853
10056
 
9854
- groups?: (string | string[])[]
10057
+ groups?: (string | string[] | {
10058
+
10059
+ newlinesBetween?: ("ignore" | "always" | "never")
10060
+ [k: string]: unknown | undefined
10061
+ })[]
9855
10062
 
9856
10063
  order?: ("asc" | "desc")
9857
-
9858
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9859
- }]
10064
+ }[]
9860
10065
  // ----- perfectionist/sort-objects -----
9861
10066
  type PerfectionistSortObjects = {
9862
10067
 
@@ -9866,8 +10071,16 @@ type PerfectionistSortObjects = {
9866
10071
  })
9867
10072
 
9868
10073
  ignorePattern?: string[]
10074
+ useConfigurationIf?: {
10075
+ allNamesMatchPattern?: string
10076
+ callingFunctionNamePattern?: string
10077
+ }
9869
10078
 
9870
- partitionByComment?: (string[] | boolean | string)
10079
+ partitionByComment?: (string[] | boolean | string | {
10080
+ block?: (string[] | boolean | string)
10081
+ line?: (string[] | boolean | string)
10082
+ [k: string]: unknown | undefined
10083
+ })
9871
10084
 
9872
10085
  destructureOnly?: boolean
9873
10086
 
@@ -9875,10 +10088,9 @@ type PerfectionistSortObjects = {
9875
10088
 
9876
10089
  styledComponents?: boolean
9877
10090
 
10091
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10092
+
9878
10093
  partitionByNewLine?: boolean
9879
- useConfigurationIf?: {
9880
- allNamesMatchPattern?: string
9881
- }
9882
10094
 
9883
10095
  specialCharacters?: ("remove" | "trim" | "keep")
9884
10096
 
@@ -9894,19 +10106,60 @@ type PerfectionistSortObjects = {
9894
10106
 
9895
10107
  locales?: (string | string[])
9896
10108
 
9897
- groups?: (string | string[])[]
10109
+ groups?: (string | string[] | {
10110
+
10111
+ newlinesBetween?: ("ignore" | "always" | "never")
10112
+ [k: string]: unknown | undefined
10113
+ })[]
9898
10114
 
9899
10115
  order?: ("asc" | "desc")
9900
-
9901
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9902
10116
  }[]
9903
10117
  // ----- perfectionist/sort-sets -----
9904
- type PerfectionistSortSets = []|[{
10118
+ type PerfectionistSortSets = {
9905
10119
 
9906
- partitionByComment?: (string[] | boolean | string)
10120
+ partitionByComment?: (string[] | boolean | string | {
10121
+ block?: (string[] | boolean | string)
10122
+ line?: (string[] | boolean | string)
10123
+ [k: string]: unknown | undefined
10124
+ })
9907
10125
 
9908
10126
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9909
10127
 
10128
+ customGroups?: ({
10129
+
10130
+ groupName?: string
10131
+
10132
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10133
+
10134
+ order?: ("desc" | "asc")
10135
+
10136
+ newlinesInside?: ("always" | "never")
10137
+ anyOf?: {
10138
+
10139
+ selector?: ("literal" | "spread")
10140
+
10141
+ elementNamePattern?: string
10142
+ }[]
10143
+ } | {
10144
+
10145
+ groupName?: string
10146
+
10147
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10148
+
10149
+ order?: ("desc" | "asc")
10150
+
10151
+ newlinesInside?: ("always" | "never")
10152
+
10153
+ selector?: ("literal" | "spread")
10154
+
10155
+ elementNamePattern?: string
10156
+ })[]
10157
+ useConfigurationIf?: {
10158
+ allNamesMatchPattern?: string
10159
+ }
10160
+
10161
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10162
+
9910
10163
  partitionByNewLine?: boolean
9911
10164
 
9912
10165
  specialCharacters?: ("remove" | "trim" | "keep")
@@ -9917,10 +10170,14 @@ type PerfectionistSortSets = []|[{
9917
10170
 
9918
10171
  locales?: (string | string[])
9919
10172
 
9920
- order?: ("asc" | "desc")
10173
+ groups?: (string | string[] | {
10174
+
10175
+ newlinesBetween?: ("ignore" | "always" | "never")
10176
+ [k: string]: unknown | undefined
10177
+ })[]
9921
10178
 
9922
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9923
- }]
10179
+ order?: ("asc" | "desc")
10180
+ }[]
9924
10181
  // ----- perfectionist/sort-switch-case -----
9925
10182
  type PerfectionistSortSwitchCase = []|[{
9926
10183
 
@@ -9930,16 +10187,20 @@ type PerfectionistSortSwitchCase = []|[{
9930
10187
 
9931
10188
  alphabet?: string
9932
10189
 
10190
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
10191
+
9933
10192
  locales?: (string | string[])
9934
10193
 
9935
10194
  order?: ("asc" | "desc")
9936
-
9937
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9938
10195
  }]
9939
10196
  // ----- perfectionist/sort-union-types -----
9940
10197
  type PerfectionistSortUnionTypes = []|[{
9941
10198
 
9942
- partitionByComment?: (string[] | boolean | string)
10199
+ partitionByComment?: (string[] | boolean | string | {
10200
+ block?: (string[] | boolean | string)
10201
+ line?: (string[] | boolean | string)
10202
+ [k: string]: unknown | undefined
10203
+ })
9943
10204
 
9944
10205
  partitionByNewLine?: boolean
9945
10206
 
@@ -9951,18 +10212,26 @@ type PerfectionistSortUnionTypes = []|[{
9951
10212
 
9952
10213
  alphabet?: string
9953
10214
 
10215
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
10216
+
9954
10217
  locales?: (string | string[])
9955
10218
 
9956
- groups?: (string | string[])[]
10219
+ groups?: (string | string[] | {
10220
+
10221
+ newlinesBetween?: ("ignore" | "always" | "never")
10222
+ [k: string]: unknown | undefined
10223
+ })[]
9957
10224
 
9958
10225
  order?: ("asc" | "desc")
9959
-
9960
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9961
10226
  }]
9962
10227
  // ----- perfectionist/sort-variable-declarations -----
9963
10228
  type PerfectionistSortVariableDeclarations = []|[{
9964
10229
 
9965
- partitionByComment?: (string[] | boolean | string)
10230
+ partitionByComment?: (string[] | boolean | string | {
10231
+ block?: (string[] | boolean | string)
10232
+ line?: (string[] | boolean | string)
10233
+ [k: string]: unknown | undefined
10234
+ })
9966
10235
 
9967
10236
  partitionByNewLine?: boolean
9968
10237
 
@@ -9972,11 +10241,11 @@ type PerfectionistSortVariableDeclarations = []|[{
9972
10241
 
9973
10242
  alphabet?: string
9974
10243
 
10244
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
10245
+
9975
10246
  locales?: (string | string[])
9976
10247
 
9977
10248
  order?: ("asc" | "desc")
9978
-
9979
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
9980
10249
  }]
9981
10250
  // ----- prefer-arrow-callback -----
9982
10251
  type PreferArrowCallback = []|[{
@@ -10041,6 +10310,10 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
10041
10310
  })]
10042
10311
  // ----- radix -----
10043
10312
  type Radix = []|[("always" | "as-needed")]
10313
+ // ----- react-compiler/react-compiler -----
10314
+ type ReactCompilerReactCompiler = []|[{
10315
+ [k: string]: unknown | undefined
10316
+ }]
10044
10317
  // ----- react-dom/no-unknown-property -----
10045
10318
  type ReactDomNoUnknownProperty = []|[{
10046
10319
  ignore?: string[]
@@ -10599,8 +10872,7 @@ type TestNoRestrictedViMethods = []|[{
10599
10872
  }]
10600
10873
  // ----- test/no-standalone-expect -----
10601
10874
  type TestNoStandaloneExpect = []|[{
10602
- additionaltestblockfunctions?: string[]
10603
- [k: string]: unknown | undefined
10875
+ additionalTestBlockFunctions?: string[]
10604
10876
  }]
10605
10877
  // ----- test/prefer-expect-assertions -----
10606
10878
  type TestPreferExpectAssertions = []|[{
@@ -10692,7 +10964,9 @@ type TsConsistentTypeAssertions = []|[({
10692
10964
  assertionStyle: "never"
10693
10965
  } | {
10694
10966
 
10695
- assertionStyle: ("as" | "angle-bracket")
10967
+ arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
10968
+
10969
+ assertionStyle?: ("as" | "angle-bracket")
10696
10970
 
10697
10971
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
10698
10972
  })]
@@ -11148,6 +11422,22 @@ type TsNoConfusingVoidExpression = []|[{
11148
11422
 
11149
11423
  ignoreVoidReturningFunctions?: boolean
11150
11424
  }]
11425
+ // ----- ts/no-deprecated -----
11426
+ type TsNoDeprecated = []|[{
11427
+
11428
+ allow?: (string | {
11429
+ from: "file"
11430
+ name: (string | [string, ...(string)[]])
11431
+ path?: string
11432
+ } | {
11433
+ from: "lib"
11434
+ name: (string | [string, ...(string)[]])
11435
+ } | {
11436
+ from: "package"
11437
+ name: (string | [string, ...(string)[]])
11438
+ package: string
11439
+ })[]
11440
+ }]
11151
11441
  // ----- ts/no-duplicate-type-constituents -----
11152
11442
  type TsNoDuplicateTypeConstituents = []|[{
11153
11443
 
@@ -11289,6 +11579,22 @@ type TsNoMisusedPromises = []|[{
11289
11579
  variables?: boolean
11290
11580
  })
11291
11581
  }]
11582
+ // ----- ts/no-misused-spread -----
11583
+ type TsNoMisusedSpread = []|[{
11584
+
11585
+ allow?: (string | {
11586
+ from: "file"
11587
+ name: (string | [string, ...(string)[]])
11588
+ path?: string
11589
+ } | {
11590
+ from: "lib"
11591
+ name: (string | [string, ...(string)[]])
11592
+ } | {
11593
+ from: "package"
11594
+ name: (string | [string, ...(string)[]])
11595
+ package: string
11596
+ })[]
11597
+ }]
11292
11598
  // ----- ts/no-namespace -----
11293
11599
  type TsNoNamespace = []|[{
11294
11600
 
@@ -11364,7 +11670,7 @@ type TsNoShadow = []|[{
11364
11670
 
11365
11671
  builtinGlobals?: boolean
11366
11672
 
11367
- hoist?: ("all" | "functions" | "never")
11673
+ hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
11368
11674
 
11369
11675
  ignoreFunctionTypeParameterNameValueShadow?: boolean
11370
11676
 
@@ -14135,6 +14441,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14135
14441
  'quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
14136
14442
  quotes?: eslint.Linter.RuleEntry<undefined> | undefined;
14137
14443
  radix?: eslint.Linter.RuleEntry<undefined> | undefined;
14444
+ 'react-compiler/react-compiler'?: eslint.Linter.RuleEntry<undefined> | undefined;
14138
14445
  'react-dom/no-children-in-void-dom-elements'?: eslint.Linter.RuleEntry<[]> | undefined;
14139
14446
  'react-dom/no-dangerously-set-innerhtml'?: eslint.Linter.RuleEntry<[]> | undefined;
14140
14447
  'react-dom/no-dangerously-set-innerhtml-with-children'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14147,13 +14454,16 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14147
14454
  'react-dom/no-unknown-property'?: eslint.Linter.RuleEntry<undefined> | undefined;
14148
14455
  'react-dom/no-unsafe-iframe-sandbox'?: eslint.Linter.RuleEntry<[]> | undefined;
14149
14456
  'react-dom/no-unsafe-target-blank'?: eslint.Linter.RuleEntry<[]> | undefined;
14457
+ 'react-dom/no-void-elements-with-children'?: eslint.Linter.RuleEntry<[]> | undefined;
14150
14458
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
14459
+ 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
14151
14460
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
14152
14461
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
14153
14462
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
14154
14463
  'react-hooks-extra/no-redundant-custom-hook'?: eslint.Linter.RuleEntry<[]> | undefined;
14155
14464
  'react-hooks-extra/no-unnecessary-use-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
14156
14465
  'react-hooks-extra/no-unnecessary-use-memo'?: eslint.Linter.RuleEntry<[]> | undefined;
14466
+ 'react-hooks-extra/no-useless-custom-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
14157
14467
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: eslint.Linter.RuleEntry<[]> | undefined;
14158
14468
  'react-hooks/exhaustive-deps'?: eslint.Linter.RuleEntry<undefined> | undefined;
14159
14469
  'react-hooks/rules-of-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14162,6 +14472,10 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14162
14472
  'react-naming-convention/filename-extension'?: eslint.Linter.RuleEntry<undefined> | undefined;
14163
14473
  'react-naming-convention/use-state'?: eslint.Linter.RuleEntry<[]> | undefined;
14164
14474
  'react-refresh/only-export-components'?: eslint.Linter.RuleEntry<undefined> | undefined;
14475
+ 'react-web-api/no-leaked-event-listener'?: eslint.Linter.RuleEntry<[]> | undefined;
14476
+ 'react-web-api/no-leaked-interval'?: eslint.Linter.RuleEntry<[]> | undefined;
14477
+ 'react-web-api/no-leaked-resize-observer'?: eslint.Linter.RuleEntry<[]> | undefined;
14478
+ 'react-web-api/no-leaked-timeout'?: eslint.Linter.RuleEntry<[]> | undefined;
14165
14479
  'react/avoid-shorthand-boolean'?: eslint.Linter.RuleEntry<[]> | undefined;
14166
14480
  'react/avoid-shorthand-fragment'?: eslint.Linter.RuleEntry<[]> | undefined;
14167
14481
  'react/ensure-forward-ref-using-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14187,6 +14501,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14187
14501
  'react/no-create-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
14188
14502
  'react/no-default-props'?: eslint.Linter.RuleEntry<[]> | undefined;
14189
14503
  'react/no-direct-mutation-state'?: eslint.Linter.RuleEntry<[]> | undefined;
14504
+ 'react/no-duplicate-jsx-props'?: eslint.Linter.RuleEntry<[]> | undefined;
14190
14505
  'react/no-duplicate-key'?: eslint.Linter.RuleEntry<[]> | undefined;
14191
14506
  'react/no-forward-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
14192
14507
  'react/no-implicit-key'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14213,6 +14528,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14213
14528
  'react/prefer-read-only-props'?: eslint.Linter.RuleEntry<[]> | undefined;
14214
14529
  'react/prefer-shorthand-boolean'?: eslint.Linter.RuleEntry<[]> | undefined;
14215
14530
  'react/prefer-shorthand-fragment'?: eslint.Linter.RuleEntry<[]> | undefined;
14531
+ 'react/use-jsx-vars'?: eslint.Linter.RuleEntry<[]> | undefined;
14216
14532
  'regexp/confusing-quantifier'?: eslint.Linter.RuleEntry<[]> | undefined;
14217
14533
  'regexp/control-character-escape'?: eslint.Linter.RuleEntry<[]> | undefined;
14218
14534
  'regexp/grapheme-string-literal'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14417,7 +14733,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14417
14733
  'ts/no-base-to-string'?: eslint.Linter.RuleEntry<undefined> | undefined;
14418
14734
  'ts/no-confusing-non-null-assertion'?: eslint.Linter.RuleEntry<[]> | undefined;
14419
14735
  'ts/no-confusing-void-expression'?: eslint.Linter.RuleEntry<undefined> | undefined;
14420
- 'ts/no-deprecated'?: eslint.Linter.RuleEntry<[]> | undefined;
14736
+ 'ts/no-deprecated'?: eslint.Linter.RuleEntry<undefined> | undefined;
14421
14737
  'ts/no-dupe-class-members'?: eslint.Linter.RuleEntry<[]> | undefined;
14422
14738
  'ts/no-duplicate-enum-values'?: eslint.Linter.RuleEntry<[]> | undefined;
14423
14739
  'ts/no-duplicate-type-constituents'?: eslint.Linter.RuleEntry<undefined> | undefined;
@@ -14441,6 +14757,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14441
14757
  'ts/no-meaningless-void-operator'?: eslint.Linter.RuleEntry<undefined> | undefined;
14442
14758
  'ts/no-misused-new'?: eslint.Linter.RuleEntry<[]> | undefined;
14443
14759
  'ts/no-misused-promises'?: eslint.Linter.RuleEntry<undefined> | undefined;
14760
+ 'ts/no-misused-spread'?: eslint.Linter.RuleEntry<undefined> | undefined;
14444
14761
  'ts/no-mixed-enums'?: eslint.Linter.RuleEntry<[]> | undefined;
14445
14762
  'ts/no-namespace'?: eslint.Linter.RuleEntry<undefined> | undefined;
14446
14763
  'ts/no-non-null-asserted-nullish-coalescing'?: eslint.Linter.RuleEntry<[]> | undefined;