@lincy/eslint-config 4.6.3 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -325,47 +325,47 @@ interface RuleOptions {
325
325
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
326
326
  /**
327
327
  * require a `eslint-enable` comment for every `eslint-disable` comment
328
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
328
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
329
329
  */
330
330
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
331
331
  /**
332
332
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
333
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
333
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
334
334
  */
335
335
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
336
336
  /**
337
337
  * disallow duplicate `eslint-disable` comments
338
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
338
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
339
339
  */
340
340
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
341
341
  /**
342
342
  * disallow `eslint-disable` comments about specific rules
343
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
343
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
344
344
  */
345
345
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
346
346
  /**
347
347
  * disallow `eslint-disable` comments without rule names
348
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
348
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
349
349
  */
350
350
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
351
351
  /**
352
352
  * disallow unused `eslint-disable` comments
353
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
353
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
354
354
  */
355
355
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
356
356
  /**
357
357
  * disallow unused `eslint-enable` comments
358
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
358
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
359
359
  */
360
360
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
361
361
  /**
362
362
  * disallow ESLint directive-comments
363
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html
363
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
364
364
  */
365
365
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
366
366
  /**
367
367
  * require include descriptions in ESLint directive-comments
368
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
368
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
369
369
  */
370
370
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
371
371
  /**
@@ -476,228 +476,233 @@ interface RuleOptions {
476
476
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
477
477
  /**
478
478
  * Enforce or ban the use of inline type-only markers for named imports.
479
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/consistent-type-specifier-style.md
480
480
  */
481
481
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
482
482
  /**
483
483
  * Ensure a default export is present, given a default import.
484
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/default.md
485
485
  */
486
486
  'import/default'?: Linter.RuleEntry<[]>
487
487
  /**
488
488
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
489
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/dynamic-import-chunkname.md
490
490
  */
491
491
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
492
492
  /**
493
493
  * Forbid any invalid exports, i.e. re-export of the same name.
494
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/export.md
495
495
  */
496
496
  'import/export'?: Linter.RuleEntry<[]>
497
497
  /**
498
498
  * Ensure all exports appear after other statements.
499
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/exports-last.md
500
500
  */
501
501
  'import/exports-last'?: Linter.RuleEntry<[]>
502
502
  /**
503
503
  * Ensure consistent use of file extension within the import path.
504
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/extensions.md
505
505
  */
506
506
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
507
507
  /**
508
508
  * Ensure all imports appear before other statements.
509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/first.md
510
510
  */
511
511
  'import/first'?: Linter.RuleEntry<ImportFirst>
512
512
  /**
513
513
  * Prefer named exports to be grouped together in a single export declaration.
514
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/group-exports.md
515
515
  */
516
516
  'import/group-exports'?: Linter.RuleEntry<[]>
517
517
  /**
518
518
  * Replaced by `import-x/first`.
519
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
519
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/imports-first.md
520
520
  * @deprecated
521
521
  */
522
522
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
523
523
  /**
524
524
  * Enforce the maximum number of dependencies a module can have.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/max-dependencies.md
526
526
  */
527
527
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
528
528
  /**
529
529
  * Ensure named imports correspond to a named export in the remote file.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/named.md
531
531
  */
532
532
  'import/named'?: Linter.RuleEntry<ImportNamed>
533
533
  /**
534
534
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/namespace.md
536
536
  */
537
537
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
538
538
  /**
539
539
  * Enforce a newline after import statements.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/newline-after-import.md
541
541
  */
542
542
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
543
543
  /**
544
544
  * Forbid import of modules using absolute paths.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-absolute-path.md
546
546
  */
547
547
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
548
548
  /**
549
549
  * Forbid AMD `require` and `define` calls.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-amd.md
551
551
  */
552
552
  'import/no-amd'?: Linter.RuleEntry<[]>
553
553
  /**
554
554
  * Forbid anonymous values as default exports.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-anonymous-default-export.md
556
556
  */
557
557
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
558
558
  /**
559
559
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-commonjs.md
561
561
  */
562
562
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
563
563
  /**
564
564
  * Forbid a module from importing a module with a dependency path back to itself.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-cycle.md
566
566
  */
567
567
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
568
568
  /**
569
569
  * Forbid default exports.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-default-export.md
571
571
  */
572
572
  'import/no-default-export'?: Linter.RuleEntry<[]>
573
573
  /**
574
574
  * Forbid imported names marked with `@deprecated` documentation tag.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-deprecated.md
576
576
  */
577
577
  'import/no-deprecated'?: Linter.RuleEntry<[]>
578
578
  /**
579
579
  * Forbid repeated import of the same module in multiple places.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-duplicates.md
581
581
  */
582
582
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
583
583
  /**
584
584
  * Forbid `require()` calls with expressions.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-dynamic-require.md
586
586
  */
587
587
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
588
588
  /**
589
589
  * Forbid empty named import blocks.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-empty-named-blocks.md
591
591
  */
592
592
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
593
593
  /**
594
594
  * Forbid the use of extraneous packages.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-extraneous-dependencies.md
596
596
  */
597
597
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
598
598
  /**
599
599
  * Forbid import statements with CommonJS module.exports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-import-module-exports.md
601
601
  */
602
602
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
603
603
  /**
604
604
  * Forbid importing the submodules of other modules.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-internal-modules.md
606
606
  */
607
607
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
608
608
  /**
609
609
  * Forbid the use of mutable exports with `var` or `let`.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-mutable-exports.md
611
611
  */
612
612
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
613
613
  /**
614
614
  * Forbid use of exported name as identifier of default export.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
615
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default.md
616
616
  */
617
617
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
618
618
  /**
619
619
  * Forbid use of exported name as property of default export.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
620
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default-member.md
621
621
  */
622
622
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
623
623
  /**
624
624
  * Forbid named default exports.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
625
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-default.md
626
626
  */
627
627
  'import/no-named-default'?: Linter.RuleEntry<[]>
628
628
  /**
629
629
  * Forbid named exports.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
630
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-export.md
631
631
  */
632
632
  'import/no-named-export'?: Linter.RuleEntry<[]>
633
633
  /**
634
634
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
635
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-namespace.md
636
636
  */
637
637
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
638
638
  /**
639
639
  * Forbid Node.js builtin modules.
640
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
640
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-nodejs-modules.md
641
641
  */
642
642
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
643
643
  /**
644
644
  * Forbid importing packages through relative paths.
645
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
645
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-packages.md
646
646
  */
647
647
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
648
648
  /**
649
649
  * Forbid importing modules from parent directories.
650
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
650
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-parent-imports.md
651
651
  */
652
652
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
653
+ /**
654
+ * Forbid importing a default export by a different name.
655
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-rename-default.md
656
+ */
657
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
653
658
  /**
654
659
  * Enforce which files can be imported in a given folder.
655
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
660
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-restricted-paths.md
656
661
  */
657
662
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
658
663
  /**
659
664
  * Forbid a module from importing itself.
660
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
665
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-self-import.md
661
666
  */
662
667
  'import/no-self-import'?: Linter.RuleEntry<[]>
663
668
  /**
664
669
  * Forbid unassigned imports.
665
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
670
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unassigned-import.md
666
671
  */
667
672
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
668
673
  /**
669
674
  * Ensure imports point to a file/module that can be resolved.
670
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
675
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unresolved.md
671
676
  */
672
677
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
673
678
  /**
674
679
  * Forbid modules without exports, or exports without matching import in another module.
675
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
680
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unused-modules.md
676
681
  */
677
682
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
678
683
  /**
679
684
  * Forbid unnecessary path segments in import and require statements.
680
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
685
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-useless-path-segments.md
681
686
  */
682
687
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
683
688
  /**
684
689
  * Forbid webpack loader syntax in imports.
685
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
690
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-webpack-loader-syntax.md
686
691
  */
687
692
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
688
693
  /**
689
694
  * Enforce a convention in module import order.
690
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
695
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/order.md
691
696
  */
692
697
  'import/order'?: Linter.RuleEntry<ImportOrder>
693
698
  /**
694
699
  * Prefer a default export if module exports a single name or multiple names.
695
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
700
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/prefer-default-export.md
696
701
  */
697
702
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
698
703
  /**
699
704
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
700
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
705
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/unambiguous.md
701
706
  */
702
707
  'import/unambiguous'?: Linter.RuleEntry<[]>
703
708
  /**
@@ -762,6 +767,11 @@ interface RuleOptions {
762
767
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
763
768
  */
764
769
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
770
+ /**
771
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
772
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-template-names.md#repos-sticky-header
773
+ */
774
+ 'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
765
775
  /**
766
776
  * Reports invalid types.
767
777
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -772,6 +782,11 @@ interface RuleOptions {
772
782
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
773
783
  */
774
784
  'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
785
+ /**
786
+ * Converts non-JSDoc comments preceding or following nodes into JSDoc ones
787
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
788
+ */
789
+ 'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
775
790
  /**
776
791
  * Expects specific tags to be empty of any content.
777
792
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
@@ -792,6 +807,11 @@ interface RuleOptions {
792
807
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header
793
808
  */
794
809
  'jsdoc/informative-docs'?: Linter.RuleEntry<JsdocInformativeDocs>
810
+ /**
811
+ * Enforces minimum number of newlines before JSDoc comment blocks
812
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/lines-before-block.md#repos-sticky-header
813
+ */
814
+ 'jsdoc/lines-before-block'?: Linter.RuleEntry<JsdocLinesBeforeBlock>
795
815
  /**
796
816
  * Enforces a regular expression pattern on descriptions.
797
817
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header
@@ -946,6 +966,11 @@ interface RuleOptions {
946
966
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
947
967
  */
948
968
  'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
969
+ /**
970
+ * Requires template tags for each generic type parameter
971
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
972
+ */
973
+ 'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
949
974
  /**
950
975
  * Requires that throw statements are documented.
951
976
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -2408,88 +2433,98 @@ interface RuleOptions {
2408
2433
  */
2409
2434
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
2410
2435
  /**
2411
- * enforce sorted arrays before include method
2412
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
2436
+ * Enforce sorted arrays before include method.
2437
+ * @see https://perfectionist.dev/rules/sort-array-includes
2413
2438
  */
2414
2439
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2415
2440
  /**
2416
- * enforce sorted Astro attributes
2417
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
2441
+ * Enforce sorted Astro attributes.
2442
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
2418
2443
  */
2419
2444
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2420
2445
  /**
2421
- * enforce sorted classes
2422
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
2446
+ * Enforce sorted classes.
2447
+ * @see https://perfectionist.dev/rules/sort-classes
2423
2448
  */
2424
2449
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2425
2450
  /**
2426
- * enforce sorted TypeScript enums
2427
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
2451
+ * Enforce sorted TypeScript enums.
2452
+ * @see https://perfectionist.dev/rules/sort-enums
2428
2453
  */
2429
2454
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
2430
2455
  /**
2431
- * enforce sorted exports
2432
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
2456
+ * Enforce sorted exports.
2457
+ * @see https://perfectionist.dev/rules/sort-exports
2433
2458
  */
2434
2459
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2435
2460
  /**
2436
- * enforce sorted imports
2437
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
2461
+ * Enforce sorted imports.
2462
+ * @see https://perfectionist.dev/rules/sort-imports
2438
2463
  */
2439
2464
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
2440
2465
  /**
2441
- * enforce sorted interface properties
2442
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
2466
+ * Enforce sorted interface properties.
2467
+ * @see https://perfectionist.dev/rules/sort-interfaces
2443
2468
  */
2444
2469
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
2445
2470
  /**
2446
- * enforce sorted intersection types
2447
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
2471
+ * Enforce sorted intersection types.
2472
+ * @see https://perfectionist.dev/rules/sort-intersection-types
2448
2473
  */
2449
2474
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
2450
2475
  /**
2451
- * enforce sorted JSX props
2452
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
2476
+ * Enforce sorted JSX props.
2477
+ * @see https://perfectionist.dev/rules/sort-jsx-props
2453
2478
  */
2454
2479
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
2455
2480
  /**
2456
- * enforce sorted Map elements
2457
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
2481
+ * Enforce sorted Map elements.
2482
+ * @see https://perfectionist.dev/rules/sort-maps
2458
2483
  */
2459
2484
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2460
2485
  /**
2461
- * enforce sorted named exports
2462
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
2486
+ * Enforce sorted named exports.
2487
+ * @see https://perfectionist.dev/rules/sort-named-exports
2463
2488
  */
2464
2489
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
2465
2490
  /**
2466
- * enforce sorted named imports
2467
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
2491
+ * Enforce sorted named imports.
2492
+ * @see https://perfectionist.dev/rules/sort-named-imports
2468
2493
  */
2469
2494
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
2470
2495
  /**
2471
- * enforce sorted object types
2472
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
2496
+ * Enforce sorted object types.
2497
+ * @see https://perfectionist.dev/rules/sort-object-types
2473
2498
  */
2474
2499
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
2475
2500
  /**
2476
- * enforce sorted objects
2477
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
2501
+ * Enforce sorted objects.
2502
+ * @see https://perfectionist.dev/rules/sort-objects
2478
2503
  */
2479
2504
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2480
2505
  /**
2481
- * enforce sorted Svelte attributes
2482
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
2506
+ * Enforce sorted Svelte attributes.
2507
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
2483
2508
  */
2484
2509
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2485
2510
  /**
2486
- * enforce sorted union types
2487
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
2511
+ * Enforce sorted switch cases.
2512
+ * @see https://perfectionist.dev/rules/sort-switch-case
2513
+ */
2514
+ 'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
2515
+ /**
2516
+ * Enforce sorted union types.
2517
+ * @see https://perfectionist.dev/rules/sort-union-types
2488
2518
  */
2489
2519
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
2490
2520
  /**
2491
- * enforce sorted Vue attributes
2492
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
2521
+ * Enforce sorted variable declarations.
2522
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
2523
+ */
2524
+ 'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2525
+ /**
2526
+ * Enforce sorted Vue attributes.
2527
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
2493
2528
  */
2494
2529
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2495
2530
  /**
@@ -2582,77 +2617,87 @@ interface RuleOptions {
2582
2617
  'radix'?: Linter.RuleEntry<Radix>
2583
2618
  /**
2584
2619
  * disallow passing 'children' to void DOM elements
2585
- * @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
2620
+ * @see https://eslint-react.xyz/docs/rules/dom-no-children-in-void-dom-elements
2586
2621
  */
2587
2622
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2588
2623
  /**
2589
2624
  * disallow when a DOM component is using 'dangerouslySetInnerHTML'
2590
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
2625
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2591
2626
  */
2592
2627
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
2593
2628
  /**
2594
2629
  * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
2595
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml-with-children
2630
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2596
2631
  */
2597
2632
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
2598
2633
  /**
2599
2634
  * disallow 'findDOMNode'
2600
- * @see https://eslint-react.xyz/rules/dom-no-find-dom-node
2635
+ * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2601
2636
  */
2602
2637
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2603
2638
  /**
2604
2639
  * enforce that button component have an explicit 'type' attribute
2605
- * @see https://eslint-react.xyz/rules/dom-no-missing-button-type
2640
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2606
2641
  */
2607
2642
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
2608
2643
  /**
2609
2644
  * enforce that 'iframe' component have an explicit 'sandbox' attribute
2610
- * @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
2645
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2611
2646
  */
2612
2647
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
2613
2648
  /**
2614
2649
  * enforce that namespaces are not used in React elements
2615
- * @see https://eslint-react.xyz/rules/dom-no-namespace
2650
+ * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2616
2651
  */
2617
2652
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
2618
2653
  /**
2619
2654
  * disallow usage of the return value of 'ReactDOM.render'
2620
- * @see https://eslint-react.xyz/rules/dom-no-render-return-value
2655
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2621
2656
  */
2622
2657
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
2623
2658
  /**
2624
2659
  * disallow 'javascript:' URLs as JSX event handler prop's value
2625
- * @see https://eslint-react.xyz/rules/dom-no-script-url
2660
+ * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2626
2661
  */
2627
2662
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
2628
2663
  /**
2629
2664
  * disallow unsafe iframe 'sandbox' attribute combinations
2630
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
2665
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2631
2666
  */
2632
2667
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
2633
2668
  /**
2634
- * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
2635
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-target-blank
2669
+ * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
2670
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
2636
2671
  */
2637
2672
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2638
2673
  /**
2639
2674
  * enforce custom hooks using other hooks
2640
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2675
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2641
2676
  */
2642
2677
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2643
2678
  /**
2644
2679
  * enforce 'useCallback' has non-empty dependencies array
2645
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2680
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2646
2681
  */
2647
2682
  'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2648
2683
  /**
2649
2684
  * enforce 'useMemo' has non-empty dependencies array
2650
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2685
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2651
2686
  */
2652
2687
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2688
+ /**
2689
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2690
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2691
+ */
2692
+ 'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2693
+ /**
2694
+ * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2695
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2696
+ */
2697
+ 'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2653
2698
  /**
2654
2699
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2655
- * @see https://eslint-react.xyz/rules/hooks-extra-prefer-use-state-lazy-initialization
2700
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
2656
2701
  */
2657
2702
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
2658
2703
  /**
@@ -2667,235 +2712,253 @@ interface RuleOptions {
2667
2712
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2668
2713
  /**
2669
2714
  * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
2670
- * @see https://eslint-react.xyz/rules/naming-convention-component-name
2715
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
2671
2716
  */
2672
2717
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
2673
2718
  /**
2674
2719
  * enforce naming convention for JSX filenames
2675
- * @see https://eslint-react.xyz/rules/naming-convention-filename
2720
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
2676
2721
  */
2677
2722
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
2678
2723
  /**
2679
2724
  * enforce naming convention for JSX file extensions
2680
- * @see https://eslint-react.xyz/rules/naming-convention-filename-extension
2725
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
2681
2726
  */
2682
2727
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
2683
2728
  /**
2684
2729
  * enforce destructuring and symmetric naming of 'useState' hook value and setter variables
2685
- * @see https://eslint-react.xyz/rules/naming-convention-use-state
2730
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
2686
2731
  */
2687
2732
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2688
2733
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2689
2734
  /**
2690
- * enforce boolean attributes notation in JSX
2691
- * @see https://eslint-react.xyz/rules/avoid-shorthand-boolean
2735
+ * disallow using shorthand boolean attributes
2736
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2692
2737
  */
2693
2738
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2694
2739
  /**
2695
- * enforce using fragment component instead of shorthand fragment syntax
2696
- * @see https://eslint-react.xyz/rules/avoid-shorthand-fragment
2740
+ * disallow using shorthand fragment syntax
2741
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2697
2742
  */
2698
2743
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
2699
2744
  /**
2700
- * require all 'forwardRef' components include a 'ref' parameter
2701
- * @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
2745
+ * require a 'ref' parameter to be set when using 'forwardRef'
2746
+ * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2702
2747
  */
2703
2748
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2704
2749
  /**
2705
2750
  * disallow accessing 'this.state' within 'setState'
2706
- * @see https://eslint-react.xyz/rules/no-access-state-in-setstate
2751
+ * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
2707
2752
  */
2708
2753
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2709
2754
  /**
2710
- * disallow using Array index as key
2711
- * @see https://eslint-react.xyz/rules/no-array-index-key
2755
+ * disallow using Array index as 'key'
2756
+ * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2712
2757
  */
2713
2758
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
2714
2759
  /**
2715
- * disallow 'Children.count'
2716
- * @see https://eslint-react.xyz/rules/no-children-count
2760
+ * disallow using 'Children.count'
2761
+ * @see https://eslint-react.xyz/docs/rules/no-children-count
2717
2762
  */
2718
2763
  'react/no-children-count'?: Linter.RuleEntry<[]>
2719
2764
  /**
2720
- * disallow 'Children.forEach'
2721
- * @see https://eslint-react.xyz/rules/no-children-for-each
2765
+ * disallow using 'Children.forEach'
2766
+ * @see https://eslint-react.xyz/docs/rules/no-children-for-each
2722
2767
  */
2723
2768
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
2724
2769
  /**
2725
- * disallow 'Children.map'
2726
- * @see https://eslint-react.xyz/rules/no-children-map
2770
+ * disallow using 'Children.map'
2771
+ * @see https://eslint-react.xyz/docs/rules/no-children-map
2727
2772
  */
2728
2773
  'react/no-children-map'?: Linter.RuleEntry<[]>
2729
2774
  /**
2730
- * disallow 'Children.only'
2731
- * @see https://eslint-react.xyz/rules/no-children-only
2775
+ * disallow using 'Children.only'
2776
+ * @see https://eslint-react.xyz/docs/rules/no-children-only
2732
2777
  */
2733
2778
  'react/no-children-only'?: Linter.RuleEntry<[]>
2734
2779
  /**
2735
- * disallow passing of 'children' as props
2736
- * @see https://eslint-react.xyz/rules/no-children-prop
2780
+ * disallow passing 'children' as props
2781
+ * @see https://eslint-react.xyz/docs/rules/no-children-prop
2737
2782
  */
2738
2783
  'react/no-children-prop'?: Linter.RuleEntry<[]>
2739
2784
  /**
2740
- * disallow 'Children.toArray'
2741
- * @see https://eslint-react.xyz/rules/no-children-to-array
2785
+ * disallow using 'Children.toArray'
2786
+ * @see https://eslint-react.xyz/docs/rules/no-children-to-array
2742
2787
  */
2743
2788
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
2744
2789
  /**
2745
- * disallow class component
2746
- * @see https://eslint-react.xyz/rules/no-class-component
2790
+ * disallow using class components
2791
+ * @see https://eslint-react.xyz/docs/rules/no-class-component
2747
2792
  */
2748
2793
  'react/no-class-component'?: Linter.RuleEntry<[]>
2749
2794
  /**
2750
- * disallow 'cloneElement'
2751
- * @see https://eslint-react.xyz/rules/no-clone-element
2795
+ * disallow using 'cloneElement'
2796
+ * @see https://eslint-react.xyz/docs/rules/no-clone-element
2752
2797
  */
2753
2798
  'react/no-clone-element'?: Linter.RuleEntry<[]>
2754
2799
  /**
2755
2800
  * disallow comments from being inserted as text nodes
2756
- * @see https://eslint-react.xyz/rules/no-comment-textnodes
2801
+ * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
2757
2802
  */
2758
2803
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
2759
2804
  /**
2760
- * disallow complicated conditional rendering
2761
- * @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
2762
- * @deprecated
2805
+ * disallow complex conditional rendering
2806
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2807
+ */
2808
+ 'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
2809
+ /**
2810
+ * disallow complex conditional rendering
2811
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2763
2812
  */
2764
2813
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2765
2814
  /**
2766
- * disallow usage of 'componentWillMount'
2767
- * @see https://eslint-react.xyz/rules/no-component-will-mount
2815
+ * disallow using 'componentWillMount'
2816
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
2768
2817
  */
2769
2818
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
2770
2819
  /**
2771
- * disallow usage of 'componentWillReceiveProps'
2772
- * @see https://eslint-react.xyz/rules/no-component-will-receive-props
2820
+ * disallow using 'componentWillReceiveProps'
2821
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
2773
2822
  */
2774
2823
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
2775
2824
  /**
2776
- * disallow usage of 'componentWillUpdate'
2777
- * @see https://eslint-react.xyz/rules/no-component-will-update
2825
+ * disallow using 'componentWillReceiveProps'
2826
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-update
2778
2827
  */
2779
2828
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
2780
2829
  /**
2781
- * disallow 'createRef' in function components
2782
- * @see https://eslint-react.xyz/rules/no-create-ref
2830
+ * disallow using 'createRef' in function components
2831
+ * @see https://eslint-react.xyz/docs/rules/no-create-ref
2783
2832
  */
2784
2833
  'react/no-create-ref'?: Linter.RuleEntry<[]>
2834
+ /**
2835
+ * disallow using 'defaultProps' property in components
2836
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
2837
+ */
2838
+ 'react/no-default-props'?: Linter.RuleEntry<[]>
2785
2839
  /**
2786
2840
  * disallow direct mutation of state
2787
- * @see https://eslint-react.xyz/rules/no-direct-mutation-state
2841
+ * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
2788
2842
  */
2789
2843
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
2790
2844
  /**
2791
- * disallow duplicate keys in 'key' prop when rendering list
2792
- * @see https://eslint-react.xyz/rules/no-duplicate-key
2845
+ * disallow duplicate keys when rendering list
2846
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
2793
2847
  */
2794
2848
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
2795
2849
  /**
2796
- * disallow spreading 'key' from objects.
2797
- * @see https://eslint-react.xyz/rules/no-implicit-key
2798
- * @deprecated
2850
+ * disallow implicit 'key' props
2851
+ * @see https://eslint-react.xyz/docs/rules/no-implicit-key
2799
2852
  */
2800
2853
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
2801
2854
  /**
2802
2855
  * disallow problematic leaked values from being rendered
2803
- * @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
2856
+ * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
2804
2857
  */
2805
2858
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
2806
2859
  /**
2807
- * require 'displayName' for memo and forwardRef components
2808
- * @see https://eslint-react.xyz/rules/no-missing-component-display-name
2860
+ * require 'displayName' for 'memo' and 'forwardRef' components
2861
+ * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
2809
2862
  */
2810
2863
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
2811
2864
  /**
2812
- * require 'key' prop when rendering list
2813
- * @see https://eslint-react.xyz/rules/no-missing-key
2865
+ * require 'key' when rendering list
2866
+ * @see https://eslint-react.xyz/docs/rules/no-missing-key
2814
2867
  */
2815
2868
  'react/no-missing-key'?: Linter.RuleEntry<[]>
2816
2869
  /**
2817
- * disallow usage of unstable nested components
2818
- * @see https://eslint-react.xyz/rules/no-nested-components
2870
+ * disallow using unstable nested components
2871
+ * @see https://eslint-react.xyz/docs/rules/no-nested-components
2819
2872
  */
2820
2873
  'react/no-nested-components'?: Linter.RuleEntry<[]>
2821
2874
  /**
2822
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2823
- * @see https://eslint-react.xyz/rules/no-redundant-should-component-update
2875
+ * disallow using 'propTypes' property in components
2876
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
2877
+ */
2878
+ 'react/no-prop-types'?: Linter.RuleEntry<[]>
2879
+ /**
2880
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2881
+ * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
2824
2882
  */
2825
2883
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
2826
2884
  /**
2827
- * disallow 'setState' in 'componentDidMount'
2828
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-mount
2885
+ * disallow using 'setState' in 'componentDidMount'
2886
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
2829
2887
  */
2830
2888
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2831
2889
  /**
2832
- * disallow 'setState' in 'componentDidUpdate'
2833
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-update
2890
+ * disallow using 'setState' in 'componentDidUpdate'
2891
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2834
2892
  */
2835
2893
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
2836
2894
  /**
2837
- * disallow 'setState' in 'componentWillUpdate'
2838
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-will-update
2895
+ * disallow using 'setState' in 'componentWillUpdate'
2896
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
2839
2897
  */
2840
2898
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
2841
2899
  /**
2842
2900
  * disallow using deprecated string refs
2843
- * @see https://eslint-react.xyz/rules/no-string-refs
2901
+ * @see https://eslint-react.xyz/docs/rules/no-string-refs
2844
2902
  */
2845
2903
  'react/no-string-refs'?: Linter.RuleEntry<[]>
2846
2904
  /**
2847
- * disallow usage of 'UNSAFE_componentWillMount'
2848
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-mount
2905
+ * disallow using 'UNSAFE_componentWillMount'
2906
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
2849
2907
  */
2850
2908
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
2851
2909
  /**
2852
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
2853
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-receive-props
2910
+ * disallow using 'UNSAFE_componentWillReceiveProps'
2911
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
2854
2912
  */
2855
2913
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
2856
2914
  /**
2857
- * disallow usage of 'UNSAFE_componentWillUpdate'
2858
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-update
2915
+ * disallow using 'UNSAFE_componentWillUpdate'
2916
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
2859
2917
  */
2860
2918
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
2861
2919
  /**
2862
2920
  * disallow passing constructed values to context providers
2863
- * @see https://eslint-react.xyz/rules/no-unstable-context-value
2921
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
2864
2922
  */
2865
2923
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
2866
2924
  /**
2867
- * disallow usage of unstable value as default param in function component
2868
- * @see https://eslint-react.xyz/rules/no-unstable-default-props
2925
+ * disallow using unstable value as default param in function component
2926
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
2869
2927
  */
2870
2928
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
2871
2929
  /**
2872
2930
  * disallow unused class component members
2873
- * @see https://eslint-react.xyz/rules/no-unused-class-component-members
2931
+ * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
2874
2932
  */
2875
2933
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
2876
2934
  /**
2877
- * Prevents unused state of class component.
2878
- * @see https://eslint-react.xyz/rules/no-unused-state
2935
+ * disallow unused state of class component
2936
+ * @see https://eslint-react.xyz/docs/rules/no-unused-state
2879
2937
  */
2880
2938
  'react/no-unused-state'?: Linter.RuleEntry<[]>
2881
2939
  /**
2882
2940
  * disallow unnecessary fragments
2883
- * @see https://eslint-react.xyz/rules/no-useless-fragment
2941
+ * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
2884
2942
  */
2885
2943
  'react/no-useless-fragment'?: Linter.RuleEntry<[]>
2886
2944
  /**
2887
2945
  * enforce using destructuring assignment in component props and context
2888
- * @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
2946
+ * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
2889
2947
  */
2890
2948
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
2891
2949
  /**
2892
- * enforce boolean attributes notation in JSX
2893
- * @see https://eslint-react.xyz/rules/prefer-shorthand-boolean
2950
+ * enforce read-only props in components
2951
+ * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
2952
+ */
2953
+ 'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
2954
+ /**
2955
+ * enforce using shorthand boolean attributes
2956
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
2894
2957
  */
2895
2958
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
2896
2959
  /**
2897
- * enforce using fragment syntax instead of Fragment component
2898
- * @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
2960
+ * enforce using fragment syntax instead of 'Fragment' component
2961
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2899
2962
  */
2900
2963
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
2901
2964
  /**
@@ -3559,8 +3622,9 @@ interface RuleOptions {
3559
3622
  */
3560
3623
  'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
3561
3624
  /**
3562
- * Enforce JSX indentation
3625
+ * Enforce JSX indentation. Deprecated, use `indent` rule instead.
3563
3626
  * @see https://eslint.style/rules/jsx/jsx-indent
3627
+ * @deprecated
3564
3628
  */
3565
3629
  'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>
3566
3630
  /**
@@ -3745,7 +3809,7 @@ interface RuleOptions {
3745
3809
  'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>
3746
3810
  /**
3747
3811
  * Enforce consistent line breaks after opening and before closing braces
3748
- * @see https://eslint.style/rules/js/object-curly-newline
3812
+ * @see https://eslint.style/rules/ts/object-curly-newline
3749
3813
  */
3750
3814
  'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>
3751
3815
  /**
@@ -3755,7 +3819,7 @@ interface RuleOptions {
3755
3819
  'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>
3756
3820
  /**
3757
3821
  * Enforce placing object properties on separate lines
3758
- * @see https://eslint.style/rules/js/object-property-newline
3822
+ * @see https://eslint.style/rules/ts/object-property-newline
3759
3823
  */
3760
3824
  'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>
3761
3825
  /**
@@ -4037,6 +4101,46 @@ interface RuleOptions {
4037
4101
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4038
4102
  */
4039
4103
  'test/no-test-return-statement'?: Linter.RuleEntry<[]>
4104
+ /**
4105
+ * Enforce padding around `afterAll` blocks
4106
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
4107
+ */
4108
+ 'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
4109
+ /**
4110
+ * Enforce padding around `afterEach` blocks
4111
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
4112
+ */
4113
+ 'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
4114
+ /**
4115
+ * Enforce padding around vitest functions
4116
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
4117
+ */
4118
+ 'test/padding-around-all'?: Linter.RuleEntry<[]>
4119
+ /**
4120
+ * Enforce padding around `beforeAll` blocks
4121
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
4122
+ */
4123
+ 'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
4124
+ /**
4125
+ * Enforce padding around `beforeEach` blocks
4126
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
4127
+ */
4128
+ 'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
4129
+ /**
4130
+ * Enforce padding around `describe` blocks
4131
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
4132
+ */
4133
+ 'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
4134
+ /**
4135
+ * Enforce padding around `expect` groups
4136
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
4137
+ */
4138
+ 'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
4139
+ /**
4140
+ * Enforce padding around afterAll blocks
4141
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
4142
+ */
4143
+ 'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
4040
4144
  /**
4041
4145
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
4042
4146
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -4308,23 +4412,6 @@ interface RuleOptions {
4308
4412
  * @see https://typescript-eslint.io/rules/ban-tslint-comment
4309
4413
  */
4310
4414
  'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
4311
- /**
4312
- * Disallow certain types
4313
- * @see https://typescript-eslint.io/rules/ban-types
4314
- */
4315
- 'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
4316
- /**
4317
- * Disallow or enforce spaces inside of blocks after opening block and before closing block
4318
- * @see https://typescript-eslint.io/rules/block-spacing
4319
- * @deprecated
4320
- */
4321
- 'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
4322
- /**
4323
- * Enforce consistent brace style for blocks
4324
- * @see https://typescript-eslint.io/rules/brace-style
4325
- * @deprecated
4326
- */
4327
- 'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
4328
4415
  /**
4329
4416
  * Enforce that literals on classes are exposed in a consistent style
4330
4417
  * @see https://typescript-eslint.io/rules/class-literal-property-style
@@ -4335,18 +4422,6 @@ interface RuleOptions {
4335
4422
  * @see https://typescript-eslint.io/rules/class-methods-use-this
4336
4423
  */
4337
4424
  'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
4338
- /**
4339
- * Require or disallow trailing commas
4340
- * @see https://typescript-eslint.io/rules/comma-dangle
4341
- * @deprecated
4342
- */
4343
- 'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
4344
- /**
4345
- * Enforce consistent spacing before and after commas
4346
- * @see https://typescript-eslint.io/rules/comma-spacing
4347
- * @deprecated
4348
- */
4349
- 'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
4350
4425
  /**
4351
4426
  * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
4352
4427
  * @see https://typescript-eslint.io/rules/consistent-generic-constructors
@@ -4407,58 +4482,16 @@ interface RuleOptions {
4407
4482
  * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
4408
4483
  */
4409
4484
  'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
4410
- /**
4411
- * Require or disallow spacing between function identifiers and their invocations
4412
- * @see https://typescript-eslint.io/rules/func-call-spacing
4413
- * @deprecated
4414
- */
4415
- 'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
4416
- /**
4417
- * Enforce consistent indentation
4418
- * @see https://typescript-eslint.io/rules/indent
4419
- * @deprecated
4420
- */
4421
- 'ts/indent'?: Linter.RuleEntry<TsIndent>
4422
4485
  /**
4423
4486
  * Require or disallow initialization in variable declarations
4424
4487
  * @see https://typescript-eslint.io/rules/init-declarations
4425
4488
  */
4426
4489
  'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
4427
- /**
4428
- * Enforce consistent spacing between property names and type annotations in types and interfaces
4429
- * @see https://typescript-eslint.io/rules/key-spacing
4430
- * @deprecated
4431
- */
4432
- 'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
4433
- /**
4434
- * Enforce consistent spacing before and after keywords
4435
- * @see https://typescript-eslint.io/rules/keyword-spacing
4436
- * @deprecated
4437
- */
4438
- 'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
4439
- /**
4440
- * Require empty lines around comments
4441
- * @see https://typescript-eslint.io/rules/lines-around-comment
4442
- * @deprecated
4443
- */
4444
- 'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
4445
- /**
4446
- * Require or disallow an empty line between class members
4447
- * @see https://typescript-eslint.io/rules/lines-between-class-members
4448
- * @deprecated
4449
- */
4450
- 'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
4451
4490
  /**
4452
4491
  * Enforce a maximum number of parameters in function definitions
4453
4492
  * @see https://typescript-eslint.io/rules/max-params
4454
4493
  */
4455
4494
  'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
4456
- /**
4457
- * Require a specific member delimiter style for interfaces and type literals
4458
- * @see https://typescript-eslint.io/rules/member-delimiter-style
4459
- * @deprecated
4460
- */
4461
- 'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
4462
4495
  /**
4463
4496
  * Require a consistent member declaration order
4464
4497
  * @see https://typescript-eslint.io/rules/member-ordering
@@ -4499,6 +4532,11 @@ interface RuleOptions {
4499
4532
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
4500
4533
  */
4501
4534
  'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
4535
+ /**
4536
+ * Disallow using code marked as `@deprecated`
4537
+ * @see https://typescript-eslint.io/rules/no-deprecated
4538
+ */
4539
+ 'ts/no-deprecated'?: Linter.RuleEntry<[]>
4502
4540
  /**
4503
4541
  * Disallow duplicate class members
4504
4542
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -4527,8 +4565,14 @@ interface RuleOptions {
4527
4565
  /**
4528
4566
  * Disallow the declaration of empty interfaces
4529
4567
  * @see https://typescript-eslint.io/rules/no-empty-interface
4568
+ * @deprecated
4530
4569
  */
4531
4570
  'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
4571
+ /**
4572
+ * Disallow accidentally using the "empty object" type
4573
+ * @see https://typescript-eslint.io/rules/no-empty-object-type
4574
+ */
4575
+ 'ts/no-empty-object-type'?: Linter.RuleEntry<TsNoEmptyObjectType>
4532
4576
  /**
4533
4577
  * Disallow the `any` type
4534
4578
  * @see https://typescript-eslint.io/rules/no-explicit-any
@@ -4539,18 +4583,6 @@ interface RuleOptions {
4539
4583
  * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
4540
4584
  */
4541
4585
  'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
4542
- /**
4543
- * Disallow unnecessary parentheses
4544
- * @see https://typescript-eslint.io/rules/no-extra-parens
4545
- * @deprecated
4546
- */
4547
- 'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
4548
- /**
4549
- * Disallow unnecessary semicolons
4550
- * @see https://typescript-eslint.io/rules/no-extra-semi
4551
- * @deprecated
4552
- */
4553
- 'ts/no-extra-semi'?: Linter.RuleEntry<[]>
4554
4586
  /**
4555
4587
  * Disallow classes used as namespaces
4556
4588
  * @see https://typescript-eslint.io/rules/no-extraneous-class
@@ -4599,6 +4631,7 @@ interface RuleOptions {
4599
4631
  /**
4600
4632
  * Disallow literal numbers that lose precision
4601
4633
  * @see https://typescript-eslint.io/rules/no-loss-of-precision
4634
+ * @deprecated
4602
4635
  */
4603
4636
  'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
4604
4637
  /**
@@ -4666,6 +4699,11 @@ interface RuleOptions {
4666
4699
  * @see https://typescript-eslint.io/rules/no-restricted-imports
4667
4700
  */
4668
4701
  'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
4702
+ /**
4703
+ * Disallow certain types
4704
+ * @see https://typescript-eslint.io/rules/no-restricted-types
4705
+ */
4706
+ 'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
4669
4707
  /**
4670
4708
  * Disallow variable declarations from shadowing variables declared in the outer scope
4671
4709
  * @see https://typescript-eslint.io/rules/no-shadow
@@ -4676,12 +4714,6 @@ interface RuleOptions {
4676
4714
  * @see https://typescript-eslint.io/rules/no-this-alias
4677
4715
  */
4678
4716
  'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
4679
- /**
4680
- * Disallow throwing literals as exceptions
4681
- * @see https://typescript-eslint.io/rules/no-throw-literal
4682
- * @deprecated
4683
- */
4684
- 'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
4685
4717
  /**
4686
4718
  * Disallow type aliases
4687
4719
  * @see https://typescript-eslint.io/rules/no-type-alias
@@ -4698,11 +4730,21 @@ interface RuleOptions {
4698
4730
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
4699
4731
  */
4700
4732
  'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
4733
+ /**
4734
+ * Disallow unnecessary assignment of constructor property parameter
4735
+ * @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
4736
+ */
4737
+ 'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
4701
4738
  /**
4702
4739
  * Disallow unnecessary namespace qualifiers
4703
4740
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
4704
4741
  */
4705
4742
  'ts/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
4743
+ /**
4744
+ * Disallow unnecessary template expressions
4745
+ * @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
4746
+ */
4747
+ 'ts/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
4706
4748
  /**
4707
4749
  * Disallow type arguments that are equal to the default
4708
4750
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
@@ -4718,6 +4760,11 @@ interface RuleOptions {
4718
4760
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
4719
4761
  */
4720
4762
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
4763
+ /**
4764
+ * Disallow type parameters that aren't used multiple times
4765
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
4766
+ */
4767
+ 'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
4721
4768
  /**
4722
4769
  * Disallow calling a function with a value with type `any`
4723
4770
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -4743,6 +4790,11 @@ interface RuleOptions {
4743
4790
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
4744
4791
  */
4745
4792
  'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
4793
+ /**
4794
+ * Disallow using the unsafe built-in Function type
4795
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
4796
+ */
4797
+ 'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
4746
4798
  /**
4747
4799
  * Disallow member access on a value with type `any`
4748
4800
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -4765,7 +4817,7 @@ interface RuleOptions {
4765
4817
  'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>
4766
4818
  /**
4767
4819
  * Disallow unused variables
4768
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4820
+ * @see https://typescript-eslint.io/rules/no-unused-vars
4769
4821
  */
4770
4822
  'ts/no-unused-vars'?: Linter.RuleEntry<TsNoUnusedVars>
4771
4823
  /**
@@ -4783,38 +4835,27 @@ interface RuleOptions {
4783
4835
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
4784
4836
  */
4785
4837
  'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
4786
- /**
4787
- * Disallow unnecessary template literals
4788
- * @see https://typescript-eslint.io/rules/no-useless-template-literals
4789
- */
4790
- 'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
4791
4838
  /**
4792
4839
  * Disallow `require` statements except in import statements
4793
4840
  * @see https://typescript-eslint.io/rules/no-var-requires
4841
+ * @deprecated
4794
4842
  */
4795
4843
  'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
4844
+ /**
4845
+ * Disallow using confusing built-in primitive class wrappers
4846
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
4847
+ */
4848
+ 'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
4796
4849
  /**
4797
4850
  * Enforce non-null assertions over explicit type casts
4798
4851
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
4799
4852
  */
4800
4853
  'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
4801
- /**
4802
- * Enforce consistent spacing inside braces
4803
- * @see https://typescript-eslint.io/rules/object-curly-spacing
4804
- * @deprecated
4805
- */
4806
- 'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
4807
4854
  /**
4808
4855
  * Disallow throwing non-`Error` values as exceptions
4809
4856
  * @see https://typescript-eslint.io/rules/only-throw-error
4810
4857
  */
4811
4858
  'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
4812
- /**
4813
- * Require or disallow padding lines between statements
4814
- * @see https://typescript-eslint.io/rules/padding-line-between-statements
4815
- * @deprecated
4816
- */
4817
- 'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
4818
4859
  /**
4819
4860
  * Require or disallow parameter properties in class constructors
4820
4861
  * @see https://typescript-eslint.io/rules/parameter-properties
@@ -4921,19 +4962,13 @@ interface RuleOptions {
4921
4962
  * @see https://typescript-eslint.io/rules/promise-function-async
4922
4963
  */
4923
4964
  'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
4924
- /**
4925
- * Enforce the consistent use of either backticks, double, or single quotes
4926
- * @see https://typescript-eslint.io/rules/quotes
4927
- * @deprecated
4928
- */
4929
- 'ts/quotes'?: Linter.RuleEntry<TsQuotes>
4930
4965
  /**
4931
4966
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
4932
4967
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
4933
4968
  */
4934
4969
  'ts/require-array-sort-compare'?: Linter.RuleEntry<TsRequireArraySortCompare>
4935
4970
  /**
4936
- * Disallow async functions which have no `await` expression
4971
+ * Disallow async functions which do not return promises and have no `await` expression
4937
4972
  * @see https://typescript-eslint.io/rules/require-await
4938
4973
  */
4939
4974
  'ts/require-await'?: Linter.RuleEntry<[]>
@@ -4948,39 +4983,16 @@ interface RuleOptions {
4948
4983
  */
4949
4984
  'ts/restrict-template-expressions'?: Linter.RuleEntry<TsRestrictTemplateExpressions>
4950
4985
  /**
4951
- * Enforce consistent returning of awaited values
4986
+ * Enforce consistent awaiting of returned promises
4952
4987
  * @see https://typescript-eslint.io/rules/return-await
4953
4988
  */
4954
4989
  'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
4955
- /**
4956
- * Require or disallow semicolons instead of ASI
4957
- * @see https://typescript-eslint.io/rules/semi
4958
- * @deprecated
4959
- */
4960
- 'ts/semi'?: Linter.RuleEntry<TsSemi>
4961
4990
  /**
4962
4991
  * Enforce constituents of a type union/intersection to be sorted alphabetically
4963
4992
  * @see https://typescript-eslint.io/rules/sort-type-constituents
4964
- */
4965
- 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
4966
- /**
4967
- * Enforce consistent spacing before blocks
4968
- * @see https://typescript-eslint.io/rules/space-before-blocks
4969
- * @deprecated
4970
- */
4971
- 'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
4972
- /**
4973
- * Enforce consistent spacing before function parenthesis
4974
- * @see https://typescript-eslint.io/rules/space-before-function-paren
4975
4993
  * @deprecated
4976
4994
  */
4977
- 'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
4978
- /**
4979
- * Require spacing around infix operators
4980
- * @see https://typescript-eslint.io/rules/space-infix-ops
4981
- * @deprecated
4982
- */
4983
- 'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
4995
+ 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
4984
4996
  /**
4985
4997
  * Disallow certain types in boolean expressions
4986
4998
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
@@ -4996,12 +5008,6 @@ interface RuleOptions {
4996
5008
  * @see https://typescript-eslint.io/rules/triple-slash-reference
4997
5009
  */
4998
5010
  'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
4999
- /**
5000
- * Require consistent spacing around type annotations
5001
- * @see https://typescript-eslint.io/rules/type-annotation-spacing
5002
- * @deprecated
5003
- */
5004
- 'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
5005
5011
  /**
5006
5012
  * Require type annotations in certain places
5007
5013
  * @see https://typescript-eslint.io/rules/typedef
@@ -5018,7 +5024,7 @@ interface RuleOptions {
5018
5024
  */
5019
5025
  'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
5020
5026
  /**
5021
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
5027
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
5022
5028
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
5023
5029
  */
5024
5030
  'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -5029,677 +5035,687 @@ interface RuleOptions {
5029
5035
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5030
5036
  /**
5031
5037
  * Improve regexes by making them shorter, consistent, and safer.
5032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
5038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
5033
5039
  */
5034
5040
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5035
5041
  /**
5036
5042
  * Enforce a specific parameter name in catch clauses.
5037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
5043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
5038
5044
  */
5039
5045
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5040
5046
  /**
5041
5047
  * Use destructured variables over properties.
5042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
5048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
5043
5049
  */
5044
5050
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5045
5051
  /**
5046
5052
  * Prefer consistent types when spreading a ternary in an array literal.
5047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
5053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
5048
5054
  */
5049
5055
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5050
5056
  /**
5051
5057
  * Move function definitions to the highest possible scope.
5052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
5058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
5053
5059
  */
5054
5060
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5055
5061
  /**
5056
5062
  * Enforce correct `Error` subclassing.
5057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
5063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
5058
5064
  */
5059
5065
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5060
5066
  /**
5061
5067
  * Enforce no spaces between braces.
5062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
5068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
5063
5069
  */
5064
5070
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5065
5071
  /**
5066
5072
  * Enforce passing a `message` value when creating a built-in error.
5067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
5073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
5068
5074
  */
5069
5075
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5070
5076
  /**
5071
5077
  * Require escape sequences to use uppercase values.
5072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
5078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
5073
5079
  */
5074
5080
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
5075
5081
  /**
5076
5082
  * Add expiration conditions to TODO comments.
5077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
5083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
5078
5084
  */
5079
5085
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5080
5086
  /**
5081
5087
  * Enforce explicitly comparing the `length` or `size` property of a value.
5082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
5088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
5083
5089
  */
5084
5090
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5085
5091
  /**
5086
5092
  * Enforce a case style for filenames.
5087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
5093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
5088
5094
  */
5089
5095
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5090
5096
  /**
5091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
5097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
5092
5098
  * @deprecated
5093
5099
  */
5094
5100
  'unicorn/import-index'?: Linter.RuleEntry<[]>
5095
5101
  /**
5096
5102
  * Enforce specific import styles per module.
5097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
5103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
5098
5104
  */
5099
5105
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5100
5106
  /**
5101
5107
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
5108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
5103
5109
  */
5104
5110
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5105
5111
  /**
5106
5112
  * Enforce specifying rules to disable in `eslint-disable` comments.
5107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
5113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
5108
5114
  */
5109
5115
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5110
5116
  /**
5111
5117
  * Disallow anonymous functions and classes as the default export.
5112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
5118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
5113
5119
  */
5114
5120
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5115
5121
  /**
5116
5122
  * Prevent passing a function reference directly to iterator methods.
5117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
5123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
5118
5124
  */
5119
5125
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5120
5126
  /**
5121
5127
  * Prefer `for…of` over the `forEach` method.
5122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
5128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
5123
5129
  */
5124
5130
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5125
5131
  /**
5126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
5132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
5127
5133
  * @deprecated
5128
5134
  */
5129
5135
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
5130
5136
  /**
5131
5137
  * Disallow using the `this` argument in array methods.
5132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
5138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
5133
5139
  */
5134
5140
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5135
5141
  /**
5136
5142
  * Enforce combining multiple `Array#push()` into one call.
5137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
5143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
5138
5144
  */
5139
5145
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
5140
5146
  /**
5141
5147
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
5148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
5143
5149
  */
5144
5150
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5145
5151
  /**
5146
5152
  * Disallow member access from await expression.
5147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
5153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
5148
5154
  */
5149
5155
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5150
5156
  /**
5151
5157
  * Disallow using `await` in `Promise` method parameters.
5152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
5158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
5153
5159
  */
5154
5160
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5155
5161
  /**
5156
5162
  * Do not use leading/trailing space between `console.log` parameters.
5157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
5163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
5158
5164
  */
5159
5165
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5160
5166
  /**
5161
5167
  * Do not use `document.cookie` directly.
5162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
5168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
5163
5169
  */
5164
5170
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5165
5171
  /**
5166
5172
  * Disallow empty files.
5167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
5173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
5168
5174
  */
5169
5175
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5170
5176
  /**
5171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5172
5178
  * @deprecated
5173
5179
  */
5174
5180
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
5175
5181
  /**
5176
5182
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
5183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
5178
5184
  */
5179
5185
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5180
5186
  /**
5181
5187
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
5188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
5183
5189
  */
5184
5190
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5185
5191
  /**
5186
5192
  * Require `Array.isArray()` instead of `instanceof Array`.
5187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
5193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
5188
5194
  */
5189
5195
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5190
5196
  /**
5191
5197
  * Disallow invalid options in `fetch()` and `new Request()`.
5192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
5198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
5193
5199
  */
5194
5200
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
5195
5201
  /**
5196
5202
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
5203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
5198
5204
  */
5199
5205
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
5200
5206
  /**
5201
5207
  * Disallow identifiers starting with `new` or `class`.
5202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
5208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
5203
5209
  */
5204
5210
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
5211
+ /**
5212
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
5214
+ */
5215
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
5205
5216
  /**
5206
5217
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
5218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
5208
5219
  */
5209
5220
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5210
5221
  /**
5211
5222
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
5223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
5213
5224
  */
5214
5225
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
5215
5226
  /**
5216
5227
  * Disallow negated conditions.
5217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
5228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
5218
5229
  */
5219
5230
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
5231
+ /**
5232
+ * Disallow negated expression in equality check.
5233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
5234
+ */
5235
+ 'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
5220
5236
  /**
5221
5237
  * Disallow nested ternary expressions.
5222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
5238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
5223
5239
  */
5224
5240
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
5225
5241
  /**
5226
5242
  * Disallow `new Array()`.
5227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
5243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
5228
5244
  */
5229
5245
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
5230
5246
  /**
5231
5247
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
5248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
5233
5249
  */
5234
5250
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
5235
5251
  /**
5236
5252
  * Disallow the use of the `null` literal.
5237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
5253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
5238
5254
  */
5239
5255
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
5240
5256
  /**
5241
5257
  * Disallow the use of objects as default parameters.
5242
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
5258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
5243
5259
  */
5244
5260
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
5245
5261
  /**
5246
5262
  * Disallow `process.exit()`.
5247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
5263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
5248
5264
  */
5249
5265
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
5250
5266
  /**
5251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
5267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
5252
5268
  * @deprecated
5253
5269
  */
5254
5270
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
5255
5271
  /**
5256
5272
  * Disallow passing single-element arrays to `Promise` methods.
5257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
5273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
5258
5274
  */
5259
5275
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
5260
5276
  /**
5261
5277
  * Disallow classes that only have static members.
5262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
5278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
5263
5279
  */
5264
5280
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
5265
5281
  /**
5266
5282
  * Disallow `then` property.
5267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
5283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
5268
5284
  */
5269
5285
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
5270
5286
  /**
5271
5287
  * Disallow assigning `this` to a variable.
5272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
5288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
5273
5289
  */
5274
5290
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
5275
5291
  /**
5276
5292
  * Disallow comparing `undefined` using `typeof`.
5277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
5293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
5278
5294
  */
5279
5295
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
5280
5296
  /**
5281
5297
  * Disallow awaiting non-promise values.
5282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
5298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
5283
5299
  */
5284
5300
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
5285
5301
  /**
5286
5302
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
5303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
5288
5304
  */
5289
5305
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
5290
5306
  /**
5291
5307
  * Disallow unreadable array destructuring.
5292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
5308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
5293
5309
  */
5294
5310
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
5295
5311
  /**
5296
5312
  * Disallow unreadable IIFEs.
5297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
5313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
5298
5314
  */
5299
5315
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
5300
5316
  /**
5301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
5317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
5302
5318
  * @deprecated
5303
5319
  */
5304
5320
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
5305
5321
  /**
5306
5322
  * Disallow unused object properties.
5307
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
5323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
5308
5324
  */
5309
5325
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
5310
5326
  /**
5311
5327
  * Disallow useless fallback when spreading in object literals.
5312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
5328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
5313
5329
  */
5314
5330
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
5315
5331
  /**
5316
5332
  * Disallow useless array length check.
5317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
5333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
5318
5334
  */
5319
5335
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
5320
5336
  /**
5321
5337
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
5338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
5323
5339
  */
5324
5340
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
5325
5341
  /**
5326
5342
  * Disallow unnecessary spread.
5327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
5343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
5328
5344
  */
5329
5345
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
5330
5346
  /**
5331
5347
  * Disallow useless case in switch statements.
5332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
5348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
5333
5349
  */
5334
5350
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
5335
5351
  /**
5336
5352
  * Disallow useless `undefined`.
5337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
5353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
5338
5354
  */
5339
5355
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
5340
5356
  /**
5341
5357
  * Disallow number literals with zero fractions or dangling dots.
5342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
5358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
5343
5359
  */
5344
5360
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
5345
5361
  /**
5346
5362
  * Enforce proper case for numeric literals.
5347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
5363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
5348
5364
  */
5349
5365
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
5350
5366
  /**
5351
5367
  * Enforce the style of numeric separators by correctly grouping digits.
5352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
5368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
5353
5369
  */
5354
5370
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
5355
5371
  /**
5356
5372
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
5373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
5358
5374
  */
5359
5375
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
5360
5376
  /**
5361
5377
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
5378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
5363
5379
  */
5364
5380
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
5365
5381
  /**
5366
5382
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
5383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
5368
5384
  */
5369
5385
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
5370
5386
  /**
5371
5387
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
5388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
5373
5389
  */
5374
5390
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
5375
5391
  /**
5376
5392
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
5393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
5378
5394
  */
5379
5395
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
5380
5396
  /**
5381
- * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
5382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
5397
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
5383
5399
  */
5384
5400
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
5385
5401
  /**
5386
5402
  * Prefer `.at()` method for index access and `String#charAt()`.
5387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
5403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
5388
5404
  */
5389
5405
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
5390
5406
  /**
5391
5407
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
5408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
5393
5409
  */
5394
5410
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
5395
5411
  /**
5396
5412
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
5413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
5398
5414
  */
5399
5415
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
5400
5416
  /**
5401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
5417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
5402
5418
  * @deprecated
5403
5419
  */
5404
5420
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
5405
5421
  /**
5406
5422
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
5423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
5408
5424
  */
5409
5425
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
5410
5426
  /**
5411
5427
  * Prefer default parameters over reassignment.
5412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
5428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
5413
5429
  */
5414
5430
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
5415
5431
  /**
5416
5432
  * Prefer `Node#append()` over `Node#appendChild()`.
5417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
5433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
5418
5434
  */
5419
5435
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
5420
5436
  /**
5421
5437
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
5438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
5423
5439
  */
5424
5440
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
5425
5441
  /**
5426
5442
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
5443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
5428
5444
  */
5429
5445
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
5430
5446
  /**
5431
5447
  * Prefer `.textContent` over `.innerText`.
5432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
5448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
5433
5449
  */
5434
5450
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
5435
5451
  /**
5436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
5452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
5437
5453
  * @deprecated
5438
5454
  */
5439
5455
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
5440
5456
  /**
5441
5457
  * Prefer `EventTarget` over `EventEmitter`.
5442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
5458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
5443
5459
  */
5444
5460
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
5445
5461
  /**
5446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5447
5463
  * @deprecated
5448
5464
  */
5449
5465
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
5450
5466
  /**
5451
5467
  * Prefer `export…from` when re-exporting.
5452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
5468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
5453
5469
  */
5454
5470
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
5455
5471
  /**
5456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
5472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
5457
5473
  * @deprecated
5458
5474
  */
5459
5475
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
5460
5476
  /**
5461
- * Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
5462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
5477
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
5463
5479
  */
5464
5480
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
5465
5481
  /**
5466
5482
  * Prefer reading a JSON file as a buffer.
5467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
5483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
5468
5484
  */
5469
5485
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
5470
5486
  /**
5471
5487
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
5488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
5473
5489
  */
5474
5490
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
5475
5491
  /**
5476
5492
  * Prefer using a logical operator over a ternary.
5477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5478
5494
  */
5479
5495
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5480
5496
  /**
5481
5497
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
5498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
5483
5499
  */
5484
5500
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5485
5501
  /**
5486
5502
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
5503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
5488
5504
  */
5489
5505
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5490
5506
  /**
5491
5507
  * Prefer modern `Math` APIs over legacy patterns.
5492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
5508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
5493
5509
  */
5494
5510
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5495
5511
  /**
5496
5512
  * Prefer JavaScript modules (ESM) over CommonJS.
5497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
5513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
5498
5514
  */
5499
5515
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5500
5516
  /**
5501
5517
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
5518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
5503
5519
  */
5504
5520
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5505
5521
  /**
5506
5522
  * Prefer negative index over `.length - index` when possible.
5507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
5523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
5508
5524
  */
5509
5525
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5510
5526
  /**
5511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
5527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
5512
5528
  * @deprecated
5513
5529
  */
5514
5530
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
5515
5531
  /**
5516
5532
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
5533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
5518
5534
  */
5519
5535
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5520
5536
  /**
5521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
5537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
5522
5538
  * @deprecated
5523
5539
  */
5524
5540
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
5525
5541
  /**
5526
5542
  * Prefer `Number` static properties over global ones.
5527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
5543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
5528
5544
  */
5529
5545
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5530
5546
  /**
5531
5547
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
5548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
5533
5549
  */
5534
5550
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5535
5551
  /**
5536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
5552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
5537
5553
  * @deprecated
5538
5554
  */
5539
5555
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
5540
5556
  /**
5541
5557
  * Prefer omitting the `catch` binding parameter.
5542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
5558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
5543
5559
  */
5544
5560
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5545
5561
  /**
5546
5562
  * Prefer borrowing methods from the prototype instead of the instance.
5547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
5563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
5548
5564
  */
5549
5565
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5550
5566
  /**
5551
5567
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
5552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
5568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
5553
5569
  */
5554
5570
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5555
5571
  /**
5556
5572
  * Prefer `Reflect.apply()` over `Function#apply()`.
5557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
5573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
5558
5574
  */
5559
5575
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5560
5576
  /**
5561
5577
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
5578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
5563
5579
  */
5564
5580
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5565
5581
  /**
5566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
5582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
5567
5583
  * @deprecated
5568
5584
  */
5569
5585
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
5570
5586
  /**
5571
5587
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
5588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
5573
5589
  */
5574
5590
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5575
5591
  /**
5576
5592
  * Prefer using `Set#size` instead of `Array#length`.
5577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
5593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
5578
5594
  */
5579
5595
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5580
5596
  /**
5581
5597
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
5598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
5583
5599
  */
5584
5600
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5585
5601
  /**
5586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5587
5603
  * @deprecated
5588
5604
  */
5589
5605
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
5590
5606
  /**
5591
5607
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
5608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
5593
5609
  */
5594
5610
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5595
5611
  /**
5596
5612
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
5613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
5598
5614
  */
5599
5615
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5600
5616
  /**
5601
5617
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
5618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
5603
5619
  */
5604
5620
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5605
5621
  /**
5606
5622
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
5623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
5608
5624
  */
5609
5625
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5610
5626
  /**
5611
5627
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
5628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
5613
5629
  */
5614
5630
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5615
5631
  /**
5616
5632
  * Prefer using `structuredClone` to create a deep clone.
5617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
5633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
5618
5634
  */
5619
5635
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5620
5636
  /**
5621
5637
  * Prefer `switch` over multiple `else-if`.
5622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
5638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
5623
5639
  */
5624
5640
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5625
5641
  /**
5626
5642
  * Prefer ternary expressions over simple `if-else` statements.
5627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
5643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
5628
5644
  */
5629
5645
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5630
5646
  /**
5631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
5647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
5632
5648
  * @deprecated
5633
5649
  */
5634
5650
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5635
5651
  /**
5636
5652
  * Prefer top-level await over top-level promises and async function calls.
5637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
5653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
5638
5654
  */
5639
5655
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5640
5656
  /**
5641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5642
5658
  * @deprecated
5643
5659
  */
5644
5660
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5645
5661
  /**
5646
5662
  * Enforce throwing `TypeError` in type checking conditions.
5647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
5663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
5648
5664
  */
5649
5665
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5650
5666
  /**
5651
5667
  * Prevent abbreviations.
5652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
5668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
5653
5669
  */
5654
5670
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5655
5671
  /**
5656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
5672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
5657
5673
  * @deprecated
5658
5674
  */
5659
5675
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5660
5676
  /**
5661
5677
  * Enforce consistent relative URL style.
5662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
5678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
5663
5679
  */
5664
5680
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5665
5681
  /**
5666
5682
  * Enforce using the separator argument with `Array#join()`.
5667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
5683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
5668
5684
  */
5669
5685
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5670
5686
  /**
5671
5687
  * Enforce using the digits argument with `Number#toFixed()`.
5672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5673
5689
  */
5674
5690
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5675
5691
  /**
5676
5692
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
5693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
5678
5694
  */
5679
5695
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5680
5696
  /**
5681
5697
  * Enforce better string content.
5682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
5698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
5683
5699
  */
5684
5700
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5685
5701
  /**
5686
5702
  * Enforce consistent brace style for `case` clauses.
5687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
5703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
5688
5704
  */
5689
5705
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5690
5706
  /**
5691
5707
  * Fix whitespace-insensitive template indentation.
5692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
5708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
5693
5709
  */
5694
5710
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5695
5711
  /**
5696
5712
  * Enforce consistent case for text encoding identifiers.
5697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
5713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
5698
5714
  */
5699
5715
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5700
5716
  /**
5701
5717
  * Require `new` when creating an error.
5702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
5718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
5703
5719
  */
5704
5720
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5705
5721
  /**
@@ -5729,7 +5745,7 @@ interface RuleOptions {
5729
5745
  'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
5730
5746
  /**
5731
5747
  * Disallow unused variables
5732
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
5748
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
5733
5749
  */
5734
5750
  'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
5735
5751
  /**
@@ -5959,7 +5975,7 @@ interface RuleOptions {
5959
5975
  */
5960
5976
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
5961
5977
  /**
5962
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
5978
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
5963
5979
  * @see https://eslint.vuejs.org/rules/key-spacing.html
5964
5980
  */
5965
5981
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -6632,7 +6648,7 @@ interface RuleOptions {
6632
6648
  */
6633
6649
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
6634
6650
  /**
6635
- * Require quotes around object literal property names in `<template>`
6651
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
6636
6652
  * @see https://eslint.vuejs.org/rules/quote-props.html
6637
6653
  */
6638
6654
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -7133,24 +7149,25 @@ type AccessorPairs = []|[{
7133
7149
  // ----- antfu/consistent-list-newline -----
7134
7150
  type AntfuConsistentListNewline = []|[{
7135
7151
  ArrayExpression?: boolean
7152
+ ArrayPattern?: boolean
7136
7153
  ArrowFunctionExpression?: boolean
7137
7154
  CallExpression?: boolean
7138
7155
  ExportNamedDeclaration?: boolean
7139
7156
  FunctionDeclaration?: boolean
7140
7157
  FunctionExpression?: boolean
7141
7158
  ImportDeclaration?: boolean
7159
+ JSONArrayExpression?: boolean
7160
+ JSONObjectExpression?: boolean
7161
+ JSXOpeningElement?: boolean
7142
7162
  NewExpression?: boolean
7143
7163
  ObjectExpression?: boolean
7164
+ ObjectPattern?: boolean
7165
+ TSFunctionType?: boolean
7144
7166
  TSInterfaceDeclaration?: boolean
7145
7167
  TSTupleType?: boolean
7146
7168
  TSTypeLiteral?: boolean
7147
7169
  TSTypeParameterDeclaration?: boolean
7148
7170
  TSTypeParameterInstantiation?: boolean
7149
- ObjectPattern?: boolean
7150
- ArrayPattern?: boolean
7151
- JSXOpeningElement?: boolean
7152
- JSONArrayExpression?: boolean
7153
- JSONObjectExpression?: boolean
7154
7171
  }]
7155
7172
  // ----- antfu/indent-unindent -----
7156
7173
  type AntfuIndentUnindent = []|[{
@@ -7544,6 +7561,11 @@ type ImportNoRelativeParentImports = []|[{
7544
7561
 
7545
7562
  ignore?: [string, ...(string)[]]
7546
7563
  }]
7564
+ // ----- import/no-rename-default -----
7565
+ type ImportNoRenameDefault = []|[{
7566
+ commonjs?: boolean
7567
+ preventRenamingBindings?: boolean
7568
+ }]
7547
7569
  // ----- import/no-restricted-paths -----
7548
7570
  type ImportNoRestrictedPaths = []|[{
7549
7571
 
@@ -7759,6 +7781,25 @@ type JsdocCheckValues = []|[{
7759
7781
  licensePattern?: string
7760
7782
  numericOnlyVariation?: boolean
7761
7783
  }]
7784
+ // ----- jsdoc/convert-to-jsdoc-comments -----
7785
+ type JsdocConvertToJsdocComments = []|[{
7786
+ allowedPrefixes?: string[]
7787
+ contexts?: (string | {
7788
+ context?: string
7789
+ inlineCommentBlock?: boolean
7790
+ })[]
7791
+ contextsAfter?: (string | {
7792
+ context?: string
7793
+ inlineCommentBlock?: boolean
7794
+ })[]
7795
+ contextsBeforeAndAfter?: (string | {
7796
+ context?: string
7797
+ inlineCommentBlock?: boolean
7798
+ })[]
7799
+ enableFixer?: boolean
7800
+ enforceJsdocLineStyle?: ("multi" | "single")
7801
+ lineOrBlockStyle?: ("block" | "line" | "both")
7802
+ }]
7762
7803
  // ----- jsdoc/empty-tags -----
7763
7804
  type JsdocEmptyTags = []|[{
7764
7805
  tags?: string[]
@@ -7778,6 +7819,12 @@ type JsdocInformativeDocs = []|[{
7778
7819
  excludedTags?: string[]
7779
7820
  uselessWords?: string[]
7780
7821
  }]
7822
+ // ----- jsdoc/lines-before-block -----
7823
+ type JsdocLinesBeforeBlock = []|[{
7824
+ excludedTags?: string[]
7825
+ ignoreSameLine?: boolean
7826
+ lines?: number
7827
+ }]
7781
7828
  // ----- jsdoc/match-description -----
7782
7829
  type JsdocMatchDescription = []|[{
7783
7830
  contexts?: (string | {
@@ -8046,6 +8093,10 @@ type JsdocRequireReturnsType = []|[{
8046
8093
  context?: string
8047
8094
  })[]
8048
8095
  }]
8096
+ // ----- jsdoc/require-template -----
8097
+ type JsdocRequireTemplate = []|[{
8098
+ requireSeparateTemplates?: boolean
8099
+ }]
8049
8100
  // ----- jsdoc/require-throws -----
8050
8101
  type JsdocRequireThrows = []|[{
8051
8102
  contexts?: (string | {
@@ -9117,18 +9168,11 @@ type NoRestrictedImports = ((string | {
9117
9168
  importNames?: string[]
9118
9169
  allowImportNames?: string[]
9119
9170
  })[]
9120
- patterns?: (string[] | {
9121
-
9122
- importNames?: [string, ...(string)[]]
9123
-
9124
- allowImportNames?: [string, ...(string)[]]
9125
-
9126
- group: [string, ...(string)[]]
9127
- importNamePattern?: string
9128
- allowImportNamePattern?: string
9129
- message?: string
9130
- caseSensitive?: boolean
9131
- }[])
9171
+ patterns?: (string[] | ({
9172
+ [k: string]: unknown | undefined
9173
+ } | {
9174
+ [k: string]: unknown | undefined
9175
+ })[])
9132
9176
  }])
9133
9177
  // ----- no-restricted-modules -----
9134
9178
  type NoRestrictedModules = ((string | {
@@ -9434,6 +9478,7 @@ type NodeNoUnpublishedImport = []|[{
9434
9478
  })[]])
9435
9479
  resolvePaths?: string[]
9436
9480
  ignoreTypeImport?: boolean
9481
+ ignorePrivate?: boolean
9437
9482
  }]
9438
9483
  // ----- node/no-unpublished-require -----
9439
9484
  type NodeNoUnpublishedRequire = []|[{
@@ -9456,6 +9501,7 @@ type NodeNoUnpublishedRequire = []|[{
9456
9501
  })[]])
9457
9502
  resolvePaths?: string[]
9458
9503
  tryExtensions?: string[]
9504
+ ignorePrivate?: boolean
9459
9505
  }]
9460
9506
  // ----- node/no-unsupported-features/es-builtins -----
9461
9507
  type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
@@ -9471,7 +9517,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
9471
9517
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
9472
9518
  version?: string
9473
9519
  allowExperimental?: boolean
9474
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9520
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9475
9521
  }]
9476
9522
  // ----- node/prefer-global/buffer -----
9477
9523
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -9613,45 +9659,90 @@ type PaddingLineBetweenStatements = {
9613
9659
  }[]
9614
9660
  // ----- perfectionist/sort-array-includes -----
9615
9661
  type PerfectionistSortArrayIncludes = []|[{
9662
+
9616
9663
  type?: ("alphabetical" | "natural" | "line-length")
9664
+
9617
9665
  order?: ("asc" | "desc")
9618
- "ignore-case"?: boolean
9619
- "spread-last"?: boolean
9666
+
9667
+ ignoreCase?: boolean
9668
+
9669
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
9620
9670
  }]
9621
9671
  // ----- perfectionist/sort-astro-attributes -----
9622
9672
  type PerfectionistSortAstroAttributes = []|[{
9623
- "custom-groups"?: {
9624
- [k: string]: unknown | undefined
9625
- }
9673
+
9626
9674
  type?: ("alphabetical" | "natural" | "line-length")
9675
+
9627
9676
  order?: ("asc" | "desc")
9628
- "ignore-case"?: boolean
9629
- groups?: unknown[]
9677
+
9678
+ ignoreCase?: boolean
9679
+
9680
+ groups?: (string | string[])[]
9681
+
9682
+ customGroups?: {
9683
+ [k: string]: (string | string[]) | undefined
9684
+ }
9630
9685
  }]
9631
9686
  // ----- perfectionist/sort-classes -----
9632
9687
  type PerfectionistSortClasses = []|[{
9688
+
9633
9689
  type?: ("alphabetical" | "natural" | "line-length")
9634
- "ignore-case"?: boolean
9690
+
9635
9691
  order?: ("asc" | "desc")
9636
- groups?: unknown[]
9692
+
9693
+ ignoreCase?: boolean
9694
+
9695
+ partitionByComment?: (string[] | boolean | string)
9696
+
9697
+ groups?: (string | string[])[]
9698
+
9699
+ customGroups?: {
9700
+ [k: string]: (string | string[]) | undefined
9701
+ }
9637
9702
  }]
9638
9703
  // ----- perfectionist/sort-enums -----
9639
9704
  type PerfectionistSortEnums = []|[{
9640
- "partition-by-comment"?: (boolean | string | unknown[])
9705
+
9641
9706
  type?: ("alphabetical" | "natural" | "line-length")
9642
- "ignore-case"?: boolean
9707
+
9643
9708
  order?: ("asc" | "desc")
9709
+
9710
+ ignoreCase?: boolean
9711
+
9712
+ sortByValue?: boolean
9713
+
9714
+ forceNumericSort?: boolean
9715
+
9716
+ partitionByComment?: (string[] | boolean | string)
9644
9717
  }]
9645
9718
  // ----- perfectionist/sort-exports -----
9646
9719
  type PerfectionistSortExports = []|[{
9720
+
9647
9721
  type?: ("alphabetical" | "natural" | "line-length")
9722
+
9648
9723
  order?: ("asc" | "desc")
9649
- "ignore-case"?: boolean
9724
+
9725
+ ignoreCase?: boolean
9650
9726
  }]
9651
9727
  // ----- perfectionist/sort-imports -----
9652
9728
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9653
9729
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9654
- "custom-groups"?: {
9730
+
9731
+ type?: ("alphabetical" | "natural" | "line-length")
9732
+
9733
+ order?: ("asc" | "desc")
9734
+
9735
+ ignoreCase?: boolean
9736
+
9737
+ internalPattern?: string[]
9738
+
9739
+ newlinesBetween?: ("ignore" | "always" | "never")
9740
+
9741
+ maxLineLength?: number
9742
+
9743
+ groups?: (string | string[])[]
9744
+
9745
+ customGroups?: {
9655
9746
  type?: {
9656
9747
  [k: string]: unknown | undefined
9657
9748
  }
@@ -9659,13 +9750,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9659
9750
  [k: string]: unknown | undefined
9660
9751
  }
9661
9752
  }
9662
- type?: ("alphabetical" | "natural" | "line-length")
9663
- order?: ("asc" | "desc")
9664
- "ignore-case"?: boolean
9665
- groups?: unknown[]
9666
- "internal-pattern"?: string[]
9667
- "newlines-between"?: ("ignore" | "always" | "never")
9668
- "max-line-length"?: number
9753
+
9754
+ environment?: ("node" | "bun")
9669
9755
  })
9670
9756
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9671
9757
  [k: string]: unknown | undefined
@@ -9676,105 +9762,188 @@ interface _PerfectionistSortImports_IsLineLength {
9676
9762
  }
9677
9763
  // ----- perfectionist/sort-interfaces -----
9678
9764
  type PerfectionistSortInterfaces = []|[{
9679
- "custom-groups"?: {
9680
- [k: string]: unknown | undefined
9681
- }
9682
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
9765
+
9683
9766
  type?: ("alphabetical" | "natural" | "line-length")
9767
+
9684
9768
  order?: ("asc" | "desc")
9685
- "ignore-case"?: boolean
9686
- "ignore-pattern"?: string[]
9687
- groups?: unknown[]
9688
- "partition-by-new-line"?: boolean
9769
+
9770
+ ignoreCase?: boolean
9771
+
9772
+ ignorePattern?: string[]
9773
+
9774
+ partitionByNewLine?: boolean
9775
+
9776
+ groupKind?: ("mixed" | "optional-first" | "required-first")
9777
+
9778
+ groups?: (string | string[])[]
9779
+
9780
+ customGroups?: {
9781
+ [k: string]: (string | string[]) | undefined
9782
+ }
9689
9783
  }]
9690
9784
  // ----- perfectionist/sort-intersection-types -----
9691
9785
  type PerfectionistSortIntersectionTypes = []|[{
9786
+
9692
9787
  type?: ("alphabetical" | "natural" | "line-length")
9788
+
9693
9789
  order?: ("asc" | "desc")
9694
- "ignore-case"?: boolean
9790
+
9791
+ ignoreCase?: boolean
9792
+
9793
+ groups?: (string | string[])[]
9695
9794
  }]
9696
9795
  // ----- perfectionist/sort-jsx-props -----
9697
9796
  type PerfectionistSortJsxProps = []|[{
9698
- "custom-groups"?: {
9699
- [k: string]: unknown | undefined
9700
- }
9797
+
9701
9798
  type?: ("alphabetical" | "natural" | "line-length")
9799
+
9702
9800
  order?: ("asc" | "desc")
9703
- groups?: unknown[]
9704
- "ignore-case"?: boolean
9801
+
9802
+ ignoreCase?: boolean
9803
+
9804
+ ignorePattern?: string[]
9805
+
9806
+ groups?: (string | string[])[]
9807
+
9808
+ customGroups?: {
9809
+ [k: string]: (string | string[]) | undefined
9810
+ }
9705
9811
  }]
9706
9812
  // ----- perfectionist/sort-maps -----
9707
9813
  type PerfectionistSortMaps = []|[{
9814
+
9708
9815
  type?: ("alphabetical" | "natural" | "line-length")
9816
+
9709
9817
  order?: ("asc" | "desc")
9710
- "ignore-case"?: boolean
9818
+
9819
+ ignoreCase?: boolean
9711
9820
  }]
9712
9821
  // ----- perfectionist/sort-named-exports -----
9713
9822
  type PerfectionistSortNamedExports = []|[{
9823
+
9714
9824
  type?: ("alphabetical" | "natural" | "line-length")
9825
+
9715
9826
  order?: ("asc" | "desc")
9716
- "ignore-case"?: boolean
9717
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9827
+
9828
+ ignoreCase?: boolean
9829
+
9830
+ groupKind?: ("mixed" | "values-first" | "types-first")
9718
9831
  }]
9719
9832
  // ----- perfectionist/sort-named-imports -----
9720
9833
  type PerfectionistSortNamedImports = []|[{
9834
+
9721
9835
  type?: ("alphabetical" | "natural" | "line-length")
9836
+
9722
9837
  order?: ("asc" | "desc")
9723
- "ignore-case"?: boolean
9724
- "ignore-alias"?: boolean
9725
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9838
+
9839
+ ignoreCase?: boolean
9840
+
9841
+ ignoreAlias?: boolean
9842
+
9843
+ groupKind?: ("mixed" | "values-first" | "types-first")
9726
9844
  }]
9727
9845
  // ----- perfectionist/sort-object-types -----
9728
9846
  type PerfectionistSortObjectTypes = []|[{
9729
- "custom-groups"?: {
9730
- [k: string]: unknown | undefined
9731
- }
9847
+
9732
9848
  type?: ("alphabetical" | "natural" | "line-length")
9849
+
9733
9850
  order?: ("asc" | "desc")
9734
- "ignore-case"?: boolean
9735
- groups?: unknown[]
9736
- "partition-by-new-line"?: boolean
9851
+
9852
+ ignoreCase?: boolean
9853
+
9854
+ partitionByNewLine?: boolean
9855
+
9856
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9857
+
9858
+ groups?: (string | string[])[]
9859
+
9860
+ customGroups?: {
9861
+ [k: string]: (string | string[]) | undefined
9862
+ }
9737
9863
  }]
9738
9864
  // ----- perfectionist/sort-objects -----
9739
9865
  type PerfectionistSortObjects = []|[{
9740
- "custom-groups"?: {
9741
- [k: string]: unknown | undefined
9742
- }
9743
- "partition-by-comment"?: (boolean | string | unknown[])
9744
- "partition-by-new-line"?: boolean
9745
- "styled-components"?: boolean
9866
+
9746
9867
  type?: ("alphabetical" | "natural" | "line-length")
9868
+
9747
9869
  order?: ("asc" | "desc")
9748
- "ignore-case"?: boolean
9749
- "ignore-pattern"?: string[]
9750
- groups?: unknown[]
9870
+
9871
+ ignoreCase?: boolean
9872
+
9873
+ partitionByComment?: (string[] | boolean | string)
9874
+
9875
+ partitionByNewLine?: boolean
9876
+
9877
+ styledComponents?: boolean
9878
+
9879
+ destructureOnly?: boolean
9880
+
9881
+ ignorePattern?: string[]
9882
+
9883
+ groups?: (string | string[])[]
9884
+
9885
+ customGroups?: {
9886
+ [k: string]: (string | string[]) | undefined
9887
+ }
9751
9888
  }]
9752
9889
  // ----- perfectionist/sort-svelte-attributes -----
9753
9890
  type PerfectionistSortSvelteAttributes = []|[{
9754
- "custom-groups"?: {
9755
- [k: string]: unknown | undefined
9891
+
9892
+ type?: ("alphabetical" | "natural" | "line-length")
9893
+
9894
+ order?: ("asc" | "desc")
9895
+
9896
+ ignoreCase?: boolean
9897
+
9898
+ groups?: (string | string[])[]
9899
+
9900
+ customGroups?: {
9901
+ [k: string]: (string | string[]) | undefined
9756
9902
  }
9903
+ }]
9904
+ // ----- perfectionist/sort-switch-case -----
9905
+ type PerfectionistSortSwitchCase = []|[{
9906
+
9757
9907
  type?: ("alphabetical" | "natural" | "line-length")
9908
+
9758
9909
  order?: ("asc" | "desc")
9759
- "ignore-case"?: boolean
9760
- groups?: unknown[]
9910
+
9911
+ ignoreCase?: boolean
9761
9912
  }]
9762
9913
  // ----- perfectionist/sort-union-types -----
9763
9914
  type PerfectionistSortUnionTypes = []|[{
9915
+
9916
+ type?: ("alphabetical" | "natural" | "line-length")
9917
+
9918
+ order?: ("asc" | "desc")
9919
+
9920
+ ignoreCase?: boolean
9921
+
9922
+ groups?: (string | string[])[]
9923
+ }]
9924
+ // ----- perfectionist/sort-variable-declarations -----
9925
+ type PerfectionistSortVariableDeclarations = []|[{
9926
+
9764
9927
  type?: ("alphabetical" | "natural" | "line-length")
9928
+
9765
9929
  order?: ("asc" | "desc")
9766
- "ignore-case"?: boolean
9767
- "nullable-last"?: boolean
9930
+
9931
+ ignoreCase?: boolean
9768
9932
  }]
9769
9933
  // ----- perfectionist/sort-vue-attributes -----
9770
9934
  type PerfectionistSortVueAttributes = []|[{
9771
- "custom-groups"?: {
9772
- [k: string]: unknown | undefined
9773
- }
9935
+
9774
9936
  type?: ("alphabetical" | "natural" | "line-length")
9937
+
9775
9938
  order?: ("asc" | "desc")
9776
- "ignore-case"?: boolean
9777
- groups?: unknown[]
9939
+
9940
+ ignoreCase?: boolean
9941
+
9942
+ groups?: (string | string[])[]
9943
+
9944
+ customGroups?: {
9945
+ [k: string]: (string | string[]) | undefined
9946
+ }
9778
9947
  }]
9779
9948
  // ----- prefer-arrow-callback -----
9780
9949
  type PreferArrowCallback = []|[{
@@ -9846,6 +10015,9 @@ type ReactHooksExhaustiveDeps = []|[{
9846
10015
  }]
9847
10016
  // ----- react-naming-convention/component-name -----
9848
10017
  type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
10018
+ allowAllCaps?: boolean
10019
+ allowLeadingUnderscore?: boolean
10020
+ allowNamespace?: boolean
9849
10021
  excepts?: string[]
9850
10022
  rule?: ("PascalCase" | "CONSTANT_CASE")
9851
10023
  })]
@@ -10085,6 +10257,7 @@ type StyleArrayElementNewline = []|[(_StyleArrayElementNewlineBasicConfig | {
10085
10257
  ArrayPattern?: _StyleArrayElementNewlineBasicConfig
10086
10258
  })]
10087
10259
  type _StyleArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
10260
+ consistent?: boolean
10088
10261
  multiline?: boolean
10089
10262
  minItems?: (number | null)
10090
10263
  })
@@ -10281,7 +10454,7 @@ type StyleJsxNewline = []|[{
10281
10454
  }]
10282
10455
  // ----- style/jsx-one-expression-per-line -----
10283
10456
  type StyleJsxOneExpressionPerLine = []|[{
10284
- allow?: ("none" | "literal" | "single-child" | "single-line")
10457
+ allow?: ("none" | "literal" | "single-child" | "single-line" | "non-jsx")
10285
10458
  }]
10286
10459
  // ----- style/jsx-pascal-case -----
10287
10460
  type StyleJsxPascalCase = []|[{
@@ -10914,6 +11087,16 @@ type StyleObjectCurlyNewline = []|[((("always" | "never") | {
10914
11087
  minProperties?: number
10915
11088
  consistent?: boolean
10916
11089
  })
11090
+ TSTypeLiteral?: (("always" | "never") | {
11091
+ multiline?: boolean
11092
+ minProperties?: number
11093
+ consistent?: boolean
11094
+ })
11095
+ TSInterfaceBody?: (("always" | "never") | {
11096
+ multiline?: boolean
11097
+ minProperties?: number
11098
+ consistent?: boolean
11099
+ })
10917
11100
  })]
10918
11101
  // ----- style/object-curly-spacing -----
10919
11102
  type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -10947,7 +11130,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
10947
11130
  }]
10948
11131
  // ----- style/padding-line-between-statements -----
10949
11132
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
10950
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"))[]])
11133
+ type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
10951
11134
  type StylePaddingLineBetweenStatements = {
10952
11135
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
10953
11136
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -10963,6 +11146,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
10963
11146
  type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
10964
11147
  avoidEscape?: boolean
10965
11148
  allowTemplateLiterals?: boolean
11149
+ ignoreStringLiterals?: boolean
10966
11150
  })]
10967
11151
  // ----- style/rest-spread-spacing -----
10968
11152
  type StyleRestSpreadSpacing = []|[("always" | "never")]
@@ -11042,6 +11226,7 @@ type StyleTypeAnnotationSpacing = []|[{
11042
11226
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
11043
11227
  property?: _StyleTypeAnnotationSpacing_SpacingConfig
11044
11228
  returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
11229
+ operator?: _StyleTypeAnnotationSpacing_SpacingConfig
11045
11230
  }
11046
11231
  }]
11047
11232
  interface _StyleTypeAnnotationSpacing_SpacingConfig {
@@ -11109,6 +11294,7 @@ type TestNoLargeSnapshots = []|[{
11109
11294
  type TestNoOnlyTests = []|[{
11110
11295
  block?: string[]
11111
11296
  focus?: string[]
11297
+ functions?: string[]
11112
11298
  fix?: boolean
11113
11299
  }]
11114
11300
  // ----- test/no-restricted-matchers -----
@@ -11121,7 +11307,8 @@ type TestNoRestrictedViMethods = []|[{
11121
11307
  }]
11122
11308
  // ----- test/no-standalone-expect -----
11123
11309
  type TestNoStandaloneExpect = []|[{
11124
- additionalTestBlockFunctions?: string[]
11310
+ additionaltestblockfunctions?: string[]
11311
+ [k: string]: unknown | undefined
11125
11312
  }]
11126
11313
  // ----- test/prefer-expect-assertions -----
11127
11314
  type TestPreferExpectAssertions = []|[{
@@ -11309,26 +11496,6 @@ type TsBanTsComment = []|[{
11309
11496
  })
11310
11497
  minimumDescriptionLength?: number
11311
11498
  }]
11312
- // ----- ts/ban-types -----
11313
- type TsBanTypes = []|[{
11314
- types?: {
11315
- [k: string]: (null | false | true | string | {
11316
-
11317
- message?: string
11318
-
11319
- fixWith?: string
11320
-
11321
- suggest?: string[]
11322
- }) | undefined
11323
- }
11324
- extendDefaults?: boolean
11325
- }]
11326
- // ----- ts/block-spacing -----
11327
- type TsBlockSpacing = []|[("always" | "never")]
11328
- // ----- ts/brace-style -----
11329
- type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
11330
- allowSingleLine?: boolean
11331
- }]
11332
11499
  // ----- ts/class-literal-property-style -----
11333
11500
  type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
11334
11501
  // ----- ts/class-methods-use-this -----
@@ -11342,24 +11509,6 @@ type TsClassMethodsUseThis = []|[{
11342
11509
 
11343
11510
  ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
11344
11511
  }]
11345
- // ----- ts/comma-dangle -----
11346
- type TsCommaDangle = []|[(_TsCommaDangleValue | {
11347
- arrays?: _TsCommaDangleValueWithIgnore
11348
- objects?: _TsCommaDangleValueWithIgnore
11349
- imports?: _TsCommaDangleValueWithIgnore
11350
- exports?: _TsCommaDangleValueWithIgnore
11351
- functions?: _TsCommaDangleValueWithIgnore
11352
- enums?: _TsCommaDangleValueWithIgnore
11353
- generics?: _TsCommaDangleValueWithIgnore
11354
- tuples?: _TsCommaDangleValueWithIgnore
11355
- })]
11356
- type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
11357
- type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
11358
- // ----- ts/comma-spacing -----
11359
- type TsCommaSpacing = []|[{
11360
- before?: boolean
11361
- after?: boolean
11362
- }]
11363
11512
  // ----- ts/consistent-generic-constructors -----
11364
11513
  type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
11365
11514
  // ----- ts/consistent-indexed-object-style -----
@@ -11368,530 +11517,87 @@ type TsConsistentIndexedObjectStyle = []|[("record" | "index-signature")]
11368
11517
  type TsConsistentReturn = []|[{
11369
11518
  treatUndefinedAsUnspecified?: boolean
11370
11519
  }]
11371
- // ----- ts/consistent-type-assertions -----
11372
- type TsConsistentTypeAssertions = []|[({
11373
- assertionStyle: "never"
11374
- } | {
11375
- assertionStyle: ("as" | "angle-bracket")
11376
- objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11377
- })]
11378
- // ----- ts/consistent-type-definitions -----
11379
- type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11380
- // ----- ts/consistent-type-exports -----
11381
- type TsConsistentTypeExports = []|[{
11382
- fixMixedExportsWithInlineTypeSpecifier?: boolean
11383
- }]
11384
- // ----- ts/consistent-type-imports -----
11385
- type TsConsistentTypeImports = []|[{
11386
- disallowTypeAnnotations?: boolean
11387
- fixStyle?: ("separate-type-imports" | "inline-type-imports")
11388
- prefer?: ("type-imports" | "no-type-imports")
11389
- }]
11390
- // ----- ts/dot-notation -----
11391
- type TsDotNotation = []|[{
11392
- allowKeywords?: boolean
11393
- allowPattern?: string
11394
- allowPrivateClassPropertyAccess?: boolean
11395
- allowProtectedClassPropertyAccess?: boolean
11396
- allowIndexSignaturePropertyAccess?: boolean
11397
- }]
11398
- // ----- ts/explicit-function-return-type -----
11399
- type TsExplicitFunctionReturnType = []|[{
11400
-
11401
- allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
11402
-
11403
- allowExpressions?: boolean
11404
-
11405
- allowHigherOrderFunctions?: boolean
11406
-
11407
- allowTypedFunctionExpressions?: boolean
11408
-
11409
- allowDirectConstAssertionInArrowFunctions?: boolean
11410
-
11411
- allowFunctionsWithoutTypeParameters?: boolean
11412
-
11413
- allowedNames?: string[]
11414
-
11415
- allowIIFEs?: boolean
11416
- }]
11417
- // ----- ts/explicit-member-accessibility -----
11418
- type TsExplicitMemberAccessibility = []|[{
11419
- accessibility?: ("explicit" | "no-public" | "off")
11420
- overrides?: {
11421
- accessors?: ("explicit" | "no-public" | "off")
11422
- constructors?: ("explicit" | "no-public" | "off")
11423
- methods?: ("explicit" | "no-public" | "off")
11424
- properties?: ("explicit" | "no-public" | "off")
11425
- parameterProperties?: ("explicit" | "no-public" | "off")
11426
- }
11427
- ignoredMethodNames?: string[]
11428
- }]
11429
- // ----- ts/explicit-module-boundary-types -----
11430
- type TsExplicitModuleBoundaryTypes = []|[{
11431
-
11432
- allowArgumentsExplicitlyTypedAsAny?: boolean
11433
-
11434
- allowDirectConstAssertionInArrowFunctions?: boolean
11435
-
11436
- allowedNames?: string[]
11437
-
11438
- allowHigherOrderFunctions?: boolean
11439
-
11440
- allowTypedFunctionExpressions?: boolean
11441
- }]
11442
- // ----- ts/func-call-spacing -----
11443
- type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
11444
- allowNewlines?: boolean
11445
- }])
11446
- // ----- ts/indent -----
11447
- type TsIndent = []|[("tab" | number)]|[("tab" | number), {
11448
- SwitchCase?: number
11449
- VariableDeclarator?: ((number | ("first" | "off")) | {
11450
- var?: (number | ("first" | "off"))
11451
- let?: (number | ("first" | "off"))
11452
- const?: (number | ("first" | "off"))
11453
- })
11454
- outerIIFEBody?: (number | "off")
11455
- MemberExpression?: (number | "off")
11456
- FunctionDeclaration?: {
11457
- parameters?: (number | ("first" | "off"))
11458
- body?: number
11459
- }
11460
- FunctionExpression?: {
11461
- parameters?: (number | ("first" | "off"))
11462
- body?: number
11463
- }
11464
- StaticBlock?: {
11465
- body?: number
11466
- }
11467
- CallExpression?: {
11468
- arguments?: (number | ("first" | "off"))
11469
- }
11470
- ArrayExpression?: (number | ("first" | "off"))
11471
- ObjectExpression?: (number | ("first" | "off"))
11472
- ImportDeclaration?: (number | ("first" | "off"))
11473
- flatTernaryExpressions?: boolean
11474
- offsetTernaryExpressions?: boolean
11475
- ignoredNodes?: string[]
11476
- ignoreComments?: boolean
11477
- }]
11478
- // ----- ts/init-declarations -----
11479
- type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11480
- ignoreForLoopInit?: boolean
11481
- }])
11482
- // ----- ts/key-spacing -----
11483
- type TsKeySpacing = []|[({
11484
- align?: (("colon" | "value") | {
11485
- mode?: ("strict" | "minimum")
11486
- on?: ("colon" | "value")
11487
- beforeColon?: boolean
11488
- afterColon?: boolean
11489
- })
11490
- mode?: ("strict" | "minimum")
11491
- beforeColon?: boolean
11492
- afterColon?: boolean
11493
- } | {
11494
- singleLine?: {
11495
- mode?: ("strict" | "minimum")
11496
- beforeColon?: boolean
11497
- afterColon?: boolean
11498
- }
11499
- multiLine?: {
11500
- align?: (("colon" | "value") | {
11501
- mode?: ("strict" | "minimum")
11502
- on?: ("colon" | "value")
11503
- beforeColon?: boolean
11504
- afterColon?: boolean
11505
- })
11506
- mode?: ("strict" | "minimum")
11507
- beforeColon?: boolean
11508
- afterColon?: boolean
11509
- }
11510
- } | {
11511
- singleLine?: {
11512
- mode?: ("strict" | "minimum")
11513
- beforeColon?: boolean
11514
- afterColon?: boolean
11515
- }
11516
- multiLine?: {
11517
- mode?: ("strict" | "minimum")
11518
- beforeColon?: boolean
11519
- afterColon?: boolean
11520
- }
11521
- align?: {
11522
- mode?: ("strict" | "minimum")
11523
- on?: ("colon" | "value")
11524
- beforeColon?: boolean
11525
- afterColon?: boolean
11526
- }
11527
- })]
11528
- // ----- ts/keyword-spacing -----
11529
- type TsKeywordSpacing = []|[{
11530
- before?: boolean
11531
- after?: boolean
11532
- overrides?: {
11533
- abstract?: {
11534
- before?: boolean
11535
- after?: boolean
11536
- }
11537
- as?: {
11538
- before?: boolean
11539
- after?: boolean
11540
- }
11541
- async?: {
11542
- before?: boolean
11543
- after?: boolean
11544
- }
11545
- await?: {
11546
- before?: boolean
11547
- after?: boolean
11548
- }
11549
- boolean?: {
11550
- before?: boolean
11551
- after?: boolean
11552
- }
11553
- break?: {
11554
- before?: boolean
11555
- after?: boolean
11556
- }
11557
- byte?: {
11558
- before?: boolean
11559
- after?: boolean
11560
- }
11561
- case?: {
11562
- before?: boolean
11563
- after?: boolean
11564
- }
11565
- catch?: {
11566
- before?: boolean
11567
- after?: boolean
11568
- }
11569
- char?: {
11570
- before?: boolean
11571
- after?: boolean
11572
- }
11573
- class?: {
11574
- before?: boolean
11575
- after?: boolean
11576
- }
11577
- const?: {
11578
- before?: boolean
11579
- after?: boolean
11580
- }
11581
- continue?: {
11582
- before?: boolean
11583
- after?: boolean
11584
- }
11585
- debugger?: {
11586
- before?: boolean
11587
- after?: boolean
11588
- }
11589
- default?: {
11590
- before?: boolean
11591
- after?: boolean
11592
- }
11593
- delete?: {
11594
- before?: boolean
11595
- after?: boolean
11596
- }
11597
- do?: {
11598
- before?: boolean
11599
- after?: boolean
11600
- }
11601
- double?: {
11602
- before?: boolean
11603
- after?: boolean
11604
- }
11605
- else?: {
11606
- before?: boolean
11607
- after?: boolean
11608
- }
11609
- enum?: {
11610
- before?: boolean
11611
- after?: boolean
11612
- }
11613
- export?: {
11614
- before?: boolean
11615
- after?: boolean
11616
- }
11617
- extends?: {
11618
- before?: boolean
11619
- after?: boolean
11620
- }
11621
- false?: {
11622
- before?: boolean
11623
- after?: boolean
11624
- }
11625
- final?: {
11626
- before?: boolean
11627
- after?: boolean
11628
- }
11629
- finally?: {
11630
- before?: boolean
11631
- after?: boolean
11632
- }
11633
- float?: {
11634
- before?: boolean
11635
- after?: boolean
11636
- }
11637
- for?: {
11638
- before?: boolean
11639
- after?: boolean
11640
- }
11641
- from?: {
11642
- before?: boolean
11643
- after?: boolean
11644
- }
11645
- function?: {
11646
- before?: boolean
11647
- after?: boolean
11648
- }
11649
- get?: {
11650
- before?: boolean
11651
- after?: boolean
11652
- }
11653
- goto?: {
11654
- before?: boolean
11655
- after?: boolean
11656
- }
11657
- if?: {
11658
- before?: boolean
11659
- after?: boolean
11660
- }
11661
- implements?: {
11662
- before?: boolean
11663
- after?: boolean
11664
- }
11665
- import?: {
11666
- before?: boolean
11667
- after?: boolean
11668
- }
11669
- in?: {
11670
- before?: boolean
11671
- after?: boolean
11672
- }
11673
- instanceof?: {
11674
- before?: boolean
11675
- after?: boolean
11676
- }
11677
- int?: {
11678
- before?: boolean
11679
- after?: boolean
11680
- }
11681
- interface?: {
11682
- before?: boolean
11683
- after?: boolean
11684
- }
11685
- let?: {
11686
- before?: boolean
11687
- after?: boolean
11688
- }
11689
- long?: {
11690
- before?: boolean
11691
- after?: boolean
11692
- }
11693
- native?: {
11694
- before?: boolean
11695
- after?: boolean
11696
- }
11697
- new?: {
11698
- before?: boolean
11699
- after?: boolean
11700
- }
11701
- null?: {
11702
- before?: boolean
11703
- after?: boolean
11704
- }
11705
- of?: {
11706
- before?: boolean
11707
- after?: boolean
11708
- }
11709
- package?: {
11710
- before?: boolean
11711
- after?: boolean
11712
- }
11713
- private?: {
11714
- before?: boolean
11715
- after?: boolean
11716
- }
11717
- protected?: {
11718
- before?: boolean
11719
- after?: boolean
11720
- }
11721
- public?: {
11722
- before?: boolean
11723
- after?: boolean
11724
- }
11725
- return?: {
11726
- before?: boolean
11727
- after?: boolean
11728
- }
11729
- set?: {
11730
- before?: boolean
11731
- after?: boolean
11732
- }
11733
- short?: {
11734
- before?: boolean
11735
- after?: boolean
11736
- }
11737
- static?: {
11738
- before?: boolean
11739
- after?: boolean
11740
- }
11741
- super?: {
11742
- before?: boolean
11743
- after?: boolean
11744
- }
11745
- switch?: {
11746
- before?: boolean
11747
- after?: boolean
11748
- }
11749
- synchronized?: {
11750
- before?: boolean
11751
- after?: boolean
11752
- }
11753
- this?: {
11754
- before?: boolean
11755
- after?: boolean
11756
- }
11757
- throw?: {
11758
- before?: boolean
11759
- after?: boolean
11760
- }
11761
- throws?: {
11762
- before?: boolean
11763
- after?: boolean
11764
- }
11765
- transient?: {
11766
- before?: boolean
11767
- after?: boolean
11768
- }
11769
- true?: {
11770
- before?: boolean
11771
- after?: boolean
11772
- }
11773
- try?: {
11774
- before?: boolean
11775
- after?: boolean
11776
- }
11777
- typeof?: {
11778
- before?: boolean
11779
- after?: boolean
11780
- }
11781
- var?: {
11782
- before?: boolean
11783
- after?: boolean
11784
- }
11785
- void?: {
11786
- before?: boolean
11787
- after?: boolean
11788
- }
11789
- volatile?: {
11790
- before?: boolean
11791
- after?: boolean
11792
- }
11793
- while?: {
11794
- before?: boolean
11795
- after?: boolean
11796
- }
11797
- with?: {
11798
- before?: boolean
11799
- after?: boolean
11800
- }
11801
- yield?: {
11802
- before?: boolean
11803
- after?: boolean
11804
- }
11805
- type?: {
11806
- before?: boolean
11807
- after?: boolean
11808
- }
11809
- }
11520
+ // ----- ts/consistent-type-assertions -----
11521
+ type TsConsistentTypeAssertions = []|[({
11522
+ assertionStyle: "never"
11523
+ } | {
11524
+ assertionStyle: ("as" | "angle-bracket")
11525
+ objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11526
+ })]
11527
+ // ----- ts/consistent-type-definitions -----
11528
+ type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11529
+ // ----- ts/consistent-type-exports -----
11530
+ type TsConsistentTypeExports = []|[{
11531
+ fixMixedExportsWithInlineTypeSpecifier?: boolean
11810
11532
  }]
11811
- // ----- ts/lines-around-comment -----
11812
- type TsLinesAroundComment = []|[{
11813
- beforeBlockComment?: boolean
11814
- afterBlockComment?: boolean
11815
- beforeLineComment?: boolean
11816
- afterLineComment?: boolean
11817
- allowBlockStart?: boolean
11818
- allowBlockEnd?: boolean
11819
- allowClassStart?: boolean
11820
- allowClassEnd?: boolean
11821
- allowObjectStart?: boolean
11822
- allowObjectEnd?: boolean
11823
- allowArrayStart?: boolean
11824
- allowArrayEnd?: boolean
11825
- allowInterfaceStart?: boolean
11826
- allowInterfaceEnd?: boolean
11827
- allowTypeStart?: boolean
11828
- allowTypeEnd?: boolean
11829
- allowEnumStart?: boolean
11830
- allowEnumEnd?: boolean
11831
- allowModuleStart?: boolean
11832
- allowModuleEnd?: boolean
11833
- ignorePattern?: string
11834
- applyDefaultIgnorePatterns?: boolean
11533
+ // ----- ts/consistent-type-imports -----
11534
+ type TsConsistentTypeImports = []|[{
11535
+ disallowTypeAnnotations?: boolean
11536
+ fixStyle?: ("separate-type-imports" | "inline-type-imports")
11537
+ prefer?: ("type-imports" | "no-type-imports")
11538
+ }]
11539
+ // ----- ts/dot-notation -----
11540
+ type TsDotNotation = []|[{
11541
+ allowKeywords?: boolean
11542
+ allowPattern?: string
11543
+ allowPrivateClassPropertyAccess?: boolean
11544
+ allowProtectedClassPropertyAccess?: boolean
11545
+ allowIndexSignaturePropertyAccess?: boolean
11835
11546
  }]
11836
- // ----- ts/lines-between-class-members -----
11837
- type TsLinesBetweenClassMembers = []|[({
11547
+ // ----- ts/explicit-function-return-type -----
11548
+ type TsExplicitFunctionReturnType = []|[{
11838
11549
 
11839
- enforce: [{
11840
- blankLine: ("always" | "never")
11841
- prev: ("method" | "field" | "*")
11842
- next: ("method" | "field" | "*")
11843
- }, ...({
11844
- blankLine: ("always" | "never")
11845
- prev: ("method" | "field" | "*")
11846
- next: ("method" | "field" | "*")
11847
- })[]]
11848
- } | ("always" | "never"))]|[({
11550
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
11849
11551
 
11850
- enforce: [{
11851
- blankLine: ("always" | "never")
11852
- prev: ("method" | "field" | "*")
11853
- next: ("method" | "field" | "*")
11854
- }, ...({
11855
- blankLine: ("always" | "never")
11856
- prev: ("method" | "field" | "*")
11857
- next: ("method" | "field" | "*")
11858
- })[]]
11859
- } | ("always" | "never")), {
11860
- exceptAfterSingleLine?: boolean
11861
- exceptAfterOverload?: boolean
11552
+ allowExpressions?: boolean
11553
+
11554
+ allowHigherOrderFunctions?: boolean
11555
+
11556
+ allowTypedFunctionExpressions?: boolean
11557
+
11558
+ allowDirectConstAssertionInArrowFunctions?: boolean
11559
+
11560
+ allowFunctionsWithoutTypeParameters?: boolean
11561
+
11562
+ allowedNames?: string[]
11563
+
11564
+ allowIIFEs?: boolean
11565
+ }]
11566
+ // ----- ts/explicit-member-accessibility -----
11567
+ type TsExplicitMemberAccessibility = []|[{
11568
+ accessibility?: ("explicit" | "no-public" | "off")
11569
+ overrides?: {
11570
+ accessors?: ("explicit" | "no-public" | "off")
11571
+ constructors?: ("explicit" | "no-public" | "off")
11572
+ methods?: ("explicit" | "no-public" | "off")
11573
+ properties?: ("explicit" | "no-public" | "off")
11574
+ parameterProperties?: ("explicit" | "no-public" | "off")
11575
+ }
11576
+ ignoredMethodNames?: string[]
11577
+ }]
11578
+ // ----- ts/explicit-module-boundary-types -----
11579
+ type TsExplicitModuleBoundaryTypes = []|[{
11580
+
11581
+ allowArgumentsExplicitlyTypedAsAny?: boolean
11582
+
11583
+ allowDirectConstAssertionInArrowFunctions?: boolean
11584
+
11585
+ allowedNames?: string[]
11586
+
11587
+ allowHigherOrderFunctions?: boolean
11588
+
11589
+ allowTypedFunctionExpressions?: boolean
11862
11590
  }]
11591
+ // ----- ts/init-declarations -----
11592
+ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11593
+ ignoreForLoopInit?: boolean
11594
+ }])
11863
11595
  // ----- ts/max-params -----
11864
11596
  type TsMaxParams = []|[{
11865
11597
  maximum?: number
11866
11598
  max?: number
11867
11599
  countVoidThis?: boolean
11868
11600
  }]
11869
- // ----- ts/member-delimiter-style -----
11870
- type TsMemberDelimiterStyle = []|[{
11871
- multiline?: {
11872
- delimiter?: ("none" | "semi" | "comma")
11873
- requireLast?: boolean
11874
- }
11875
- singleline?: {
11876
- delimiter?: ("semi" | "comma")
11877
- requireLast?: boolean
11878
- }
11879
- overrides?: {
11880
- interface?: _TsMemberDelimiterStyle_DelimiterConfig
11881
- typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
11882
- }
11883
- multilineDetection?: ("brackets" | "last-member")
11884
- }]
11885
- interface _TsMemberDelimiterStyle_DelimiterConfig {
11886
- multiline?: {
11887
- delimiter?: ("none" | "semi" | "comma")
11888
- requireLast?: boolean
11889
- }
11890
- singleline?: {
11891
- delimiter?: ("semi" | "comma")
11892
- requireLast?: boolean
11893
- }
11894
- }
11895
11601
  // ----- ts/member-ordering -----
11896
11602
  type TsMemberOrdering = []|[{
11897
11603
  default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
@@ -12263,6 +11969,12 @@ type TsNoEmptyFunction = []|[{
12263
11969
  type TsNoEmptyInterface = []|[{
12264
11970
  allowSingleExtends?: boolean
12265
11971
  }]
11972
+ // ----- ts/no-empty-object-type -----
11973
+ type TsNoEmptyObjectType = []|[{
11974
+ allowInterfaces?: ("always" | "never" | "with-single-extends")
11975
+ allowObjectTypes?: ("always" | "never")
11976
+ allowWithName?: string
11977
+ }]
12266
11978
  // ----- ts/no-explicit-any -----
12267
11979
  type TsNoExplicitAny = []|[{
12268
11980
 
@@ -12270,19 +11982,6 @@ type TsNoExplicitAny = []|[{
12270
11982
 
12271
11983
  ignoreRestArgs?: boolean
12272
11984
  }]
12273
- // ----- ts/no-extra-parens -----
12274
- type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
12275
- conditionalAssign?: boolean
12276
- ternaryOperandBinaryExpressions?: boolean
12277
- nestedBinaryExpressions?: boolean
12278
- returnAssign?: boolean
12279
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
12280
- enforceForArrowConditionals?: boolean
12281
- enforceForSequenceExpressions?: boolean
12282
- enforceForNewInMemberExpressions?: boolean
12283
- enforceForFunctionPrototypeMethods?: boolean
12284
- allowParensAfterCommentPattern?: string
12285
- }])
12286
11985
  // ----- ts/no-extraneous-class -----
12287
11986
  type TsNoExtraneousClass = []|[{
12288
11987
 
@@ -12296,6 +11995,32 @@ type TsNoExtraneousClass = []|[{
12296
11995
  }]
12297
11996
  // ----- ts/no-floating-promises -----
12298
11997
  type TsNoFloatingPromises = []|[{
11998
+ allowForKnownSafePromises?: (string | {
11999
+ from: "file"
12000
+ name: (string | [string, ...(string)[]])
12001
+ path?: string
12002
+ } | {
12003
+ from: "lib"
12004
+ name: (string | [string, ...(string)[]])
12005
+ } | {
12006
+ from: "package"
12007
+ name: (string | [string, ...(string)[]])
12008
+ package: string
12009
+ })[]
12010
+ allowForKnownSafeCalls?: (string | {
12011
+ from: "file"
12012
+ name: (string | [string, ...(string)[]])
12013
+ path?: string
12014
+ } | {
12015
+ from: "lib"
12016
+ name: (string | [string, ...(string)[]])
12017
+ } | {
12018
+ from: "package"
12019
+ name: (string | [string, ...(string)[]])
12020
+ package: string
12021
+ })[]
12022
+
12023
+ checkThenables?: boolean
12299
12024
 
12300
12025
  ignoreVoid?: boolean
12301
12026
 
@@ -12338,6 +12063,7 @@ type TsNoMisusedPromises = []|[{
12338
12063
  checksVoidReturn?: (boolean | {
12339
12064
  arguments?: boolean
12340
12065
  attributes?: boolean
12066
+ inheritedMethods?: boolean
12341
12067
  properties?: boolean
12342
12068
  returns?: boolean
12343
12069
  variables?: boolean
@@ -12360,6 +12086,8 @@ type TsNoRedeclare = []|[{
12360
12086
  type TsNoRequireImports = []|[{
12361
12087
 
12362
12088
  allow?: string[]
12089
+
12090
+ allowAsImport?: boolean
12363
12091
  }]
12364
12092
  // ----- ts/no-restricted-imports -----
12365
12093
  type TsNoRestrictedImports = ((string | {
@@ -12384,7 +12112,8 @@ type TsNoRestrictedImports = ((string | {
12384
12112
 
12385
12113
  allowImportNames?: [string, ...(string)[]]
12386
12114
 
12387
- group: [string, ...(string)[]]
12115
+ group?: [string, ...(string)[]]
12116
+ regex?: string
12388
12117
  importNamePattern?: string
12389
12118
  allowImportNamePattern?: string
12390
12119
  message?: string
@@ -12393,6 +12122,19 @@ type TsNoRestrictedImports = ((string | {
12393
12122
  allowTypeImports?: boolean
12394
12123
  }[])
12395
12124
  }])
12125
+ // ----- ts/no-restricted-types -----
12126
+ type TsNoRestrictedTypes = []|[{
12127
+ types?: {
12128
+ [k: string]: (true | string | {
12129
+
12130
+ message?: string
12131
+
12132
+ fixWith?: string
12133
+
12134
+ suggest?: string[]
12135
+ }) | undefined
12136
+ }
12137
+ }]
12396
12138
  // ----- ts/no-shadow -----
12397
12139
  type TsNoShadow = []|[{
12398
12140
  builtinGlobals?: boolean
@@ -12409,11 +12151,6 @@ type TsNoThisAlias = []|[{
12409
12151
 
12410
12152
  allowedNames?: string[]
12411
12153
  }]
12412
- // ----- ts/no-throw-literal -----
12413
- type TsNoThrowLiteral = []|[{
12414
- allowThrowingAny?: boolean
12415
- allowThrowingUnknown?: boolean
12416
- }]
12417
12154
  // ----- ts/no-type-alias -----
12418
12155
  type TsNoTypeAlias = []|[{
12419
12156
 
@@ -12469,6 +12206,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
12469
12206
  caughtErrors?: ("all" | "none")
12470
12207
  caughtErrorsIgnorePattern?: string
12471
12208
  destructuredArrayIgnorePattern?: string
12209
+ ignoreClassWithStaticInitBlock?: boolean
12210
+ reportUsedIgnorePattern?: boolean
12472
12211
  })]
12473
12212
  // ----- ts/no-use-before-define -----
12474
12213
  type TsNoUseBeforeDefine = []|[("nofunc" | {
@@ -12485,24 +12224,11 @@ type TsNoVarRequires = []|[{
12485
12224
 
12486
12225
  allow?: string[]
12487
12226
  }]
12488
- // ----- ts/object-curly-spacing -----
12489
- type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
12490
- arraysInObjects?: boolean
12491
- objectsInObjects?: boolean
12492
- }]
12493
12227
  // ----- ts/only-throw-error -----
12494
12228
  type TsOnlyThrowError = []|[{
12495
12229
  allowThrowingAny?: boolean
12496
12230
  allowThrowingUnknown?: boolean
12497
12231
  }]
12498
- // ----- ts/padding-line-between-statements -----
12499
- type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
12500
- type _TsPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
12501
- type TsPaddingLineBetweenStatements = {
12502
- blankLine: _TsPaddingLineBetweenStatementsPaddingType
12503
- prev: _TsPaddingLineBetweenStatementsStatementType
12504
- next: _TsPaddingLineBetweenStatementsStatementType
12505
- }[]
12506
12232
  // ----- ts/parameter-properties -----
12507
12233
  type TsParameterProperties = []|[{
12508
12234
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
@@ -12617,11 +12343,6 @@ type TsPromiseFunctionAsync = []|[{
12617
12343
  checkFunctionExpressions?: boolean
12618
12344
  checkMethodDeclarations?: boolean
12619
12345
  }]
12620
- // ----- ts/quotes -----
12621
- type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
12622
- avoidEscape?: boolean
12623
- allowTemplateLiterals?: boolean
12624
- })]
12625
12346
  // ----- ts/require-array-sort-compare -----
12626
12347
  type TsRequireArraySortCompare = []|[{
12627
12348
 
@@ -12660,14 +12381,7 @@ type TsRestrictTemplateExpressions = []|[{
12660
12381
  allowNever?: boolean
12661
12382
  }]
12662
12383
  // ----- ts/return-await -----
12663
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
12664
- // ----- ts/semi -----
12665
- type TsSemi = ([]|["never"]|["never", {
12666
- beforeStatementContinuationChars?: ("always" | "any" | "never")
12667
- }] | []|["always"]|["always", {
12668
- omitLastInOneLineBlock?: boolean
12669
- omitLastInOneLineClassBody?: boolean
12670
- }])
12384
+ type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
12671
12385
  // ----- ts/sort-type-constituents -----
12672
12386
  type TsSortTypeConstituents = []|[{
12673
12387
 
@@ -12679,22 +12393,6 @@ type TsSortTypeConstituents = []|[{
12679
12393
 
12680
12394
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
12681
12395
  }]
12682
- // ----- ts/space-before-blocks -----
12683
- type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
12684
- keywords?: ("always" | "never" | "off")
12685
- functions?: ("always" | "never" | "off")
12686
- classes?: ("always" | "never" | "off")
12687
- })]
12688
- // ----- ts/space-before-function-paren -----
12689
- type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
12690
- anonymous?: ("always" | "never" | "ignore")
12691
- named?: ("always" | "never" | "ignore")
12692
- asyncArrow?: ("always" | "never" | "ignore")
12693
- })]
12694
- // ----- ts/space-infix-ops -----
12695
- type TsSpaceInfixOps = []|[{
12696
- int32Hint?: boolean
12697
- }]
12698
12396
  // ----- ts/strict-boolean-expressions -----
12699
12397
  type TsStrictBooleanExpressions = []|[{
12700
12398
  allowString?: boolean
@@ -12720,23 +12418,6 @@ type TsTripleSlashReference = []|[{
12720
12418
  path?: ("always" | "never")
12721
12419
  types?: ("always" | "never" | "prefer-import")
12722
12420
  }]
12723
- // ----- ts/type-annotation-spacing -----
12724
- type TsTypeAnnotationSpacing = []|[{
12725
- before?: boolean
12726
- after?: boolean
12727
- overrides?: {
12728
- colon?: _TsTypeAnnotationSpacing_SpacingConfig
12729
- arrow?: _TsTypeAnnotationSpacing_SpacingConfig
12730
- variable?: _TsTypeAnnotationSpacing_SpacingConfig
12731
- parameter?: _TsTypeAnnotationSpacing_SpacingConfig
12732
- property?: _TsTypeAnnotationSpacing_SpacingConfig
12733
- returnType?: _TsTypeAnnotationSpacing_SpacingConfig
12734
- }
12735
- }]
12736
- interface _TsTypeAnnotationSpacing_SpacingConfig {
12737
- before?: boolean
12738
- after?: boolean
12739
- }
12740
12421
  // ----- ts/typedef -----
12741
12422
  type TsTypedef = []|[{
12742
12423
  arrayDestructuring?: boolean
@@ -12973,6 +12654,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
12973
12654
  caughtErrors?: ("all" | "none")
12974
12655
  caughtErrorsIgnorePattern?: string
12975
12656
  destructuredArrayIgnorePattern?: string
12657
+ ignoreClassWithStaticInitBlock?: boolean
12658
+ reportUsedIgnorePattern?: boolean
12976
12659
  })]
12977
12660
  // ----- unused-imports/no-unused-vars -----
12978
12661
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
@@ -12984,6 +12667,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
12984
12667
  caughtErrors?: ("all" | "none")
12985
12668
  caughtErrorsIgnorePattern?: string
12986
12669
  destructuredArrayIgnorePattern?: string
12670
+ ignoreClassWithStaticInitBlock?: boolean
12671
+ reportUsedIgnorePattern?: boolean
12987
12672
  })]
12988
12673
  // ----- use-isnan -----
12989
12674
  type UseIsnan = []|[{
@@ -13011,6 +12696,7 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
13011
12696
  ArrayPattern?: _VueArrayElementNewlineBasicConfig
13012
12697
  })]
13013
12698
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
12699
+ consistent?: boolean
13014
12700
  multiline?: boolean
13015
12701
  minItems?: (number | null)
13016
12702
  })
@@ -13985,6 +13671,16 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
13985
13671
  minProperties?: number
13986
13672
  consistent?: boolean
13987
13673
  })
13674
+ TSTypeLiteral?: (("always" | "never") | {
13675
+ multiline?: boolean
13676
+ minProperties?: number
13677
+ consistent?: boolean
13678
+ })
13679
+ TSInterfaceBody?: (("always" | "never") | {
13680
+ multiline?: boolean
13681
+ minProperties?: number
13682
+ consistent?: boolean
13683
+ })
13988
13684
  })]
13989
13685
  // ----- vue/object-curly-spacing -----
13990
13686
  type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -14374,21 +14070,13 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
14374
14070
 
14375
14071
  type Awaitable<T> = T | Promise<T>;
14376
14072
  type Rules = RuleOptions;
14377
- type TypedFlatConfigItem = Omit<Linter.FlatConfig, 'plugins'> & {
14378
- /**
14379
- * 每个配置项的自定义名称
14380
- */
14381
- name?: string;
14073
+ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
14382
14074
  /**
14383
14075
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
14384
14076
  *
14385
14077
  * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
14386
14078
  */
14387
14079
  plugins?: Record<string, any>;
14388
- /**
14389
- * An object containing a name-value mapping of rules to use.
14390
- */
14391
- rules?: Linter.RulesRecord & Rules;
14392
14080
  };
14393
14081
  interface OptionsFiles {
14394
14082
  /**
@@ -14418,6 +14106,18 @@ interface OptionsFormatters {
14418
14106
  * 目前仅支持Prettier.
14419
14107
  */
14420
14108
  html?: 'prettier' | boolean;
14109
+ /**
14110
+ * 启用 XML 格式支持
14111
+ *
14112
+ * 目前仅支持 Prettier
14113
+ */
14114
+ xml?: 'prettier' | boolean;
14115
+ /**
14116
+ * 启用 SVG 格式支持.
14117
+ *
14118
+ * 目前仅支持 Prettier
14119
+ */
14120
+ svg?: 'prettier' | boolean;
14421
14121
  /**
14422
14122
  * 启用对 Markdown 的格式化支持.
14423
14123
  *
@@ -14452,6 +14152,14 @@ interface OptionsComponentExts {
14452
14152
  */
14453
14153
  componentExts?: string[];
14454
14154
  }
14155
+ interface OptionsUnicorn {
14156
+ /**
14157
+ * 是否包括“eslint-plugin-unicorn”推荐的所有规则.
14158
+ *
14159
+ * @default false
14160
+ */
14161
+ allRecommended?: boolean;
14162
+ }
14455
14163
  interface OptionsTypeScriptParserOptions {
14456
14164
  /**
14457
14165
  * TypeScript 的附加解析器选项。
@@ -14462,13 +14170,18 @@ interface OptionsTypeScriptParserOptions {
14462
14170
  * @default ['**\/*.{ts,tsx}']
14463
14171
  */
14464
14172
  filesTypeAware?: string[];
14173
+ /**
14174
+ * Glob patterns for files that should not be type aware.
14175
+ * @default ['**\/*.md\/**']
14176
+ */
14177
+ ignoresTypeAware?: string[];
14465
14178
  }
14466
14179
  interface OptionsTypeScriptWithTypes {
14467
14180
  /**
14468
14181
  * 提供此选项后,将启用类型感知规则。
14469
14182
  * @see https://typescript-eslint.io/linting/typed-linting/
14470
14183
  */
14471
- tsconfigPath?: string | string[];
14184
+ tsconfigPath?: string;
14472
14185
  }
14473
14186
  interface OptionsHasTypeScript {
14474
14187
  typescript?: boolean;
@@ -14492,6 +14205,14 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'qu
14492
14205
  interface OptionsOverrides {
14493
14206
  overrides?: TypedFlatConfigItem['rules'];
14494
14207
  }
14208
+ interface OptionsProjectType {
14209
+ /**
14210
+ * Type of the project. `lib` will enable more strict rules for libraries.
14211
+ *
14212
+ * @default 'app'
14213
+ */
14214
+ type?: 'app' | 'lib';
14215
+ }
14495
14216
  interface OptionsRegExp {
14496
14217
  /**
14497
14218
  * Override rulelevels
@@ -14522,7 +14243,7 @@ interface OptionsUnoCSS {
14522
14243
  */
14523
14244
  strict?: boolean;
14524
14245
  }
14525
- interface OptionsConfig extends OptionsComponentExts {
14246
+ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14526
14247
  /**
14527
14248
  * 启用 gitignore 支持.
14528
14249
  *
@@ -14548,6 +14269,12 @@ interface OptionsConfig extends OptionsComponentExts {
14548
14269
  * @default true
14549
14270
  */
14550
14271
  jsx?: boolean;
14272
+ /**
14273
+ * eslint-plugin-unicorn 的选项.
14274
+ *
14275
+ * @default true
14276
+ */
14277
+ unicorn?: boolean | OptionsUnicorn;
14551
14278
  /**
14552
14279
  * 启用 test 支持.
14553
14280
  *
@@ -14683,7 +14410,7 @@ declare const defaultPluginRenaming: {
14683
14410
  /**
14684
14411
  * 构造一个ESLint扁平化配置项数组。
14685
14412
  */
14686
- declare function lincy(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
14413
+ declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
14687
14414
 
14688
14415
  declare function comments(): Promise<TypedFlatConfigItem[]>;
14689
14416
 
@@ -14697,6 +14424,8 @@ declare function jsdoc(options?: OptionsStylistic): Promise<TypedFlatConfigItem[
14697
14424
 
14698
14425
  declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14699
14426
 
14427
+ declare function jsx(): Promise<TypedFlatConfigItem[]>;
14428
+
14700
14429
  declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14701
14430
 
14702
14431
  /**
@@ -14732,9 +14461,9 @@ declare function stylistic(options?: OptionsStylistic & OptionsOverrides): Promi
14732
14461
 
14733
14462
  declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14734
14463
 
14735
- declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<TypedFlatConfigItem[]>;
14464
+ declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
14736
14465
 
14737
- declare function unicorn(): Promise<TypedFlatConfigItem[]>;
14466
+ declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
14738
14467
 
14739
14468
  declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14740
14469
 
@@ -14756,7 +14485,10 @@ declare function toArray<T>(value: T | T[]): T[];
14756
14485
  declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
14757
14486
  default: infer U;
14758
14487
  } ? U : T>;
14759
- declare function ensurePackages(packages: string[]): Promise<void>;
14488
+ declare function isPackageInScope(name: string): boolean;
14489
+ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
14490
+ declare function isInEditorEnv(): boolean;
14491
+ declare function isInGitHooksOrLintStaged(): boolean;
14760
14492
 
14761
14493
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
14762
14494
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
@@ -14778,6 +14510,8 @@ declare const GLOB_SVELTE = "**/*.svelte";
14778
14510
  declare const GLOB_VUE = "**/*.vue";
14779
14511
  declare const GLOB_YAML = "**/*.y?(a)ml";
14780
14512
  declare const GLOB_TOML = "**/*.toml";
14513
+ declare const GLOB_XML = "**/*.xml";
14514
+ declare const GLOB_SVG = "**/*.svg";
14781
14515
  declare const GLOB_HTML = "**/*.htm?(l)";
14782
14516
  declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
14783
14517
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
@@ -14785,4 +14519,4 @@ declare const GLOB_TESTS: string[];
14785
14519
  declare const GLOB_ALL_SRC: string[];
14786
14520
  declare const GLOB_EXCLUDE: string[];
14787
14521
 
14788
- export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
14522
+ export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };