@coderwyd/eslint-config 4.6.3 → 4.7.1
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/cli.d.ts +1 -1
- package/dist/cli.js +41 -40
- package/dist/index.d.ts +679 -285
- package/dist/index.js +13 -19
- package/package.json +34 -34
package/dist/index.d.ts
CHANGED
|
@@ -447,9 +447,9 @@ interface RuleOptions {
|
|
|
447
447
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
448
448
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
449
449
|
*/
|
|
450
|
-
'jsdoc/check-alignment'?: Linter.RuleEntry<
|
|
450
|
+
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>;
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
453
453
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
454
454
|
*/
|
|
455
455
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>;
|
|
@@ -464,7 +464,7 @@ interface RuleOptions {
|
|
|
464
464
|
*/
|
|
465
465
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>;
|
|
466
466
|
/**
|
|
467
|
-
*
|
|
467
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
468
468
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
469
469
|
*/
|
|
470
470
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>;
|
|
@@ -489,7 +489,7 @@ interface RuleOptions {
|
|
|
489
489
|
*/
|
|
490
490
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>;
|
|
491
491
|
/**
|
|
492
|
-
* Reports invalid
|
|
492
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
493
493
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
494
494
|
*/
|
|
495
495
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>;
|
|
@@ -504,12 +504,17 @@ interface RuleOptions {
|
|
|
504
504
|
*/
|
|
505
505
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
506
506
|
/**
|
|
507
|
-
*
|
|
507
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
508
508
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
509
509
|
*/
|
|
510
510
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
511
511
|
/**
|
|
512
|
-
* Reports
|
|
512
|
+
* Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
|
|
513
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
|
|
514
|
+
*/
|
|
515
|
+
'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>;
|
|
516
|
+
/**
|
|
517
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
513
518
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
514
519
|
*/
|
|
515
520
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -539,17 +544,17 @@ interface RuleOptions {
|
|
|
539
544
|
*/
|
|
540
545
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>;
|
|
541
546
|
/**
|
|
542
|
-
* Controls how and whether
|
|
547
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
543
548
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
544
549
|
*/
|
|
545
550
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
546
551
|
/**
|
|
547
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
552
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
548
553
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
549
554
|
*/
|
|
550
555
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
551
556
|
/**
|
|
552
|
-
*
|
|
557
|
+
* If tags are present, this rule will prevent empty lines in the block description. If no tags are present, this rule will prevent extra empty lines in the block description.
|
|
553
558
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
554
559
|
*/
|
|
555
560
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>;
|
|
@@ -579,22 +584,37 @@ interface RuleOptions {
|
|
|
579
584
|
*/
|
|
580
585
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
581
586
|
/**
|
|
582
|
-
* This rule reports types being used on `@param` or `@returns
|
|
587
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
583
588
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
584
589
|
*/
|
|
585
590
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>;
|
|
586
591
|
/**
|
|
587
|
-
*
|
|
592
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
588
593
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
589
594
|
*/
|
|
590
595
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
596
|
+
/**
|
|
597
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
598
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
599
|
+
*/
|
|
600
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
601
|
+
/**
|
|
602
|
+
* Reports use of `any` or `*` type
|
|
603
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
604
|
+
*/
|
|
605
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>;
|
|
606
|
+
/**
|
|
607
|
+
* Reports use of `Function` type
|
|
608
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
609
|
+
*/
|
|
610
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>;
|
|
591
611
|
/**
|
|
592
612
|
* Requires that each JSDoc line starts with an `*`.
|
|
593
613
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
594
614
|
*/
|
|
595
615
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
596
616
|
/**
|
|
597
|
-
* Requires that all functions have a description.
|
|
617
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
598
618
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
599
619
|
*/
|
|
600
620
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -604,7 +624,7 @@ interface RuleOptions {
|
|
|
604
624
|
*/
|
|
605
625
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
606
626
|
/**
|
|
607
|
-
* Requires that all functions have examples.
|
|
627
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
608
628
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
609
629
|
*/
|
|
610
630
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -614,17 +634,27 @@ interface RuleOptions {
|
|
|
614
634
|
*/
|
|
615
635
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
616
636
|
/**
|
|
617
|
-
* Requires a hyphen before the `@param` description.
|
|
637
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
618
638
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
619
639
|
*/
|
|
620
640
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
621
641
|
/**
|
|
622
|
-
*
|
|
642
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
623
643
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
624
644
|
*/
|
|
625
645
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
626
646
|
/**
|
|
627
|
-
* Requires
|
|
647
|
+
* Requires a description for `@next` tags
|
|
648
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
649
|
+
*/
|
|
650
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>;
|
|
651
|
+
/**
|
|
652
|
+
* Requires a type for `@next` tags
|
|
653
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
654
|
+
*/
|
|
655
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>;
|
|
656
|
+
/**
|
|
657
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
628
658
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
629
659
|
*/
|
|
630
660
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -634,12 +664,12 @@ interface RuleOptions {
|
|
|
634
664
|
*/
|
|
635
665
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
636
666
|
/**
|
|
637
|
-
* Requires that all
|
|
667
|
+
* Requires that all `@param` tags have names.
|
|
638
668
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
639
669
|
*/
|
|
640
670
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
641
671
|
/**
|
|
642
|
-
* Requires that each `@param` tag has a
|
|
672
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
643
673
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
644
674
|
*/
|
|
645
675
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -654,62 +684,92 @@ interface RuleOptions {
|
|
|
654
684
|
*/
|
|
655
685
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>;
|
|
656
686
|
/**
|
|
657
|
-
* Requires that all
|
|
687
|
+
* Requires that all `@property` tags have names.
|
|
658
688
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
659
689
|
*/
|
|
660
690
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>;
|
|
661
691
|
/**
|
|
662
|
-
* Requires that each `@property` tag has a
|
|
692
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
663
693
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
664
694
|
*/
|
|
665
695
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
666
696
|
/**
|
|
667
|
-
* Requires that returns are documented
|
|
697
|
+
* Requires that returns are documented with `@returns`.
|
|
668
698
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
669
699
|
*/
|
|
670
700
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
671
701
|
/**
|
|
672
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
702
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
673
703
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
674
704
|
*/
|
|
675
705
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
676
706
|
/**
|
|
677
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
707
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
678
708
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
679
709
|
*/
|
|
680
710
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
681
711
|
/**
|
|
682
|
-
* Requires that `@returns` tag has
|
|
712
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
683
713
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
684
714
|
*/
|
|
685
715
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
686
716
|
/**
|
|
687
|
-
* Requires
|
|
717
|
+
* Requires tags be present, optionally for specific contexts
|
|
718
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
719
|
+
*/
|
|
720
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
721
|
+
/**
|
|
722
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
688
723
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
689
724
|
*/
|
|
690
725
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
691
726
|
/**
|
|
692
|
-
* Requires
|
|
727
|
+
* Requires a description for `@template` tags
|
|
728
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
729
|
+
*/
|
|
730
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
|
|
731
|
+
/**
|
|
732
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
693
733
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
694
734
|
*/
|
|
695
735
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
696
736
|
/**
|
|
697
|
-
* Requires
|
|
737
|
+
* Requires a description for `@throws` tags
|
|
738
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
739
|
+
*/
|
|
740
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>;
|
|
741
|
+
/**
|
|
742
|
+
* Requires a type for `@throws` tags
|
|
743
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
744
|
+
*/
|
|
745
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>;
|
|
746
|
+
/**
|
|
747
|
+
* Requires yields are documented with `@yields` tags.
|
|
698
748
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
699
749
|
*/
|
|
700
750
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>;
|
|
701
751
|
/**
|
|
702
|
-
*
|
|
752
|
+
* Ensures that if a `@yields` is present that a `yield` (or `yield` with a value) is present in the function body (or that if a `@next` is present that there is a yield with a return value present).
|
|
703
753
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
704
754
|
*/
|
|
705
755
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
706
756
|
/**
|
|
707
|
-
*
|
|
757
|
+
* Requires a description for `@yields` tags
|
|
758
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
759
|
+
*/
|
|
760
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>;
|
|
761
|
+
/**
|
|
762
|
+
* Requires a type for `@yields` tags
|
|
763
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
764
|
+
*/
|
|
765
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>;
|
|
766
|
+
/**
|
|
767
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
708
768
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
709
769
|
*/
|
|
710
770
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
711
771
|
/**
|
|
712
|
-
* Enforces lines (or no lines) between tags.
|
|
772
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
713
773
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
714
774
|
*/
|
|
715
775
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -719,7 +779,32 @@ interface RuleOptions {
|
|
|
719
779
|
*/
|
|
720
780
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
721
781
|
/**
|
|
722
|
-
*
|
|
782
|
+
* Prefers either function properties or method signatures
|
|
783
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
|
|
784
|
+
*/
|
|
785
|
+
'jsdoc/ts-method-signature-style'?: Linter.RuleEntry<JsdocTsMethodSignatureStyle>;
|
|
786
|
+
/**
|
|
787
|
+
* Warns against use of the empty object type
|
|
788
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-empty-object-type.md#repos-sticky-header
|
|
789
|
+
*/
|
|
790
|
+
'jsdoc/ts-no-empty-object-type'?: Linter.RuleEntry<[]>;
|
|
791
|
+
/**
|
|
792
|
+
* Catches unnecessary template expressions such as string expressions within a template literal.
|
|
793
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-unnecessary-template-expression.md#repos-sticky-header
|
|
794
|
+
*/
|
|
795
|
+
'jsdoc/ts-no-unnecessary-template-expression'?: Linter.RuleEntry<JsdocTsNoUnnecessaryTemplateExpression>;
|
|
796
|
+
/**
|
|
797
|
+
* Prefers function types over call signatures when there are no other properties.
|
|
798
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-prefer-function-type.md#repos-sticky-header
|
|
799
|
+
*/
|
|
800
|
+
'jsdoc/ts-prefer-function-type'?: Linter.RuleEntry<JsdocTsPreferFunctionType>;
|
|
801
|
+
/**
|
|
802
|
+
* Formats JSDoc type values.
|
|
803
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
804
|
+
*/
|
|
805
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
806
|
+
/**
|
|
807
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
723
808
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
724
809
|
*/
|
|
725
810
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -1952,12 +2037,12 @@ interface RuleOptions {
|
|
|
1952
2037
|
*/
|
|
1953
2038
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
1954
2039
|
/**
|
|
1955
|
-
* disallow `import` declarations which import
|
|
2040
|
+
* disallow `import` declarations which import missing modules
|
|
1956
2041
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
1957
2042
|
*/
|
|
1958
2043
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
1959
2044
|
/**
|
|
1960
|
-
* disallow `require()` expressions which import
|
|
2045
|
+
* disallow `require()` expressions which import missing modules
|
|
1961
2046
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
1962
2047
|
*/
|
|
1963
2048
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2331,6 +2416,11 @@ interface RuleOptions {
|
|
|
2331
2416
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2332
2417
|
*/
|
|
2333
2418
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2419
|
+
/**
|
|
2420
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2421
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2422
|
+
*/
|
|
2423
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2334
2424
|
/**
|
|
2335
2425
|
* Require quotes around object literal property names
|
|
2336
2426
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -2348,11 +2438,6 @@ interface RuleOptions {
|
|
|
2348
2438
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
2349
2439
|
*/
|
|
2350
2440
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
2351
|
-
/**
|
|
2352
|
-
* Disallow `children` in void DOM elements.
|
|
2353
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2354
|
-
*/
|
|
2355
|
-
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>;
|
|
2356
2441
|
/**
|
|
2357
2442
|
* Disallow `dangerouslySetInnerHTML`.
|
|
2358
2443
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -2384,7 +2469,7 @@ interface RuleOptions {
|
|
|
2384
2469
|
*/
|
|
2385
2470
|
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
|
|
2386
2471
|
/**
|
|
2387
|
-
* Enforces explicit `sandbox`
|
|
2472
|
+
* Enforces explicit `sandbox` prop for `iframe` elements.
|
|
2388
2473
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
|
|
2389
2474
|
*/
|
|
2390
2475
|
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
@@ -2408,6 +2493,11 @@ interface RuleOptions {
|
|
|
2408
2493
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2409
2494
|
*/
|
|
2410
2495
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
|
|
2496
|
+
/**
|
|
2497
|
+
* Disallows the use of string style prop.
|
|
2498
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
2499
|
+
*/
|
|
2500
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
2411
2501
|
/**
|
|
2412
2502
|
* Disallow unknown `DOM` property.
|
|
2413
2503
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -2434,74 +2524,133 @@ interface RuleOptions {
|
|
|
2434
2524
|
*/
|
|
2435
2525
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
2436
2526
|
/**
|
|
2437
|
-
* Enforces
|
|
2438
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2527
|
+
* Enforces React Dom is imported via a namespace import.
|
|
2528
|
+
* @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
2439
2529
|
*/
|
|
2440
|
-
'react-
|
|
2530
|
+
'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2441
2531
|
/**
|
|
2442
|
-
* Disallow
|
|
2443
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2532
|
+
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
2533
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2444
2534
|
*/
|
|
2445
|
-
'react-hooks-extra/
|
|
2535
|
+
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
|
|
2446
2536
|
/**
|
|
2447
|
-
*
|
|
2448
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2537
|
+
* Verifies that automatic effect dependencies are compiled if opted-in
|
|
2449
2538
|
*/
|
|
2450
|
-
'react-hooks
|
|
2539
|
+
'react-hooks/automatic-effect-dependencies'?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies>;
|
|
2451
2540
|
/**
|
|
2452
|
-
*
|
|
2453
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2541
|
+
* Validates against calling capitalized functions/methods instead of using JSX
|
|
2454
2542
|
*/
|
|
2455
|
-
'react-hooks
|
|
2543
|
+
'react-hooks/capitalized-calls'?: Linter.RuleEntry<ReactHooksCapitalizedCalls>;
|
|
2456
2544
|
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2545
|
+
* Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
|
|
2459
2546
|
*/
|
|
2460
|
-
'react-hooks
|
|
2547
|
+
'react-hooks/component-hook-factories'?: Linter.RuleEntry<ReactHooksComponentHookFactories>;
|
|
2461
2548
|
/**
|
|
2462
|
-
*
|
|
2463
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2549
|
+
* Validates the compiler configuration options
|
|
2464
2550
|
*/
|
|
2465
|
-
'react-hooks
|
|
2551
|
+
'react-hooks/config'?: Linter.RuleEntry<ReactHooksConfig>;
|
|
2466
2552
|
/**
|
|
2467
|
-
*
|
|
2468
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2553
|
+
* Validates usage of error boundaries instead of try/catch for errors in child components
|
|
2469
2554
|
*/
|
|
2470
|
-
'react-hooks
|
|
2555
|
+
'react-hooks/error-boundaries'?: Linter.RuleEntry<ReactHooksErrorBoundaries>;
|
|
2471
2556
|
/**
|
|
2472
|
-
*
|
|
2473
|
-
* @see https://
|
|
2557
|
+
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2558
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
2474
2559
|
*/
|
|
2475
|
-
'react-hooks
|
|
2560
|
+
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>;
|
|
2476
2561
|
/**
|
|
2477
|
-
*
|
|
2478
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2562
|
+
* Validates usage of fbt
|
|
2479
2563
|
*/
|
|
2480
|
-
'react-hooks
|
|
2564
|
+
'react-hooks/fbt'?: Linter.RuleEntry<ReactHooksFbt>;
|
|
2481
2565
|
/**
|
|
2482
|
-
*
|
|
2483
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2566
|
+
* Validates usage of `fire`
|
|
2484
2567
|
*/
|
|
2485
|
-
'react-hooks
|
|
2568
|
+
'react-hooks/fire'?: Linter.RuleEntry<ReactHooksFire>;
|
|
2486
2569
|
/**
|
|
2487
|
-
*
|
|
2488
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2570
|
+
* Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
|
|
2489
2571
|
*/
|
|
2490
|
-
'react-hooks
|
|
2572
|
+
'react-hooks/gating'?: Linter.RuleEntry<ReactHooksGating>;
|
|
2491
2573
|
/**
|
|
2492
|
-
*
|
|
2493
|
-
* @see https://github.com/facebook/react/issues/14920
|
|
2574
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
|
|
2494
2575
|
*/
|
|
2495
|
-
'react-hooks/
|
|
2576
|
+
'react-hooks/globals'?: Linter.RuleEntry<ReactHooksGlobals>;
|
|
2496
2577
|
/**
|
|
2497
|
-
*
|
|
2578
|
+
* Validates the rules of hooks
|
|
2498
2579
|
*/
|
|
2499
|
-
'react-hooks/
|
|
2580
|
+
'react-hooks/hooks'?: Linter.RuleEntry<ReactHooksHooks>;
|
|
2581
|
+
/**
|
|
2582
|
+
* Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
|
|
2583
|
+
*/
|
|
2584
|
+
'react-hooks/immutability'?: Linter.RuleEntry<ReactHooksImmutability>;
|
|
2585
|
+
/**
|
|
2586
|
+
* Validates against usage of libraries which are incompatible with memoization (manual or automatic)
|
|
2587
|
+
*/
|
|
2588
|
+
'react-hooks/incompatible-library'?: Linter.RuleEntry<ReactHooksIncompatibleLibrary>;
|
|
2589
|
+
/**
|
|
2590
|
+
* Internal invariants
|
|
2591
|
+
*/
|
|
2592
|
+
'react-hooks/invariant'?: Linter.RuleEntry<ReactHooksInvariant>;
|
|
2593
|
+
/**
|
|
2594
|
+
* Validates that effect dependencies are memoized
|
|
2595
|
+
*/
|
|
2596
|
+
'react-hooks/memoized-effect-dependencies'?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies>;
|
|
2597
|
+
/**
|
|
2598
|
+
* Validates against deriving values from state in an effect
|
|
2599
|
+
*/
|
|
2600
|
+
'react-hooks/no-deriving-state-in-effects'?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects>;
|
|
2601
|
+
/**
|
|
2602
|
+
* Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
|
|
2603
|
+
*/
|
|
2604
|
+
'react-hooks/preserve-manual-memoization'?: Linter.RuleEntry<ReactHooksPreserveManualMemoization>;
|
|
2605
|
+
/**
|
|
2606
|
+
* Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
|
|
2607
|
+
*/
|
|
2608
|
+
'react-hooks/purity'?: Linter.RuleEntry<ReactHooksPurity>;
|
|
2609
|
+
/**
|
|
2610
|
+
* Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
|
|
2611
|
+
*/
|
|
2612
|
+
'react-hooks/refs'?: Linter.RuleEntry<ReactHooksRefs>;
|
|
2613
|
+
/**
|
|
2614
|
+
* Validates against suppression of other rules
|
|
2615
|
+
*/
|
|
2616
|
+
'react-hooks/rule-suppression'?: Linter.RuleEntry<ReactHooksRuleSuppression>;
|
|
2500
2617
|
/**
|
|
2501
2618
|
* enforces the Rules of Hooks
|
|
2502
|
-
* @see https://
|
|
2619
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
2620
|
+
*/
|
|
2621
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<ReactHooksRulesOfHooks>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
|
|
2624
|
+
*/
|
|
2625
|
+
'react-hooks/set-state-in-effect'?: Linter.RuleEntry<ReactHooksSetStateInEffect>;
|
|
2626
|
+
/**
|
|
2627
|
+
* Validates against setting state during render, which can trigger additional renders and potential infinite render loops
|
|
2628
|
+
*/
|
|
2629
|
+
'react-hooks/set-state-in-render'?: Linter.RuleEntry<ReactHooksSetStateInRender>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
|
|
2632
|
+
*/
|
|
2633
|
+
'react-hooks/static-components'?: Linter.RuleEntry<ReactHooksStaticComponents>;
|
|
2634
|
+
/**
|
|
2635
|
+
* Validates against invalid syntax
|
|
2636
|
+
*/
|
|
2637
|
+
'react-hooks/syntax'?: Linter.RuleEntry<ReactHooksSyntax>;
|
|
2638
|
+
/**
|
|
2639
|
+
* Unimplemented features
|
|
2640
|
+
*/
|
|
2641
|
+
'react-hooks/todo'?: Linter.RuleEntry<ReactHooksTodo>;
|
|
2642
|
+
/**
|
|
2643
|
+
* Validates against syntax that we do not plan to support in React Compiler
|
|
2644
|
+
*/
|
|
2645
|
+
'react-hooks/unsupported-syntax'?: Linter.RuleEntry<ReactHooksUnsupportedSyntax>;
|
|
2646
|
+
/**
|
|
2647
|
+
* Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2503
2648
|
*/
|
|
2504
|
-
'react-hooks/
|
|
2649
|
+
'react-hooks/use-memo'?: Linter.RuleEntry<ReactHooksUseMemo>;
|
|
2650
|
+
/**
|
|
2651
|
+
* Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2652
|
+
*/
|
|
2653
|
+
'react-hooks/void-use-memo'?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
|
|
2505
2654
|
/**
|
|
2506
2655
|
* Enforces naming conventions for components.
|
|
2507
2656
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
@@ -2549,25 +2698,15 @@ interface RuleOptions {
|
|
|
2549
2698
|
*/
|
|
2550
2699
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
2551
2700
|
/**
|
|
2552
|
-
* Enforces
|
|
2553
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2554
|
-
*/
|
|
2555
|
-
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
2556
|
-
/**
|
|
2557
|
-
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
2558
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2559
|
-
*/
|
|
2560
|
-
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
2561
|
-
/**
|
|
2562
|
-
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
2563
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2564
|
-
*/
|
|
2565
|
-
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>;
|
|
2566
|
-
/**
|
|
2567
|
-
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
2701
|
+
* Enforces that the 'key' prop is placed before the spread prop in JSX elements.
|
|
2568
2702
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
2569
2703
|
*/
|
|
2570
2704
|
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
2705
|
+
/**
|
|
2706
|
+
* Prevents comments from being inserted as text nodes.
|
|
2707
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
2708
|
+
*/
|
|
2709
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
2571
2710
|
/**
|
|
2572
2711
|
* Disallow duplicate props in JSX elements.
|
|
2573
2712
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
@@ -2583,6 +2722,16 @@ interface RuleOptions {
|
|
|
2583
2722
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2584
2723
|
*/
|
|
2585
2724
|
'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
2725
|
+
/**
|
|
2726
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
2727
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
2728
|
+
*/
|
|
2729
|
+
'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
|
|
2730
|
+
/**
|
|
2731
|
+
* Enforces shorthand syntax for fragments.
|
|
2732
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
2733
|
+
*/
|
|
2734
|
+
'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
|
|
2586
2735
|
/**
|
|
2587
2736
|
* Marks React variables as used when JSX is used.
|
|
2588
2737
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
@@ -2643,21 +2792,6 @@ interface RuleOptions {
|
|
|
2643
2792
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2644
2793
|
*/
|
|
2645
2794
|
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
2646
|
-
/**
|
|
2647
|
-
* Prevents comments from being inserted as text nodes.
|
|
2648
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
2649
|
-
*/
|
|
2650
|
-
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
2651
|
-
/**
|
|
2652
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
2653
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2654
|
-
*/
|
|
2655
|
-
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
2656
|
-
/**
|
|
2657
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
2658
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2659
|
-
*/
|
|
2660
|
-
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
2661
2795
|
/**
|
|
2662
2796
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
2663
2797
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
@@ -2693,16 +2827,16 @@ interface RuleOptions {
|
|
|
2693
2827
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
2694
2828
|
*/
|
|
2695
2829
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
2696
|
-
/**
|
|
2697
|
-
* Disallow duplicate props in JSX elements.
|
|
2698
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2699
|
-
*/
|
|
2700
|
-
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>;
|
|
2701
2830
|
/**
|
|
2702
2831
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
2703
2832
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
2704
2833
|
*/
|
|
2705
2834
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
2835
|
+
/**
|
|
2836
|
+
* Disallow certain props on components.
|
|
2837
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
2838
|
+
*/
|
|
2839
|
+
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
|
|
2706
2840
|
/**
|
|
2707
2841
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
2708
2842
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -2743,11 +2877,6 @@ interface RuleOptions {
|
|
|
2743
2877
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2744
2878
|
*/
|
|
2745
2879
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
2746
|
-
/**
|
|
2747
|
-
* Disallow nesting component definitions inside other components.
|
|
2748
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2749
|
-
*/
|
|
2750
|
-
'react/no-nested-components'?: Linter.RuleEntry<[]>;
|
|
2751
2880
|
/**
|
|
2752
2881
|
* Disallow nesting lazy component declarations inside other components.
|
|
2753
2882
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
@@ -2774,7 +2903,7 @@ interface RuleOptions {
|
|
|
2774
2903
|
*/
|
|
2775
2904
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
2776
2905
|
/**
|
|
2777
|
-
*
|
|
2906
|
+
* Disallow calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
|
|
2778
2907
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2779
2908
|
*/
|
|
2780
2909
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
@@ -2783,6 +2912,26 @@ interface RuleOptions {
|
|
|
2783
2912
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
2784
2913
|
*/
|
|
2785
2914
|
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
2915
|
+
/**
|
|
2916
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
2917
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
2918
|
+
*/
|
|
2919
|
+
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
2920
|
+
/**
|
|
2921
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
2922
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
2923
|
+
*/
|
|
2924
|
+
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
2925
|
+
/**
|
|
2926
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
2927
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
2928
|
+
*/
|
|
2929
|
+
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
2930
|
+
/**
|
|
2931
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2932
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
2933
|
+
*/
|
|
2934
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
2786
2935
|
/**
|
|
2787
2936
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
2788
2937
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
@@ -2813,6 +2962,11 @@ interface RuleOptions {
|
|
|
2813
2962
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
2814
2963
|
*/
|
|
2815
2964
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
2965
|
+
/**
|
|
2966
|
+
* Warns component props that are defined but never used.
|
|
2967
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
2968
|
+
*/
|
|
2969
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
2816
2970
|
/**
|
|
2817
2971
|
* Warns unused class component state.
|
|
2818
2972
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
@@ -2840,29 +2994,19 @@ interface RuleOptions {
|
|
|
2840
2994
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
2841
2995
|
/**
|
|
2842
2996
|
* Enforces React is imported via a namespace import.
|
|
2843
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
2997
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
2844
2998
|
*/
|
|
2845
|
-
'react/prefer-
|
|
2999
|
+
'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2846
3000
|
/**
|
|
2847
3001
|
* Enforces read-only props in components.
|
|
2848
3002
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2849
3003
|
*/
|
|
2850
3004
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
2851
3005
|
/**
|
|
2852
|
-
* Enforces
|
|
2853
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
2854
|
-
*/
|
|
2855
|
-
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
2856
|
-
/**
|
|
2857
|
-
* Enforces shorthand syntax for fragments.
|
|
2858
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2859
|
-
*/
|
|
2860
|
-
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
2861
|
-
/**
|
|
2862
|
-
* Marks variables used in JSX elements as used.
|
|
2863
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3006
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3007
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
2864
3008
|
*/
|
|
2865
|
-
'react/use-
|
|
3009
|
+
'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
2866
3010
|
/**
|
|
2867
3011
|
* disallow confusing quantifiers
|
|
2868
3012
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -3836,7 +3980,7 @@ interface RuleOptions {
|
|
|
3836
3980
|
*/
|
|
3837
3981
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
|
|
3838
3982
|
/**
|
|
3839
|
-
* require
|
|
3983
|
+
* require test file pattern
|
|
3840
3984
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
3841
3985
|
*/
|
|
3842
3986
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
|
|
@@ -4021,6 +4165,11 @@ interface RuleOptions {
|
|
|
4021
4165
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4022
4166
|
*/
|
|
4023
4167
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
4168
|
+
/**
|
|
4169
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
4170
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
4171
|
+
*/
|
|
4172
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
4024
4173
|
/**
|
|
4025
4174
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
4026
4175
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -4081,6 +4230,11 @@ interface RuleOptions {
|
|
|
4081
4230
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4082
4231
|
*/
|
|
4083
4232
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
4233
|
+
/**
|
|
4234
|
+
* prefer dynamic import in mock
|
|
4235
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
4236
|
+
*/
|
|
4237
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
4084
4238
|
/**
|
|
4085
4239
|
* enforce importing Vitest globals
|
|
4086
4240
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -4628,7 +4782,7 @@ interface RuleOptions {
|
|
|
4628
4782
|
* Disallow member access on a value with type `any`
|
|
4629
4783
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
4630
4784
|
*/
|
|
4631
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
4785
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
4632
4786
|
/**
|
|
4633
4787
|
* Disallow returning a value with type `any` from a function
|
|
4634
4788
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -4875,690 +5029,710 @@ interface RuleOptions {
|
|
|
4875
5029
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
4876
5030
|
/**
|
|
4877
5031
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4879
5033
|
*/
|
|
4880
5034
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
4881
5035
|
/**
|
|
4882
5036
|
* Enforce a specific parameter name in catch clauses.
|
|
4883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4884
5038
|
*/
|
|
4885
5039
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
4886
5040
|
/**
|
|
4887
5041
|
* Enforce consistent assertion style with `node:assert`.
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4889
5043
|
*/
|
|
4890
5044
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
4891
5045
|
/**
|
|
4892
5046
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4894
5048
|
*/
|
|
4895
5049
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
4896
5050
|
/**
|
|
4897
5051
|
* Use destructured variables over properties.
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4899
5053
|
*/
|
|
4900
5054
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
4901
5055
|
/**
|
|
4902
5056
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4904
5058
|
*/
|
|
4905
5059
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
4906
5060
|
/**
|
|
4907
5061
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4909
5063
|
*/
|
|
4910
5064
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
4911
5065
|
/**
|
|
4912
5066
|
* Move function definitions to the highest possible scope.
|
|
4913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4914
5068
|
*/
|
|
4915
5069
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
4916
5070
|
/**
|
|
4917
5071
|
* Enforce correct `Error` subclassing.
|
|
4918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4919
5073
|
*/
|
|
4920
5074
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
4921
5075
|
/**
|
|
4922
5076
|
* Enforce no spaces between braces.
|
|
4923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
4924
5078
|
*/
|
|
4925
5079
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
4926
5080
|
/**
|
|
4927
5081
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
4929
5083
|
*/
|
|
4930
5084
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
4931
5085
|
/**
|
|
4932
5086
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
4934
5088
|
*/
|
|
4935
5089
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
4936
5090
|
/**
|
|
4937
5091
|
* Add expiration conditions to TODO comments.
|
|
4938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5092
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
4939
5093
|
*/
|
|
4940
5094
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
4941
5095
|
/**
|
|
4942
5096
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
4944
5098
|
*/
|
|
4945
5099
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
4946
5100
|
/**
|
|
4947
5101
|
* Enforce a case style for filenames.
|
|
4948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
4949
5103
|
*/
|
|
4950
5104
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
4951
5105
|
/**
|
|
4952
5106
|
* Enforce specific import styles per module.
|
|
4953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5107
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
4954
5108
|
*/
|
|
4955
5109
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
4956
5110
|
/**
|
|
4957
5111
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
4959
5113
|
*/
|
|
4960
5114
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
4961
5115
|
/**
|
|
4962
5116
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
4964
5118
|
*/
|
|
4965
5119
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
4966
5120
|
/**
|
|
4967
5121
|
* Disallow recursive access to `this` within getters and setters.
|
|
4968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
4969
5123
|
*/
|
|
4970
5124
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
4971
5125
|
/**
|
|
4972
5126
|
* Disallow anonymous functions and classes as the default export.
|
|
4973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
4974
5128
|
*/
|
|
4975
5129
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
4976
5130
|
/**
|
|
4977
5131
|
* Prevent passing a function reference directly to iterator methods.
|
|
4978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
4979
5133
|
*/
|
|
4980
5134
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
4981
5135
|
/**
|
|
4982
5136
|
* Prefer `for…of` over the `forEach` method.
|
|
4983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
4984
5138
|
*/
|
|
4985
5139
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
4986
5140
|
/**
|
|
4987
5141
|
* Disallow using the `this` argument in array methods.
|
|
4988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
4989
5143
|
*/
|
|
4990
5144
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
4991
5145
|
/**
|
|
4992
5146
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
4994
5148
|
* @deprecated
|
|
4995
5149
|
*/
|
|
4996
5150
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
4997
5151
|
/**
|
|
4998
5152
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5000
5154
|
*/
|
|
5001
5155
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5002
5156
|
/**
|
|
5003
5157
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5005
5159
|
*/
|
|
5006
5160
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5161
|
+
/**
|
|
5162
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5164
|
+
*/
|
|
5165
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5007
5166
|
/**
|
|
5008
5167
|
* Disallow member access from await expression.
|
|
5009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5010
5169
|
*/
|
|
5011
5170
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5012
5171
|
/**
|
|
5013
5172
|
* Disallow using `await` in `Promise` method parameters.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5015
5174
|
*/
|
|
5016
5175
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5017
5176
|
/**
|
|
5018
5177
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5020
5179
|
*/
|
|
5021
5180
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5022
5181
|
/**
|
|
5023
5182
|
* Do not use `document.cookie` directly.
|
|
5024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5025
5184
|
*/
|
|
5026
5185
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5027
5186
|
/**
|
|
5028
5187
|
* Disallow empty files.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5188
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5030
5189
|
*/
|
|
5031
5190
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5032
5191
|
/**
|
|
5033
5192
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5034
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5193
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5035
5194
|
*/
|
|
5036
5195
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5037
5196
|
/**
|
|
5038
5197
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5198
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5040
5199
|
*/
|
|
5041
5200
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5042
5201
|
/**
|
|
5043
5202
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5045
5204
|
* @deprecated
|
|
5046
5205
|
*/
|
|
5047
5206
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5048
5207
|
/**
|
|
5049
5208
|
* Disallow `instanceof` with built-in objects
|
|
5050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5051
5210
|
*/
|
|
5052
5211
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5053
5212
|
/**
|
|
5054
5213
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5056
5215
|
*/
|
|
5057
5216
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5058
5217
|
/**
|
|
5059
5218
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5061
5220
|
*/
|
|
5062
5221
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5063
5222
|
/**
|
|
5064
5223
|
* Disallow identifiers starting with `new` or `class`.
|
|
5065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5066
5225
|
*/
|
|
5067
5226
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5068
5227
|
/**
|
|
5069
5228
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5071
5230
|
* @deprecated
|
|
5072
5231
|
*/
|
|
5073
5232
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5074
5233
|
/**
|
|
5075
5234
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5077
5236
|
*/
|
|
5078
5237
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5079
5238
|
/**
|
|
5080
5239
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5082
5241
|
*/
|
|
5083
5242
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5084
5243
|
/**
|
|
5085
5244
|
* Disallow named usage of default import and export.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5087
5246
|
*/
|
|
5088
5247
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5089
5248
|
/**
|
|
5090
5249
|
* Disallow negated conditions.
|
|
5091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5092
5251
|
*/
|
|
5093
5252
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5094
5253
|
/**
|
|
5095
5254
|
* Disallow negated expression in equality check.
|
|
5096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5255
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5097
5256
|
*/
|
|
5098
5257
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5099
5258
|
/**
|
|
5100
5259
|
* Disallow nested ternary expressions.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5260
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5102
5261
|
*/
|
|
5103
5262
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5104
5263
|
/**
|
|
5105
5264
|
* Disallow `new Array()`.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5265
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5107
5266
|
*/
|
|
5108
5267
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5109
5268
|
/**
|
|
5110
5269
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5112
5271
|
*/
|
|
5113
5272
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5114
5273
|
/**
|
|
5115
5274
|
* Disallow the use of the `null` literal.
|
|
5116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5117
5276
|
*/
|
|
5118
5277
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5119
5278
|
/**
|
|
5120
5279
|
* Disallow the use of objects as default parameters.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5122
5281
|
*/
|
|
5123
5282
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5124
5283
|
/**
|
|
5125
5284
|
* Disallow `process.exit()`.
|
|
5126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5127
5286
|
*/
|
|
5128
5287
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5129
5288
|
/**
|
|
5130
5289
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5132
5291
|
*/
|
|
5133
5292
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5134
5293
|
/**
|
|
5135
5294
|
* Disallow classes that only have static members.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5137
5296
|
*/
|
|
5138
5297
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5139
5298
|
/**
|
|
5140
5299
|
* Disallow `then` property.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5142
5301
|
*/
|
|
5143
5302
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5144
5303
|
/**
|
|
5145
5304
|
* Disallow assigning `this` to a variable.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5147
5306
|
*/
|
|
5148
5307
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5149
5308
|
/**
|
|
5150
5309
|
* Disallow comparing `undefined` using `typeof`.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5152
5311
|
*/
|
|
5153
5312
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5154
5313
|
/**
|
|
5155
5314
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5157
5316
|
*/
|
|
5158
5317
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5159
5318
|
/**
|
|
5160
5319
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5320
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5162
5321
|
*/
|
|
5163
5322
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5164
5323
|
/**
|
|
5165
5324
|
* Disallow awaiting non-promise values.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5167
5326
|
*/
|
|
5168
5327
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5169
5328
|
/**
|
|
5170
5329
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5172
5331
|
*/
|
|
5173
5332
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5174
5333
|
/**
|
|
5175
5334
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5177
5336
|
*/
|
|
5178
5337
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5179
5338
|
/**
|
|
5180
5339
|
* Disallow unreadable array destructuring.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5182
5341
|
*/
|
|
5183
5342
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5184
5343
|
/**
|
|
5185
5344
|
* Disallow unreadable IIFEs.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5187
5346
|
*/
|
|
5188
5347
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5189
5348
|
/**
|
|
5190
5349
|
* Disallow unused object properties.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5192
5351
|
*/
|
|
5193
5352
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5194
5353
|
/**
|
|
5195
5354
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5355
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5197
5356
|
*/
|
|
5198
5357
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5199
5358
|
/**
|
|
5200
5359
|
* Disallow useless fallback when spreading in object literals.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5360
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5202
5361
|
*/
|
|
5203
5362
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5204
5363
|
/**
|
|
5205
5364
|
* Disallow useless array length check.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5365
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5207
5366
|
*/
|
|
5208
5367
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5209
5368
|
/**
|
|
5210
5369
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5370
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5212
5371
|
*/
|
|
5213
5372
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5214
5373
|
/**
|
|
5215
5374
|
* Disallow unnecessary spread.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5217
5376
|
*/
|
|
5218
5377
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5219
5378
|
/**
|
|
5220
5379
|
* Disallow useless case in switch statements.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5222
5381
|
*/
|
|
5223
5382
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5224
5383
|
/**
|
|
5225
5384
|
* Disallow useless `undefined`.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5227
5386
|
*/
|
|
5228
5387
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5229
5388
|
/**
|
|
5230
5389
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5232
5391
|
*/
|
|
5233
5392
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5234
5393
|
/**
|
|
5235
5394
|
* Enforce proper case for numeric literals.
|
|
5236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5237
5396
|
*/
|
|
5238
5397
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5239
5398
|
/**
|
|
5240
5399
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5242
5401
|
*/
|
|
5243
5402
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5244
5403
|
/**
|
|
5245
5404
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5247
5406
|
*/
|
|
5248
5407
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5249
5408
|
/**
|
|
5250
5409
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5252
5411
|
*/
|
|
5253
5412
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5254
5413
|
/**
|
|
5255
5414
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5257
5416
|
*/
|
|
5258
5417
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5259
5418
|
/**
|
|
5260
5419
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5262
5421
|
*/
|
|
5263
5422
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5264
5423
|
/**
|
|
5265
5424
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5267
5426
|
*/
|
|
5268
5427
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5269
5428
|
/**
|
|
5270
5429
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5272
5431
|
*/
|
|
5273
5432
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5274
5433
|
/**
|
|
5275
5434
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5277
5436
|
*/
|
|
5278
5437
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5438
|
+
/**
|
|
5439
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5441
|
+
*/
|
|
5442
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5279
5443
|
/**
|
|
5280
5444
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5282
5446
|
*/
|
|
5283
5447
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5284
5448
|
/**
|
|
5285
5449
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5287
5451
|
*/
|
|
5288
5452
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5453
|
+
/**
|
|
5454
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5456
|
+
*/
|
|
5457
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5289
5458
|
/**
|
|
5290
5459
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5292
5461
|
*/
|
|
5293
5462
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5294
5463
|
/**
|
|
5295
5464
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5297
5466
|
*/
|
|
5298
5467
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5299
5468
|
/**
|
|
5300
5469
|
* Prefer default parameters over reassignment.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5302
5471
|
*/
|
|
5303
5472
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5304
5473
|
/**
|
|
5305
5474
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5307
5476
|
*/
|
|
5308
5477
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5309
5478
|
/**
|
|
5310
5479
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5312
5481
|
*/
|
|
5313
5482
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5314
5483
|
/**
|
|
5315
5484
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5317
5486
|
*/
|
|
5318
5487
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5319
5488
|
/**
|
|
5320
5489
|
* Prefer `.textContent` over `.innerText`.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5322
5491
|
*/
|
|
5323
5492
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5324
5493
|
/**
|
|
5325
5494
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5327
5496
|
*/
|
|
5328
5497
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5329
5498
|
/**
|
|
5330
5499
|
* Prefer `export…from` when re-exporting.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5332
5501
|
*/
|
|
5333
5502
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5334
5503
|
/**
|
|
5335
5504
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5337
5506
|
*/
|
|
5338
5507
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5339
5508
|
/**
|
|
5340
5509
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5342
5511
|
*/
|
|
5343
5512
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5344
5513
|
/**
|
|
5345
5514
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5347
5516
|
*/
|
|
5348
5517
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5349
5518
|
/**
|
|
5350
5519
|
* Prefer reading a JSON file as a buffer.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5352
5521
|
*/
|
|
5353
5522
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5354
5523
|
/**
|
|
5355
5524
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5357
5526
|
*/
|
|
5358
5527
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5359
5528
|
/**
|
|
5360
5529
|
* Prefer using a logical operator over a ternary.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5362
5531
|
*/
|
|
5363
5532
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5364
5533
|
/**
|
|
5365
5534
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5535
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5367
5536
|
*/
|
|
5368
5537
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5369
5538
|
/**
|
|
5370
5539
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5372
5541
|
*/
|
|
5373
5542
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5374
5543
|
/**
|
|
5375
5544
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5377
5546
|
*/
|
|
5378
5547
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5379
5548
|
/**
|
|
5380
5549
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5382
5551
|
*/
|
|
5383
5552
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5384
5553
|
/**
|
|
5385
5554
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5387
5556
|
*/
|
|
5388
5557
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5389
5558
|
/**
|
|
5390
5559
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5392
5561
|
*/
|
|
5393
5562
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5394
5563
|
/**
|
|
5395
5564
|
* Prefer negative index over `.length - index` when possible.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5397
5566
|
*/
|
|
5398
5567
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5399
5568
|
/**
|
|
5400
5569
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5402
5571
|
*/
|
|
5403
5572
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5404
5573
|
/**
|
|
5405
5574
|
* Prefer `Number` static properties over global ones.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5407
5576
|
*/
|
|
5408
5577
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5409
5578
|
/**
|
|
5410
5579
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5412
5581
|
*/
|
|
5413
5582
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5414
5583
|
/**
|
|
5415
5584
|
* Prefer omitting the `catch` binding parameter.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5417
5586
|
*/
|
|
5418
5587
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5419
5588
|
/**
|
|
5420
5589
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5422
5591
|
*/
|
|
5423
5592
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5424
5593
|
/**
|
|
5425
5594
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5427
5596
|
*/
|
|
5428
5597
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5429
5598
|
/**
|
|
5430
5599
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5432
5601
|
*/
|
|
5433
5602
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5434
5603
|
/**
|
|
5435
5604
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5437
5606
|
*/
|
|
5438
5607
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5439
5608
|
/**
|
|
5440
5609
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5442
5611
|
*/
|
|
5443
5612
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5444
5613
|
/**
|
|
5445
5614
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5447
5616
|
*/
|
|
5448
5617
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5449
5618
|
/**
|
|
5450
5619
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5452
5621
|
*/
|
|
5453
5622
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5454
5623
|
/**
|
|
5455
5624
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5457
5626
|
*/
|
|
5458
5627
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5459
5628
|
/**
|
|
5460
5629
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5462
5631
|
*/
|
|
5463
5632
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5464
5633
|
/**
|
|
5465
5634
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5467
5636
|
*/
|
|
5468
5637
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5469
5638
|
/**
|
|
5470
5639
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5472
5641
|
*/
|
|
5473
5642
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5474
5643
|
/**
|
|
5475
5644
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5477
5646
|
*/
|
|
5478
5647
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5479
5648
|
/**
|
|
5480
5649
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5482
5651
|
*/
|
|
5483
5652
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5484
5653
|
/**
|
|
5485
5654
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5487
5656
|
*/
|
|
5488
5657
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5489
5658
|
/**
|
|
5490
5659
|
* Prefer `switch` over multiple `else-if`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5492
5661
|
*/
|
|
5493
5662
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5494
5663
|
/**
|
|
5495
5664
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5497
5666
|
*/
|
|
5498
5667
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5499
5668
|
/**
|
|
5500
5669
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5502
5671
|
*/
|
|
5503
5672
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5504
5673
|
/**
|
|
5505
5674
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5507
5676
|
*/
|
|
5508
5677
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5509
5678
|
/**
|
|
5510
5679
|
* Prevent abbreviations.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5512
5681
|
*/
|
|
5513
5682
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5514
5683
|
/**
|
|
5515
5684
|
* Enforce consistent relative URL style.
|
|
5516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5517
5686
|
*/
|
|
5518
5687
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5519
5688
|
/**
|
|
5520
5689
|
* Enforce using the separator argument with `Array#join()`.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5522
5691
|
*/
|
|
5523
5692
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5693
|
+
/**
|
|
5694
|
+
* Require non-empty module attributes for imports and exports
|
|
5695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5696
|
+
*/
|
|
5697
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5524
5698
|
/**
|
|
5525
5699
|
* Require non-empty specifier list in import and export statements.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5527
5701
|
*/
|
|
5528
5702
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5529
5703
|
/**
|
|
5530
5704
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5532
5706
|
*/
|
|
5533
5707
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5534
5708
|
/**
|
|
5535
5709
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5537
5711
|
*/
|
|
5538
5712
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5539
5713
|
/**
|
|
5540
5714
|
* Enforce better string content.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5542
5716
|
*/
|
|
5543
5717
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5544
5718
|
/**
|
|
5545
5719
|
* Enforce consistent brace style for `case` clauses.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5547
5721
|
*/
|
|
5548
5722
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5549
5723
|
/**
|
|
5550
5724
|
* Fix whitespace-insensitive template indentation.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5552
5726
|
*/
|
|
5553
5727
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5554
5728
|
/**
|
|
5555
5729
|
* Enforce consistent case for text encoding identifiers.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5557
5731
|
*/
|
|
5558
5732
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5559
5733
|
/**
|
|
5560
5734
|
* Require `new` when creating an error.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5562
5736
|
*/
|
|
5563
5737
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5564
5738
|
/**
|
|
@@ -5900,7 +6074,7 @@ interface RuleOptions {
|
|
|
5900
6074
|
* disallow asynchronous actions in computed properties
|
|
5901
6075
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
5902
6076
|
*/
|
|
5903
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
6077
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
5904
6078
|
/**
|
|
5905
6079
|
* disallow the use of bare strings in `<template>`
|
|
5906
6080
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6401,7 +6575,7 @@ interface RuleOptions {
|
|
|
6401
6575
|
* disallow use of v-html to prevent XSS attack
|
|
6402
6576
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6403
6577
|
*/
|
|
6404
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6578
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6405
6579
|
/**
|
|
6406
6580
|
* disallow adding an argument to `v-model` used in custom component
|
|
6407
6581
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -6869,7 +7043,6 @@ interface RuleOptions {
|
|
|
6869
7043
|
*/
|
|
6870
7044
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
6871
7045
|
}
|
|
6872
|
-
|
|
6873
7046
|
/* ======= Declarations ======= */
|
|
6874
7047
|
// ----- accessor-pairs -----
|
|
6875
7048
|
type AccessorPairs = [] | [{
|
|
@@ -7216,6 +7389,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
7216
7389
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
7217
7390
|
ignoreForLoopInit?: boolean;
|
|
7218
7391
|
}]);
|
|
7392
|
+
// ----- jsdoc/check-alignment -----
|
|
7393
|
+
type JsdocCheckAlignment = [] | [{
|
|
7394
|
+
innerIndent?: number;
|
|
7395
|
+
}];
|
|
7219
7396
|
// ----- jsdoc/check-examples -----
|
|
7220
7397
|
type JsdocCheckExamples = [] | [{
|
|
7221
7398
|
allowInlineConfig?: boolean;
|
|
@@ -7275,6 +7452,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
7275
7452
|
type JsdocCheckTagNames = [] | [{
|
|
7276
7453
|
definedTags?: string[];
|
|
7277
7454
|
enableFixer?: boolean;
|
|
7455
|
+
inlineTags?: string[];
|
|
7278
7456
|
jsxTags?: boolean;
|
|
7279
7457
|
typed?: boolean;
|
|
7280
7458
|
}];
|
|
@@ -7317,6 +7495,12 @@ type JsdocConvertToJsdocComments = [] | [{
|
|
|
7317
7495
|
type JsdocEmptyTags = [] | [{
|
|
7318
7496
|
tags?: string[];
|
|
7319
7497
|
}];
|
|
7498
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
7499
|
+
type JsdocEscapeInlineTags = [] | [{
|
|
7500
|
+
allowedInlineTags?: string[];
|
|
7501
|
+
enableFixer?: boolean;
|
|
7502
|
+
fixType?: ("backticks" | "backslash");
|
|
7503
|
+
}];
|
|
7320
7504
|
// ----- jsdoc/implements-on-classes -----
|
|
7321
7505
|
type JsdocImplementsOnClasses = [] | [{
|
|
7322
7506
|
contexts?: (string | {
|
|
@@ -7433,10 +7617,17 @@ type JsdocNoTypes = [] | [{
|
|
|
7433
7617
|
}];
|
|
7434
7618
|
// ----- jsdoc/no-undefined-types -----
|
|
7435
7619
|
type JsdocNoUndefinedTypes = [] | [{
|
|
7620
|
+
checkUsedTypedefs?: boolean;
|
|
7436
7621
|
definedTypes?: string[];
|
|
7437
7622
|
disableReporting?: boolean;
|
|
7438
7623
|
markVariablesAsUsed?: boolean;
|
|
7439
7624
|
}];
|
|
7625
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
7626
|
+
type JsdocPreferImportTag = [] | [{
|
|
7627
|
+
enableFixer?: boolean;
|
|
7628
|
+
exemptTypedefs?: boolean;
|
|
7629
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
7630
|
+
}];
|
|
7440
7631
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
7441
7632
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
7442
7633
|
tags?: {
|
|
@@ -7505,6 +7696,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7505
7696
|
enableFixer?: boolean;
|
|
7506
7697
|
exemptEmptyConstructors?: boolean;
|
|
7507
7698
|
exemptEmptyFunctions?: boolean;
|
|
7699
|
+
exemptOverloadedImplementations?: boolean;
|
|
7508
7700
|
fixerMessage?: string;
|
|
7509
7701
|
minLineCount?: number;
|
|
7510
7702
|
publicOnly?: (boolean | {
|
|
@@ -7521,6 +7713,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7521
7713
|
FunctionExpression?: boolean;
|
|
7522
7714
|
MethodDefinition?: boolean;
|
|
7523
7715
|
};
|
|
7716
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
7524
7717
|
}];
|
|
7525
7718
|
// ----- jsdoc/require-param -----
|
|
7526
7719
|
type JsdocRequireParam = [] | [{
|
|
@@ -7541,6 +7734,7 @@ type JsdocRequireParam = [] | [{
|
|
|
7541
7734
|
enableRootFixer?: boolean;
|
|
7542
7735
|
exemptedBy?: string[];
|
|
7543
7736
|
ignoreWhenAllParamsMissing?: boolean;
|
|
7737
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
7544
7738
|
unnamedRootBase?: string[];
|
|
7545
7739
|
useDefaultObjectProperties?: boolean;
|
|
7546
7740
|
}];
|
|
@@ -7593,6 +7787,7 @@ type JsdocRequireReturns = [] | [{
|
|
|
7593
7787
|
type JsdocRequireReturnsCheck = [] | [{
|
|
7594
7788
|
exemptAsync?: boolean;
|
|
7595
7789
|
exemptGenerators?: boolean;
|
|
7790
|
+
noNativeTypes?: boolean;
|
|
7596
7791
|
reportMissingReturnForUndefinedTypes?: boolean;
|
|
7597
7792
|
}];
|
|
7598
7793
|
// ----- jsdoc/require-returns-description -----
|
|
@@ -7609,6 +7804,14 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
7609
7804
|
context?: string;
|
|
7610
7805
|
})[];
|
|
7611
7806
|
}];
|
|
7807
|
+
// ----- jsdoc/require-tags -----
|
|
7808
|
+
type JsdocRequireTags = [] | [{
|
|
7809
|
+
tags?: (string | {
|
|
7810
|
+
context?: string;
|
|
7811
|
+
tag?: string;
|
|
7812
|
+
[k: string]: unknown | undefined;
|
|
7813
|
+
})[];
|
|
7814
|
+
}];
|
|
7612
7815
|
// ----- jsdoc/require-template -----
|
|
7613
7816
|
type JsdocRequireTemplate = [] | [{
|
|
7614
7817
|
exemptedBy?: string[];
|
|
@@ -7642,7 +7845,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
7642
7845
|
comment?: string;
|
|
7643
7846
|
context?: string;
|
|
7644
7847
|
})[];
|
|
7645
|
-
exemptedBy?: string[];
|
|
7646
7848
|
next?: boolean;
|
|
7647
7849
|
}];
|
|
7648
7850
|
// ----- jsdoc/sort-tags -----
|
|
@@ -7660,6 +7862,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
7660
7862
|
applyToEndTag?: boolean;
|
|
7661
7863
|
count?: number;
|
|
7662
7864
|
endLines?: (number | null);
|
|
7865
|
+
maxBlockLines?: (number | null);
|
|
7663
7866
|
startLines?: (number | null);
|
|
7664
7867
|
tags?: {
|
|
7665
7868
|
[k: string]: {
|
|
@@ -7673,6 +7876,49 @@ type JsdocTextEscaping = [] | [{
|
|
|
7673
7876
|
escapeHTML?: boolean;
|
|
7674
7877
|
escapeMarkdown?: boolean;
|
|
7675
7878
|
}];
|
|
7879
|
+
// ----- jsdoc/ts-method-signature-style -----
|
|
7880
|
+
type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
|
|
7881
|
+
enableFixer?: boolean;
|
|
7882
|
+
}];
|
|
7883
|
+
// ----- jsdoc/ts-no-unnecessary-template-expression -----
|
|
7884
|
+
type JsdocTsNoUnnecessaryTemplateExpression = [] | [{
|
|
7885
|
+
enableFixer?: boolean;
|
|
7886
|
+
}];
|
|
7887
|
+
// ----- jsdoc/ts-prefer-function-type -----
|
|
7888
|
+
type JsdocTsPreferFunctionType = [] | [{
|
|
7889
|
+
enableFixer?: boolean;
|
|
7890
|
+
}];
|
|
7891
|
+
// ----- jsdoc/type-formatting -----
|
|
7892
|
+
type JsdocTypeFormatting = [] | [{
|
|
7893
|
+
arrayBrackets?: ("angle" | "square");
|
|
7894
|
+
arrowFunctionPostReturnMarkerSpacing?: string;
|
|
7895
|
+
arrowFunctionPreReturnMarkerSpacing?: string;
|
|
7896
|
+
enableFixer?: boolean;
|
|
7897
|
+
functionOrClassParameterSpacing?: string;
|
|
7898
|
+
functionOrClassPostGenericSpacing?: string;
|
|
7899
|
+
functionOrClassPostReturnMarkerSpacing?: string;
|
|
7900
|
+
functionOrClassPreReturnMarkerSpacing?: string;
|
|
7901
|
+
functionOrClassTypeParameterSpacing?: string;
|
|
7902
|
+
genericAndTupleElementSpacing?: string;
|
|
7903
|
+
genericDot?: boolean;
|
|
7904
|
+
keyValuePostColonSpacing?: string;
|
|
7905
|
+
keyValuePostKeySpacing?: string;
|
|
7906
|
+
keyValuePostOptionalSpacing?: string;
|
|
7907
|
+
keyValuePostVariadicSpacing?: string;
|
|
7908
|
+
methodQuotes?: ("double" | "single");
|
|
7909
|
+
objectFieldIndent?: string;
|
|
7910
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
7911
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
7912
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
7913
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
7914
|
+
parameterDefaultValueSpacing?: string;
|
|
7915
|
+
postMethodNameSpacing?: string;
|
|
7916
|
+
postNewSpacing?: string;
|
|
7917
|
+
separatorForSingleObjectField?: boolean;
|
|
7918
|
+
stringQuotes?: ("double" | "single");
|
|
7919
|
+
typeBracketSpacing?: string;
|
|
7920
|
+
unionSpacing?: string;
|
|
7921
|
+
}];
|
|
7676
7922
|
// ----- jsdoc/valid-types -----
|
|
7677
7923
|
type JsdocValidTypes = [] | [{
|
|
7678
7924
|
allowEmptyNamepaths?: boolean;
|
|
@@ -8691,12 +8937,14 @@ type NoRestrictedImports = ((string | {
|
|
|
8691
8937
|
message?: string;
|
|
8692
8938
|
importNames?: string[];
|
|
8693
8939
|
allowImportNames?: string[];
|
|
8940
|
+
allowTypeImports?: boolean;
|
|
8694
8941
|
})[] | [] | [{
|
|
8695
8942
|
paths?: (string | {
|
|
8696
8943
|
name: string;
|
|
8697
8944
|
message?: string;
|
|
8698
8945
|
importNames?: string[];
|
|
8699
8946
|
allowImportNames?: string[];
|
|
8947
|
+
allowTypeImports?: boolean;
|
|
8700
8948
|
})[];
|
|
8701
8949
|
patterns?: (string[] | ({
|
|
8702
8950
|
[k: string]: unknown | undefined;
|
|
@@ -8884,7 +9132,7 @@ type NodeHashbang = [] | [{
|
|
|
8884
9132
|
// ----- node/no-deprecated-api -----
|
|
8885
9133
|
type NodeNoDeprecatedApi = [] | [{
|
|
8886
9134
|
version?: string;
|
|
8887
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
9135
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
8888
9136
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
8889
9137
|
ignoreIndirectDependencies?: boolean;
|
|
8890
9138
|
}];
|
|
@@ -9078,7 +9326,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
9078
9326
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
9079
9327
|
version?: string;
|
|
9080
9328
|
allowExperimental?: boolean;
|
|
9081
|
-
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" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "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.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "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.report.excludeEnv" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "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.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "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" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "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" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "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" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "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.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "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.markAsUncloneable" | "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.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
9329
|
+
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" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "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.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "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.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "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.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "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.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "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" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "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" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "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" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "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.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
9082
9330
|
}];
|
|
9083
9331
|
// ----- node/prefer-global/buffer -----
|
|
9084
9332
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -10978,6 +11226,10 @@ type PreferReflect = [] | [{
|
|
|
10978
11226
|
type PreferRegexLiterals = [] | [{
|
|
10979
11227
|
disallowRedundantWrapping?: boolean;
|
|
10980
11228
|
}];
|
|
11229
|
+
// ----- preserve-caught-error -----
|
|
11230
|
+
type PreserveCaughtError = [] | [{
|
|
11231
|
+
requireCatchParameter?: boolean;
|
|
11232
|
+
}];
|
|
10981
11233
|
// ----- quote-props -----
|
|
10982
11234
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
10983
11235
|
keywords?: boolean;
|
|
@@ -10996,20 +11248,128 @@ type ReactDomNoUnknownProperty = [] | [{
|
|
|
10996
11248
|
ignore?: string[];
|
|
10997
11249
|
requireDataLowercase?: boolean;
|
|
10998
11250
|
}];
|
|
11251
|
+
// ----- react-hooks/automatic-effect-dependencies -----
|
|
11252
|
+
type ReactHooksAutomaticEffectDependencies = [] | [{
|
|
11253
|
+
[k: string]: unknown | undefined;
|
|
11254
|
+
}];
|
|
11255
|
+
// ----- react-hooks/capitalized-calls -----
|
|
11256
|
+
type ReactHooksCapitalizedCalls = [] | [{
|
|
11257
|
+
[k: string]: unknown | undefined;
|
|
11258
|
+
}];
|
|
11259
|
+
// ----- react-hooks/component-hook-factories -----
|
|
11260
|
+
type ReactHooksComponentHookFactories = [] | [{
|
|
11261
|
+
[k: string]: unknown | undefined;
|
|
11262
|
+
}];
|
|
11263
|
+
// ----- react-hooks/config -----
|
|
11264
|
+
type ReactHooksConfig = [] | [{
|
|
11265
|
+
[k: string]: unknown | undefined;
|
|
11266
|
+
}];
|
|
11267
|
+
// ----- react-hooks/error-boundaries -----
|
|
11268
|
+
type ReactHooksErrorBoundaries = [] | [{
|
|
11269
|
+
[k: string]: unknown | undefined;
|
|
11270
|
+
}];
|
|
10999
11271
|
// ----- react-hooks/exhaustive-deps -----
|
|
11000
11272
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
11001
11273
|
additionalHooks?: string;
|
|
11002
11274
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
11275
|
+
experimental_autoDependenciesHooks?: string[];
|
|
11276
|
+
requireExplicitEffectDeps?: boolean;
|
|
11277
|
+
}];
|
|
11278
|
+
// ----- react-hooks/fbt -----
|
|
11279
|
+
type ReactHooksFbt = [] | [{
|
|
11280
|
+
[k: string]: unknown | undefined;
|
|
11281
|
+
}];
|
|
11282
|
+
// ----- react-hooks/fire -----
|
|
11283
|
+
type ReactHooksFire = [] | [{
|
|
11284
|
+
[k: string]: unknown | undefined;
|
|
11285
|
+
}];
|
|
11286
|
+
// ----- react-hooks/gating -----
|
|
11287
|
+
type ReactHooksGating = [] | [{
|
|
11288
|
+
[k: string]: unknown | undefined;
|
|
11289
|
+
}];
|
|
11290
|
+
// ----- react-hooks/globals -----
|
|
11291
|
+
type ReactHooksGlobals = [] | [{
|
|
11292
|
+
[k: string]: unknown | undefined;
|
|
11293
|
+
}];
|
|
11294
|
+
// ----- react-hooks/hooks -----
|
|
11295
|
+
type ReactHooksHooks = [] | [{
|
|
11296
|
+
[k: string]: unknown | undefined;
|
|
11297
|
+
}];
|
|
11298
|
+
// ----- react-hooks/immutability -----
|
|
11299
|
+
type ReactHooksImmutability = [] | [{
|
|
11300
|
+
[k: string]: unknown | undefined;
|
|
11301
|
+
}];
|
|
11302
|
+
// ----- react-hooks/incompatible-library -----
|
|
11303
|
+
type ReactHooksIncompatibleLibrary = [] | [{
|
|
11304
|
+
[k: string]: unknown | undefined;
|
|
11305
|
+
}];
|
|
11306
|
+
// ----- react-hooks/invariant -----
|
|
11307
|
+
type ReactHooksInvariant = [] | [{
|
|
11308
|
+
[k: string]: unknown | undefined;
|
|
11309
|
+
}];
|
|
11310
|
+
// ----- react-hooks/memoized-effect-dependencies -----
|
|
11311
|
+
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
11312
|
+
[k: string]: unknown | undefined;
|
|
11313
|
+
}];
|
|
11314
|
+
// ----- react-hooks/no-deriving-state-in-effects -----
|
|
11315
|
+
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
11316
|
+
[k: string]: unknown | undefined;
|
|
11317
|
+
}];
|
|
11318
|
+
// ----- react-hooks/preserve-manual-memoization -----
|
|
11319
|
+
type ReactHooksPreserveManualMemoization = [] | [{
|
|
11320
|
+
[k: string]: unknown | undefined;
|
|
11321
|
+
}];
|
|
11322
|
+
// ----- react-hooks/purity -----
|
|
11323
|
+
type ReactHooksPurity = [] | [{
|
|
11324
|
+
[k: string]: unknown | undefined;
|
|
11003
11325
|
}];
|
|
11004
|
-
// ----- react-hooks/
|
|
11005
|
-
type
|
|
11326
|
+
// ----- react-hooks/refs -----
|
|
11327
|
+
type ReactHooksRefs = [] | [{
|
|
11328
|
+
[k: string]: unknown | undefined;
|
|
11329
|
+
}];
|
|
11330
|
+
// ----- react-hooks/rule-suppression -----
|
|
11331
|
+
type ReactHooksRuleSuppression = [] | [{
|
|
11332
|
+
[k: string]: unknown | undefined;
|
|
11333
|
+
}];
|
|
11334
|
+
// ----- react-hooks/rules-of-hooks -----
|
|
11335
|
+
type ReactHooksRulesOfHooks = [] | [{
|
|
11336
|
+
additionalHooks?: string;
|
|
11337
|
+
}];
|
|
11338
|
+
// ----- react-hooks/set-state-in-effect -----
|
|
11339
|
+
type ReactHooksSetStateInEffect = [] | [{
|
|
11340
|
+
[k: string]: unknown | undefined;
|
|
11341
|
+
}];
|
|
11342
|
+
// ----- react-hooks/set-state-in-render -----
|
|
11343
|
+
type ReactHooksSetStateInRender = [] | [{
|
|
11344
|
+
[k: string]: unknown | undefined;
|
|
11345
|
+
}];
|
|
11346
|
+
// ----- react-hooks/static-components -----
|
|
11347
|
+
type ReactHooksStaticComponents = [] | [{
|
|
11348
|
+
[k: string]: unknown | undefined;
|
|
11349
|
+
}];
|
|
11350
|
+
// ----- react-hooks/syntax -----
|
|
11351
|
+
type ReactHooksSyntax = [] | [{
|
|
11352
|
+
[k: string]: unknown | undefined;
|
|
11353
|
+
}];
|
|
11354
|
+
// ----- react-hooks/todo -----
|
|
11355
|
+
type ReactHooksTodo = [] | [{
|
|
11356
|
+
[k: string]: unknown | undefined;
|
|
11357
|
+
}];
|
|
11358
|
+
// ----- react-hooks/unsupported-syntax -----
|
|
11359
|
+
type ReactHooksUnsupportedSyntax = [] | [{
|
|
11360
|
+
[k: string]: unknown | undefined;
|
|
11361
|
+
}];
|
|
11362
|
+
// ----- react-hooks/use-memo -----
|
|
11363
|
+
type ReactHooksUseMemo = [] | [{
|
|
11364
|
+
[k: string]: unknown | undefined;
|
|
11365
|
+
}];
|
|
11366
|
+
// ----- react-hooks/void-use-memo -----
|
|
11367
|
+
type ReactHooksVoidUseMemo = [] | [{
|
|
11006
11368
|
[k: string]: unknown | undefined;
|
|
11007
11369
|
}];
|
|
11008
11370
|
// ----- react-naming-convention/component-name -----
|
|
11009
11371
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
11010
11372
|
allowAllCaps?: boolean;
|
|
11011
|
-
allowLeadingUnderscore?: boolean;
|
|
11012
|
-
allowNamespace?: boolean;
|
|
11013
11373
|
excepts?: string[];
|
|
11014
11374
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
11015
11375
|
})];
|
|
@@ -11032,6 +11392,20 @@ type ReactRefreshOnlyExportComponents = [] | [{
|
|
|
11032
11392
|
customHOCs?: string[];
|
|
11033
11393
|
checkJS?: boolean;
|
|
11034
11394
|
}];
|
|
11395
|
+
// ----- react/jsx-shorthand-boolean -----
|
|
11396
|
+
type ReactJsxShorthandBoolean = [] | [(-1 | 1)];
|
|
11397
|
+
// ----- react/jsx-shorthand-fragment -----
|
|
11398
|
+
type ReactJsxShorthandFragment = [] | [(-1 | 1)];
|
|
11399
|
+
// ----- react/no-forbidden-props -----
|
|
11400
|
+
type ReactNoForbiddenProps = [] | [{
|
|
11401
|
+
forbid?: (string | {
|
|
11402
|
+
excludedNodes?: string[];
|
|
11403
|
+
prop: string;
|
|
11404
|
+
} | {
|
|
11405
|
+
includedNodes?: string[];
|
|
11406
|
+
prop: string;
|
|
11407
|
+
})[];
|
|
11408
|
+
}];
|
|
11035
11409
|
// ----- react/no-useless-fragment -----
|
|
11036
11410
|
type ReactNoUselessFragment = [] | [{
|
|
11037
11411
|
allowExpressions?: boolean;
|
|
@@ -12338,6 +12712,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
12338
12712
|
checkLiteralConstAssertions?: boolean;
|
|
12339
12713
|
typesToIgnore?: string[];
|
|
12340
12714
|
}];
|
|
12715
|
+
// ----- ts/no-unsafe-member-access -----
|
|
12716
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
12717
|
+
allowOptionalChaining?: boolean;
|
|
12718
|
+
}];
|
|
12341
12719
|
// ----- ts/no-unused-expressions -----
|
|
12342
12720
|
type TsNoUnusedExpressions = [] | [{
|
|
12343
12721
|
allowShortCircuit?: boolean;
|
|
@@ -12355,6 +12733,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
12355
12733
|
destructuredArrayIgnorePattern?: string;
|
|
12356
12734
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12357
12735
|
ignoreRestSiblings?: boolean;
|
|
12736
|
+
ignoreUsingDeclarations?: boolean;
|
|
12358
12737
|
reportUsedIgnorePattern?: boolean;
|
|
12359
12738
|
vars?: ("all" | "local");
|
|
12360
12739
|
varsIgnorePattern?: string;
|
|
@@ -12653,6 +13032,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
12653
13032
|
type UnicornNoArrayReverse = [] | [{
|
|
12654
13033
|
allowExpressionStatement?: boolean;
|
|
12655
13034
|
}];
|
|
13035
|
+
// ----- unicorn/no-array-sort -----
|
|
13036
|
+
type UnicornNoArraySort = [] | [{
|
|
13037
|
+
allowExpressionStatement?: boolean;
|
|
13038
|
+
}];
|
|
12656
13039
|
// ----- unicorn/no-instanceof-builtins -----
|
|
12657
13040
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
12658
13041
|
useErrorIsError?: boolean;
|
|
@@ -12820,6 +13203,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
12820
13203
|
destructuredArrayIgnorePattern?: string;
|
|
12821
13204
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12822
13205
|
ignoreRestSiblings?: boolean;
|
|
13206
|
+
ignoreUsingDeclarations?: boolean;
|
|
12823
13207
|
reportUsedIgnorePattern?: boolean;
|
|
12824
13208
|
vars?: ("all" | "local");
|
|
12825
13209
|
varsIgnorePattern?: string;
|
|
@@ -12833,6 +13217,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
12833
13217
|
destructuredArrayIgnorePattern?: string;
|
|
12834
13218
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12835
13219
|
ignoreRestSiblings?: boolean;
|
|
13220
|
+
ignoreUsingDeclarations?: boolean;
|
|
12836
13221
|
reportUsedIgnorePattern?: boolean;
|
|
12837
13222
|
vars?: ("all" | "local");
|
|
12838
13223
|
varsIgnorePattern?: string;
|
|
@@ -12884,6 +13269,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
12884
13269
|
type VueAttributesOrder = [] | [{
|
|
12885
13270
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
12886
13271
|
alphabetical?: boolean;
|
|
13272
|
+
sortLineLength?: boolean;
|
|
12887
13273
|
}];
|
|
12888
13274
|
// ----- vue/block-lang -----
|
|
12889
13275
|
type VueBlockLang = [] | [{
|
|
@@ -13530,6 +13916,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
13530
13916
|
}];
|
|
13531
13917
|
// ----- vue/next-tick-style -----
|
|
13532
13918
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
13919
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
13920
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
13921
|
+
ignoredObjectNames?: string[];
|
|
13922
|
+
}];
|
|
13533
13923
|
// ----- vue/no-bare-strings-in-template -----
|
|
13534
13924
|
type VueNoBareStringsInTemplate = [] | [{
|
|
13535
13925
|
allowlist?: string[];
|
|
@@ -13814,6 +14204,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
13814
14204
|
ignoreIncludesComment?: boolean;
|
|
13815
14205
|
ignoreStringEscape?: boolean;
|
|
13816
14206
|
}];
|
|
14207
|
+
// ----- vue/no-v-html -----
|
|
14208
|
+
type VueNoVHtml = [] | [{
|
|
14209
|
+
ignorePattern?: string;
|
|
14210
|
+
}];
|
|
13817
14211
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
13818
14212
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
13819
14213
|
allow?: string[];
|