@liwo/eslint-config 0.0.5 → 0.0.7
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/README.md +6 -0
- package/dist/index.d.ts +799 -198
- package/dist/index.js +3 -7
- package/package.json +43 -40
package/dist/index.d.ts
CHANGED
|
@@ -443,9 +443,9 @@ interface RuleOptions {
|
|
|
443
443
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
444
444
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
445
445
|
*/
|
|
446
|
-
'jsdoc/check-alignment'?: Linter.RuleEntry<
|
|
446
|
+
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>;
|
|
447
447
|
/**
|
|
448
|
-
*
|
|
448
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
449
449
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
450
450
|
*/
|
|
451
451
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>;
|
|
@@ -460,7 +460,7 @@ interface RuleOptions {
|
|
|
460
460
|
*/
|
|
461
461
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>;
|
|
462
462
|
/**
|
|
463
|
-
*
|
|
463
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
464
464
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
465
465
|
*/
|
|
466
466
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>;
|
|
@@ -485,7 +485,7 @@ interface RuleOptions {
|
|
|
485
485
|
*/
|
|
486
486
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>;
|
|
487
487
|
/**
|
|
488
|
-
* Reports invalid
|
|
488
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
489
489
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
490
490
|
*/
|
|
491
491
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>;
|
|
@@ -500,12 +500,17 @@ interface RuleOptions {
|
|
|
500
500
|
*/
|
|
501
501
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
504
504
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
505
505
|
*/
|
|
506
506
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
507
507
|
/**
|
|
508
|
-
* Reports
|
|
508
|
+
* Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
|
|
509
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
|
|
510
|
+
*/
|
|
511
|
+
'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>;
|
|
512
|
+
/**
|
|
513
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
509
514
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
510
515
|
*/
|
|
511
516
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -535,17 +540,17 @@ interface RuleOptions {
|
|
|
535
540
|
*/
|
|
536
541
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>;
|
|
537
542
|
/**
|
|
538
|
-
* Controls how and whether
|
|
543
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
539
544
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
540
545
|
*/
|
|
541
546
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
542
547
|
/**
|
|
543
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
548
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
544
549
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
545
550
|
*/
|
|
546
551
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
547
552
|
/**
|
|
548
|
-
*
|
|
553
|
+
* 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.
|
|
549
554
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
550
555
|
*/
|
|
551
556
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>;
|
|
@@ -575,22 +580,37 @@ interface RuleOptions {
|
|
|
575
580
|
*/
|
|
576
581
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
577
582
|
/**
|
|
578
|
-
* This rule reports types being used on `@param` or `@returns
|
|
583
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
579
584
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
580
585
|
*/
|
|
581
586
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>;
|
|
582
587
|
/**
|
|
583
|
-
*
|
|
588
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
584
589
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
585
590
|
*/
|
|
586
591
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
592
|
+
/**
|
|
593
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
594
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
595
|
+
*/
|
|
596
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
597
|
+
/**
|
|
598
|
+
* Reports use of `any` or `*` type
|
|
599
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
600
|
+
*/
|
|
601
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>;
|
|
602
|
+
/**
|
|
603
|
+
* Reports use of `Function` type
|
|
604
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
605
|
+
*/
|
|
606
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>;
|
|
587
607
|
/**
|
|
588
608
|
* Requires that each JSDoc line starts with an `*`.
|
|
589
609
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
590
610
|
*/
|
|
591
611
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
592
612
|
/**
|
|
593
|
-
* Requires that all functions have a description.
|
|
613
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
594
614
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
595
615
|
*/
|
|
596
616
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -600,7 +620,7 @@ interface RuleOptions {
|
|
|
600
620
|
*/
|
|
601
621
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
602
622
|
/**
|
|
603
|
-
* Requires that all functions have examples.
|
|
623
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
604
624
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
605
625
|
*/
|
|
606
626
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -610,17 +630,27 @@ interface RuleOptions {
|
|
|
610
630
|
*/
|
|
611
631
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
612
632
|
/**
|
|
613
|
-
* Requires a hyphen before the `@param` description.
|
|
633
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
614
634
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
615
635
|
*/
|
|
616
636
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
617
637
|
/**
|
|
618
|
-
*
|
|
638
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
619
639
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
620
640
|
*/
|
|
621
641
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
622
642
|
/**
|
|
623
|
-
* Requires
|
|
643
|
+
* Requires a description for `@next` tags
|
|
644
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
645
|
+
*/
|
|
646
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>;
|
|
647
|
+
/**
|
|
648
|
+
* Requires a type for `@next` tags
|
|
649
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
650
|
+
*/
|
|
651
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>;
|
|
652
|
+
/**
|
|
653
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
624
654
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
625
655
|
*/
|
|
626
656
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -630,12 +660,12 @@ interface RuleOptions {
|
|
|
630
660
|
*/
|
|
631
661
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
632
662
|
/**
|
|
633
|
-
* Requires that all
|
|
663
|
+
* Requires that all `@param` tags have names.
|
|
634
664
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
635
665
|
*/
|
|
636
666
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
637
667
|
/**
|
|
638
|
-
* Requires that each `@param` tag has a
|
|
668
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
639
669
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
640
670
|
*/
|
|
641
671
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -650,62 +680,92 @@ interface RuleOptions {
|
|
|
650
680
|
*/
|
|
651
681
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>;
|
|
652
682
|
/**
|
|
653
|
-
* Requires that all
|
|
683
|
+
* Requires that all `@property` tags have names.
|
|
654
684
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
655
685
|
*/
|
|
656
686
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>;
|
|
657
687
|
/**
|
|
658
|
-
* Requires that each `@property` tag has a
|
|
688
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
659
689
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
660
690
|
*/
|
|
661
691
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
662
692
|
/**
|
|
663
|
-
* Requires that returns are documented
|
|
693
|
+
* Requires that returns are documented with `@returns`.
|
|
664
694
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
665
695
|
*/
|
|
666
696
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
667
697
|
/**
|
|
668
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
698
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
669
699
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
670
700
|
*/
|
|
671
701
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
672
702
|
/**
|
|
673
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
703
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
674
704
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
675
705
|
*/
|
|
676
706
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
677
707
|
/**
|
|
678
|
-
* Requires that `@returns` tag has
|
|
708
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
679
709
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
680
710
|
*/
|
|
681
711
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
682
712
|
/**
|
|
683
|
-
* Requires
|
|
713
|
+
* Requires tags be present, optionally for specific contexts
|
|
714
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
715
|
+
*/
|
|
716
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
717
|
+
/**
|
|
718
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
684
719
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
685
720
|
*/
|
|
686
721
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
687
722
|
/**
|
|
688
|
-
* Requires
|
|
723
|
+
* Requires a description for `@template` tags
|
|
724
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
725
|
+
*/
|
|
726
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
|
|
727
|
+
/**
|
|
728
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
689
729
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
690
730
|
*/
|
|
691
731
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
692
732
|
/**
|
|
693
|
-
* Requires
|
|
733
|
+
* Requires a description for `@throws` tags
|
|
734
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
735
|
+
*/
|
|
736
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>;
|
|
737
|
+
/**
|
|
738
|
+
* Requires a type for `@throws` tags
|
|
739
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
740
|
+
*/
|
|
741
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>;
|
|
742
|
+
/**
|
|
743
|
+
* Requires yields are documented with `@yields` tags.
|
|
694
744
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
695
745
|
*/
|
|
696
746
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>;
|
|
697
747
|
/**
|
|
698
|
-
*
|
|
748
|
+
* 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).
|
|
699
749
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
700
750
|
*/
|
|
701
751
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
702
752
|
/**
|
|
703
|
-
*
|
|
753
|
+
* Requires a description for `@yields` tags
|
|
754
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
755
|
+
*/
|
|
756
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>;
|
|
757
|
+
/**
|
|
758
|
+
* Requires a type for `@yields` tags
|
|
759
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
760
|
+
*/
|
|
761
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>;
|
|
762
|
+
/**
|
|
763
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
704
764
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
705
765
|
*/
|
|
706
766
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
707
767
|
/**
|
|
708
|
-
* Enforces lines (or no lines) between tags.
|
|
768
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
709
769
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
710
770
|
*/
|
|
711
771
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -715,7 +775,32 @@ interface RuleOptions {
|
|
|
715
775
|
*/
|
|
716
776
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
717
777
|
/**
|
|
718
|
-
*
|
|
778
|
+
* Prefers either function properties or method signatures
|
|
779
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
|
|
780
|
+
*/
|
|
781
|
+
'jsdoc/ts-method-signature-style'?: Linter.RuleEntry<JsdocTsMethodSignatureStyle>;
|
|
782
|
+
/**
|
|
783
|
+
* Warns against use of the empty object type
|
|
784
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-empty-object-type.md#repos-sticky-header
|
|
785
|
+
*/
|
|
786
|
+
'jsdoc/ts-no-empty-object-type'?: Linter.RuleEntry<[]>;
|
|
787
|
+
/**
|
|
788
|
+
* Catches unnecessary template expressions such as string expressions within a template literal.
|
|
789
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-unnecessary-template-expression.md#repos-sticky-header
|
|
790
|
+
*/
|
|
791
|
+
'jsdoc/ts-no-unnecessary-template-expression'?: Linter.RuleEntry<JsdocTsNoUnnecessaryTemplateExpression>;
|
|
792
|
+
/**
|
|
793
|
+
* Prefers function types over call signatures when there are no other properties.
|
|
794
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-prefer-function-type.md#repos-sticky-header
|
|
795
|
+
*/
|
|
796
|
+
'jsdoc/ts-prefer-function-type'?: Linter.RuleEntry<JsdocTsPreferFunctionType>;
|
|
797
|
+
/**
|
|
798
|
+
* Formats JSDoc type values.
|
|
799
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
800
|
+
*/
|
|
801
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
802
|
+
/**
|
|
803
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
719
804
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
720
805
|
*/
|
|
721
806
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -1001,7 +1086,7 @@ interface RuleOptions {
|
|
|
1001
1086
|
* Enforce heading levels increment by one
|
|
1002
1087
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1003
1088
|
*/
|
|
1004
|
-
'markdown/heading-increment'?: Linter.RuleEntry<
|
|
1089
|
+
'markdown/heading-increment'?: Linter.RuleEntry<MarkdownHeadingIncrement>;
|
|
1005
1090
|
/**
|
|
1006
1091
|
* Disallow bare URLs
|
|
1007
1092
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
@@ -1046,12 +1131,12 @@ interface RuleOptions {
|
|
|
1046
1131
|
* Disallow headings without a space after the hash characters
|
|
1047
1132
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
1048
1133
|
*/
|
|
1049
|
-
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<
|
|
1134
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<MarkdownNoMissingAtxHeadingSpace>;
|
|
1050
1135
|
/**
|
|
1051
1136
|
* Disallow missing label references
|
|
1052
1137
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1053
1138
|
*/
|
|
1054
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
1139
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
1055
1140
|
/**
|
|
1056
1141
|
* Disallow link fragments that do not reference valid headings
|
|
1057
1142
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -1062,11 +1147,21 @@ interface RuleOptions {
|
|
|
1062
1147
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1063
1148
|
*/
|
|
1064
1149
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Disallow URLs that match defined reference identifiers
|
|
1152
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
1153
|
+
*/
|
|
1154
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>;
|
|
1065
1155
|
/**
|
|
1066
1156
|
* Disallow reversed link and image syntax
|
|
1067
1157
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
1068
1158
|
*/
|
|
1069
1159
|
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Disallow spaces around emphasis markers
|
|
1162
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md
|
|
1163
|
+
*/
|
|
1164
|
+
'markdown/no-space-in-emphasis'?: Linter.RuleEntry<MarkdownNoSpaceInEmphasis>;
|
|
1070
1165
|
/**
|
|
1071
1166
|
* Disallow unused definitions
|
|
1072
1167
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
|
|
@@ -2038,12 +2133,12 @@ interface RuleOptions {
|
|
|
2038
2133
|
*/
|
|
2039
2134
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
2040
2135
|
/**
|
|
2041
|
-
* disallow `import` declarations which import
|
|
2136
|
+
* disallow `import` declarations which import missing modules
|
|
2042
2137
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2043
2138
|
*/
|
|
2044
2139
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
2045
2140
|
/**
|
|
2046
|
-
* disallow `require()` expressions which import
|
|
2141
|
+
* disallow `require()` expressions which import missing modules
|
|
2047
2142
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2048
2143
|
*/
|
|
2049
2144
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2417,6 +2512,11 @@ interface RuleOptions {
|
|
|
2417
2512
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2418
2513
|
*/
|
|
2419
2514
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2515
|
+
/**
|
|
2516
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2517
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2518
|
+
*/
|
|
2519
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2420
2520
|
/**
|
|
2421
2521
|
* Require quotes around object literal property names
|
|
2422
2522
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -2574,16 +2674,124 @@ interface RuleOptions {
|
|
|
2574
2674
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2575
2675
|
*/
|
|
2576
2676
|
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
2677
|
+
/**
|
|
2678
|
+
* Verifies that automatic effect dependencies are compiled if opted-in
|
|
2679
|
+
*/
|
|
2680
|
+
'react-hooks/automatic-effect-dependencies'?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies>;
|
|
2681
|
+
/**
|
|
2682
|
+
* Validates against calling capitalized functions/methods instead of using JSX
|
|
2683
|
+
*/
|
|
2684
|
+
'react-hooks/capitalized-calls'?: Linter.RuleEntry<ReactHooksCapitalizedCalls>;
|
|
2685
|
+
/**
|
|
2686
|
+
* Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
|
|
2687
|
+
*/
|
|
2688
|
+
'react-hooks/component-hook-factories'?: Linter.RuleEntry<ReactHooksComponentHookFactories>;
|
|
2689
|
+
/**
|
|
2690
|
+
* Validates the compiler configuration options
|
|
2691
|
+
*/
|
|
2692
|
+
'react-hooks/config'?: Linter.RuleEntry<ReactHooksConfig>;
|
|
2693
|
+
/**
|
|
2694
|
+
* Validates usage of error boundaries instead of try/catch for errors in child components
|
|
2695
|
+
*/
|
|
2696
|
+
'react-hooks/error-boundaries'?: Linter.RuleEntry<ReactHooksErrorBoundaries>;
|
|
2577
2697
|
/**
|
|
2578
2698
|
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2579
2699
|
* @see https://github.com/facebook/react/issues/14920
|
|
2580
2700
|
*/
|
|
2581
2701
|
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>;
|
|
2702
|
+
/**
|
|
2703
|
+
* Validates usage of fbt
|
|
2704
|
+
*/
|
|
2705
|
+
'react-hooks/fbt'?: Linter.RuleEntry<ReactHooksFbt>;
|
|
2706
|
+
/**
|
|
2707
|
+
* Validates usage of `fire`
|
|
2708
|
+
*/
|
|
2709
|
+
'react-hooks/fire'?: Linter.RuleEntry<ReactHooksFire>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
|
|
2712
|
+
*/
|
|
2713
|
+
'react-hooks/gating'?: Linter.RuleEntry<ReactHooksGating>;
|
|
2714
|
+
/**
|
|
2715
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
|
|
2716
|
+
*/
|
|
2717
|
+
'react-hooks/globals'?: Linter.RuleEntry<ReactHooksGlobals>;
|
|
2718
|
+
/**
|
|
2719
|
+
* Validates the rules of hooks
|
|
2720
|
+
*/
|
|
2721
|
+
'react-hooks/hooks'?: Linter.RuleEntry<ReactHooksHooks>;
|
|
2722
|
+
/**
|
|
2723
|
+
* Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
|
|
2724
|
+
*/
|
|
2725
|
+
'react-hooks/immutability'?: Linter.RuleEntry<ReactHooksImmutability>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Validates against usage of libraries which are incompatible with memoization (manual or automatic)
|
|
2728
|
+
*/
|
|
2729
|
+
'react-hooks/incompatible-library'?: Linter.RuleEntry<ReactHooksIncompatibleLibrary>;
|
|
2730
|
+
/**
|
|
2731
|
+
* Internal invariants
|
|
2732
|
+
*/
|
|
2733
|
+
'react-hooks/invariant'?: Linter.RuleEntry<ReactHooksInvariant>;
|
|
2734
|
+
/**
|
|
2735
|
+
* Validates that effect dependencies are memoized
|
|
2736
|
+
*/
|
|
2737
|
+
'react-hooks/memoized-effect-dependencies'?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies>;
|
|
2738
|
+
/**
|
|
2739
|
+
* Validates against deriving values from state in an effect
|
|
2740
|
+
*/
|
|
2741
|
+
'react-hooks/no-deriving-state-in-effects'?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects>;
|
|
2742
|
+
/**
|
|
2743
|
+
* Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
|
|
2744
|
+
*/
|
|
2745
|
+
'react-hooks/preserve-manual-memoization'?: Linter.RuleEntry<ReactHooksPreserveManualMemoization>;
|
|
2746
|
+
/**
|
|
2747
|
+
* Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
|
|
2748
|
+
*/
|
|
2749
|
+
'react-hooks/purity'?: Linter.RuleEntry<ReactHooksPurity>;
|
|
2750
|
+
/**
|
|
2751
|
+
* Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
|
|
2752
|
+
*/
|
|
2753
|
+
'react-hooks/refs'?: Linter.RuleEntry<ReactHooksRefs>;
|
|
2754
|
+
/**
|
|
2755
|
+
* Validates against suppression of other rules
|
|
2756
|
+
*/
|
|
2757
|
+
'react-hooks/rule-suppression'?: Linter.RuleEntry<ReactHooksRuleSuppression>;
|
|
2582
2758
|
/**
|
|
2583
2759
|
* enforces the Rules of Hooks
|
|
2584
|
-
* @see https://
|
|
2760
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
2761
|
+
*/
|
|
2762
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<ReactHooksRulesOfHooks>;
|
|
2763
|
+
/**
|
|
2764
|
+
* Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
|
|
2765
|
+
*/
|
|
2766
|
+
'react-hooks/set-state-in-effect'?: Linter.RuleEntry<ReactHooksSetStateInEffect>;
|
|
2767
|
+
/**
|
|
2768
|
+
* Validates against setting state during render, which can trigger additional renders and potential infinite render loops
|
|
2769
|
+
*/
|
|
2770
|
+
'react-hooks/set-state-in-render'?: Linter.RuleEntry<ReactHooksSetStateInRender>;
|
|
2771
|
+
/**
|
|
2772
|
+
* Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
|
|
2773
|
+
*/
|
|
2774
|
+
'react-hooks/static-components'?: Linter.RuleEntry<ReactHooksStaticComponents>;
|
|
2775
|
+
/**
|
|
2776
|
+
* Validates against invalid syntax
|
|
2777
|
+
*/
|
|
2778
|
+
'react-hooks/syntax'?: Linter.RuleEntry<ReactHooksSyntax>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Unimplemented features
|
|
2781
|
+
*/
|
|
2782
|
+
'react-hooks/todo'?: Linter.RuleEntry<ReactHooksTodo>;
|
|
2783
|
+
/**
|
|
2784
|
+
* Validates against syntax that we do not plan to support in React Compiler
|
|
2785
|
+
*/
|
|
2786
|
+
'react-hooks/unsupported-syntax'?: Linter.RuleEntry<ReactHooksUnsupportedSyntax>;
|
|
2787
|
+
/**
|
|
2788
|
+
* Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2789
|
+
*/
|
|
2790
|
+
'react-hooks/use-memo'?: Linter.RuleEntry<ReactHooksUseMemo>;
|
|
2791
|
+
/**
|
|
2792
|
+
* Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2585
2793
|
*/
|
|
2586
|
-
'react-hooks/
|
|
2794
|
+
'react-hooks/void-use-memo'?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
|
|
2587
2795
|
/**
|
|
2588
2796
|
* Enforces naming conventions for components.
|
|
2589
2797
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
@@ -2832,7 +3040,7 @@ interface RuleOptions {
|
|
|
2832
3040
|
'react/no-nested-components'?: Linter.RuleEntry<[]>;
|
|
2833
3041
|
/**
|
|
2834
3042
|
* Disallow nesting lazy component declarations inside other components.
|
|
2835
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-
|
|
3043
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
2836
3044
|
*/
|
|
2837
3045
|
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
2838
3046
|
/**
|
|
@@ -3525,6 +3733,11 @@ interface RuleOptions {
|
|
|
3525
3733
|
* @see https://eslint.style/rules/eol-last
|
|
3526
3734
|
*/
|
|
3527
3735
|
'style/eol-last'?: Linter.RuleEntry<StyleEolLast>;
|
|
3736
|
+
/**
|
|
3737
|
+
* Enforce consistent spacing and line break styles inside brackets.
|
|
3738
|
+
* @see https://eslint.style/rules/list-style
|
|
3739
|
+
*/
|
|
3740
|
+
'style/exp-list-style'?: Linter.RuleEntry<StyleExpListStyle>;
|
|
3528
3741
|
/**
|
|
3529
3742
|
* Enforce line breaks between arguments of a function call
|
|
3530
3743
|
* @see https://eslint.style/rules/function-call-argument-newline
|
|
@@ -3637,8 +3850,9 @@ interface RuleOptions {
|
|
|
3637
3850
|
*/
|
|
3638
3851
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
3639
3852
|
/**
|
|
3640
|
-
* Disallow multiple spaces between inline JSX props
|
|
3853
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
3641
3854
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
3855
|
+
* @deprecated
|
|
3642
3856
|
*/
|
|
3643
3857
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
3644
3858
|
/**
|
|
@@ -3955,7 +4169,7 @@ interface RuleOptions {
|
|
|
3955
4169
|
*/
|
|
3956
4170
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
|
|
3957
4171
|
/**
|
|
3958
|
-
* require
|
|
4172
|
+
* require test file pattern
|
|
3959
4173
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
3960
4174
|
*/
|
|
3961
4175
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
|
|
@@ -3974,6 +4188,11 @@ interface RuleOptions {
|
|
|
3974
4188
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3975
4189
|
*/
|
|
3976
4190
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>;
|
|
4191
|
+
/**
|
|
4192
|
+
* enforce hoisted APIs to be on top of the file
|
|
4193
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
4194
|
+
*/
|
|
4195
|
+
'test/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
3977
4196
|
/**
|
|
3978
4197
|
* enforce a maximum number of expect per test
|
|
3979
4198
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -4135,6 +4354,11 @@ interface RuleOptions {
|
|
|
4135
4354
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4136
4355
|
*/
|
|
4137
4356
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
4357
|
+
/**
|
|
4358
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
4359
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
4360
|
+
*/
|
|
4361
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
4138
4362
|
/**
|
|
4139
4363
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
4140
4364
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -4180,6 +4404,11 @@ interface RuleOptions {
|
|
|
4180
4404
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
4181
4405
|
*/
|
|
4182
4406
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
4407
|
+
/**
|
|
4408
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
4409
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
4410
|
+
*/
|
|
4411
|
+
'test/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
4183
4412
|
/**
|
|
4184
4413
|
* enforce having hooks in consistent order
|
|
4185
4414
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -4190,6 +4419,11 @@ interface RuleOptions {
|
|
|
4190
4419
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4191
4420
|
*/
|
|
4192
4421
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
4422
|
+
/**
|
|
4423
|
+
* prefer dynamic import in mock
|
|
4424
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
4425
|
+
*/
|
|
4426
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
4193
4427
|
/**
|
|
4194
4428
|
* enforce importing Vitest globals
|
|
4195
4429
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -4848,7 +5082,7 @@ interface RuleOptions {
|
|
|
4848
5082
|
* Disallow member access on a value with type `any`
|
|
4849
5083
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
4850
5084
|
*/
|
|
4851
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
5085
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
4852
5086
|
/**
|
|
4853
5087
|
* Disallow returning a value with type `any` from a function
|
|
4854
5088
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -5095,690 +5329,725 @@ interface RuleOptions {
|
|
|
5095
5329
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5096
5330
|
/**
|
|
5097
5331
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/better-regex.md
|
|
5099
5333
|
*/
|
|
5100
5334
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
5101
5335
|
/**
|
|
5102
5336
|
* Enforce a specific parameter name in catch clauses.
|
|
5103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/catch-error-name.md
|
|
5104
5338
|
*/
|
|
5105
5339
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5106
5340
|
/**
|
|
5107
5341
|
* Enforce consistent assertion style with `node:assert`.
|
|
5108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-assert.md
|
|
5109
5343
|
*/
|
|
5110
5344
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
5111
5345
|
/**
|
|
5112
5346
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-date-clone.md
|
|
5114
5348
|
*/
|
|
5115
5349
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5116
5350
|
/**
|
|
5117
5351
|
* Use destructured variables over properties.
|
|
5118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-destructuring.md
|
|
5119
5353
|
*/
|
|
5120
5354
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
5121
5355
|
/**
|
|
5122
5356
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5124
5358
|
*/
|
|
5125
5359
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
5126
5360
|
/**
|
|
5127
5361
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-existence-index-check.md
|
|
5129
5363
|
*/
|
|
5130
5364
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
5131
5365
|
/**
|
|
5132
5366
|
* Move function definitions to the highest possible scope.
|
|
5133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-function-scoping.md
|
|
5134
5368
|
*/
|
|
5135
5369
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
5136
5370
|
/**
|
|
5137
5371
|
* Enforce correct `Error` subclassing.
|
|
5138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/custom-error-definition.md
|
|
5139
5373
|
*/
|
|
5140
5374
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
5141
5375
|
/**
|
|
5142
5376
|
* Enforce no spaces between braces.
|
|
5143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/empty-brace-spaces.md
|
|
5144
5378
|
*/
|
|
5145
5379
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
5146
5380
|
/**
|
|
5147
5381
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/error-message.md
|
|
5149
5383
|
*/
|
|
5150
5384
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
5151
5385
|
/**
|
|
5152
5386
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/escape-case.md
|
|
5154
5388
|
*/
|
|
5155
5389
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
5156
5390
|
/**
|
|
5157
5391
|
* Add expiration conditions to TODO comments.
|
|
5158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/expiring-todo-comments.md
|
|
5159
5393
|
*/
|
|
5160
5394
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
5161
5395
|
/**
|
|
5162
5396
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/explicit-length-check.md
|
|
5164
5398
|
*/
|
|
5165
5399
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
5166
5400
|
/**
|
|
5167
5401
|
* Enforce a case style for filenames.
|
|
5168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/filename-case.md
|
|
5169
5403
|
*/
|
|
5170
5404
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
5171
5405
|
/**
|
|
5172
5406
|
* Enforce specific import styles per module.
|
|
5173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/import-style.md
|
|
5174
5408
|
*/
|
|
5175
5409
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
5176
5410
|
/**
|
|
5177
5411
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/new-for-builtins.md
|
|
5179
5413
|
*/
|
|
5180
5414
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
5181
5415
|
/**
|
|
5182
5416
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5184
5418
|
*/
|
|
5185
5419
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
5186
5420
|
/**
|
|
5187
5421
|
* Disallow recursive access to `this` within getters and setters.
|
|
5188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-accessor-recursion.md
|
|
5189
5423
|
*/
|
|
5190
5424
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
5191
5425
|
/**
|
|
5192
5426
|
* Disallow anonymous functions and classes as the default export.
|
|
5193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-anonymous-default-export.md
|
|
5194
5428
|
*/
|
|
5195
5429
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
5196
5430
|
/**
|
|
5197
5431
|
* Prevent passing a function reference directly to iterator methods.
|
|
5198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-callback-reference.md
|
|
5199
5433
|
*/
|
|
5200
5434
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
5201
5435
|
/**
|
|
5202
5436
|
* Prefer `for…of` over the `forEach` method.
|
|
5203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-for-each.md
|
|
5204
5438
|
*/
|
|
5205
5439
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
5206
5440
|
/**
|
|
5207
5441
|
* Disallow using the `this` argument in array methods.
|
|
5208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-method-this-argument.md
|
|
5209
5443
|
*/
|
|
5210
5444
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
5211
5445
|
/**
|
|
5212
5446
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-array-push-push
|
|
5214
5448
|
* @deprecated
|
|
5215
5449
|
*/
|
|
5216
5450
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5217
5451
|
/**
|
|
5218
5452
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5219
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reduce.md
|
|
5220
5454
|
*/
|
|
5221
5455
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5222
5456
|
/**
|
|
5223
5457
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5458
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reverse.md
|
|
5225
5459
|
*/
|
|
5226
5460
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5461
|
+
/**
|
|
5462
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5463
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-sort.md
|
|
5464
|
+
*/
|
|
5465
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5227
5466
|
/**
|
|
5228
5467
|
* Disallow member access from await expression.
|
|
5229
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5468
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-expression-member.md
|
|
5230
5469
|
*/
|
|
5231
5470
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5232
5471
|
/**
|
|
5233
5472
|
* Disallow using `await` in `Promise` method parameters.
|
|
5234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5473
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5235
5474
|
*/
|
|
5236
5475
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5237
5476
|
/**
|
|
5238
5477
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5239
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5478
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-console-spaces.md
|
|
5240
5479
|
*/
|
|
5241
5480
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5242
5481
|
/**
|
|
5243
5482
|
* Do not use `document.cookie` directly.
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5483
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-document-cookie.md
|
|
5245
5484
|
*/
|
|
5246
5485
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5247
5486
|
/**
|
|
5248
5487
|
* Disallow empty files.
|
|
5249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5488
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-empty-file.md
|
|
5250
5489
|
*/
|
|
5251
5490
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5252
5491
|
/**
|
|
5253
5492
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5493
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-for-loop.md
|
|
5255
5494
|
*/
|
|
5256
5495
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5257
5496
|
/**
|
|
5258
5497
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5259
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5498
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-hex-escape.md
|
|
5260
5499
|
*/
|
|
5261
5500
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5501
|
+
/**
|
|
5502
|
+
* Disallow immediate mutation after variable assignment.
|
|
5503
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-immediate-mutation.md
|
|
5504
|
+
*/
|
|
5505
|
+
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
5262
5506
|
/**
|
|
5263
5507
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5508
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
5265
5509
|
* @deprecated
|
|
5266
5510
|
*/
|
|
5267
5511
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5268
5512
|
/**
|
|
5269
5513
|
* Disallow `instanceof` with built-in objects
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-instanceof-builtins.md
|
|
5271
5515
|
*/
|
|
5272
5516
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5273
5517
|
/**
|
|
5274
5518
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5276
5520
|
*/
|
|
5277
5521
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5278
5522
|
/**
|
|
5279
5523
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5281
5525
|
*/
|
|
5282
5526
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5283
5527
|
/**
|
|
5284
5528
|
* Disallow identifiers starting with `new` or `class`.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-keyword-prefix.md
|
|
5286
5530
|
*/
|
|
5287
5531
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5288
5532
|
/**
|
|
5289
5533
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5291
5535
|
* @deprecated
|
|
5292
5536
|
*/
|
|
5293
5537
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5294
5538
|
/**
|
|
5295
5539
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-lonely-if.md
|
|
5297
5541
|
*/
|
|
5298
5542
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5299
5543
|
/**
|
|
5300
5544
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5302
5546
|
*/
|
|
5303
5547
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5304
5548
|
/**
|
|
5305
5549
|
* Disallow named usage of default import and export.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-named-default.md
|
|
5307
5551
|
*/
|
|
5308
5552
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5309
5553
|
/**
|
|
5310
5554
|
* Disallow negated conditions.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negated-condition.md
|
|
5312
5556
|
*/
|
|
5313
5557
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5314
5558
|
/**
|
|
5315
5559
|
* Disallow negated expression in equality check.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5317
5561
|
*/
|
|
5318
5562
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5319
5563
|
/**
|
|
5320
5564
|
* Disallow nested ternary expressions.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-nested-ternary.md
|
|
5322
5566
|
*/
|
|
5323
5567
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5324
5568
|
/**
|
|
5325
5569
|
* Disallow `new Array()`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-array.md
|
|
5327
5571
|
*/
|
|
5328
5572
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5329
5573
|
/**
|
|
5330
5574
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-buffer.md
|
|
5332
5576
|
*/
|
|
5333
5577
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5334
5578
|
/**
|
|
5335
5579
|
* Disallow the use of the `null` literal.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-null.md
|
|
5337
5581
|
*/
|
|
5338
5582
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5339
5583
|
/**
|
|
5340
5584
|
* Disallow the use of objects as default parameters.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5342
5586
|
*/
|
|
5343
5587
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5344
5588
|
/**
|
|
5345
5589
|
* Disallow `process.exit()`.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-process-exit.md
|
|
5347
5591
|
*/
|
|
5348
5592
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5349
5593
|
/**
|
|
5350
5594
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5352
5596
|
*/
|
|
5353
5597
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5354
5598
|
/**
|
|
5355
5599
|
* Disallow classes that only have static members.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-static-only-class.md
|
|
5357
5601
|
*/
|
|
5358
5602
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5359
5603
|
/**
|
|
5360
5604
|
* Disallow `then` property.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-thenable.md
|
|
5362
5606
|
*/
|
|
5363
5607
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5364
5608
|
/**
|
|
5365
5609
|
* Disallow assigning `this` to a variable.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-this-assignment.md
|
|
5367
5611
|
*/
|
|
5368
5612
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5369
5613
|
/**
|
|
5370
5614
|
* Disallow comparing `undefined` using `typeof`.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-typeof-undefined.md
|
|
5372
5616
|
*/
|
|
5373
5617
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5374
5618
|
/**
|
|
5375
5619
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5377
5621
|
*/
|
|
5378
5622
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5379
5623
|
/**
|
|
5380
5624
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
5382
5626
|
*/
|
|
5383
5627
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5384
5628
|
/**
|
|
5385
5629
|
* Disallow awaiting non-promise values.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-await.md
|
|
5387
5631
|
*/
|
|
5388
5632
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5389
5633
|
/**
|
|
5390
5634
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5392
5636
|
*/
|
|
5393
5637
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5394
5638
|
/**
|
|
5395
5639
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
5397
5641
|
*/
|
|
5398
5642
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5399
5643
|
/**
|
|
5400
5644
|
* Disallow unreadable array destructuring.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5402
5646
|
*/
|
|
5403
5647
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5404
5648
|
/**
|
|
5405
5649
|
* Disallow unreadable IIFEs.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-iife.md
|
|
5407
5651
|
*/
|
|
5408
5652
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5409
5653
|
/**
|
|
5410
5654
|
* Disallow unused object properties.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unused-properties.md
|
|
5412
5656
|
*/
|
|
5413
5657
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5658
|
+
/**
|
|
5659
|
+
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
5660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-collection-argument.md
|
|
5661
|
+
*/
|
|
5662
|
+
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
5414
5663
|
/**
|
|
5415
5664
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5417
5666
|
*/
|
|
5418
5667
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5419
5668
|
/**
|
|
5420
5669
|
* Disallow useless fallback when spreading in object literals.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5422
5671
|
*/
|
|
5423
5672
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5424
5673
|
/**
|
|
5425
5674
|
* Disallow useless array length check.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-length-check.md
|
|
5427
5676
|
*/
|
|
5428
5677
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5429
5678
|
/**
|
|
5430
5679
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5432
5681
|
*/
|
|
5433
5682
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5434
5683
|
/**
|
|
5435
5684
|
* Disallow unnecessary spread.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-spread.md
|
|
5437
5686
|
*/
|
|
5438
5687
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5439
5688
|
/**
|
|
5440
5689
|
* Disallow useless case in switch statements.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-switch-case.md
|
|
5442
5691
|
*/
|
|
5443
5692
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5444
5693
|
/**
|
|
5445
5694
|
* Disallow useless `undefined`.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-undefined.md
|
|
5447
5696
|
*/
|
|
5448
5697
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5449
5698
|
/**
|
|
5450
5699
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-zero-fractions.md
|
|
5452
5701
|
*/
|
|
5453
5702
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5454
5703
|
/**
|
|
5455
5704
|
* Enforce proper case for numeric literals.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/number-literal-case.md
|
|
5457
5706
|
*/
|
|
5458
5707
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5459
5708
|
/**
|
|
5460
5709
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/numeric-separators-style.md
|
|
5462
5711
|
*/
|
|
5463
5712
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5464
5713
|
/**
|
|
5465
5714
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-add-event-listener.md
|
|
5467
5716
|
*/
|
|
5468
5717
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5469
5718
|
/**
|
|
5470
5719
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-find.md
|
|
5472
5721
|
*/
|
|
5473
5722
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5474
5723
|
/**
|
|
5475
5724
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat.md
|
|
5477
5726
|
*/
|
|
5478
5727
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5479
5728
|
/**
|
|
5480
5729
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat-map.md
|
|
5482
5731
|
*/
|
|
5483
5732
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5484
5733
|
/**
|
|
5485
5734
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-index-of.md
|
|
5487
5736
|
*/
|
|
5488
5737
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5489
5738
|
/**
|
|
5490
5739
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-some.md
|
|
5492
5741
|
*/
|
|
5493
5742
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5494
5743
|
/**
|
|
5495
5744
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-at.md
|
|
5497
5746
|
*/
|
|
5498
5747
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5748
|
+
/**
|
|
5749
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-bigint-literals.md
|
|
5751
|
+
*/
|
|
5752
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5499
5753
|
/**
|
|
5500
5754
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5502
5756
|
*/
|
|
5503
5757
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5504
5758
|
/**
|
|
5505
5759
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-class-fields.md
|
|
5507
5761
|
*/
|
|
5508
5762
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5763
|
+
/**
|
|
5764
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-classlist-toggle.md
|
|
5766
|
+
*/
|
|
5767
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5509
5768
|
/**
|
|
5510
5769
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-code-point.md
|
|
5512
5771
|
*/
|
|
5513
5772
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5514
5773
|
/**
|
|
5515
5774
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
|
|
5517
5776
|
*/
|
|
5518
5777
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5519
5778
|
/**
|
|
5520
5779
|
* Prefer default parameters over reassignment.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-default-parameters.md
|
|
5522
5781
|
*/
|
|
5523
5782
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5524
5783
|
/**
|
|
5525
5784
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-append.md
|
|
5527
5786
|
*/
|
|
5528
5787
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5529
5788
|
/**
|
|
5530
5789
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5532
5791
|
*/
|
|
5533
5792
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5534
5793
|
/**
|
|
5535
5794
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5537
5796
|
*/
|
|
5538
5797
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5539
5798
|
/**
|
|
5540
5799
|
* Prefer `.textContent` over `.innerText`.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5542
5801
|
*/
|
|
5543
5802
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5544
5803
|
/**
|
|
5545
5804
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-event-target.md
|
|
5547
5806
|
*/
|
|
5548
5807
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5549
5808
|
/**
|
|
5550
5809
|
* Prefer `export…from` when re-exporting.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-export-from.md
|
|
5552
5811
|
*/
|
|
5553
5812
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5554
5813
|
/**
|
|
5555
5814
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-global-this.md
|
|
5557
5816
|
*/
|
|
5558
5817
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5559
5818
|
/**
|
|
5560
5819
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-import-meta-properties.md
|
|
5562
5821
|
*/
|
|
5563
5822
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5564
5823
|
/**
|
|
5565
5824
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-includes.md
|
|
5567
5826
|
*/
|
|
5568
5827
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5569
5828
|
/**
|
|
5570
5829
|
* Prefer reading a JSON file as a buffer.
|
|
5571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5572
5831
|
*/
|
|
5573
5832
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5574
5833
|
/**
|
|
5575
5834
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5577
5836
|
*/
|
|
5578
5837
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5579
5838
|
/**
|
|
5580
5839
|
* Prefer using a logical operator over a ternary.
|
|
5581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5582
5841
|
*/
|
|
5583
5842
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5584
5843
|
/**
|
|
5585
5844
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-min-max.md
|
|
5587
5846
|
*/
|
|
5588
5847
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5589
5848
|
/**
|
|
5590
5849
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-trunc.md
|
|
5592
5851
|
*/
|
|
5593
5852
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5594
5853
|
/**
|
|
5595
5854
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5597
5856
|
*/
|
|
5598
5857
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5599
5858
|
/**
|
|
5600
5859
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5602
5861
|
*/
|
|
5603
5862
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5604
5863
|
/**
|
|
5605
5864
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5865
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-module.md
|
|
5607
5866
|
*/
|
|
5608
5867
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5609
5868
|
/**
|
|
5610
5869
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5870
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5612
5871
|
*/
|
|
5613
5872
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5614
5873
|
/**
|
|
5615
5874
|
* Prefer negative index over `.length - index` when possible.
|
|
5616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-negative-index.md
|
|
5617
5876
|
*/
|
|
5618
5877
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5619
5878
|
/**
|
|
5620
5879
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5880
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-node-protocol.md
|
|
5622
5881
|
*/
|
|
5623
5882
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5624
5883
|
/**
|
|
5625
5884
|
* Prefer `Number` static properties over global ones.
|
|
5626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-number-properties.md
|
|
5627
5886
|
*/
|
|
5628
5887
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5629
5888
|
/**
|
|
5630
5889
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5890
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-object-from-entries.md
|
|
5632
5891
|
*/
|
|
5633
5892
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5634
5893
|
/**
|
|
5635
5894
|
* Prefer omitting the `catch` binding parameter.
|
|
5636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5637
5896
|
*/
|
|
5638
5897
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5639
5898
|
/**
|
|
5640
5899
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5900
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-prototype-methods.md
|
|
5642
5901
|
*/
|
|
5643
5902
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5644
5903
|
/**
|
|
5645
5904
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-query-selector.md
|
|
5647
5906
|
*/
|
|
5648
5907
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5649
5908
|
/**
|
|
5650
5909
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5910
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-reflect-apply.md
|
|
5652
5911
|
*/
|
|
5653
5912
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5654
5913
|
/**
|
|
5655
5914
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5915
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-regexp-test.md
|
|
5657
5916
|
*/
|
|
5658
5917
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5918
|
+
/**
|
|
5919
|
+
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
5920
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-response-static-json.md
|
|
5921
|
+
*/
|
|
5922
|
+
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
5659
5923
|
/**
|
|
5660
5924
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5925
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-has.md
|
|
5662
5926
|
*/
|
|
5663
5927
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5664
5928
|
/**
|
|
5665
5929
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5930
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-size.md
|
|
5667
5931
|
*/
|
|
5668
5932
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5669
5933
|
/**
|
|
5670
5934
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5935
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-single-call.md
|
|
5672
5936
|
*/
|
|
5673
5937
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5674
5938
|
/**
|
|
5675
5939
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5940
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-spread.md
|
|
5677
5941
|
*/
|
|
5678
5942
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5679
5943
|
/**
|
|
5680
5944
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-raw.md
|
|
5682
5946
|
*/
|
|
5683
5947
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5684
5948
|
/**
|
|
5685
5949
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5950
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-replace-all.md
|
|
5687
5951
|
*/
|
|
5688
5952
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5689
5953
|
/**
|
|
5690
5954
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-slice.md
|
|
5692
5956
|
*/
|
|
5693
5957
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5694
5958
|
/**
|
|
5695
5959
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5697
5961
|
*/
|
|
5698
5962
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5699
5963
|
/**
|
|
5700
5964
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5965
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5702
5966
|
*/
|
|
5703
5967
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5704
5968
|
/**
|
|
5705
5969
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5970
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-structured-clone.md
|
|
5707
5971
|
*/
|
|
5708
5972
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5709
5973
|
/**
|
|
5710
5974
|
* Prefer `switch` over multiple `else-if`.
|
|
5711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5975
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-switch.md
|
|
5712
5976
|
*/
|
|
5713
5977
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5714
5978
|
/**
|
|
5715
5979
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5980
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-ternary.md
|
|
5717
5981
|
*/
|
|
5718
5982
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5719
5983
|
/**
|
|
5720
5984
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5985
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-top-level-await.md
|
|
5722
5986
|
*/
|
|
5723
5987
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5724
5988
|
/**
|
|
5725
5989
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5726
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5990
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-type-error.md
|
|
5727
5991
|
*/
|
|
5728
5992
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5729
5993
|
/**
|
|
5730
5994
|
* Prevent abbreviations.
|
|
5731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5995
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prevent-abbreviations.md
|
|
5732
5996
|
*/
|
|
5733
5997
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5734
5998
|
/**
|
|
5735
5999
|
* Enforce consistent relative URL style.
|
|
5736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6000
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/relative-url-style.md
|
|
5737
6001
|
*/
|
|
5738
6002
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5739
6003
|
/**
|
|
5740
6004
|
* Enforce using the separator argument with `Array#join()`.
|
|
5741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6005
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-array-join-separator.md
|
|
5742
6006
|
*/
|
|
5743
6007
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
6008
|
+
/**
|
|
6009
|
+
* Require non-empty module attributes for imports and exports
|
|
6010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-attributes.md
|
|
6011
|
+
*/
|
|
6012
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5744
6013
|
/**
|
|
5745
6014
|
* Require non-empty specifier list in import and export statements.
|
|
5746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-specifiers.md
|
|
5747
6016
|
*/
|
|
5748
6017
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5749
6018
|
/**
|
|
5750
6019
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5752
6021
|
*/
|
|
5753
6022
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5754
6023
|
/**
|
|
5755
6024
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5756
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6025
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-post-message-target-origin.md
|
|
5757
6026
|
*/
|
|
5758
6027
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5759
6028
|
/**
|
|
5760
6029
|
* Enforce better string content.
|
|
5761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/string-content.md
|
|
5762
6031
|
*/
|
|
5763
6032
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5764
6033
|
/**
|
|
5765
6034
|
* Enforce consistent brace style for `case` clauses.
|
|
5766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/switch-case-braces.md
|
|
5767
6036
|
*/
|
|
5768
6037
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5769
6038
|
/**
|
|
5770
6039
|
* Fix whitespace-insensitive template indentation.
|
|
5771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/template-indent.md
|
|
5772
6041
|
*/
|
|
5773
6042
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5774
6043
|
/**
|
|
5775
6044
|
* Enforce consistent case for text encoding identifiers.
|
|
5776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6045
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5777
6046
|
*/
|
|
5778
|
-
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<
|
|
6047
|
+
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
5779
6048
|
/**
|
|
5780
6049
|
* Require `new` when creating an error.
|
|
5781
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/throw-new-error.md
|
|
5782
6051
|
*/
|
|
5783
6052
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5784
6053
|
/**
|
|
@@ -5795,7 +6064,7 @@ interface RuleOptions {
|
|
|
5795
6064
|
* Order of UnoCSS utilities in class attribute
|
|
5796
6065
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
5797
6066
|
*/
|
|
5798
|
-
'unocss/order'?: Linter.RuleEntry<
|
|
6067
|
+
'unocss/order'?: Linter.RuleEntry<UnocssOrder>;
|
|
5799
6068
|
/**
|
|
5800
6069
|
* Order of UnoCSS attributes
|
|
5801
6070
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
@@ -6120,7 +6389,7 @@ interface RuleOptions {
|
|
|
6120
6389
|
* disallow asynchronous actions in computed properties
|
|
6121
6390
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
6122
6391
|
*/
|
|
6123
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
6392
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
6124
6393
|
/**
|
|
6125
6394
|
* disallow the use of bare strings in `<template>`
|
|
6126
6395
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6361,6 +6630,16 @@ interface RuleOptions {
|
|
|
6361
6630
|
* @see https://eslint.vuejs.org/rules/no-mutating-props.html
|
|
6362
6631
|
*/
|
|
6363
6632
|
'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
|
|
6633
|
+
/**
|
|
6634
|
+
* Disallow negated conditions in `<template>`
|
|
6635
|
+
* @see https://eslint.vuejs.org/rules/no-negated-condition.html
|
|
6636
|
+
*/
|
|
6637
|
+
'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
6638
|
+
/**
|
|
6639
|
+
* disallow negated conditions in v-if/v-else
|
|
6640
|
+
* @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
|
|
6641
|
+
*/
|
|
6642
|
+
'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
|
|
6364
6643
|
/**
|
|
6365
6644
|
* disallow parsing errors in `<template>`
|
|
6366
6645
|
* @see https://eslint.vuejs.org/rules/no-parsing-error.html
|
|
@@ -6611,7 +6890,7 @@ interface RuleOptions {
|
|
|
6611
6890
|
* disallow use of v-html to prevent XSS attack
|
|
6612
6891
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6613
6892
|
*/
|
|
6614
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6893
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6615
6894
|
/**
|
|
6616
6895
|
* disallow adding an argument to `v-model` used in custom component
|
|
6617
6896
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -7219,7 +7498,6 @@ interface RuleOptions {
|
|
|
7219
7498
|
*/
|
|
7220
7499
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
7221
7500
|
}
|
|
7222
|
-
|
|
7223
7501
|
/* ======= Declarations ======= */
|
|
7224
7502
|
// ----- accessor-pairs -----
|
|
7225
7503
|
type AccessorPairs = [] | [{
|
|
@@ -7579,6 +7857,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
7579
7857
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
7580
7858
|
ignoreForLoopInit?: boolean;
|
|
7581
7859
|
}]);
|
|
7860
|
+
// ----- jsdoc/check-alignment -----
|
|
7861
|
+
type JsdocCheckAlignment = [] | [{
|
|
7862
|
+
innerIndent?: number;
|
|
7863
|
+
}];
|
|
7582
7864
|
// ----- jsdoc/check-examples -----
|
|
7583
7865
|
type JsdocCheckExamples = [] | [{
|
|
7584
7866
|
allowInlineConfig?: boolean;
|
|
@@ -7638,6 +7920,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
7638
7920
|
type JsdocCheckTagNames = [] | [{
|
|
7639
7921
|
definedTags?: string[];
|
|
7640
7922
|
enableFixer?: boolean;
|
|
7923
|
+
inlineTags?: string[];
|
|
7641
7924
|
jsxTags?: boolean;
|
|
7642
7925
|
typed?: boolean;
|
|
7643
7926
|
}];
|
|
@@ -7680,6 +7963,12 @@ type JsdocConvertToJsdocComments = [] | [{
|
|
|
7680
7963
|
type JsdocEmptyTags = [] | [{
|
|
7681
7964
|
tags?: string[];
|
|
7682
7965
|
}];
|
|
7966
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
7967
|
+
type JsdocEscapeInlineTags = [] | [{
|
|
7968
|
+
allowedInlineTags?: string[];
|
|
7969
|
+
enableFixer?: boolean;
|
|
7970
|
+
fixType?: ("backticks" | "backslash");
|
|
7971
|
+
}];
|
|
7683
7972
|
// ----- jsdoc/implements-on-classes -----
|
|
7684
7973
|
type JsdocImplementsOnClasses = [] | [{
|
|
7685
7974
|
contexts?: (string | {
|
|
@@ -7796,10 +8085,17 @@ type JsdocNoTypes = [] | [{
|
|
|
7796
8085
|
}];
|
|
7797
8086
|
// ----- jsdoc/no-undefined-types -----
|
|
7798
8087
|
type JsdocNoUndefinedTypes = [] | [{
|
|
8088
|
+
checkUsedTypedefs?: boolean;
|
|
7799
8089
|
definedTypes?: string[];
|
|
7800
8090
|
disableReporting?: boolean;
|
|
7801
8091
|
markVariablesAsUsed?: boolean;
|
|
7802
8092
|
}];
|
|
8093
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8094
|
+
type JsdocPreferImportTag = [] | [{
|
|
8095
|
+
enableFixer?: boolean;
|
|
8096
|
+
exemptTypedefs?: boolean;
|
|
8097
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
8098
|
+
}];
|
|
7803
8099
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
7804
8100
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
7805
8101
|
tags?: {
|
|
@@ -7868,6 +8164,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7868
8164
|
enableFixer?: boolean;
|
|
7869
8165
|
exemptEmptyConstructors?: boolean;
|
|
7870
8166
|
exemptEmptyFunctions?: boolean;
|
|
8167
|
+
exemptOverloadedImplementations?: boolean;
|
|
7871
8168
|
fixerMessage?: string;
|
|
7872
8169
|
minLineCount?: number;
|
|
7873
8170
|
publicOnly?: (boolean | {
|
|
@@ -7884,6 +8181,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7884
8181
|
FunctionExpression?: boolean;
|
|
7885
8182
|
MethodDefinition?: boolean;
|
|
7886
8183
|
};
|
|
8184
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
7887
8185
|
}];
|
|
7888
8186
|
// ----- jsdoc/require-param -----
|
|
7889
8187
|
type JsdocRequireParam = [] | [{
|
|
@@ -7904,6 +8202,7 @@ type JsdocRequireParam = [] | [{
|
|
|
7904
8202
|
enableRootFixer?: boolean;
|
|
7905
8203
|
exemptedBy?: string[];
|
|
7906
8204
|
ignoreWhenAllParamsMissing?: boolean;
|
|
8205
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
7907
8206
|
unnamedRootBase?: string[];
|
|
7908
8207
|
useDefaultObjectProperties?: boolean;
|
|
7909
8208
|
}];
|
|
@@ -7956,6 +8255,7 @@ type JsdocRequireReturns = [] | [{
|
|
|
7956
8255
|
type JsdocRequireReturnsCheck = [] | [{
|
|
7957
8256
|
exemptAsync?: boolean;
|
|
7958
8257
|
exemptGenerators?: boolean;
|
|
8258
|
+
noNativeTypes?: boolean;
|
|
7959
8259
|
reportMissingReturnForUndefinedTypes?: boolean;
|
|
7960
8260
|
}];
|
|
7961
8261
|
// ----- jsdoc/require-returns-description -----
|
|
@@ -7972,8 +8272,17 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
7972
8272
|
context?: string;
|
|
7973
8273
|
})[];
|
|
7974
8274
|
}];
|
|
8275
|
+
// ----- jsdoc/require-tags -----
|
|
8276
|
+
type JsdocRequireTags = [] | [{
|
|
8277
|
+
tags?: (string | {
|
|
8278
|
+
context?: string;
|
|
8279
|
+
tag?: string;
|
|
8280
|
+
[k: string]: unknown | undefined;
|
|
8281
|
+
})[];
|
|
8282
|
+
}];
|
|
7975
8283
|
// ----- jsdoc/require-template -----
|
|
7976
8284
|
type JsdocRequireTemplate = [] | [{
|
|
8285
|
+
exemptedBy?: string[];
|
|
7977
8286
|
requireSeparateTemplates?: boolean;
|
|
7978
8287
|
}];
|
|
7979
8288
|
// ----- jsdoc/require-throws -----
|
|
@@ -8004,7 +8313,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
8004
8313
|
comment?: string;
|
|
8005
8314
|
context?: string;
|
|
8006
8315
|
})[];
|
|
8007
|
-
exemptedBy?: string[];
|
|
8008
8316
|
next?: boolean;
|
|
8009
8317
|
}];
|
|
8010
8318
|
// ----- jsdoc/sort-tags -----
|
|
@@ -8022,6 +8330,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
8022
8330
|
applyToEndTag?: boolean;
|
|
8023
8331
|
count?: number;
|
|
8024
8332
|
endLines?: (number | null);
|
|
8333
|
+
maxBlockLines?: (number | null);
|
|
8025
8334
|
startLines?: (number | null);
|
|
8026
8335
|
tags?: {
|
|
8027
8336
|
[k: string]: {
|
|
@@ -8035,6 +8344,49 @@ type JsdocTextEscaping = [] | [{
|
|
|
8035
8344
|
escapeHTML?: boolean;
|
|
8036
8345
|
escapeMarkdown?: boolean;
|
|
8037
8346
|
}];
|
|
8347
|
+
// ----- jsdoc/ts-method-signature-style -----
|
|
8348
|
+
type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
|
|
8349
|
+
enableFixer?: boolean;
|
|
8350
|
+
}];
|
|
8351
|
+
// ----- jsdoc/ts-no-unnecessary-template-expression -----
|
|
8352
|
+
type JsdocTsNoUnnecessaryTemplateExpression = [] | [{
|
|
8353
|
+
enableFixer?: boolean;
|
|
8354
|
+
}];
|
|
8355
|
+
// ----- jsdoc/ts-prefer-function-type -----
|
|
8356
|
+
type JsdocTsPreferFunctionType = [] | [{
|
|
8357
|
+
enableFixer?: boolean;
|
|
8358
|
+
}];
|
|
8359
|
+
// ----- jsdoc/type-formatting -----
|
|
8360
|
+
type JsdocTypeFormatting = [] | [{
|
|
8361
|
+
arrayBrackets?: ("angle" | "square");
|
|
8362
|
+
arrowFunctionPostReturnMarkerSpacing?: string;
|
|
8363
|
+
arrowFunctionPreReturnMarkerSpacing?: string;
|
|
8364
|
+
enableFixer?: boolean;
|
|
8365
|
+
functionOrClassParameterSpacing?: string;
|
|
8366
|
+
functionOrClassPostGenericSpacing?: string;
|
|
8367
|
+
functionOrClassPostReturnMarkerSpacing?: string;
|
|
8368
|
+
functionOrClassPreReturnMarkerSpacing?: string;
|
|
8369
|
+
functionOrClassTypeParameterSpacing?: string;
|
|
8370
|
+
genericAndTupleElementSpacing?: string;
|
|
8371
|
+
genericDot?: boolean;
|
|
8372
|
+
keyValuePostColonSpacing?: string;
|
|
8373
|
+
keyValuePostKeySpacing?: string;
|
|
8374
|
+
keyValuePostOptionalSpacing?: string;
|
|
8375
|
+
keyValuePostVariadicSpacing?: string;
|
|
8376
|
+
methodQuotes?: ("double" | "single");
|
|
8377
|
+
objectFieldIndent?: string;
|
|
8378
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
8379
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
8380
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
8381
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
8382
|
+
parameterDefaultValueSpacing?: string;
|
|
8383
|
+
postMethodNameSpacing?: string;
|
|
8384
|
+
postNewSpacing?: string;
|
|
8385
|
+
separatorForSingleObjectField?: boolean;
|
|
8386
|
+
stringQuotes?: ("double" | "single");
|
|
8387
|
+
typeBracketSpacing?: string;
|
|
8388
|
+
unionSpacing?: string;
|
|
8389
|
+
}];
|
|
8038
8390
|
// ----- jsdoc/valid-types -----
|
|
8039
8391
|
type JsdocValidTypes = [] | [{
|
|
8040
8392
|
allowEmptyNamepaths?: boolean;
|
|
@@ -8695,6 +9047,10 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
|
8695
9047
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
8696
9048
|
required?: string[];
|
|
8697
9049
|
}];
|
|
9050
|
+
// ----- markdown/heading-increment -----
|
|
9051
|
+
type MarkdownHeadingIncrement = [] | [{
|
|
9052
|
+
frontmatterTitle?: string;
|
|
9053
|
+
}];
|
|
8698
9054
|
// ----- markdown/no-duplicate-definitions -----
|
|
8699
9055
|
type MarkdownNoDuplicateDefinitions = [] | [{
|
|
8700
9056
|
allowDefinitions?: string[];
|
|
@@ -8713,6 +9069,15 @@ type MarkdownNoEmptyDefinitions = [] | [{
|
|
|
8713
9069
|
// ----- markdown/no-html -----
|
|
8714
9070
|
type MarkdownNoHtml = [] | [{
|
|
8715
9071
|
allowed?: string[];
|
|
9072
|
+
allowedIgnoreCase?: boolean;
|
|
9073
|
+
}];
|
|
9074
|
+
// ----- markdown/no-missing-atx-heading-space -----
|
|
9075
|
+
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
9076
|
+
checkClosedHeadings?: boolean;
|
|
9077
|
+
}];
|
|
9078
|
+
// ----- markdown/no-missing-label-refs -----
|
|
9079
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
9080
|
+
allowLabels?: string[];
|
|
8716
9081
|
}];
|
|
8717
9082
|
// ----- markdown/no-missing-link-fragments -----
|
|
8718
9083
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
@@ -8723,6 +9088,10 @@ type MarkdownNoMissingLinkFragments = [] | [{
|
|
|
8723
9088
|
type MarkdownNoMultipleH1 = [] | [{
|
|
8724
9089
|
frontmatterTitle?: string;
|
|
8725
9090
|
}];
|
|
9091
|
+
// ----- markdown/no-space-in-emphasis -----
|
|
9092
|
+
type MarkdownNoSpaceInEmphasis = [] | [{
|
|
9093
|
+
checkStrikethrough?: boolean;
|
|
9094
|
+
}];
|
|
8726
9095
|
// ----- markdown/no-unused-definitions -----
|
|
8727
9096
|
type MarkdownNoUnusedDefinitions = [] | [{
|
|
8728
9097
|
allowDefinitions?: string[];
|
|
@@ -9077,22 +9446,31 @@ type NoRestrictedExports = [] | [({
|
|
|
9077
9446
|
};
|
|
9078
9447
|
})];
|
|
9079
9448
|
// ----- no-restricted-globals -----
|
|
9080
|
-
type NoRestrictedGlobals = (string | {
|
|
9449
|
+
type NoRestrictedGlobals = ((string | {
|
|
9081
9450
|
name: string;
|
|
9082
9451
|
message?: string;
|
|
9083
|
-
})[]
|
|
9452
|
+
})[] | [] | [{
|
|
9453
|
+
globals: (string | {
|
|
9454
|
+
name: string;
|
|
9455
|
+
message?: string;
|
|
9456
|
+
})[];
|
|
9457
|
+
checkGlobalObject?: boolean;
|
|
9458
|
+
globalObjects?: string[];
|
|
9459
|
+
}]);
|
|
9084
9460
|
// ----- no-restricted-imports -----
|
|
9085
9461
|
type NoRestrictedImports = ((string | {
|
|
9086
9462
|
name: string;
|
|
9087
9463
|
message?: string;
|
|
9088
9464
|
importNames?: string[];
|
|
9089
9465
|
allowImportNames?: string[];
|
|
9466
|
+
allowTypeImports?: boolean;
|
|
9090
9467
|
})[] | [] | [{
|
|
9091
9468
|
paths?: (string | {
|
|
9092
9469
|
name: string;
|
|
9093
9470
|
message?: string;
|
|
9094
9471
|
importNames?: string[];
|
|
9095
9472
|
allowImportNames?: string[];
|
|
9473
|
+
allowTypeImports?: boolean;
|
|
9096
9474
|
})[];
|
|
9097
9475
|
patterns?: (string[] | ({
|
|
9098
9476
|
[k: string]: unknown | undefined;
|
|
@@ -9280,7 +9658,7 @@ type NodeHashbang = [] | [{
|
|
|
9280
9658
|
// ----- node/no-deprecated-api -----
|
|
9281
9659
|
type NodeNoDeprecatedApi = [] | [{
|
|
9282
9660
|
version?: string;
|
|
9283
|
-
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()")[];
|
|
9661
|
+
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()")[];
|
|
9284
9662
|
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")[];
|
|
9285
9663
|
ignoreIndirectDependencies?: boolean;
|
|
9286
9664
|
}];
|
|
@@ -9474,7 +9852,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
9474
9852
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
9475
9853
|
version?: string;
|
|
9476
9854
|
allowExperimental?: boolean;
|
|
9477
|
-
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")[];
|
|
9855
|
+
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")[];
|
|
9478
9856
|
}];
|
|
9479
9857
|
// ----- node/prefer-global/buffer -----
|
|
9480
9858
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -9575,6 +9953,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
9575
9953
|
var?: ("always" | "never" | "consecutive");
|
|
9576
9954
|
let?: ("always" | "never" | "consecutive");
|
|
9577
9955
|
const?: ("always" | "never" | "consecutive");
|
|
9956
|
+
using?: ("always" | "never" | "consecutive");
|
|
9957
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
9578
9958
|
} | {
|
|
9579
9959
|
initialized?: ("always" | "never" | "consecutive");
|
|
9580
9960
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -11372,6 +11752,10 @@ type PreferReflect = [] | [{
|
|
|
11372
11752
|
type PreferRegexLiterals = [] | [{
|
|
11373
11753
|
disallowRedundantWrapping?: boolean;
|
|
11374
11754
|
}];
|
|
11755
|
+
// ----- preserve-caught-error -----
|
|
11756
|
+
type PreserveCaughtError = [] | [{
|
|
11757
|
+
requireCatchParameter?: boolean;
|
|
11758
|
+
}];
|
|
11375
11759
|
// ----- quote-props -----
|
|
11376
11760
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
11377
11761
|
keywords?: boolean;
|
|
@@ -11390,16 +11774,128 @@ type ReactDomNoUnknownProperty = [] | [{
|
|
|
11390
11774
|
ignore?: string[];
|
|
11391
11775
|
requireDataLowercase?: boolean;
|
|
11392
11776
|
}];
|
|
11777
|
+
// ----- react-hooks/automatic-effect-dependencies -----
|
|
11778
|
+
type ReactHooksAutomaticEffectDependencies = [] | [{
|
|
11779
|
+
[k: string]: unknown | undefined;
|
|
11780
|
+
}];
|
|
11781
|
+
// ----- react-hooks/capitalized-calls -----
|
|
11782
|
+
type ReactHooksCapitalizedCalls = [] | [{
|
|
11783
|
+
[k: string]: unknown | undefined;
|
|
11784
|
+
}];
|
|
11785
|
+
// ----- react-hooks/component-hook-factories -----
|
|
11786
|
+
type ReactHooksComponentHookFactories = [] | [{
|
|
11787
|
+
[k: string]: unknown | undefined;
|
|
11788
|
+
}];
|
|
11789
|
+
// ----- react-hooks/config -----
|
|
11790
|
+
type ReactHooksConfig = [] | [{
|
|
11791
|
+
[k: string]: unknown | undefined;
|
|
11792
|
+
}];
|
|
11793
|
+
// ----- react-hooks/error-boundaries -----
|
|
11794
|
+
type ReactHooksErrorBoundaries = [] | [{
|
|
11795
|
+
[k: string]: unknown | undefined;
|
|
11796
|
+
}];
|
|
11393
11797
|
// ----- react-hooks/exhaustive-deps -----
|
|
11394
11798
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
11395
11799
|
additionalHooks?: string;
|
|
11396
11800
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
11801
|
+
experimental_autoDependenciesHooks?: string[];
|
|
11802
|
+
requireExplicitEffectDeps?: boolean;
|
|
11803
|
+
}];
|
|
11804
|
+
// ----- react-hooks/fbt -----
|
|
11805
|
+
type ReactHooksFbt = [] | [{
|
|
11806
|
+
[k: string]: unknown | undefined;
|
|
11807
|
+
}];
|
|
11808
|
+
// ----- react-hooks/fire -----
|
|
11809
|
+
type ReactHooksFire = [] | [{
|
|
11810
|
+
[k: string]: unknown | undefined;
|
|
11811
|
+
}];
|
|
11812
|
+
// ----- react-hooks/gating -----
|
|
11813
|
+
type ReactHooksGating = [] | [{
|
|
11814
|
+
[k: string]: unknown | undefined;
|
|
11815
|
+
}];
|
|
11816
|
+
// ----- react-hooks/globals -----
|
|
11817
|
+
type ReactHooksGlobals = [] | [{
|
|
11818
|
+
[k: string]: unknown | undefined;
|
|
11819
|
+
}];
|
|
11820
|
+
// ----- react-hooks/hooks -----
|
|
11821
|
+
type ReactHooksHooks = [] | [{
|
|
11822
|
+
[k: string]: unknown | undefined;
|
|
11823
|
+
}];
|
|
11824
|
+
// ----- react-hooks/immutability -----
|
|
11825
|
+
type ReactHooksImmutability = [] | [{
|
|
11826
|
+
[k: string]: unknown | undefined;
|
|
11827
|
+
}];
|
|
11828
|
+
// ----- react-hooks/incompatible-library -----
|
|
11829
|
+
type ReactHooksIncompatibleLibrary = [] | [{
|
|
11830
|
+
[k: string]: unknown | undefined;
|
|
11831
|
+
}];
|
|
11832
|
+
// ----- react-hooks/invariant -----
|
|
11833
|
+
type ReactHooksInvariant = [] | [{
|
|
11834
|
+
[k: string]: unknown | undefined;
|
|
11835
|
+
}];
|
|
11836
|
+
// ----- react-hooks/memoized-effect-dependencies -----
|
|
11837
|
+
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
11838
|
+
[k: string]: unknown | undefined;
|
|
11839
|
+
}];
|
|
11840
|
+
// ----- react-hooks/no-deriving-state-in-effects -----
|
|
11841
|
+
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
11842
|
+
[k: string]: unknown | undefined;
|
|
11843
|
+
}];
|
|
11844
|
+
// ----- react-hooks/preserve-manual-memoization -----
|
|
11845
|
+
type ReactHooksPreserveManualMemoization = [] | [{
|
|
11846
|
+
[k: string]: unknown | undefined;
|
|
11847
|
+
}];
|
|
11848
|
+
// ----- react-hooks/purity -----
|
|
11849
|
+
type ReactHooksPurity = [] | [{
|
|
11850
|
+
[k: string]: unknown | undefined;
|
|
11851
|
+
}];
|
|
11852
|
+
// ----- react-hooks/refs -----
|
|
11853
|
+
type ReactHooksRefs = [] | [{
|
|
11854
|
+
[k: string]: unknown | undefined;
|
|
11855
|
+
}];
|
|
11856
|
+
// ----- react-hooks/rule-suppression -----
|
|
11857
|
+
type ReactHooksRuleSuppression = [] | [{
|
|
11858
|
+
[k: string]: unknown | undefined;
|
|
11859
|
+
}];
|
|
11860
|
+
// ----- react-hooks/rules-of-hooks -----
|
|
11861
|
+
type ReactHooksRulesOfHooks = [] | [{
|
|
11862
|
+
additionalHooks?: string;
|
|
11863
|
+
}];
|
|
11864
|
+
// ----- react-hooks/set-state-in-effect -----
|
|
11865
|
+
type ReactHooksSetStateInEffect = [] | [{
|
|
11866
|
+
[k: string]: unknown | undefined;
|
|
11867
|
+
}];
|
|
11868
|
+
// ----- react-hooks/set-state-in-render -----
|
|
11869
|
+
type ReactHooksSetStateInRender = [] | [{
|
|
11870
|
+
[k: string]: unknown | undefined;
|
|
11871
|
+
}];
|
|
11872
|
+
// ----- react-hooks/static-components -----
|
|
11873
|
+
type ReactHooksStaticComponents = [] | [{
|
|
11874
|
+
[k: string]: unknown | undefined;
|
|
11875
|
+
}];
|
|
11876
|
+
// ----- react-hooks/syntax -----
|
|
11877
|
+
type ReactHooksSyntax = [] | [{
|
|
11878
|
+
[k: string]: unknown | undefined;
|
|
11879
|
+
}];
|
|
11880
|
+
// ----- react-hooks/todo -----
|
|
11881
|
+
type ReactHooksTodo = [] | [{
|
|
11882
|
+
[k: string]: unknown | undefined;
|
|
11883
|
+
}];
|
|
11884
|
+
// ----- react-hooks/unsupported-syntax -----
|
|
11885
|
+
type ReactHooksUnsupportedSyntax = [] | [{
|
|
11886
|
+
[k: string]: unknown | undefined;
|
|
11887
|
+
}];
|
|
11888
|
+
// ----- react-hooks/use-memo -----
|
|
11889
|
+
type ReactHooksUseMemo = [] | [{
|
|
11890
|
+
[k: string]: unknown | undefined;
|
|
11891
|
+
}];
|
|
11892
|
+
// ----- react-hooks/void-use-memo -----
|
|
11893
|
+
type ReactHooksVoidUseMemo = [] | [{
|
|
11894
|
+
[k: string]: unknown | undefined;
|
|
11397
11895
|
}];
|
|
11398
11896
|
// ----- react-naming-convention/component-name -----
|
|
11399
11897
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
11400
11898
|
allowAllCaps?: boolean;
|
|
11401
|
-
allowLeadingUnderscore?: boolean;
|
|
11402
|
-
allowNamespace?: boolean;
|
|
11403
11899
|
excepts?: string[];
|
|
11404
11900
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
11405
11901
|
})];
|
|
@@ -11816,6 +12312,50 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
11816
12312
|
type StyleDotLocation = [] | [("object" | "property")];
|
|
11817
12313
|
// ----- style/eol-last -----
|
|
11818
12314
|
type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
12315
|
+
// ----- style/exp-list-style -----
|
|
12316
|
+
type StyleExpListStyle = [] | [{
|
|
12317
|
+
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
12318
|
+
multiLine?: _StyleExpListStyle_MultiLineConfig;
|
|
12319
|
+
overrides?: {
|
|
12320
|
+
"[]"?: _StyleExpListStyle_BaseConfig;
|
|
12321
|
+
"{}"?: _StyleExpListStyle_BaseConfig;
|
|
12322
|
+
"<>"?: _StyleExpListStyle_BaseConfig;
|
|
12323
|
+
"()"?: _StyleExpListStyle_BaseConfig;
|
|
12324
|
+
ArrayExpression?: _StyleExpListStyle_BaseConfig;
|
|
12325
|
+
ArrayPattern?: _StyleExpListStyle_BaseConfig;
|
|
12326
|
+
ArrowFunctionExpression?: _StyleExpListStyle_BaseConfig;
|
|
12327
|
+
CallExpression?: _StyleExpListStyle_BaseConfig;
|
|
12328
|
+
ExportNamedDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
12329
|
+
FunctionDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
12330
|
+
FunctionExpression?: _StyleExpListStyle_BaseConfig;
|
|
12331
|
+
ImportDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
12332
|
+
ImportAttributes?: _StyleExpListStyle_BaseConfig;
|
|
12333
|
+
NewExpression?: _StyleExpListStyle_BaseConfig;
|
|
12334
|
+
ObjectExpression?: _StyleExpListStyle_BaseConfig;
|
|
12335
|
+
ObjectPattern?: _StyleExpListStyle_BaseConfig;
|
|
12336
|
+
TSDeclareFunction?: _StyleExpListStyle_BaseConfig;
|
|
12337
|
+
TSFunctionType?: _StyleExpListStyle_BaseConfig;
|
|
12338
|
+
TSInterfaceBody?: _StyleExpListStyle_BaseConfig;
|
|
12339
|
+
TSEnumBody?: _StyleExpListStyle_BaseConfig;
|
|
12340
|
+
TSTupleType?: _StyleExpListStyle_BaseConfig;
|
|
12341
|
+
TSTypeLiteral?: _StyleExpListStyle_BaseConfig;
|
|
12342
|
+
TSTypeParameterDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
12343
|
+
TSTypeParameterInstantiation?: _StyleExpListStyle_BaseConfig;
|
|
12344
|
+
JSONArrayExpression?: _StyleExpListStyle_BaseConfig;
|
|
12345
|
+
JSONObjectExpression?: _StyleExpListStyle_BaseConfig;
|
|
12346
|
+
};
|
|
12347
|
+
}];
|
|
12348
|
+
interface _StyleExpListStyle_SingleLineConfig {
|
|
12349
|
+
spacing?: ("always" | "never");
|
|
12350
|
+
maxItems?: number;
|
|
12351
|
+
}
|
|
12352
|
+
interface _StyleExpListStyle_MultiLineConfig {
|
|
12353
|
+
minItems?: number;
|
|
12354
|
+
}
|
|
12355
|
+
interface _StyleExpListStyle_BaseConfig {
|
|
12356
|
+
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
12357
|
+
multiline?: _StyleExpListStyle_MultiLineConfig;
|
|
12358
|
+
}
|
|
11819
12359
|
// ----- style/function-call-argument-newline -----
|
|
11820
12360
|
type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
11821
12361
|
// ----- style/function-call-spacing -----
|
|
@@ -11846,6 +12386,10 @@ type StyleGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither"
|
|
|
11846
12386
|
before?: boolean;
|
|
11847
12387
|
after?: boolean;
|
|
11848
12388
|
});
|
|
12389
|
+
shorthand?: (("before" | "after" | "both" | "neither") | {
|
|
12390
|
+
before?: boolean;
|
|
12391
|
+
after?: boolean;
|
|
12392
|
+
});
|
|
11849
12393
|
})];
|
|
11850
12394
|
// ----- style/implicit-arrow-linebreak -----
|
|
11851
12395
|
type StyleImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
@@ -11858,6 +12402,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
11858
12402
|
const?: (number | ("first" | "off"));
|
|
11859
12403
|
using?: (number | ("first" | "off"));
|
|
11860
12404
|
});
|
|
12405
|
+
assignmentOperator?: (number | "off");
|
|
11861
12406
|
outerIIFEBody?: (number | "off");
|
|
11862
12407
|
MemberExpression?: (number | "off");
|
|
11863
12408
|
FunctionDeclaration?: {
|
|
@@ -11880,7 +12425,11 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
11880
12425
|
ObjectExpression?: (number | ("first" | "off"));
|
|
11881
12426
|
ImportDeclaration?: (number | ("first" | "off"));
|
|
11882
12427
|
flatTernaryExpressions?: boolean;
|
|
11883
|
-
offsetTernaryExpressions?: boolean
|
|
12428
|
+
offsetTernaryExpressions?: (boolean | {
|
|
12429
|
+
CallExpression?: boolean;
|
|
12430
|
+
AwaitExpression?: boolean;
|
|
12431
|
+
NewExpression?: boolean;
|
|
12432
|
+
});
|
|
11884
12433
|
offsetTernaryExpressionsOffsetCallExpressions?: boolean;
|
|
11885
12434
|
ignoredNodes?: string[];
|
|
11886
12435
|
ignoreComments?: boolean;
|
|
@@ -12322,7 +12871,7 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12322
12871
|
before?: boolean;
|
|
12323
12872
|
after?: boolean;
|
|
12324
12873
|
};
|
|
12325
|
-
|
|
12874
|
+
arguments?: {
|
|
12326
12875
|
before?: boolean;
|
|
12327
12876
|
after?: boolean;
|
|
12328
12877
|
};
|
|
@@ -12338,6 +12887,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12338
12887
|
before?: boolean;
|
|
12339
12888
|
after?: boolean;
|
|
12340
12889
|
};
|
|
12890
|
+
eval?: {
|
|
12891
|
+
before?: boolean;
|
|
12892
|
+
after?: boolean;
|
|
12893
|
+
};
|
|
12341
12894
|
from?: {
|
|
12342
12895
|
before?: boolean;
|
|
12343
12896
|
after?: boolean;
|
|
@@ -12354,11 +12907,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12354
12907
|
before?: boolean;
|
|
12355
12908
|
after?: boolean;
|
|
12356
12909
|
};
|
|
12357
|
-
|
|
12910
|
+
set?: {
|
|
12358
12911
|
before?: boolean;
|
|
12359
12912
|
after?: boolean;
|
|
12360
12913
|
};
|
|
12361
|
-
|
|
12914
|
+
type?: {
|
|
12362
12915
|
before?: boolean;
|
|
12363
12916
|
after?: boolean;
|
|
12364
12917
|
};
|
|
@@ -12370,7 +12923,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12370
12923
|
before?: boolean;
|
|
12371
12924
|
after?: boolean;
|
|
12372
12925
|
};
|
|
12373
|
-
|
|
12926
|
+
accessor?: {
|
|
12927
|
+
before?: boolean;
|
|
12928
|
+
after?: boolean;
|
|
12929
|
+
};
|
|
12930
|
+
satisfies?: {
|
|
12374
12931
|
before?: boolean;
|
|
12375
12932
|
after?: boolean;
|
|
12376
12933
|
};
|
|
@@ -12573,6 +13130,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
12573
13130
|
LogicalExpression?: boolean;
|
|
12574
13131
|
AwaitExpression?: boolean;
|
|
12575
13132
|
};
|
|
13133
|
+
ignoredNodes?: string[];
|
|
12576
13134
|
}]);
|
|
12577
13135
|
// ----- style/no-mixed-operators -----
|
|
12578
13136
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -12660,6 +13218,19 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
12660
13218
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
12661
13219
|
arraysInObjects?: boolean;
|
|
12662
13220
|
objectsInObjects?: boolean;
|
|
13221
|
+
overrides?: {
|
|
13222
|
+
ObjectPattern?: ("always" | "never");
|
|
13223
|
+
ObjectExpression?: ("always" | "never");
|
|
13224
|
+
ImportDeclaration?: ("always" | "never");
|
|
13225
|
+
ImportAttributes?: ("always" | "never");
|
|
13226
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
13227
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
13228
|
+
TSMappedType?: ("always" | "never");
|
|
13229
|
+
TSTypeLiteral?: ("always" | "never");
|
|
13230
|
+
TSInterfaceBody?: ("always" | "never");
|
|
13231
|
+
TSEnumBody?: ("always" | "never");
|
|
13232
|
+
};
|
|
13233
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
12663
13234
|
}];
|
|
12664
13235
|
// ----- style/object-property-newline -----
|
|
12665
13236
|
type StyleObjectPropertyNewline = [] | [{
|
|
@@ -12688,7 +13259,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
12688
13259
|
// ----- style/padding-line-between-statements -----
|
|
12689
13260
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12690
13261
|
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
|
|
12691
|
-
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "
|
|
13262
|
+
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
12692
13263
|
type StylePaddingLineBetweenStatements = {
|
|
12693
13264
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
12694
13265
|
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
@@ -13737,6 +14308,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
13737
14308
|
checkLiteralConstAssertions?: boolean;
|
|
13738
14309
|
typesToIgnore?: string[];
|
|
13739
14310
|
}];
|
|
14311
|
+
// ----- ts/no-unsafe-member-access -----
|
|
14312
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
14313
|
+
allowOptionalChaining?: boolean;
|
|
14314
|
+
}];
|
|
13740
14315
|
// ----- ts/no-unused-expressions -----
|
|
13741
14316
|
type TsNoUnusedExpressions = [] | [{
|
|
13742
14317
|
allowShortCircuit?: boolean;
|
|
@@ -13754,6 +14329,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
13754
14329
|
destructuredArrayIgnorePattern?: string;
|
|
13755
14330
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
13756
14331
|
ignoreRestSiblings?: boolean;
|
|
14332
|
+
ignoreUsingDeclarations?: boolean;
|
|
13757
14333
|
reportUsedIgnorePattern?: boolean;
|
|
13758
14334
|
vars?: ("all" | "local");
|
|
13759
14335
|
varsIgnorePattern?: string;
|
|
@@ -14052,6 +14628,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
14052
14628
|
type UnicornNoArrayReverse = [] | [{
|
|
14053
14629
|
allowExpressionStatement?: boolean;
|
|
14054
14630
|
}];
|
|
14631
|
+
// ----- unicorn/no-array-sort -----
|
|
14632
|
+
type UnicornNoArraySort = [] | [{
|
|
14633
|
+
allowExpressionStatement?: boolean;
|
|
14634
|
+
}];
|
|
14055
14635
|
// ----- unicorn/no-instanceof-builtins -----
|
|
14056
14636
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
14057
14637
|
useErrorIsError?: boolean;
|
|
@@ -14200,11 +14780,20 @@ type UnicornTemplateIndent = [] | [{
|
|
|
14200
14780
|
selectors?: string[];
|
|
14201
14781
|
comments?: string[];
|
|
14202
14782
|
}];
|
|
14783
|
+
// ----- unicorn/text-encoding-identifier-case -----
|
|
14784
|
+
type UnicornTextEncodingIdentifierCase = [] | [{
|
|
14785
|
+
withDash?: boolean;
|
|
14786
|
+
}];
|
|
14203
14787
|
// ----- unocss/enforce-class-compile -----
|
|
14204
14788
|
type UnocssEnforceClassCompile = [] | [{
|
|
14205
14789
|
prefix?: string;
|
|
14206
14790
|
enableFix?: boolean;
|
|
14207
14791
|
}];
|
|
14792
|
+
// ----- unocss/order -----
|
|
14793
|
+
type UnocssOrder = [] | [{
|
|
14794
|
+
unoFunctions?: string[];
|
|
14795
|
+
unoVariables?: string[];
|
|
14796
|
+
}];
|
|
14208
14797
|
// ----- unused-imports/no-unused-imports -----
|
|
14209
14798
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
14210
14799
|
args?: ("all" | "after-used" | "none");
|
|
@@ -14214,6 +14803,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
14214
14803
|
destructuredArrayIgnorePattern?: string;
|
|
14215
14804
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
14216
14805
|
ignoreRestSiblings?: boolean;
|
|
14806
|
+
ignoreUsingDeclarations?: boolean;
|
|
14217
14807
|
reportUsedIgnorePattern?: boolean;
|
|
14218
14808
|
vars?: ("all" | "local");
|
|
14219
14809
|
varsIgnorePattern?: string;
|
|
@@ -14227,6 +14817,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
14227
14817
|
destructuredArrayIgnorePattern?: string;
|
|
14228
14818
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
14229
14819
|
ignoreRestSiblings?: boolean;
|
|
14820
|
+
ignoreUsingDeclarations?: boolean;
|
|
14230
14821
|
reportUsedIgnorePattern?: boolean;
|
|
14231
14822
|
vars?: ("all" | "local");
|
|
14232
14823
|
varsIgnorePattern?: string;
|
|
@@ -14278,6 +14869,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
14278
14869
|
type VueAttributesOrder = [] | [{
|
|
14279
14870
|
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")[])[];
|
|
14280
14871
|
alphabetical?: boolean;
|
|
14872
|
+
sortLineLength?: boolean;
|
|
14281
14873
|
}];
|
|
14282
14874
|
// ----- vue/block-lang -----
|
|
14283
14875
|
type VueBlockLang = [] | [{
|
|
@@ -14924,6 +15516,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
14924
15516
|
}];
|
|
14925
15517
|
// ----- vue/next-tick-style -----
|
|
14926
15518
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
15519
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
15520
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
15521
|
+
ignoredObjectNames?: string[];
|
|
15522
|
+
}];
|
|
14927
15523
|
// ----- vue/no-bare-strings-in-template -----
|
|
14928
15524
|
type VueNoBareStringsInTemplate = [] | [{
|
|
14929
15525
|
allowlist?: string[];
|
|
@@ -14957,6 +15553,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
|
|
|
14957
15553
|
// ----- vue/no-deprecated-slot-attribute -----
|
|
14958
15554
|
type VueNoDeprecatedSlotAttribute = [] | [{
|
|
14959
15555
|
ignore?: string[];
|
|
15556
|
+
ignoreParents?: string[];
|
|
14960
15557
|
}];
|
|
14961
15558
|
// ----- vue/no-dupe-keys -----
|
|
14962
15559
|
type VueNoDupeKeys = [] | [{
|
|
@@ -15207,6 +15804,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
15207
15804
|
ignoreIncludesComment?: boolean;
|
|
15208
15805
|
ignoreStringEscape?: boolean;
|
|
15209
15806
|
}];
|
|
15807
|
+
// ----- vue/no-v-html -----
|
|
15808
|
+
type VueNoVHtml = [] | [{
|
|
15809
|
+
ignorePattern?: string;
|
|
15810
|
+
}];
|
|
15210
15811
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
15211
15812
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
15212
15813
|
allow?: string[];
|
|
@@ -16326,4 +16927,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
16326
16927
|
declare function isInEditorEnv(): boolean;
|
|
16327
16928
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
16328
16929
|
//#endregion
|
|
16329
|
-
export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, StylisticOptions, TypedFlatConfigItem, combine, command, comments, eslintConfig as default, defaultPluginRenaming, disables, ensurePackages,
|
|
16930
|
+
export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, StylisticOptions, TypedFlatConfigItem, combine, command, comments, eslintConfig as default, eslintConfig, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|