@coderwyd/eslint-config 4.6.2 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +21 -19
- package/dist/index.d.ts +388 -286
- package/dist/index.js +45 -21
- package/package.json +28 -27
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,12 @@ 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
|
-
*
|
|
512
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
513
513
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
514
514
|
*/
|
|
515
515
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -539,17 +539,17 @@ interface RuleOptions {
|
|
|
539
539
|
*/
|
|
540
540
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>;
|
|
541
541
|
/**
|
|
542
|
-
* Controls how and whether
|
|
542
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
543
543
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
544
544
|
*/
|
|
545
545
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
546
546
|
/**
|
|
547
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
547
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
548
548
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
549
549
|
*/
|
|
550
550
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
551
551
|
/**
|
|
552
|
-
*
|
|
552
|
+
* 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
553
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
554
554
|
*/
|
|
555
555
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>;
|
|
@@ -579,22 +579,37 @@ interface RuleOptions {
|
|
|
579
579
|
*/
|
|
580
580
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
581
581
|
/**
|
|
582
|
-
* This rule reports types being used on `@param` or `@returns
|
|
582
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
583
583
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
584
584
|
*/
|
|
585
585
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>;
|
|
586
586
|
/**
|
|
587
|
-
*
|
|
587
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
588
588
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
589
589
|
*/
|
|
590
590
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
591
|
+
/**
|
|
592
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
593
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
594
|
+
*/
|
|
595
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
596
|
+
/**
|
|
597
|
+
* Reports use of `any` or `*` type
|
|
598
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
599
|
+
*/
|
|
600
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>;
|
|
601
|
+
/**
|
|
602
|
+
* Reports use of `Function` type
|
|
603
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
604
|
+
*/
|
|
605
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>;
|
|
591
606
|
/**
|
|
592
607
|
* Requires that each JSDoc line starts with an `*`.
|
|
593
608
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
594
609
|
*/
|
|
595
610
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
596
611
|
/**
|
|
597
|
-
* Requires that all functions have a description.
|
|
612
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
598
613
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
599
614
|
*/
|
|
600
615
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -604,7 +619,7 @@ interface RuleOptions {
|
|
|
604
619
|
*/
|
|
605
620
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
606
621
|
/**
|
|
607
|
-
* Requires that all functions have examples.
|
|
622
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
608
623
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
609
624
|
*/
|
|
610
625
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -614,17 +629,27 @@ interface RuleOptions {
|
|
|
614
629
|
*/
|
|
615
630
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
616
631
|
/**
|
|
617
|
-
* Requires a hyphen before the `@param` description.
|
|
632
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
618
633
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
619
634
|
*/
|
|
620
635
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
621
636
|
/**
|
|
622
|
-
*
|
|
637
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
623
638
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
624
639
|
*/
|
|
625
640
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
626
641
|
/**
|
|
627
|
-
* Requires
|
|
642
|
+
* Requires a description for `@next` tags
|
|
643
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
644
|
+
*/
|
|
645
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>;
|
|
646
|
+
/**
|
|
647
|
+
* Requires a type for `@next` tags
|
|
648
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
649
|
+
*/
|
|
650
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>;
|
|
651
|
+
/**
|
|
652
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
628
653
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
629
654
|
*/
|
|
630
655
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -634,12 +659,12 @@ interface RuleOptions {
|
|
|
634
659
|
*/
|
|
635
660
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
636
661
|
/**
|
|
637
|
-
* Requires that all
|
|
662
|
+
* Requires that all `@param` tags have names.
|
|
638
663
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
639
664
|
*/
|
|
640
665
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
641
666
|
/**
|
|
642
|
-
* Requires that each `@param` tag has a
|
|
667
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
643
668
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
644
669
|
*/
|
|
645
670
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -654,62 +679,92 @@ interface RuleOptions {
|
|
|
654
679
|
*/
|
|
655
680
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>;
|
|
656
681
|
/**
|
|
657
|
-
* Requires that all
|
|
682
|
+
* Requires that all `@property` tags have names.
|
|
658
683
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
659
684
|
*/
|
|
660
685
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>;
|
|
661
686
|
/**
|
|
662
|
-
* Requires that each `@property` tag has a
|
|
687
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
663
688
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
664
689
|
*/
|
|
665
690
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
666
691
|
/**
|
|
667
|
-
* Requires that returns are documented
|
|
692
|
+
* Requires that returns are documented with `@returns`.
|
|
668
693
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
669
694
|
*/
|
|
670
695
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
671
696
|
/**
|
|
672
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
697
|
+
* 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
698
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
674
699
|
*/
|
|
675
700
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
676
701
|
/**
|
|
677
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
702
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
678
703
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
679
704
|
*/
|
|
680
705
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
681
706
|
/**
|
|
682
|
-
* Requires that `@returns` tag has
|
|
707
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
683
708
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
684
709
|
*/
|
|
685
710
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
686
711
|
/**
|
|
687
|
-
* Requires
|
|
712
|
+
* Requires tags be present, optionally for specific contexts
|
|
713
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
714
|
+
*/
|
|
715
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
716
|
+
/**
|
|
717
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
688
718
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
689
719
|
*/
|
|
690
720
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
691
721
|
/**
|
|
692
|
-
* Requires
|
|
722
|
+
* Requires a description for `@template` tags
|
|
723
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
724
|
+
*/
|
|
725
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
|
|
726
|
+
/**
|
|
727
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
693
728
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
694
729
|
*/
|
|
695
730
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
696
731
|
/**
|
|
697
|
-
* Requires
|
|
732
|
+
* Requires a description for `@throws` tags
|
|
733
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
734
|
+
*/
|
|
735
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>;
|
|
736
|
+
/**
|
|
737
|
+
* Requires a type for `@throws` tags
|
|
738
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
739
|
+
*/
|
|
740
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>;
|
|
741
|
+
/**
|
|
742
|
+
* Requires yields are documented with `@yields` tags.
|
|
698
743
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
699
744
|
*/
|
|
700
745
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>;
|
|
701
746
|
/**
|
|
702
|
-
*
|
|
747
|
+
* 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
748
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
704
749
|
*/
|
|
705
750
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
706
751
|
/**
|
|
707
|
-
*
|
|
752
|
+
* Requires a description for `@yields` tags
|
|
753
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
754
|
+
*/
|
|
755
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>;
|
|
756
|
+
/**
|
|
757
|
+
* Requires a type for `@yields` tags
|
|
758
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
759
|
+
*/
|
|
760
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>;
|
|
761
|
+
/**
|
|
762
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
708
763
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
709
764
|
*/
|
|
710
765
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
711
766
|
/**
|
|
712
|
-
* Enforces lines (or no lines) between tags.
|
|
767
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
713
768
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
714
769
|
*/
|
|
715
770
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -719,7 +774,12 @@ interface RuleOptions {
|
|
|
719
774
|
*/
|
|
720
775
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
721
776
|
/**
|
|
722
|
-
*
|
|
777
|
+
* Formats JSDoc type values.
|
|
778
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
779
|
+
*/
|
|
780
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
781
|
+
/**
|
|
782
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
723
783
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
724
784
|
*/
|
|
725
785
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -1952,12 +2012,12 @@ interface RuleOptions {
|
|
|
1952
2012
|
*/
|
|
1953
2013
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
1954
2014
|
/**
|
|
1955
|
-
* disallow `import` declarations which import
|
|
2015
|
+
* disallow `import` declarations which import missing modules
|
|
1956
2016
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
1957
2017
|
*/
|
|
1958
2018
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
1959
2019
|
/**
|
|
1960
|
-
* disallow `require()` expressions which import
|
|
2020
|
+
* disallow `require()` expressions which import missing modules
|
|
1961
2021
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
1962
2022
|
*/
|
|
1963
2023
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2331,6 +2391,11 @@ interface RuleOptions {
|
|
|
2331
2391
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2332
2392
|
*/
|
|
2333
2393
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2394
|
+
/**
|
|
2395
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2396
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2397
|
+
*/
|
|
2398
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2334
2399
|
/**
|
|
2335
2400
|
* Require quotes around object literal property names
|
|
2336
2401
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -2348,11 +2413,6 @@ interface RuleOptions {
|
|
|
2348
2413
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
2349
2414
|
*/
|
|
2350
2415
|
'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
2416
|
/**
|
|
2357
2417
|
* Disallow `dangerouslySetInnerHTML`.
|
|
2358
2418
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -2408,6 +2468,11 @@ interface RuleOptions {
|
|
|
2408
2468
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2409
2469
|
*/
|
|
2410
2470
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
|
|
2471
|
+
/**
|
|
2472
|
+
* Disallows the use of string style prop.
|
|
2473
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
2474
|
+
*/
|
|
2475
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
2411
2476
|
/**
|
|
2412
2477
|
* Disallow unknown `DOM` property.
|
|
2413
2478
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -2434,60 +2499,15 @@ interface RuleOptions {
|
|
|
2434
2499
|
*/
|
|
2435
2500
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
2436
2501
|
/**
|
|
2437
|
-
* Enforces
|
|
2438
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2502
|
+
* Enforces React Dom is imported via a namespace import.
|
|
2503
|
+
* @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
2439
2504
|
*/
|
|
2440
|
-
'react-
|
|
2441
|
-
/**
|
|
2442
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
2443
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2444
|
-
*/
|
|
2445
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>;
|
|
2446
|
-
/**
|
|
2447
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
2448
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2449
|
-
*/
|
|
2450
|
-
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>;
|
|
2505
|
+
'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2451
2506
|
/**
|
|
2452
2507
|
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
2453
2508
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2454
2509
|
*/
|
|
2455
2510
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
|
|
2456
|
-
/**
|
|
2457
|
-
* Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
|
|
2458
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2459
|
-
*/
|
|
2460
|
-
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>;
|
|
2461
|
-
/**
|
|
2462
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2463
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2464
|
-
*/
|
|
2465
|
-
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>;
|
|
2466
|
-
/**
|
|
2467
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
2468
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2469
|
-
*/
|
|
2470
|
-
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
2471
|
-
/**
|
|
2472
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
2473
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2474
|
-
*/
|
|
2475
|
-
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
2476
|
-
/**
|
|
2477
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2478
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2479
|
-
*/
|
|
2480
|
-
'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
2481
|
-
/**
|
|
2482
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2483
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2484
|
-
*/
|
|
2485
|
-
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>;
|
|
2486
|
-
/**
|
|
2487
|
-
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
2488
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2489
|
-
*/
|
|
2490
|
-
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
2491
2511
|
/**
|
|
2492
2512
|
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2493
2513
|
* @see https://github.com/facebook/react/issues/14920
|
|
@@ -2548,26 +2568,16 @@ interface RuleOptions {
|
|
|
2548
2568
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
2549
2569
|
*/
|
|
2550
2570
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
2551
|
-
/**
|
|
2552
|
-
* Enforces explicit boolean values for boolean attributes.
|
|
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
2571
|
/**
|
|
2567
2572
|
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
2568
2573
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
2569
2574
|
*/
|
|
2570
2575
|
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
2576
|
+
/**
|
|
2577
|
+
* Prevents comments from being inserted as text nodes.
|
|
2578
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
2579
|
+
*/
|
|
2580
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
2571
2581
|
/**
|
|
2572
2582
|
* Disallow duplicate props in JSX elements.
|
|
2573
2583
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
@@ -2583,6 +2593,16 @@ interface RuleOptions {
|
|
|
2583
2593
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2584
2594
|
*/
|
|
2585
2595
|
'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
2596
|
+
/**
|
|
2597
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
2598
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
2599
|
+
*/
|
|
2600
|
+
'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
|
|
2601
|
+
/**
|
|
2602
|
+
* Enforces shorthand syntax for fragments.
|
|
2603
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
2604
|
+
*/
|
|
2605
|
+
'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
|
|
2586
2606
|
/**
|
|
2587
2607
|
* Marks React variables as used when JSX is used.
|
|
2588
2608
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
@@ -2643,21 +2663,6 @@ interface RuleOptions {
|
|
|
2643
2663
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2644
2664
|
*/
|
|
2645
2665
|
'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
2666
|
/**
|
|
2662
2667
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
2663
2668
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
@@ -2693,16 +2698,16 @@ interface RuleOptions {
|
|
|
2693
2698
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
2694
2699
|
*/
|
|
2695
2700
|
'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
2701
|
/**
|
|
2702
2702
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
2703
2703
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
2704
2704
|
*/
|
|
2705
2705
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
2706
|
+
/**
|
|
2707
|
+
* Disallow certain props on components.
|
|
2708
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
2709
|
+
*/
|
|
2710
|
+
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
|
|
2706
2711
|
/**
|
|
2707
2712
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
2708
2713
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -2743,11 +2748,6 @@ interface RuleOptions {
|
|
|
2743
2748
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2744
2749
|
*/
|
|
2745
2750
|
'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
2751
|
/**
|
|
2752
2752
|
* Disallow nesting lazy component declarations inside other components.
|
|
2753
2753
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
@@ -2783,6 +2783,26 @@ interface RuleOptions {
|
|
|
2783
2783
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
2784
2784
|
*/
|
|
2785
2785
|
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
2786
|
+
/**
|
|
2787
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
2788
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
2789
|
+
*/
|
|
2790
|
+
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
2791
|
+
/**
|
|
2792
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
2793
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
2794
|
+
*/
|
|
2795
|
+
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
2796
|
+
/**
|
|
2797
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
2798
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
2799
|
+
*/
|
|
2800
|
+
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
2801
|
+
/**
|
|
2802
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2803
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
2804
|
+
*/
|
|
2805
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
2786
2806
|
/**
|
|
2787
2807
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
2788
2808
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
@@ -2813,6 +2833,11 @@ interface RuleOptions {
|
|
|
2813
2833
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
2814
2834
|
*/
|
|
2815
2835
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
2836
|
+
/**
|
|
2837
|
+
* Warns component props that are defined but never used.
|
|
2838
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
2839
|
+
*/
|
|
2840
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
2816
2841
|
/**
|
|
2817
2842
|
* Warns unused class component state.
|
|
2818
2843
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
@@ -2840,29 +2865,19 @@ interface RuleOptions {
|
|
|
2840
2865
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
2841
2866
|
/**
|
|
2842
2867
|
* Enforces React is imported via a namespace import.
|
|
2843
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
2868
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
2844
2869
|
*/
|
|
2845
|
-
'react/prefer-
|
|
2870
|
+
'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2846
2871
|
/**
|
|
2847
2872
|
* Enforces read-only props in components.
|
|
2848
2873
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2849
2874
|
*/
|
|
2850
2875
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
2851
2876
|
/**
|
|
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
|
|
2877
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
2878
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
2864
2879
|
*/
|
|
2865
|
-
'react/use-
|
|
2880
|
+
'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
2866
2881
|
/**
|
|
2867
2882
|
* disallow confusing quantifiers
|
|
2868
2883
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -4875,690 +4890,710 @@ interface RuleOptions {
|
|
|
4875
4890
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
4876
4891
|
/**
|
|
4877
4892
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4879
4894
|
*/
|
|
4880
4895
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
4881
4896
|
/**
|
|
4882
4897
|
* Enforce a specific parameter name in catch clauses.
|
|
4883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4884
4899
|
*/
|
|
4885
4900
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
4886
4901
|
/**
|
|
4887
4902
|
* Enforce consistent assertion style with `node:assert`.
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4889
4904
|
*/
|
|
4890
4905
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
4891
4906
|
/**
|
|
4892
4907
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4894
4909
|
*/
|
|
4895
4910
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
4896
4911
|
/**
|
|
4897
4912
|
* Use destructured variables over properties.
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4899
4914
|
*/
|
|
4900
4915
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
4901
4916
|
/**
|
|
4902
4917
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4904
4919
|
*/
|
|
4905
4920
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
4906
4921
|
/**
|
|
4907
4922
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4909
4924
|
*/
|
|
4910
4925
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
4911
4926
|
/**
|
|
4912
4927
|
* Move function definitions to the highest possible scope.
|
|
4913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4914
4929
|
*/
|
|
4915
4930
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
4916
4931
|
/**
|
|
4917
4932
|
* Enforce correct `Error` subclassing.
|
|
4918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4919
4934
|
*/
|
|
4920
4935
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
4921
4936
|
/**
|
|
4922
4937
|
* Enforce no spaces between braces.
|
|
4923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
4924
4939
|
*/
|
|
4925
4940
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
4926
4941
|
/**
|
|
4927
4942
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
4929
4944
|
*/
|
|
4930
4945
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
4931
4946
|
/**
|
|
4932
4947
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
4934
4949
|
*/
|
|
4935
4950
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
4936
4951
|
/**
|
|
4937
4952
|
* Add expiration conditions to TODO comments.
|
|
4938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
4939
4954
|
*/
|
|
4940
4955
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
4941
4956
|
/**
|
|
4942
4957
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
4944
4959
|
*/
|
|
4945
4960
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
4946
4961
|
/**
|
|
4947
4962
|
* Enforce a case style for filenames.
|
|
4948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
4949
4964
|
*/
|
|
4950
4965
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
4951
4966
|
/**
|
|
4952
4967
|
* Enforce specific import styles per module.
|
|
4953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
4954
4969
|
*/
|
|
4955
4970
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
4956
4971
|
/**
|
|
4957
4972
|
* 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/
|
|
4973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
4959
4974
|
*/
|
|
4960
4975
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
4961
4976
|
/**
|
|
4962
4977
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
4964
4979
|
*/
|
|
4965
4980
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
4966
4981
|
/**
|
|
4967
4982
|
* Disallow recursive access to `this` within getters and setters.
|
|
4968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
4969
4984
|
*/
|
|
4970
4985
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
4971
4986
|
/**
|
|
4972
4987
|
* Disallow anonymous functions and classes as the default export.
|
|
4973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
4974
4989
|
*/
|
|
4975
4990
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
4976
4991
|
/**
|
|
4977
4992
|
* Prevent passing a function reference directly to iterator methods.
|
|
4978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
4979
4994
|
*/
|
|
4980
4995
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
4981
4996
|
/**
|
|
4982
4997
|
* Prefer `for…of` over the `forEach` method.
|
|
4983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
4984
4999
|
*/
|
|
4985
5000
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
4986
5001
|
/**
|
|
4987
5002
|
* Disallow using the `this` argument in array methods.
|
|
4988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
4989
5004
|
*/
|
|
4990
5005
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
4991
5006
|
/**
|
|
4992
5007
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
4994
5009
|
* @deprecated
|
|
4995
5010
|
*/
|
|
4996
5011
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
4997
5012
|
/**
|
|
4998
5013
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5000
5015
|
*/
|
|
5001
5016
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5002
5017
|
/**
|
|
5003
5018
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5005
5020
|
*/
|
|
5006
5021
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5022
|
+
/**
|
|
5023
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5025
|
+
*/
|
|
5026
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5007
5027
|
/**
|
|
5008
5028
|
* Disallow member access from await expression.
|
|
5009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5010
5030
|
*/
|
|
5011
5031
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5012
5032
|
/**
|
|
5013
5033
|
* Disallow using `await` in `Promise` method parameters.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5015
5035
|
*/
|
|
5016
5036
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5017
5037
|
/**
|
|
5018
5038
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5020
5040
|
*/
|
|
5021
5041
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5022
5042
|
/**
|
|
5023
5043
|
* Do not use `document.cookie` directly.
|
|
5024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5025
5045
|
*/
|
|
5026
5046
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5027
5047
|
/**
|
|
5028
5048
|
* Disallow empty files.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5030
5050
|
*/
|
|
5031
5051
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5032
5052
|
/**
|
|
5033
5053
|
* 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/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5035
5055
|
*/
|
|
5036
5056
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5037
5057
|
/**
|
|
5038
5058
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5040
5060
|
*/
|
|
5041
5061
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5042
5062
|
/**
|
|
5043
5063
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5045
5065
|
* @deprecated
|
|
5046
5066
|
*/
|
|
5047
5067
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5048
5068
|
/**
|
|
5049
5069
|
* Disallow `instanceof` with built-in objects
|
|
5050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5051
5071
|
*/
|
|
5052
5072
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5053
5073
|
/**
|
|
5054
5074
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5056
5076
|
*/
|
|
5057
5077
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5058
5078
|
/**
|
|
5059
5079
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5061
5081
|
*/
|
|
5062
5082
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5063
5083
|
/**
|
|
5064
5084
|
* Disallow identifiers starting with `new` or `class`.
|
|
5065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5066
5086
|
*/
|
|
5067
5087
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5068
5088
|
/**
|
|
5069
5089
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5071
5091
|
* @deprecated
|
|
5072
5092
|
*/
|
|
5073
5093
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5074
5094
|
/**
|
|
5075
5095
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5077
5097
|
*/
|
|
5078
5098
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5079
5099
|
/**
|
|
5080
5100
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5082
5102
|
*/
|
|
5083
5103
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5084
5104
|
/**
|
|
5085
5105
|
* Disallow named usage of default import and export.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5087
5107
|
*/
|
|
5088
5108
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5089
5109
|
/**
|
|
5090
5110
|
* Disallow negated conditions.
|
|
5091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5092
5112
|
*/
|
|
5093
5113
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5094
5114
|
/**
|
|
5095
5115
|
* Disallow negated expression in equality check.
|
|
5096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5097
5117
|
*/
|
|
5098
5118
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5099
5119
|
/**
|
|
5100
5120
|
* Disallow nested ternary expressions.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5102
5122
|
*/
|
|
5103
5123
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5104
5124
|
/**
|
|
5105
5125
|
* Disallow `new Array()`.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5107
5127
|
*/
|
|
5108
5128
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5109
5129
|
/**
|
|
5110
5130
|
* 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/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5112
5132
|
*/
|
|
5113
5133
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5114
5134
|
/**
|
|
5115
5135
|
* Disallow the use of the `null` literal.
|
|
5116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5117
5137
|
*/
|
|
5118
5138
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5119
5139
|
/**
|
|
5120
5140
|
* Disallow the use of objects as default parameters.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5122
5142
|
*/
|
|
5123
5143
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5124
5144
|
/**
|
|
5125
5145
|
* Disallow `process.exit()`.
|
|
5126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5127
5147
|
*/
|
|
5128
5148
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5129
5149
|
/**
|
|
5130
5150
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5132
5152
|
*/
|
|
5133
5153
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5134
5154
|
/**
|
|
5135
5155
|
* Disallow classes that only have static members.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5137
5157
|
*/
|
|
5138
5158
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5139
5159
|
/**
|
|
5140
5160
|
* Disallow `then` property.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5142
5162
|
*/
|
|
5143
5163
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5144
5164
|
/**
|
|
5145
5165
|
* Disallow assigning `this` to a variable.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5147
5167
|
*/
|
|
5148
5168
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5149
5169
|
/**
|
|
5150
5170
|
* Disallow comparing `undefined` using `typeof`.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5152
5172
|
*/
|
|
5153
5173
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5154
5174
|
/**
|
|
5155
5175
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5157
5177
|
*/
|
|
5158
5178
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5159
5179
|
/**
|
|
5160
5180
|
* 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/
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5162
5182
|
*/
|
|
5163
5183
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5164
5184
|
/**
|
|
5165
5185
|
* Disallow awaiting non-promise values.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5167
5187
|
*/
|
|
5168
5188
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5169
5189
|
/**
|
|
5170
5190
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5172
5192
|
*/
|
|
5173
5193
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5174
5194
|
/**
|
|
5175
5195
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5177
5197
|
*/
|
|
5178
5198
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5179
5199
|
/**
|
|
5180
5200
|
* Disallow unreadable array destructuring.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5182
5202
|
*/
|
|
5183
5203
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5184
5204
|
/**
|
|
5185
5205
|
* Disallow unreadable IIFEs.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5187
5207
|
*/
|
|
5188
5208
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5189
5209
|
/**
|
|
5190
5210
|
* Disallow unused object properties.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5192
5212
|
*/
|
|
5193
5213
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5194
5214
|
/**
|
|
5195
5215
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5197
5217
|
*/
|
|
5198
5218
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5199
5219
|
/**
|
|
5200
5220
|
* Disallow useless fallback when spreading in object literals.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5202
5222
|
*/
|
|
5203
5223
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5204
5224
|
/**
|
|
5205
5225
|
* Disallow useless array length check.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5207
5227
|
*/
|
|
5208
5228
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5209
5229
|
/**
|
|
5210
5230
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5212
5232
|
*/
|
|
5213
5233
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5214
5234
|
/**
|
|
5215
5235
|
* Disallow unnecessary spread.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5217
5237
|
*/
|
|
5218
5238
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5219
5239
|
/**
|
|
5220
5240
|
* Disallow useless case in switch statements.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5222
5242
|
*/
|
|
5223
5243
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5224
5244
|
/**
|
|
5225
5245
|
* Disallow useless `undefined`.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5227
5247
|
*/
|
|
5228
5248
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5229
5249
|
/**
|
|
5230
5250
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5232
5252
|
*/
|
|
5233
5253
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5234
5254
|
/**
|
|
5235
5255
|
* Enforce proper case for numeric literals.
|
|
5236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5237
5257
|
*/
|
|
5238
5258
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5239
5259
|
/**
|
|
5240
5260
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5242
5262
|
*/
|
|
5243
5263
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5244
5264
|
/**
|
|
5245
5265
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5247
5267
|
*/
|
|
5248
5268
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5249
5269
|
/**
|
|
5250
5270
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5252
5272
|
*/
|
|
5253
5273
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5254
5274
|
/**
|
|
5255
5275
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5257
5277
|
*/
|
|
5258
5278
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5259
5279
|
/**
|
|
5260
5280
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5262
5282
|
*/
|
|
5263
5283
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5264
5284
|
/**
|
|
5265
5285
|
* 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/
|
|
5286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5267
5287
|
*/
|
|
5268
5288
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5269
5289
|
/**
|
|
5270
5290
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5272
5292
|
*/
|
|
5273
5293
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5274
5294
|
/**
|
|
5275
5295
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5277
5297
|
*/
|
|
5278
5298
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5299
|
+
/**
|
|
5300
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5302
|
+
*/
|
|
5303
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5279
5304
|
/**
|
|
5280
5305
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5282
5307
|
*/
|
|
5283
5308
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5284
5309
|
/**
|
|
5285
5310
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5287
5312
|
*/
|
|
5288
5313
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5314
|
+
/**
|
|
5315
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5317
|
+
*/
|
|
5318
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5289
5319
|
/**
|
|
5290
5320
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5292
5322
|
*/
|
|
5293
5323
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5294
5324
|
/**
|
|
5295
5325
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5297
5327
|
*/
|
|
5298
5328
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5299
5329
|
/**
|
|
5300
5330
|
* Prefer default parameters over reassignment.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5302
5332
|
*/
|
|
5303
5333
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5304
5334
|
/**
|
|
5305
5335
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5307
5337
|
*/
|
|
5308
5338
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5309
5339
|
/**
|
|
5310
5340
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5312
5342
|
*/
|
|
5313
5343
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5314
5344
|
/**
|
|
5315
5345
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5317
5347
|
*/
|
|
5318
5348
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5319
5349
|
/**
|
|
5320
5350
|
* Prefer `.textContent` over `.innerText`.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5322
5352
|
*/
|
|
5323
5353
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5324
5354
|
/**
|
|
5325
5355
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5327
5357
|
*/
|
|
5328
5358
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5329
5359
|
/**
|
|
5330
5360
|
* Prefer `export…from` when re-exporting.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5332
5362
|
*/
|
|
5333
5363
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5334
5364
|
/**
|
|
5335
5365
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5337
5367
|
*/
|
|
5338
5368
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5339
5369
|
/**
|
|
5340
5370
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5342
5372
|
*/
|
|
5343
5373
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5344
5374
|
/**
|
|
5345
5375
|
* 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/
|
|
5376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5347
5377
|
*/
|
|
5348
5378
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5349
5379
|
/**
|
|
5350
5380
|
* Prefer reading a JSON file as a buffer.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5352
5382
|
*/
|
|
5353
5383
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5354
5384
|
/**
|
|
5355
5385
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5357
5387
|
*/
|
|
5358
5388
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5359
5389
|
/**
|
|
5360
5390
|
* Prefer using a logical operator over a ternary.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5362
5392
|
*/
|
|
5363
5393
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5364
5394
|
/**
|
|
5365
5395
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5367
5397
|
*/
|
|
5368
5398
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5369
5399
|
/**
|
|
5370
5400
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5372
5402
|
*/
|
|
5373
5403
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5374
5404
|
/**
|
|
5375
5405
|
* 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/
|
|
5406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5377
5407
|
*/
|
|
5378
5408
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5379
5409
|
/**
|
|
5380
5410
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5382
5412
|
*/
|
|
5383
5413
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5384
5414
|
/**
|
|
5385
5415
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5387
5417
|
*/
|
|
5388
5418
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5389
5419
|
/**
|
|
5390
5420
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5392
5422
|
*/
|
|
5393
5423
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5394
5424
|
/**
|
|
5395
5425
|
* Prefer negative index over `.length - index` when possible.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5397
5427
|
*/
|
|
5398
5428
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5399
5429
|
/**
|
|
5400
5430
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5402
5432
|
*/
|
|
5403
5433
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5404
5434
|
/**
|
|
5405
5435
|
* Prefer `Number` static properties over global ones.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5407
5437
|
*/
|
|
5408
5438
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5409
5439
|
/**
|
|
5410
5440
|
* 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/
|
|
5441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5412
5442
|
*/
|
|
5413
5443
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5414
5444
|
/**
|
|
5415
5445
|
* Prefer omitting the `catch` binding parameter.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5417
5447
|
*/
|
|
5418
5448
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5419
5449
|
/**
|
|
5420
5450
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5422
5452
|
*/
|
|
5423
5453
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5424
5454
|
/**
|
|
5425
5455
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5427
5457
|
*/
|
|
5428
5458
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5429
5459
|
/**
|
|
5430
5460
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5432
5462
|
*/
|
|
5433
5463
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5434
5464
|
/**
|
|
5435
5465
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5437
5467
|
*/
|
|
5438
5468
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5439
5469
|
/**
|
|
5440
5470
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5442
5472
|
*/
|
|
5443
5473
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5444
5474
|
/**
|
|
5445
5475
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5447
5477
|
*/
|
|
5448
5478
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5449
5479
|
/**
|
|
5450
5480
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5452
5482
|
*/
|
|
5453
5483
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5454
5484
|
/**
|
|
5455
5485
|
* 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/
|
|
5486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5457
5487
|
*/
|
|
5458
5488
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5459
5489
|
/**
|
|
5460
5490
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5462
5492
|
*/
|
|
5463
5493
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5464
5494
|
/**
|
|
5465
5495
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5467
5497
|
*/
|
|
5468
5498
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5469
5499
|
/**
|
|
5470
5500
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5472
5502
|
*/
|
|
5473
5503
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5474
5504
|
/**
|
|
5475
5505
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5477
5507
|
*/
|
|
5478
5508
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5479
5509
|
/**
|
|
5480
5510
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5482
5512
|
*/
|
|
5483
5513
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5484
5514
|
/**
|
|
5485
5515
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5487
5517
|
*/
|
|
5488
5518
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5489
5519
|
/**
|
|
5490
5520
|
* Prefer `switch` over multiple `else-if`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5492
5522
|
*/
|
|
5493
5523
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5494
5524
|
/**
|
|
5495
5525
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5497
5527
|
*/
|
|
5498
5528
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5499
5529
|
/**
|
|
5500
5530
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5502
5532
|
*/
|
|
5503
5533
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5504
5534
|
/**
|
|
5505
5535
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5507
5537
|
*/
|
|
5508
5538
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5509
5539
|
/**
|
|
5510
5540
|
* Prevent abbreviations.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5512
5542
|
*/
|
|
5513
5543
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5514
5544
|
/**
|
|
5515
5545
|
* Enforce consistent relative URL style.
|
|
5516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5517
5547
|
*/
|
|
5518
5548
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5519
5549
|
/**
|
|
5520
5550
|
* Enforce using the separator argument with `Array#join()`.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5522
5552
|
*/
|
|
5523
5553
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5554
|
+
/**
|
|
5555
|
+
* Require non-empty module attributes for imports and exports
|
|
5556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5557
|
+
*/
|
|
5558
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5524
5559
|
/**
|
|
5525
5560
|
* Require non-empty specifier list in import and export statements.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5527
5562
|
*/
|
|
5528
5563
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5529
5564
|
/**
|
|
5530
5565
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5532
5567
|
*/
|
|
5533
5568
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5534
5569
|
/**
|
|
5535
5570
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5537
5572
|
*/
|
|
5538
5573
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5539
5574
|
/**
|
|
5540
5575
|
* Enforce better string content.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5542
5577
|
*/
|
|
5543
5578
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5544
5579
|
/**
|
|
5545
5580
|
* Enforce consistent brace style for `case` clauses.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5547
5582
|
*/
|
|
5548
5583
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5549
5584
|
/**
|
|
5550
5585
|
* Fix whitespace-insensitive template indentation.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5552
5587
|
*/
|
|
5553
5588
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5554
5589
|
/**
|
|
5555
5590
|
* Enforce consistent case for text encoding identifiers.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5557
5592
|
*/
|
|
5558
5593
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5559
5594
|
/**
|
|
5560
5595
|
* Require `new` when creating an error.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5562
5597
|
*/
|
|
5563
5598
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5564
5599
|
/**
|
|
@@ -5900,7 +5935,7 @@ interface RuleOptions {
|
|
|
5900
5935
|
* disallow asynchronous actions in computed properties
|
|
5901
5936
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
5902
5937
|
*/
|
|
5903
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
5938
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
5904
5939
|
/**
|
|
5905
5940
|
* disallow the use of bare strings in `<template>`
|
|
5906
5941
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6401,7 +6436,7 @@ interface RuleOptions {
|
|
|
6401
6436
|
* disallow use of v-html to prevent XSS attack
|
|
6402
6437
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6403
6438
|
*/
|
|
6404
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6439
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6405
6440
|
/**
|
|
6406
6441
|
* disallow adding an argument to `v-model` used in custom component
|
|
6407
6442
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -6869,7 +6904,6 @@ interface RuleOptions {
|
|
|
6869
6904
|
*/
|
|
6870
6905
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
6871
6906
|
}
|
|
6872
|
-
|
|
6873
6907
|
/* ======= Declarations ======= */
|
|
6874
6908
|
// ----- accessor-pairs -----
|
|
6875
6909
|
type AccessorPairs = [] | [{
|
|
@@ -7216,6 +7250,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
7216
7250
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
7217
7251
|
ignoreForLoopInit?: boolean;
|
|
7218
7252
|
}]);
|
|
7253
|
+
// ----- jsdoc/check-alignment -----
|
|
7254
|
+
type JsdocCheckAlignment = [] | [{
|
|
7255
|
+
innerIndent?: number;
|
|
7256
|
+
}];
|
|
7219
7257
|
// ----- jsdoc/check-examples -----
|
|
7220
7258
|
type JsdocCheckExamples = [] | [{
|
|
7221
7259
|
allowInlineConfig?: boolean;
|
|
@@ -7275,6 +7313,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
7275
7313
|
type JsdocCheckTagNames = [] | [{
|
|
7276
7314
|
definedTags?: string[];
|
|
7277
7315
|
enableFixer?: boolean;
|
|
7316
|
+
inlineTags?: string[];
|
|
7278
7317
|
jsxTags?: boolean;
|
|
7279
7318
|
typed?: boolean;
|
|
7280
7319
|
}];
|
|
@@ -7433,10 +7472,17 @@ type JsdocNoTypes = [] | [{
|
|
|
7433
7472
|
}];
|
|
7434
7473
|
// ----- jsdoc/no-undefined-types -----
|
|
7435
7474
|
type JsdocNoUndefinedTypes = [] | [{
|
|
7475
|
+
checkUsedTypedefs?: boolean;
|
|
7436
7476
|
definedTypes?: string[];
|
|
7437
7477
|
disableReporting?: boolean;
|
|
7438
7478
|
markVariablesAsUsed?: boolean;
|
|
7439
7479
|
}];
|
|
7480
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
7481
|
+
type JsdocPreferImportTag = [] | [{
|
|
7482
|
+
enableFixer?: boolean;
|
|
7483
|
+
exemptTypedefs?: boolean;
|
|
7484
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
7485
|
+
}];
|
|
7440
7486
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
7441
7487
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
7442
7488
|
tags?: {
|
|
@@ -7505,6 +7551,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7505
7551
|
enableFixer?: boolean;
|
|
7506
7552
|
exemptEmptyConstructors?: boolean;
|
|
7507
7553
|
exemptEmptyFunctions?: boolean;
|
|
7554
|
+
exemptOverloadedImplementations?: boolean;
|
|
7508
7555
|
fixerMessage?: string;
|
|
7509
7556
|
minLineCount?: number;
|
|
7510
7557
|
publicOnly?: (boolean | {
|
|
@@ -7521,6 +7568,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7521
7568
|
FunctionExpression?: boolean;
|
|
7522
7569
|
MethodDefinition?: boolean;
|
|
7523
7570
|
};
|
|
7571
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
7524
7572
|
}];
|
|
7525
7573
|
// ----- jsdoc/require-param -----
|
|
7526
7574
|
type JsdocRequireParam = [] | [{
|
|
@@ -7541,6 +7589,7 @@ type JsdocRequireParam = [] | [{
|
|
|
7541
7589
|
enableRootFixer?: boolean;
|
|
7542
7590
|
exemptedBy?: string[];
|
|
7543
7591
|
ignoreWhenAllParamsMissing?: boolean;
|
|
7592
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
7544
7593
|
unnamedRootBase?: string[];
|
|
7545
7594
|
useDefaultObjectProperties?: boolean;
|
|
7546
7595
|
}];
|
|
@@ -7609,6 +7658,14 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
7609
7658
|
context?: string;
|
|
7610
7659
|
})[];
|
|
7611
7660
|
}];
|
|
7661
|
+
// ----- jsdoc/require-tags -----
|
|
7662
|
+
type JsdocRequireTags = [] | [{
|
|
7663
|
+
tags?: (string | {
|
|
7664
|
+
context?: string;
|
|
7665
|
+
tag?: string;
|
|
7666
|
+
[k: string]: unknown | undefined;
|
|
7667
|
+
})[];
|
|
7668
|
+
}];
|
|
7612
7669
|
// ----- jsdoc/require-template -----
|
|
7613
7670
|
type JsdocRequireTemplate = [] | [{
|
|
7614
7671
|
exemptedBy?: string[];
|
|
@@ -7642,7 +7699,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
7642
7699
|
comment?: string;
|
|
7643
7700
|
context?: string;
|
|
7644
7701
|
})[];
|
|
7645
|
-
exemptedBy?: string[];
|
|
7646
7702
|
next?: boolean;
|
|
7647
7703
|
}];
|
|
7648
7704
|
// ----- jsdoc/sort-tags -----
|
|
@@ -7660,6 +7716,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
7660
7716
|
applyToEndTag?: boolean;
|
|
7661
7717
|
count?: number;
|
|
7662
7718
|
endLines?: (number | null);
|
|
7719
|
+
maxBlockLines?: (number | null);
|
|
7663
7720
|
startLines?: (number | null);
|
|
7664
7721
|
tags?: {
|
|
7665
7722
|
[k: string]: {
|
|
@@ -7673,6 +7730,21 @@ type JsdocTextEscaping = [] | [{
|
|
|
7673
7730
|
escapeHTML?: boolean;
|
|
7674
7731
|
escapeMarkdown?: boolean;
|
|
7675
7732
|
}];
|
|
7733
|
+
// ----- jsdoc/type-formatting -----
|
|
7734
|
+
type JsdocTypeFormatting = [] | [{
|
|
7735
|
+
arrayBrackets?: ("angle" | "square");
|
|
7736
|
+
enableFixer?: boolean;
|
|
7737
|
+
genericDot?: boolean;
|
|
7738
|
+
objectFieldIndent?: string;
|
|
7739
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
7740
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
7741
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
7742
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
7743
|
+
separatorForSingleObjectField?: boolean;
|
|
7744
|
+
stringQuotes?: ("double" | "single");
|
|
7745
|
+
typeBracketSpacing?: string;
|
|
7746
|
+
unionSpacing?: string;
|
|
7747
|
+
}];
|
|
7676
7748
|
// ----- jsdoc/valid-types -----
|
|
7677
7749
|
type JsdocValidTypes = [] | [{
|
|
7678
7750
|
allowEmptyNamepaths?: boolean;
|
|
@@ -8884,7 +8956,7 @@ type NodeHashbang = [] | [{
|
|
|
8884
8956
|
// ----- node/no-deprecated-api -----
|
|
8885
8957
|
type NodeNoDeprecatedApi = [] | [{
|
|
8886
8958
|
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()")[];
|
|
8959
|
+
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
8960
|
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
8961
|
ignoreIndirectDependencies?: boolean;
|
|
8890
8962
|
}];
|
|
@@ -9078,7 +9150,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
9078
9150
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
9079
9151
|
version?: string;
|
|
9080
9152
|
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")[];
|
|
9153
|
+
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
9154
|
}];
|
|
9083
9155
|
// ----- node/prefer-global/buffer -----
|
|
9084
9156
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -10978,6 +11050,10 @@ type PreferReflect = [] | [{
|
|
|
10978
11050
|
type PreferRegexLiterals = [] | [{
|
|
10979
11051
|
disallowRedundantWrapping?: boolean;
|
|
10980
11052
|
}];
|
|
11053
|
+
// ----- preserve-caught-error -----
|
|
11054
|
+
type PreserveCaughtError = [] | [{
|
|
11055
|
+
requireCatchParameter?: boolean;
|
|
11056
|
+
}];
|
|
10981
11057
|
// ----- quote-props -----
|
|
10982
11058
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
10983
11059
|
keywords?: boolean;
|
|
@@ -11008,8 +11084,6 @@ type ReactHooksReactCompiler = [] | [{
|
|
|
11008
11084
|
// ----- react-naming-convention/component-name -----
|
|
11009
11085
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
11010
11086
|
allowAllCaps?: boolean;
|
|
11011
|
-
allowLeadingUnderscore?: boolean;
|
|
11012
|
-
allowNamespace?: boolean;
|
|
11013
11087
|
excepts?: string[];
|
|
11014
11088
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
11015
11089
|
})];
|
|
@@ -11032,6 +11106,21 @@ type ReactRefreshOnlyExportComponents = [] | [{
|
|
|
11032
11106
|
customHOCs?: string[];
|
|
11033
11107
|
checkJS?: boolean;
|
|
11034
11108
|
}];
|
|
11109
|
+
// ----- react/jsx-shorthand-boolean -----
|
|
11110
|
+
type ReactJsxShorthandBoolean = [] | [(-1 | 1)];
|
|
11111
|
+
// ----- react/jsx-shorthand-fragment -----
|
|
11112
|
+
type ReactJsxShorthandFragment = [] | [(-1 | 1)];
|
|
11113
|
+
// ----- react/no-forbidden-props -----
|
|
11114
|
+
type ReactNoForbiddenProps = [] | [{
|
|
11115
|
+
forbid?: (string | {
|
|
11116
|
+
excludedNodes?: string[];
|
|
11117
|
+
prop: string;
|
|
11118
|
+
} | {
|
|
11119
|
+
includedNodes?: string[];
|
|
11120
|
+
prop: string;
|
|
11121
|
+
})[];
|
|
11122
|
+
[k: string]: unknown | undefined;
|
|
11123
|
+
}];
|
|
11035
11124
|
// ----- react/no-useless-fragment -----
|
|
11036
11125
|
type ReactNoUselessFragment = [] | [{
|
|
11037
11126
|
allowExpressions?: boolean;
|
|
@@ -12653,6 +12742,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
12653
12742
|
type UnicornNoArrayReverse = [] | [{
|
|
12654
12743
|
allowExpressionStatement?: boolean;
|
|
12655
12744
|
}];
|
|
12745
|
+
// ----- unicorn/no-array-sort -----
|
|
12746
|
+
type UnicornNoArraySort = [] | [{
|
|
12747
|
+
allowExpressionStatement?: boolean;
|
|
12748
|
+
}];
|
|
12656
12749
|
// ----- unicorn/no-instanceof-builtins -----
|
|
12657
12750
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
12658
12751
|
useErrorIsError?: boolean;
|
|
@@ -12884,6 +12977,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
12884
12977
|
type VueAttributesOrder = [] | [{
|
|
12885
12978
|
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
12979
|
alphabetical?: boolean;
|
|
12980
|
+
sortLineLength?: boolean;
|
|
12887
12981
|
}];
|
|
12888
12982
|
// ----- vue/block-lang -----
|
|
12889
12983
|
type VueBlockLang = [] | [{
|
|
@@ -13530,6 +13624,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
13530
13624
|
}];
|
|
13531
13625
|
// ----- vue/next-tick-style -----
|
|
13532
13626
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
13627
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
13628
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
13629
|
+
ignoredObjectNames?: string[];
|
|
13630
|
+
}];
|
|
13533
13631
|
// ----- vue/no-bare-strings-in-template -----
|
|
13534
13632
|
type VueNoBareStringsInTemplate = [] | [{
|
|
13535
13633
|
allowlist?: string[];
|
|
@@ -13814,6 +13912,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
13814
13912
|
ignoreIncludesComment?: boolean;
|
|
13815
13913
|
ignoreStringEscape?: boolean;
|
|
13816
13914
|
}];
|
|
13915
|
+
// ----- vue/no-v-html -----
|
|
13916
|
+
type VueNoVHtml = [] | [{
|
|
13917
|
+
ignorePattern?: string;
|
|
13918
|
+
}];
|
|
13817
13919
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
13818
13920
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
13819
13921
|
allow?: string[];
|