@lincy/eslint-config 5.8.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-DWy1uDak.cjs +39 -0
- package/dist/index.cjs +92 -88
- package/dist/index.d.cts +756 -299
- package/dist/index.d.ts +757 -300
- package/dist/index.js +61 -50
- package/dist/lib-B2tdYoXA.cjs +10938 -0
- package/dist/lib-DMY_mkdT.js +10961 -0
- package/package.json +42 -41
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
2
|
+
import { Linter } from "eslint";
|
|
2
3
|
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
3
4
|
import { ParserOptions } from "@typescript-eslint/parser";
|
|
4
5
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
5
6
|
import { Options } from "eslint-processor-vue-blocks";
|
|
6
|
-
import { Linter } from "eslint";
|
|
7
7
|
|
|
8
8
|
//#region src/typegen.d.ts
|
|
9
9
|
interface RuleOptions {
|
|
@@ -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,12 @@ interface RuleOptions {
|
|
|
715
775
|
*/
|
|
716
776
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
717
777
|
/**
|
|
718
|
-
*
|
|
778
|
+
* Formats JSDoc type values.
|
|
779
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
780
|
+
*/
|
|
781
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
782
|
+
/**
|
|
783
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
719
784
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
720
785
|
*/
|
|
721
786
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -1001,7 +1066,7 @@ interface RuleOptions {
|
|
|
1001
1066
|
* Enforce heading levels increment by one
|
|
1002
1067
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1003
1068
|
*/
|
|
1004
|
-
'markdown/heading-increment'?: Linter.RuleEntry<
|
|
1069
|
+
'markdown/heading-increment'?: Linter.RuleEntry<MarkdownHeadingIncrement>;
|
|
1005
1070
|
/**
|
|
1006
1071
|
* Disallow bare URLs
|
|
1007
1072
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
@@ -1046,12 +1111,12 @@ interface RuleOptions {
|
|
|
1046
1111
|
* Disallow headings without a space after the hash characters
|
|
1047
1112
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
1048
1113
|
*/
|
|
1049
|
-
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<
|
|
1114
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<MarkdownNoMissingAtxHeadingSpace>;
|
|
1050
1115
|
/**
|
|
1051
1116
|
* Disallow missing label references
|
|
1052
1117
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1053
1118
|
*/
|
|
1054
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
1119
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
1055
1120
|
/**
|
|
1056
1121
|
* Disallow link fragments that do not reference valid headings
|
|
1057
1122
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -1062,11 +1127,21 @@ interface RuleOptions {
|
|
|
1062
1127
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1063
1128
|
*/
|
|
1064
1129
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Disallow URLs that match defined reference identifiers
|
|
1132
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
1133
|
+
*/
|
|
1134
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>;
|
|
1065
1135
|
/**
|
|
1066
1136
|
* Disallow reversed link and image syntax
|
|
1067
1137
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
1068
1138
|
*/
|
|
1069
1139
|
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Disallow spaces around emphasis markers
|
|
1142
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md
|
|
1143
|
+
*/
|
|
1144
|
+
'markdown/no-space-in-emphasis'?: Linter.RuleEntry<MarkdownNoSpaceInEmphasis>;
|
|
1070
1145
|
/**
|
|
1071
1146
|
* Disallow unused definitions
|
|
1072
1147
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
|
|
@@ -2038,12 +2113,12 @@ interface RuleOptions {
|
|
|
2038
2113
|
*/
|
|
2039
2114
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
2040
2115
|
/**
|
|
2041
|
-
* disallow `import` declarations which import
|
|
2116
|
+
* disallow `import` declarations which import missing modules
|
|
2042
2117
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2043
2118
|
*/
|
|
2044
2119
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
2045
2120
|
/**
|
|
2046
|
-
* disallow `require()` expressions which import
|
|
2121
|
+
* disallow `require()` expressions which import missing modules
|
|
2047
2122
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2048
2123
|
*/
|
|
2049
2124
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2417,6 +2492,11 @@ interface RuleOptions {
|
|
|
2417
2492
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2418
2493
|
*/
|
|
2419
2494
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2497
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2498
|
+
*/
|
|
2499
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2420
2500
|
/**
|
|
2421
2501
|
* Require quotes around object literal property names
|
|
2422
2502
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -2434,11 +2514,6 @@ interface RuleOptions {
|
|
|
2434
2514
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
2435
2515
|
*/
|
|
2436
2516
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
2437
|
-
/**
|
|
2438
|
-
* Disallow `children` in void DOM elements.
|
|
2439
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2440
|
-
*/
|
|
2441
|
-
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>;
|
|
2442
2517
|
/**
|
|
2443
2518
|
* Disallow `dangerouslySetInnerHTML`.
|
|
2444
2519
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -2470,7 +2545,7 @@ interface RuleOptions {
|
|
|
2470
2545
|
*/
|
|
2471
2546
|
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
|
|
2472
2547
|
/**
|
|
2473
|
-
* Enforces explicit `sandbox`
|
|
2548
|
+
* Enforces explicit `sandbox` prop for `iframe` elements.
|
|
2474
2549
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
|
|
2475
2550
|
*/
|
|
2476
2551
|
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
@@ -2494,6 +2569,11 @@ interface RuleOptions {
|
|
|
2494
2569
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2495
2570
|
*/
|
|
2496
2571
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
|
|
2572
|
+
/**
|
|
2573
|
+
* Disallows the use of string style prop.
|
|
2574
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
2575
|
+
*/
|
|
2576
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
2497
2577
|
/**
|
|
2498
2578
|
* Disallow unknown `DOM` property.
|
|
2499
2579
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -2520,70 +2600,133 @@ interface RuleOptions {
|
|
|
2520
2600
|
*/
|
|
2521
2601
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
2522
2602
|
/**
|
|
2523
|
-
* Enforces
|
|
2524
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2603
|
+
* Enforces React Dom is imported via a namespace import.
|
|
2604
|
+
* @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
2525
2605
|
*/
|
|
2526
|
-
'react-
|
|
2606
|
+
'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2527
2607
|
/**
|
|
2528
|
-
* Disallow
|
|
2529
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2608
|
+
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
2609
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2530
2610
|
*/
|
|
2531
|
-
'react-hooks-extra/
|
|
2611
|
+
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
|
|
2532
2612
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2613
|
+
* Verifies that automatic effect dependencies are compiled if opted-in
|
|
2535
2614
|
*/
|
|
2536
|
-
'react-hooks
|
|
2615
|
+
'react-hooks/automatic-effect-dependencies'?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies>;
|
|
2537
2616
|
/**
|
|
2538
|
-
*
|
|
2539
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2617
|
+
* Validates against calling capitalized functions/methods instead of using JSX
|
|
2540
2618
|
*/
|
|
2541
|
-
'react-hooks
|
|
2619
|
+
'react-hooks/capitalized-calls'?: Linter.RuleEntry<ReactHooksCapitalizedCalls>;
|
|
2542
2620
|
/**
|
|
2543
|
-
*
|
|
2544
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2621
|
+
* Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
|
|
2545
2622
|
*/
|
|
2546
|
-
'react-hooks
|
|
2623
|
+
'react-hooks/component-hook-factories'?: Linter.RuleEntry<ReactHooksComponentHookFactories>;
|
|
2547
2624
|
/**
|
|
2548
|
-
*
|
|
2549
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2625
|
+
* Validates the compiler configuration options
|
|
2550
2626
|
*/
|
|
2551
|
-
'react-hooks
|
|
2627
|
+
'react-hooks/config'?: Linter.RuleEntry<ReactHooksConfig>;
|
|
2552
2628
|
/**
|
|
2553
|
-
*
|
|
2554
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2629
|
+
* Validates usage of error boundaries instead of try/catch for errors in child components
|
|
2555
2630
|
*/
|
|
2556
|
-
'react-hooks
|
|
2631
|
+
'react-hooks/error-boundaries'?: Linter.RuleEntry<ReactHooksErrorBoundaries>;
|
|
2557
2632
|
/**
|
|
2558
|
-
*
|
|
2559
|
-
* @see https://
|
|
2633
|
+
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2634
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
2560
2635
|
*/
|
|
2561
|
-
'react-hooks
|
|
2636
|
+
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>;
|
|
2562
2637
|
/**
|
|
2563
|
-
*
|
|
2564
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2638
|
+
* Validates usage of fbt
|
|
2565
2639
|
*/
|
|
2566
|
-
'react-hooks
|
|
2640
|
+
'react-hooks/fbt'?: Linter.RuleEntry<ReactHooksFbt>;
|
|
2567
2641
|
/**
|
|
2568
|
-
*
|
|
2569
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2642
|
+
* Validates usage of `fire`
|
|
2570
2643
|
*/
|
|
2571
|
-
'react-hooks
|
|
2644
|
+
'react-hooks/fire'?: Linter.RuleEntry<ReactHooksFire>;
|
|
2572
2645
|
/**
|
|
2573
|
-
*
|
|
2574
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2646
|
+
* Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
|
|
2575
2647
|
*/
|
|
2576
|
-
'react-hooks
|
|
2648
|
+
'react-hooks/gating'?: Linter.RuleEntry<ReactHooksGating>;
|
|
2577
2649
|
/**
|
|
2578
|
-
*
|
|
2579
|
-
* @see https://github.com/facebook/react/issues/14920
|
|
2650
|
+
* 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)
|
|
2580
2651
|
*/
|
|
2581
|
-
'react-hooks/
|
|
2652
|
+
'react-hooks/globals'?: Linter.RuleEntry<ReactHooksGlobals>;
|
|
2653
|
+
/**
|
|
2654
|
+
* Validates the rules of hooks
|
|
2655
|
+
*/
|
|
2656
|
+
'react-hooks/hooks'?: Linter.RuleEntry<ReactHooksHooks>;
|
|
2657
|
+
/**
|
|
2658
|
+
* 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)
|
|
2659
|
+
*/
|
|
2660
|
+
'react-hooks/immutability'?: Linter.RuleEntry<ReactHooksImmutability>;
|
|
2661
|
+
/**
|
|
2662
|
+
* Validates against usage of libraries which are incompatible with memoization (manual or automatic)
|
|
2663
|
+
*/
|
|
2664
|
+
'react-hooks/incompatible-library'?: Linter.RuleEntry<ReactHooksIncompatibleLibrary>;
|
|
2665
|
+
/**
|
|
2666
|
+
* Internal invariants
|
|
2667
|
+
*/
|
|
2668
|
+
'react-hooks/invariant'?: Linter.RuleEntry<ReactHooksInvariant>;
|
|
2669
|
+
/**
|
|
2670
|
+
* Validates that effect dependencies are memoized
|
|
2671
|
+
*/
|
|
2672
|
+
'react-hooks/memoized-effect-dependencies'?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies>;
|
|
2673
|
+
/**
|
|
2674
|
+
* Validates against deriving values from state in an effect
|
|
2675
|
+
*/
|
|
2676
|
+
'react-hooks/no-deriving-state-in-effects'?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects>;
|
|
2677
|
+
/**
|
|
2678
|
+
* 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)
|
|
2679
|
+
*/
|
|
2680
|
+
'react-hooks/preserve-manual-memoization'?: Linter.RuleEntry<ReactHooksPreserveManualMemoization>;
|
|
2681
|
+
/**
|
|
2682
|
+
* 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
|
|
2683
|
+
*/
|
|
2684
|
+
'react-hooks/purity'?: Linter.RuleEntry<ReactHooksPurity>;
|
|
2685
|
+
/**
|
|
2686
|
+
* Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
|
|
2687
|
+
*/
|
|
2688
|
+
'react-hooks/refs'?: Linter.RuleEntry<ReactHooksRefs>;
|
|
2689
|
+
/**
|
|
2690
|
+
* Validates against suppression of other rules
|
|
2691
|
+
*/
|
|
2692
|
+
'react-hooks/rule-suppression'?: Linter.RuleEntry<ReactHooksRuleSuppression>;
|
|
2582
2693
|
/**
|
|
2583
2694
|
* enforces the Rules of Hooks
|
|
2584
|
-
* @see https://
|
|
2695
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
2696
|
+
*/
|
|
2697
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<ReactHooksRulesOfHooks>;
|
|
2698
|
+
/**
|
|
2699
|
+
* Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
|
|
2700
|
+
*/
|
|
2701
|
+
'react-hooks/set-state-in-effect'?: Linter.RuleEntry<ReactHooksSetStateInEffect>;
|
|
2702
|
+
/**
|
|
2703
|
+
* Validates against setting state during render, which can trigger additional renders and potential infinite render loops
|
|
2585
2704
|
*/
|
|
2586
|
-
'react-hooks/
|
|
2705
|
+
'react-hooks/set-state-in-render'?: Linter.RuleEntry<ReactHooksSetStateInRender>;
|
|
2706
|
+
/**
|
|
2707
|
+
* Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
|
|
2708
|
+
*/
|
|
2709
|
+
'react-hooks/static-components'?: Linter.RuleEntry<ReactHooksStaticComponents>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Validates against invalid syntax
|
|
2712
|
+
*/
|
|
2713
|
+
'react-hooks/syntax'?: Linter.RuleEntry<ReactHooksSyntax>;
|
|
2714
|
+
/**
|
|
2715
|
+
* Unimplemented features
|
|
2716
|
+
*/
|
|
2717
|
+
'react-hooks/todo'?: Linter.RuleEntry<ReactHooksTodo>;
|
|
2718
|
+
/**
|
|
2719
|
+
* Validates against syntax that we do not plan to support in React Compiler
|
|
2720
|
+
*/
|
|
2721
|
+
'react-hooks/unsupported-syntax'?: Linter.RuleEntry<ReactHooksUnsupportedSyntax>;
|
|
2722
|
+
/**
|
|
2723
|
+
* Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2724
|
+
*/
|
|
2725
|
+
'react-hooks/use-memo'?: Linter.RuleEntry<ReactHooksUseMemo>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
2728
|
+
*/
|
|
2729
|
+
'react-hooks/void-use-memo'?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
|
|
2587
2730
|
/**
|
|
2588
2731
|
* Enforces naming conventions for components.
|
|
2589
2732
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
@@ -2631,25 +2774,15 @@ interface RuleOptions {
|
|
|
2631
2774
|
*/
|
|
2632
2775
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
2633
2776
|
/**
|
|
2634
|
-
* Enforces
|
|
2635
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2636
|
-
*/
|
|
2637
|
-
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
2638
|
-
/**
|
|
2639
|
-
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
2640
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2641
|
-
*/
|
|
2642
|
-
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
2643
|
-
/**
|
|
2644
|
-
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
2645
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2646
|
-
*/
|
|
2647
|
-
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>;
|
|
2648
|
-
/**
|
|
2649
|
-
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
2777
|
+
* Enforces that the 'key' prop is placed before the spread prop in JSX elements.
|
|
2650
2778
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
2651
2779
|
*/
|
|
2652
2780
|
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
2781
|
+
/**
|
|
2782
|
+
* Prevents comments from being inserted as text nodes.
|
|
2783
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
2784
|
+
*/
|
|
2785
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
2653
2786
|
/**
|
|
2654
2787
|
* Disallow duplicate props in JSX elements.
|
|
2655
2788
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
@@ -2665,6 +2798,16 @@ interface RuleOptions {
|
|
|
2665
2798
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2666
2799
|
*/
|
|
2667
2800
|
'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
2801
|
+
/**
|
|
2802
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
2803
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
2804
|
+
*/
|
|
2805
|
+
'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
|
|
2806
|
+
/**
|
|
2807
|
+
* Enforces shorthand syntax for fragments.
|
|
2808
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
2809
|
+
*/
|
|
2810
|
+
'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
|
|
2668
2811
|
/**
|
|
2669
2812
|
* Marks React variables as used when JSX is used.
|
|
2670
2813
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
@@ -2725,21 +2868,6 @@ interface RuleOptions {
|
|
|
2725
2868
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2726
2869
|
*/
|
|
2727
2870
|
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
2728
|
-
/**
|
|
2729
|
-
* Prevents comments from being inserted as text nodes.
|
|
2730
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
2731
|
-
*/
|
|
2732
|
-
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
2733
|
-
/**
|
|
2734
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
2735
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2736
|
-
*/
|
|
2737
|
-
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
2738
|
-
/**
|
|
2739
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
2740
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2741
|
-
*/
|
|
2742
|
-
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
2743
2871
|
/**
|
|
2744
2872
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
2745
2873
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
@@ -2775,16 +2903,16 @@ interface RuleOptions {
|
|
|
2775
2903
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
2776
2904
|
*/
|
|
2777
2905
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
2778
|
-
/**
|
|
2779
|
-
* Disallow duplicate props in JSX elements.
|
|
2780
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2781
|
-
*/
|
|
2782
|
-
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>;
|
|
2783
2906
|
/**
|
|
2784
2907
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
2785
2908
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
2786
2909
|
*/
|
|
2787
2910
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
2911
|
+
/**
|
|
2912
|
+
* Disallow certain props on components.
|
|
2913
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
2914
|
+
*/
|
|
2915
|
+
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
|
|
2788
2916
|
/**
|
|
2789
2917
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
2790
2918
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -2825,14 +2953,9 @@ interface RuleOptions {
|
|
|
2825
2953
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2826
2954
|
*/
|
|
2827
2955
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
2828
|
-
/**
|
|
2829
|
-
* Disallow nesting component definitions inside other components.
|
|
2830
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2831
|
-
*/
|
|
2832
|
-
'react/no-nested-components'?: Linter.RuleEntry<[]>;
|
|
2833
2956
|
/**
|
|
2834
2957
|
* Disallow nesting lazy component declarations inside other components.
|
|
2835
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-
|
|
2958
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
2836
2959
|
*/
|
|
2837
2960
|
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
2838
2961
|
/**
|
|
@@ -2856,7 +2979,7 @@ interface RuleOptions {
|
|
|
2856
2979
|
*/
|
|
2857
2980
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
2858
2981
|
/**
|
|
2859
|
-
*
|
|
2982
|
+
* Disallow calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
|
|
2860
2983
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2861
2984
|
*/
|
|
2862
2985
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
@@ -2865,6 +2988,26 @@ interface RuleOptions {
|
|
|
2865
2988
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
2866
2989
|
*/
|
|
2867
2990
|
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
2991
|
+
/**
|
|
2992
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
2993
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
2994
|
+
*/
|
|
2995
|
+
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
2996
|
+
/**
|
|
2997
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
2998
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
2999
|
+
*/
|
|
3000
|
+
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
3001
|
+
/**
|
|
3002
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
3003
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
3004
|
+
*/
|
|
3005
|
+
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
3006
|
+
/**
|
|
3007
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3008
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3009
|
+
*/
|
|
3010
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
2868
3011
|
/**
|
|
2869
3012
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
2870
3013
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
@@ -2895,6 +3038,11 @@ interface RuleOptions {
|
|
|
2895
3038
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
2896
3039
|
*/
|
|
2897
3040
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3041
|
+
/**
|
|
3042
|
+
* Warns component props that are defined but never used.
|
|
3043
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3044
|
+
*/
|
|
3045
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
2898
3046
|
/**
|
|
2899
3047
|
* Warns unused class component state.
|
|
2900
3048
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
@@ -2922,29 +3070,19 @@ interface RuleOptions {
|
|
|
2922
3070
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
2923
3071
|
/**
|
|
2924
3072
|
* Enforces React is imported via a namespace import.
|
|
2925
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3073
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
2926
3074
|
*/
|
|
2927
|
-
'react/prefer-
|
|
3075
|
+
'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
2928
3076
|
/**
|
|
2929
3077
|
* Enforces read-only props in components.
|
|
2930
3078
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2931
3079
|
*/
|
|
2932
3080
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
2933
3081
|
/**
|
|
2934
|
-
* Enforces
|
|
2935
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
2936
|
-
*/
|
|
2937
|
-
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
2938
|
-
/**
|
|
2939
|
-
* Enforces shorthand syntax for fragments.
|
|
2940
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2941
|
-
*/
|
|
2942
|
-
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
2943
|
-
/**
|
|
2944
|
-
* Marks variables used in JSX elements as used.
|
|
2945
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3082
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3083
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
2946
3084
|
*/
|
|
2947
|
-
'react/use-
|
|
3085
|
+
'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
2948
3086
|
/**
|
|
2949
3087
|
* disallow confusing quantifiers
|
|
2950
3088
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -3637,8 +3775,9 @@ interface RuleOptions {
|
|
|
3637
3775
|
*/
|
|
3638
3776
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
3639
3777
|
/**
|
|
3640
|
-
* Disallow multiple spaces between inline JSX props
|
|
3778
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
3641
3779
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
3780
|
+
* @deprecated
|
|
3642
3781
|
*/
|
|
3643
3782
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
3644
3783
|
/**
|
|
@@ -3955,7 +4094,7 @@ interface RuleOptions {
|
|
|
3955
4094
|
*/
|
|
3956
4095
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
|
|
3957
4096
|
/**
|
|
3958
|
-
* require
|
|
4097
|
+
* require test file pattern
|
|
3959
4098
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
3960
4099
|
*/
|
|
3961
4100
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
|
|
@@ -3974,6 +4113,11 @@ interface RuleOptions {
|
|
|
3974
4113
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3975
4114
|
*/
|
|
3976
4115
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>;
|
|
4116
|
+
/**
|
|
4117
|
+
* enforce hoisted APIs to be on top of the file
|
|
4118
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
4119
|
+
*/
|
|
4120
|
+
'test/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
3977
4121
|
/**
|
|
3978
4122
|
* enforce a maximum number of expect per test
|
|
3979
4123
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -4135,6 +4279,11 @@ interface RuleOptions {
|
|
|
4135
4279
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4136
4280
|
*/
|
|
4137
4281
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
4282
|
+
/**
|
|
4283
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
4284
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
4285
|
+
*/
|
|
4286
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
4138
4287
|
/**
|
|
4139
4288
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
4140
4289
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -4180,6 +4329,11 @@ interface RuleOptions {
|
|
|
4180
4329
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
4181
4330
|
*/
|
|
4182
4331
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
4332
|
+
/**
|
|
4333
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
4334
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
4335
|
+
*/
|
|
4336
|
+
'test/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
4183
4337
|
/**
|
|
4184
4338
|
* enforce having hooks in consistent order
|
|
4185
4339
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -4190,6 +4344,11 @@ interface RuleOptions {
|
|
|
4190
4344
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4191
4345
|
*/
|
|
4192
4346
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
4347
|
+
/**
|
|
4348
|
+
* prefer dynamic import in mock
|
|
4349
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
4350
|
+
*/
|
|
4351
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
4193
4352
|
/**
|
|
4194
4353
|
* enforce importing Vitest globals
|
|
4195
4354
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -4848,7 +5007,7 @@ interface RuleOptions {
|
|
|
4848
5007
|
* Disallow member access on a value with type `any`
|
|
4849
5008
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
4850
5009
|
*/
|
|
4851
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
5010
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
4852
5011
|
/**
|
|
4853
5012
|
* Disallow returning a value with type `any` from a function
|
|
4854
5013
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -5095,690 +5254,710 @@ interface RuleOptions {
|
|
|
5095
5254
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5096
5255
|
/**
|
|
5097
5256
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
5099
5258
|
*/
|
|
5100
5259
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
5101
5260
|
/**
|
|
5102
5261
|
* Enforce a specific parameter name in catch clauses.
|
|
5103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
5104
5263
|
*/
|
|
5105
5264
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5106
5265
|
/**
|
|
5107
5266
|
* Enforce consistent assertion style with `node:assert`.
|
|
5108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
5109
5268
|
*/
|
|
5110
5269
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
5111
5270
|
/**
|
|
5112
5271
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
5114
5273
|
*/
|
|
5115
5274
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5116
5275
|
/**
|
|
5117
5276
|
* Use destructured variables over properties.
|
|
5118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
5119
5278
|
*/
|
|
5120
5279
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
5121
5280
|
/**
|
|
5122
5281
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
5124
5283
|
*/
|
|
5125
5284
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
5126
5285
|
/**
|
|
5127
5286
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
5129
5288
|
*/
|
|
5130
5289
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
5131
5290
|
/**
|
|
5132
5291
|
* Move function definitions to the highest possible scope.
|
|
5133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
5134
5293
|
*/
|
|
5135
5294
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
5136
5295
|
/**
|
|
5137
5296
|
* Enforce correct `Error` subclassing.
|
|
5138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
5139
5298
|
*/
|
|
5140
5299
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
5141
5300
|
/**
|
|
5142
5301
|
* Enforce no spaces between braces.
|
|
5143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
5144
5303
|
*/
|
|
5145
5304
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
5146
5305
|
/**
|
|
5147
5306
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
5149
5308
|
*/
|
|
5150
5309
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
5151
5310
|
/**
|
|
5152
5311
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
5154
5313
|
*/
|
|
5155
5314
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
5156
5315
|
/**
|
|
5157
5316
|
* Add expiration conditions to TODO comments.
|
|
5158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
5159
5318
|
*/
|
|
5160
5319
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
5161
5320
|
/**
|
|
5162
5321
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
5164
5323
|
*/
|
|
5165
5324
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
5166
5325
|
/**
|
|
5167
5326
|
* Enforce a case style for filenames.
|
|
5168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
5169
5328
|
*/
|
|
5170
5329
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
5171
5330
|
/**
|
|
5172
5331
|
* Enforce specific import styles per module.
|
|
5173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
5174
5333
|
*/
|
|
5175
5334
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
5176
5335
|
/**
|
|
5177
5336
|
* 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/
|
|
5337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
5179
5338
|
*/
|
|
5180
5339
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
5181
5340
|
/**
|
|
5182
5341
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
5184
5343
|
*/
|
|
5185
5344
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
5186
5345
|
/**
|
|
5187
5346
|
* Disallow recursive access to `this` within getters and setters.
|
|
5188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
5189
5348
|
*/
|
|
5190
5349
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
5191
5350
|
/**
|
|
5192
5351
|
* Disallow anonymous functions and classes as the default export.
|
|
5193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
5194
5353
|
*/
|
|
5195
5354
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
5196
5355
|
/**
|
|
5197
5356
|
* Prevent passing a function reference directly to iterator methods.
|
|
5198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
5199
5358
|
*/
|
|
5200
5359
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
5201
5360
|
/**
|
|
5202
5361
|
* Prefer `for…of` over the `forEach` method.
|
|
5203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
5204
5363
|
*/
|
|
5205
5364
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
5206
5365
|
/**
|
|
5207
5366
|
* Disallow using the `this` argument in array methods.
|
|
5208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
5209
5368
|
*/
|
|
5210
5369
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
5211
5370
|
/**
|
|
5212
5371
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
5214
5373
|
* @deprecated
|
|
5215
5374
|
*/
|
|
5216
5375
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5217
5376
|
/**
|
|
5218
5377
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5219
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5378
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5220
5379
|
*/
|
|
5221
5380
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5222
5381
|
/**
|
|
5223
5382
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5383
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5225
5384
|
*/
|
|
5226
5385
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5386
|
+
/**
|
|
5387
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5388
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5389
|
+
*/
|
|
5390
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5227
5391
|
/**
|
|
5228
5392
|
* Disallow member access from await expression.
|
|
5229
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5393
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5230
5394
|
*/
|
|
5231
5395
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5232
5396
|
/**
|
|
5233
5397
|
* Disallow using `await` in `Promise` method parameters.
|
|
5234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5398
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5235
5399
|
*/
|
|
5236
5400
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5237
5401
|
/**
|
|
5238
5402
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5239
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5240
5404
|
*/
|
|
5241
5405
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5242
5406
|
/**
|
|
5243
5407
|
* Do not use `document.cookie` directly.
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5245
5409
|
*/
|
|
5246
5410
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5247
5411
|
/**
|
|
5248
5412
|
* Disallow empty files.
|
|
5249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5250
5414
|
*/
|
|
5251
5415
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5252
5416
|
/**
|
|
5253
5417
|
* 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/
|
|
5418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5255
5419
|
*/
|
|
5256
5420
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5257
5421
|
/**
|
|
5258
5422
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5259
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5423
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5260
5424
|
*/
|
|
5261
5425
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5262
5426
|
/**
|
|
5263
5427
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5265
5429
|
* @deprecated
|
|
5266
5430
|
*/
|
|
5267
5431
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5268
5432
|
/**
|
|
5269
5433
|
* Disallow `instanceof` with built-in objects
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5271
5435
|
*/
|
|
5272
5436
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5273
5437
|
/**
|
|
5274
5438
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5276
5440
|
*/
|
|
5277
5441
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5278
5442
|
/**
|
|
5279
5443
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5281
5445
|
*/
|
|
5282
5446
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5283
5447
|
/**
|
|
5284
5448
|
* Disallow identifiers starting with `new` or `class`.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5286
5450
|
*/
|
|
5287
5451
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5288
5452
|
/**
|
|
5289
5453
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5291
5455
|
* @deprecated
|
|
5292
5456
|
*/
|
|
5293
5457
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5294
5458
|
/**
|
|
5295
5459
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5297
5461
|
*/
|
|
5298
5462
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5299
5463
|
/**
|
|
5300
5464
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5302
5466
|
*/
|
|
5303
5467
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5304
5468
|
/**
|
|
5305
5469
|
* Disallow named usage of default import and export.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5307
5471
|
*/
|
|
5308
5472
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5309
5473
|
/**
|
|
5310
5474
|
* Disallow negated conditions.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5312
5476
|
*/
|
|
5313
5477
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5314
5478
|
/**
|
|
5315
5479
|
* Disallow negated expression in equality check.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5317
5481
|
*/
|
|
5318
5482
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5319
5483
|
/**
|
|
5320
5484
|
* Disallow nested ternary expressions.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5322
5486
|
*/
|
|
5323
5487
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5324
5488
|
/**
|
|
5325
5489
|
* Disallow `new Array()`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5327
5491
|
*/
|
|
5328
5492
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5329
5493
|
/**
|
|
5330
5494
|
* 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/
|
|
5495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5332
5496
|
*/
|
|
5333
5497
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5334
5498
|
/**
|
|
5335
5499
|
* Disallow the use of the `null` literal.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5337
5501
|
*/
|
|
5338
5502
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5339
5503
|
/**
|
|
5340
5504
|
* Disallow the use of objects as default parameters.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5342
5506
|
*/
|
|
5343
5507
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5344
5508
|
/**
|
|
5345
5509
|
* Disallow `process.exit()`.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5347
5511
|
*/
|
|
5348
5512
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5349
5513
|
/**
|
|
5350
5514
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5352
5516
|
*/
|
|
5353
5517
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5354
5518
|
/**
|
|
5355
5519
|
* Disallow classes that only have static members.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5357
5521
|
*/
|
|
5358
5522
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5359
5523
|
/**
|
|
5360
5524
|
* Disallow `then` property.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5362
5526
|
*/
|
|
5363
5527
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5364
5528
|
/**
|
|
5365
5529
|
* Disallow assigning `this` to a variable.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5367
5531
|
*/
|
|
5368
5532
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5369
5533
|
/**
|
|
5370
5534
|
* Disallow comparing `undefined` using `typeof`.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5535
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5372
5536
|
*/
|
|
5373
5537
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5374
5538
|
/**
|
|
5375
5539
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5377
5541
|
*/
|
|
5378
5542
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5379
5543
|
/**
|
|
5380
5544
|
* 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/
|
|
5545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5382
5546
|
*/
|
|
5383
5547
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5384
5548
|
/**
|
|
5385
5549
|
* Disallow awaiting non-promise values.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5387
5551
|
*/
|
|
5388
5552
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5389
5553
|
/**
|
|
5390
5554
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5392
5556
|
*/
|
|
5393
5557
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5394
5558
|
/**
|
|
5395
5559
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5397
5561
|
*/
|
|
5398
5562
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5399
5563
|
/**
|
|
5400
5564
|
* Disallow unreadable array destructuring.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5402
5566
|
*/
|
|
5403
5567
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5404
5568
|
/**
|
|
5405
5569
|
* Disallow unreadable IIFEs.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5407
5571
|
*/
|
|
5408
5572
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5409
5573
|
/**
|
|
5410
5574
|
* Disallow unused object properties.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5412
5576
|
*/
|
|
5413
5577
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5414
5578
|
/**
|
|
5415
5579
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5417
5581
|
*/
|
|
5418
5582
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5419
5583
|
/**
|
|
5420
5584
|
* Disallow useless fallback when spreading in object literals.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5422
5586
|
*/
|
|
5423
5587
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5424
5588
|
/**
|
|
5425
5589
|
* Disallow useless array length check.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5427
5591
|
*/
|
|
5428
5592
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5429
5593
|
/**
|
|
5430
5594
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5432
5596
|
*/
|
|
5433
5597
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5434
5598
|
/**
|
|
5435
5599
|
* Disallow unnecessary spread.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5437
5601
|
*/
|
|
5438
5602
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5439
5603
|
/**
|
|
5440
5604
|
* Disallow useless case in switch statements.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5442
5606
|
*/
|
|
5443
5607
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5444
5608
|
/**
|
|
5445
5609
|
* Disallow useless `undefined`.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5447
5611
|
*/
|
|
5448
5612
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5449
5613
|
/**
|
|
5450
5614
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5452
5616
|
*/
|
|
5453
5617
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5454
5618
|
/**
|
|
5455
5619
|
* Enforce proper case for numeric literals.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5457
5621
|
*/
|
|
5458
5622
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5459
5623
|
/**
|
|
5460
5624
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5462
5626
|
*/
|
|
5463
5627
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5464
5628
|
/**
|
|
5465
5629
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5467
5631
|
*/
|
|
5468
5632
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5469
5633
|
/**
|
|
5470
5634
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5472
5636
|
*/
|
|
5473
5637
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5474
5638
|
/**
|
|
5475
5639
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5477
5641
|
*/
|
|
5478
5642
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5479
5643
|
/**
|
|
5480
5644
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5482
5646
|
*/
|
|
5483
5647
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5484
5648
|
/**
|
|
5485
5649
|
* 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/
|
|
5650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5487
5651
|
*/
|
|
5488
5652
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5489
5653
|
/**
|
|
5490
5654
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5492
5656
|
*/
|
|
5493
5657
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5494
5658
|
/**
|
|
5495
5659
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5497
5661
|
*/
|
|
5498
5662
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5663
|
+
/**
|
|
5664
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5666
|
+
*/
|
|
5667
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5499
5668
|
/**
|
|
5500
5669
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5502
5671
|
*/
|
|
5503
5672
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5504
5673
|
/**
|
|
5505
5674
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5507
5676
|
*/
|
|
5508
5677
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5678
|
+
/**
|
|
5679
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5681
|
+
*/
|
|
5682
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5509
5683
|
/**
|
|
5510
5684
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5512
5686
|
*/
|
|
5513
5687
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5514
5688
|
/**
|
|
5515
5689
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5517
5691
|
*/
|
|
5518
5692
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5519
5693
|
/**
|
|
5520
5694
|
* Prefer default parameters over reassignment.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5522
5696
|
*/
|
|
5523
5697
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5524
5698
|
/**
|
|
5525
5699
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5527
5701
|
*/
|
|
5528
5702
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5529
5703
|
/**
|
|
5530
5704
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5532
5706
|
*/
|
|
5533
5707
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5534
5708
|
/**
|
|
5535
5709
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5537
5711
|
*/
|
|
5538
5712
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5539
5713
|
/**
|
|
5540
5714
|
* Prefer `.textContent` over `.innerText`.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5542
5716
|
*/
|
|
5543
5717
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5544
5718
|
/**
|
|
5545
5719
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5547
5721
|
*/
|
|
5548
5722
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5549
5723
|
/**
|
|
5550
5724
|
* Prefer `export…from` when re-exporting.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5552
5726
|
*/
|
|
5553
5727
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5554
5728
|
/**
|
|
5555
5729
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5557
5731
|
*/
|
|
5558
5732
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5559
5733
|
/**
|
|
5560
5734
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5562
5736
|
*/
|
|
5563
5737
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5564
5738
|
/**
|
|
5565
5739
|
* 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/
|
|
5740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5567
5741
|
*/
|
|
5568
5742
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5569
5743
|
/**
|
|
5570
5744
|
* Prefer reading a JSON file as a buffer.
|
|
5571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5572
5746
|
*/
|
|
5573
5747
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5574
5748
|
/**
|
|
5575
5749
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5577
5751
|
*/
|
|
5578
5752
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5579
5753
|
/**
|
|
5580
5754
|
* Prefer using a logical operator over a ternary.
|
|
5581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5582
5756
|
*/
|
|
5583
5757
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5584
5758
|
/**
|
|
5585
5759
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5587
5761
|
*/
|
|
5588
5762
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5589
5763
|
/**
|
|
5590
5764
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5592
5766
|
*/
|
|
5593
5767
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5594
5768
|
/**
|
|
5595
5769
|
* 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/
|
|
5770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5597
5771
|
*/
|
|
5598
5772
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5599
5773
|
/**
|
|
5600
5774
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5602
5776
|
*/
|
|
5603
5777
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5604
5778
|
/**
|
|
5605
5779
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5607
5781
|
*/
|
|
5608
5782
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5609
5783
|
/**
|
|
5610
5784
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5612
5786
|
*/
|
|
5613
5787
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5614
5788
|
/**
|
|
5615
5789
|
* Prefer negative index over `.length - index` when possible.
|
|
5616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5617
5791
|
*/
|
|
5618
5792
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5619
5793
|
/**
|
|
5620
5794
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5622
5796
|
*/
|
|
5623
5797
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5624
5798
|
/**
|
|
5625
5799
|
* Prefer `Number` static properties over global ones.
|
|
5626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5627
5801
|
*/
|
|
5628
5802
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5629
5803
|
/**
|
|
5630
5804
|
* 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/
|
|
5805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5632
5806
|
*/
|
|
5633
5807
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5634
5808
|
/**
|
|
5635
5809
|
* Prefer omitting the `catch` binding parameter.
|
|
5636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5637
5811
|
*/
|
|
5638
5812
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5639
5813
|
/**
|
|
5640
5814
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5642
5816
|
*/
|
|
5643
5817
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5644
5818
|
/**
|
|
5645
5819
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5647
5821
|
*/
|
|
5648
5822
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5649
5823
|
/**
|
|
5650
5824
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5652
5826
|
*/
|
|
5653
5827
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5654
5828
|
/**
|
|
5655
5829
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5657
5831
|
*/
|
|
5658
5832
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5659
5833
|
/**
|
|
5660
5834
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5662
5836
|
*/
|
|
5663
5837
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5664
5838
|
/**
|
|
5665
5839
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5667
5841
|
*/
|
|
5668
5842
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5669
5843
|
/**
|
|
5670
5844
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5672
5846
|
*/
|
|
5673
5847
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5674
5848
|
/**
|
|
5675
5849
|
* 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/
|
|
5850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5677
5851
|
*/
|
|
5678
5852
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5679
5853
|
/**
|
|
5680
5854
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5682
5856
|
*/
|
|
5683
5857
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5684
5858
|
/**
|
|
5685
5859
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5687
5861
|
*/
|
|
5688
5862
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5689
5863
|
/**
|
|
5690
5864
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5865
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5692
5866
|
*/
|
|
5693
5867
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5694
5868
|
/**
|
|
5695
5869
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5870
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5697
5871
|
*/
|
|
5698
5872
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5699
5873
|
/**
|
|
5700
5874
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5702
5876
|
*/
|
|
5703
5877
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5704
5878
|
/**
|
|
5705
5879
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5880
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5707
5881
|
*/
|
|
5708
5882
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5709
5883
|
/**
|
|
5710
5884
|
* Prefer `switch` over multiple `else-if`.
|
|
5711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5712
5886
|
*/
|
|
5713
5887
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5714
5888
|
/**
|
|
5715
5889
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5890
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5717
5891
|
*/
|
|
5718
5892
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5719
5893
|
/**
|
|
5720
5894
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5722
5896
|
*/
|
|
5723
5897
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5724
5898
|
/**
|
|
5725
5899
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5726
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5900
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5727
5901
|
*/
|
|
5728
5902
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5729
5903
|
/**
|
|
5730
5904
|
* Prevent abbreviations.
|
|
5731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5732
5906
|
*/
|
|
5733
5907
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5734
5908
|
/**
|
|
5735
5909
|
* Enforce consistent relative URL style.
|
|
5736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5910
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5737
5911
|
*/
|
|
5738
5912
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5739
5913
|
/**
|
|
5740
5914
|
* Enforce using the separator argument with `Array#join()`.
|
|
5741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5915
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5742
5916
|
*/
|
|
5743
5917
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5918
|
+
/**
|
|
5919
|
+
* Require non-empty module attributes for imports and exports
|
|
5920
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5921
|
+
*/
|
|
5922
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5744
5923
|
/**
|
|
5745
5924
|
* Require non-empty specifier list in import and export statements.
|
|
5746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5925
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5747
5926
|
*/
|
|
5748
5927
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5749
5928
|
/**
|
|
5750
5929
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5930
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5752
5931
|
*/
|
|
5753
5932
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5754
5933
|
/**
|
|
5755
5934
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5756
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5935
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5757
5936
|
*/
|
|
5758
5937
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5759
5938
|
/**
|
|
5760
5939
|
* Enforce better string content.
|
|
5761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5940
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5762
5941
|
*/
|
|
5763
5942
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5764
5943
|
/**
|
|
5765
5944
|
* Enforce consistent brace style for `case` clauses.
|
|
5766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5767
5946
|
*/
|
|
5768
5947
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5769
5948
|
/**
|
|
5770
5949
|
* Fix whitespace-insensitive template indentation.
|
|
5771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5950
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5772
5951
|
*/
|
|
5773
5952
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5774
5953
|
/**
|
|
5775
5954
|
* Enforce consistent case for text encoding identifiers.
|
|
5776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5777
5956
|
*/
|
|
5778
5957
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5779
5958
|
/**
|
|
5780
5959
|
* Require `new` when creating an error.
|
|
5781
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5782
5961
|
*/
|
|
5783
5962
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5784
5963
|
/**
|
|
@@ -5795,7 +5974,7 @@ interface RuleOptions {
|
|
|
5795
5974
|
* Order of UnoCSS utilities in class attribute
|
|
5796
5975
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
5797
5976
|
*/
|
|
5798
|
-
'unocss/order'?: Linter.RuleEntry<
|
|
5977
|
+
'unocss/order'?: Linter.RuleEntry<UnocssOrder>;
|
|
5799
5978
|
/**
|
|
5800
5979
|
* Order of UnoCSS attributes
|
|
5801
5980
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
@@ -6120,7 +6299,7 @@ interface RuleOptions {
|
|
|
6120
6299
|
* disallow asynchronous actions in computed properties
|
|
6121
6300
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
6122
6301
|
*/
|
|
6123
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
6302
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
6124
6303
|
/**
|
|
6125
6304
|
* disallow the use of bare strings in `<template>`
|
|
6126
6305
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6361,6 +6540,16 @@ interface RuleOptions {
|
|
|
6361
6540
|
* @see https://eslint.vuejs.org/rules/no-mutating-props.html
|
|
6362
6541
|
*/
|
|
6363
6542
|
'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
|
|
6543
|
+
/**
|
|
6544
|
+
* Disallow negated conditions in `<template>`
|
|
6545
|
+
* @see https://eslint.vuejs.org/rules/no-negated-condition.html
|
|
6546
|
+
*/
|
|
6547
|
+
'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
6548
|
+
/**
|
|
6549
|
+
* disallow negated conditions in v-if/v-else
|
|
6550
|
+
* @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
|
|
6551
|
+
*/
|
|
6552
|
+
'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
|
|
6364
6553
|
/**
|
|
6365
6554
|
* disallow parsing errors in `<template>`
|
|
6366
6555
|
* @see https://eslint.vuejs.org/rules/no-parsing-error.html
|
|
@@ -6611,7 +6800,7 @@ interface RuleOptions {
|
|
|
6611
6800
|
* disallow use of v-html to prevent XSS attack
|
|
6612
6801
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6613
6802
|
*/
|
|
6614
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6803
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6615
6804
|
/**
|
|
6616
6805
|
* disallow adding an argument to `v-model` used in custom component
|
|
6617
6806
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -7219,13 +7408,13 @@ interface RuleOptions {
|
|
|
7219
7408
|
*/
|
|
7220
7409
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
7221
7410
|
}
|
|
7222
|
-
|
|
7223
7411
|
/* ======= Declarations ======= */
|
|
7224
7412
|
// ----- accessor-pairs -----
|
|
7225
7413
|
type AccessorPairs = [] | [{
|
|
7226
7414
|
getWithoutSet?: boolean;
|
|
7227
7415
|
setWithoutGet?: boolean;
|
|
7228
7416
|
enforceForClassMembers?: boolean;
|
|
7417
|
+
enforceForTSTypes?: boolean;
|
|
7229
7418
|
}];
|
|
7230
7419
|
// ----- antfu/consistent-chaining -----
|
|
7231
7420
|
type AntfuConsistentChaining = [] | [{
|
|
@@ -7474,7 +7663,9 @@ type GetterReturn = [] | [{
|
|
|
7474
7663
|
allowImplicit?: boolean;
|
|
7475
7664
|
}];
|
|
7476
7665
|
// ----- grouped-accessor-pairs -----
|
|
7477
|
-
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
7666
|
+
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
7667
|
+
enforceForTSTypes?: boolean;
|
|
7668
|
+
}];
|
|
7478
7669
|
// ----- handle-callback-err -----
|
|
7479
7670
|
type HandleCallbackErr = [] | [string];
|
|
7480
7671
|
// ----- id-blacklist -----
|
|
@@ -7576,6 +7767,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
7576
7767
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
7577
7768
|
ignoreForLoopInit?: boolean;
|
|
7578
7769
|
}]);
|
|
7770
|
+
// ----- jsdoc/check-alignment -----
|
|
7771
|
+
type JsdocCheckAlignment = [] | [{
|
|
7772
|
+
innerIndent?: number;
|
|
7773
|
+
}];
|
|
7579
7774
|
// ----- jsdoc/check-examples -----
|
|
7580
7775
|
type JsdocCheckExamples = [] | [{
|
|
7581
7776
|
allowInlineConfig?: boolean;
|
|
@@ -7635,6 +7830,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
7635
7830
|
type JsdocCheckTagNames = [] | [{
|
|
7636
7831
|
definedTags?: string[];
|
|
7637
7832
|
enableFixer?: boolean;
|
|
7833
|
+
inlineTags?: string[];
|
|
7638
7834
|
jsxTags?: boolean;
|
|
7639
7835
|
typed?: boolean;
|
|
7640
7836
|
}];
|
|
@@ -7677,6 +7873,12 @@ type JsdocConvertToJsdocComments = [] | [{
|
|
|
7677
7873
|
type JsdocEmptyTags = [] | [{
|
|
7678
7874
|
tags?: string[];
|
|
7679
7875
|
}];
|
|
7876
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
7877
|
+
type JsdocEscapeInlineTags = [] | [{
|
|
7878
|
+
allowedInlineTags?: string[];
|
|
7879
|
+
enableFixer?: boolean;
|
|
7880
|
+
fixType?: ("backticks" | "backslash");
|
|
7881
|
+
}];
|
|
7680
7882
|
// ----- jsdoc/implements-on-classes -----
|
|
7681
7883
|
type JsdocImplementsOnClasses = [] | [{
|
|
7682
7884
|
contexts?: (string | {
|
|
@@ -7793,10 +7995,17 @@ type JsdocNoTypes = [] | [{
|
|
|
7793
7995
|
}];
|
|
7794
7996
|
// ----- jsdoc/no-undefined-types -----
|
|
7795
7997
|
type JsdocNoUndefinedTypes = [] | [{
|
|
7998
|
+
checkUsedTypedefs?: boolean;
|
|
7796
7999
|
definedTypes?: string[];
|
|
7797
8000
|
disableReporting?: boolean;
|
|
7798
8001
|
markVariablesAsUsed?: boolean;
|
|
7799
8002
|
}];
|
|
8003
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8004
|
+
type JsdocPreferImportTag = [] | [{
|
|
8005
|
+
enableFixer?: boolean;
|
|
8006
|
+
exemptTypedefs?: boolean;
|
|
8007
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
8008
|
+
}];
|
|
7800
8009
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
7801
8010
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
7802
8011
|
tags?: {
|
|
@@ -7865,6 +8074,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7865
8074
|
enableFixer?: boolean;
|
|
7866
8075
|
exemptEmptyConstructors?: boolean;
|
|
7867
8076
|
exemptEmptyFunctions?: boolean;
|
|
8077
|
+
exemptOverloadedImplementations?: boolean;
|
|
7868
8078
|
fixerMessage?: string;
|
|
7869
8079
|
minLineCount?: number;
|
|
7870
8080
|
publicOnly?: (boolean | {
|
|
@@ -7881,6 +8091,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
7881
8091
|
FunctionExpression?: boolean;
|
|
7882
8092
|
MethodDefinition?: boolean;
|
|
7883
8093
|
};
|
|
8094
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
7884
8095
|
}];
|
|
7885
8096
|
// ----- jsdoc/require-param -----
|
|
7886
8097
|
type JsdocRequireParam = [] | [{
|
|
@@ -7901,6 +8112,7 @@ type JsdocRequireParam = [] | [{
|
|
|
7901
8112
|
enableRootFixer?: boolean;
|
|
7902
8113
|
exemptedBy?: string[];
|
|
7903
8114
|
ignoreWhenAllParamsMissing?: boolean;
|
|
8115
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
7904
8116
|
unnamedRootBase?: string[];
|
|
7905
8117
|
useDefaultObjectProperties?: boolean;
|
|
7906
8118
|
}];
|
|
@@ -7953,6 +8165,7 @@ type JsdocRequireReturns = [] | [{
|
|
|
7953
8165
|
type JsdocRequireReturnsCheck = [] | [{
|
|
7954
8166
|
exemptAsync?: boolean;
|
|
7955
8167
|
exemptGenerators?: boolean;
|
|
8168
|
+
noNativeTypes?: boolean;
|
|
7956
8169
|
reportMissingReturnForUndefinedTypes?: boolean;
|
|
7957
8170
|
}];
|
|
7958
8171
|
// ----- jsdoc/require-returns-description -----
|
|
@@ -7969,8 +8182,17 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
7969
8182
|
context?: string;
|
|
7970
8183
|
})[];
|
|
7971
8184
|
}];
|
|
8185
|
+
// ----- jsdoc/require-tags -----
|
|
8186
|
+
type JsdocRequireTags = [] | [{
|
|
8187
|
+
tags?: (string | {
|
|
8188
|
+
context?: string;
|
|
8189
|
+
tag?: string;
|
|
8190
|
+
[k: string]: unknown | undefined;
|
|
8191
|
+
})[];
|
|
8192
|
+
}];
|
|
7972
8193
|
// ----- jsdoc/require-template -----
|
|
7973
8194
|
type JsdocRequireTemplate = [] | [{
|
|
8195
|
+
exemptedBy?: string[];
|
|
7974
8196
|
requireSeparateTemplates?: boolean;
|
|
7975
8197
|
}];
|
|
7976
8198
|
// ----- jsdoc/require-throws -----
|
|
@@ -8001,7 +8223,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
8001
8223
|
comment?: string;
|
|
8002
8224
|
context?: string;
|
|
8003
8225
|
})[];
|
|
8004
|
-
exemptedBy?: string[];
|
|
8005
8226
|
next?: boolean;
|
|
8006
8227
|
}];
|
|
8007
8228
|
// ----- jsdoc/sort-tags -----
|
|
@@ -8019,6 +8240,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
8019
8240
|
applyToEndTag?: boolean;
|
|
8020
8241
|
count?: number;
|
|
8021
8242
|
endLines?: (number | null);
|
|
8243
|
+
maxBlockLines?: (number | null);
|
|
8022
8244
|
startLines?: (number | null);
|
|
8023
8245
|
tags?: {
|
|
8024
8246
|
[k: string]: {
|
|
@@ -8032,6 +8254,21 @@ type JsdocTextEscaping = [] | [{
|
|
|
8032
8254
|
escapeHTML?: boolean;
|
|
8033
8255
|
escapeMarkdown?: boolean;
|
|
8034
8256
|
}];
|
|
8257
|
+
// ----- jsdoc/type-formatting -----
|
|
8258
|
+
type JsdocTypeFormatting = [] | [{
|
|
8259
|
+
arrayBrackets?: ("angle" | "square");
|
|
8260
|
+
enableFixer?: boolean;
|
|
8261
|
+
genericDot?: boolean;
|
|
8262
|
+
objectFieldIndent?: string;
|
|
8263
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
8264
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
8265
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
8266
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
8267
|
+
separatorForSingleObjectField?: boolean;
|
|
8268
|
+
stringQuotes?: ("double" | "single");
|
|
8269
|
+
typeBracketSpacing?: string;
|
|
8270
|
+
unionSpacing?: string;
|
|
8271
|
+
}];
|
|
8035
8272
|
// ----- jsdoc/valid-types -----
|
|
8036
8273
|
type JsdocValidTypes = [] | [{
|
|
8037
8274
|
allowEmptyNamepaths?: boolean;
|
|
@@ -8692,6 +8929,10 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
|
8692
8929
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
8693
8930
|
required?: string[];
|
|
8694
8931
|
}];
|
|
8932
|
+
// ----- markdown/heading-increment -----
|
|
8933
|
+
type MarkdownHeadingIncrement = [] | [{
|
|
8934
|
+
frontmatterTitle?: string;
|
|
8935
|
+
}];
|
|
8695
8936
|
// ----- markdown/no-duplicate-definitions -----
|
|
8696
8937
|
type MarkdownNoDuplicateDefinitions = [] | [{
|
|
8697
8938
|
allowDefinitions?: string[];
|
|
@@ -8710,6 +8951,15 @@ type MarkdownNoEmptyDefinitions = [] | [{
|
|
|
8710
8951
|
// ----- markdown/no-html -----
|
|
8711
8952
|
type MarkdownNoHtml = [] | [{
|
|
8712
8953
|
allowed?: string[];
|
|
8954
|
+
allowedIgnoreCase?: boolean;
|
|
8955
|
+
}];
|
|
8956
|
+
// ----- markdown/no-missing-atx-heading-space -----
|
|
8957
|
+
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
8958
|
+
checkClosedHeadings?: boolean;
|
|
8959
|
+
}];
|
|
8960
|
+
// ----- markdown/no-missing-label-refs -----
|
|
8961
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
8962
|
+
allowLabels?: string[];
|
|
8713
8963
|
}];
|
|
8714
8964
|
// ----- markdown/no-missing-link-fragments -----
|
|
8715
8965
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
@@ -8720,6 +8970,10 @@ type MarkdownNoMissingLinkFragments = [] | [{
|
|
|
8720
8970
|
type MarkdownNoMultipleH1 = [] | [{
|
|
8721
8971
|
frontmatterTitle?: string;
|
|
8722
8972
|
}];
|
|
8973
|
+
// ----- markdown/no-space-in-emphasis -----
|
|
8974
|
+
type MarkdownNoSpaceInEmphasis = [] | [{
|
|
8975
|
+
checkStrikethrough?: boolean;
|
|
8976
|
+
}];
|
|
8723
8977
|
// ----- markdown/no-unused-definitions -----
|
|
8724
8978
|
type MarkdownNoUnusedDefinitions = [] | [{
|
|
8725
8979
|
allowDefinitions?: string[];
|
|
@@ -9074,22 +9328,31 @@ type NoRestrictedExports = [] | [({
|
|
|
9074
9328
|
};
|
|
9075
9329
|
})];
|
|
9076
9330
|
// ----- no-restricted-globals -----
|
|
9077
|
-
type NoRestrictedGlobals = (string | {
|
|
9331
|
+
type NoRestrictedGlobals = ((string | {
|
|
9078
9332
|
name: string;
|
|
9079
9333
|
message?: string;
|
|
9080
|
-
})[]
|
|
9334
|
+
})[] | [] | [{
|
|
9335
|
+
globals: (string | {
|
|
9336
|
+
name: string;
|
|
9337
|
+
message?: string;
|
|
9338
|
+
})[];
|
|
9339
|
+
checkGlobalObject?: boolean;
|
|
9340
|
+
globalObjects?: string[];
|
|
9341
|
+
}]);
|
|
9081
9342
|
// ----- no-restricted-imports -----
|
|
9082
9343
|
type NoRestrictedImports = ((string | {
|
|
9083
9344
|
name: string;
|
|
9084
9345
|
message?: string;
|
|
9085
9346
|
importNames?: string[];
|
|
9086
9347
|
allowImportNames?: string[];
|
|
9348
|
+
allowTypeImports?: boolean;
|
|
9087
9349
|
})[] | [] | [{
|
|
9088
9350
|
paths?: (string | {
|
|
9089
9351
|
name: string;
|
|
9090
9352
|
message?: string;
|
|
9091
9353
|
importNames?: string[];
|
|
9092
9354
|
allowImportNames?: string[];
|
|
9355
|
+
allowTypeImports?: boolean;
|
|
9093
9356
|
})[];
|
|
9094
9357
|
patterns?: (string[] | ({
|
|
9095
9358
|
[k: string]: unknown | undefined;
|
|
@@ -9206,6 +9469,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
|
|
|
9206
9469
|
caughtErrorsIgnorePattern?: string;
|
|
9207
9470
|
destructuredArrayIgnorePattern?: string;
|
|
9208
9471
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
9472
|
+
ignoreUsingDeclarations?: boolean;
|
|
9209
9473
|
reportUsedIgnorePattern?: boolean;
|
|
9210
9474
|
})];
|
|
9211
9475
|
// ----- no-use-before-define -----
|
|
@@ -9276,7 +9540,7 @@ type NodeHashbang = [] | [{
|
|
|
9276
9540
|
// ----- node/no-deprecated-api -----
|
|
9277
9541
|
type NodeNoDeprecatedApi = [] | [{
|
|
9278
9542
|
version?: string;
|
|
9279
|
-
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()")[];
|
|
9543
|
+
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()")[];
|
|
9280
9544
|
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")[];
|
|
9281
9545
|
ignoreIndirectDependencies?: boolean;
|
|
9282
9546
|
}];
|
|
@@ -9470,7 +9734,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
9470
9734
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
9471
9735
|
version?: string;
|
|
9472
9736
|
allowExperimental?: boolean;
|
|
9473
|
-
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")[];
|
|
9737
|
+
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")[];
|
|
9474
9738
|
}];
|
|
9475
9739
|
// ----- node/prefer-global/buffer -----
|
|
9476
9740
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -9571,6 +9835,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
9571
9835
|
var?: ("always" | "never" | "consecutive");
|
|
9572
9836
|
let?: ("always" | "never" | "consecutive");
|
|
9573
9837
|
const?: ("always" | "never" | "consecutive");
|
|
9838
|
+
using?: ("always" | "never" | "consecutive");
|
|
9839
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
9574
9840
|
} | {
|
|
9575
9841
|
initialized?: ("always" | "never" | "consecutive");
|
|
9576
9842
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -11368,6 +11634,10 @@ type PreferReflect = [] | [{
|
|
|
11368
11634
|
type PreferRegexLiterals = [] | [{
|
|
11369
11635
|
disallowRedundantWrapping?: boolean;
|
|
11370
11636
|
}];
|
|
11637
|
+
// ----- preserve-caught-error -----
|
|
11638
|
+
type PreserveCaughtError = [] | [{
|
|
11639
|
+
requireCatchParameter?: boolean;
|
|
11640
|
+
}];
|
|
11371
11641
|
// ----- quote-props -----
|
|
11372
11642
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
11373
11643
|
keywords?: boolean;
|
|
@@ -11386,16 +11656,128 @@ type ReactDomNoUnknownProperty = [] | [{
|
|
|
11386
11656
|
ignore?: string[];
|
|
11387
11657
|
requireDataLowercase?: boolean;
|
|
11388
11658
|
}];
|
|
11659
|
+
// ----- react-hooks/automatic-effect-dependencies -----
|
|
11660
|
+
type ReactHooksAutomaticEffectDependencies = [] | [{
|
|
11661
|
+
[k: string]: unknown | undefined;
|
|
11662
|
+
}];
|
|
11663
|
+
// ----- react-hooks/capitalized-calls -----
|
|
11664
|
+
type ReactHooksCapitalizedCalls = [] | [{
|
|
11665
|
+
[k: string]: unknown | undefined;
|
|
11666
|
+
}];
|
|
11667
|
+
// ----- react-hooks/component-hook-factories -----
|
|
11668
|
+
type ReactHooksComponentHookFactories = [] | [{
|
|
11669
|
+
[k: string]: unknown | undefined;
|
|
11670
|
+
}];
|
|
11671
|
+
// ----- react-hooks/config -----
|
|
11672
|
+
type ReactHooksConfig = [] | [{
|
|
11673
|
+
[k: string]: unknown | undefined;
|
|
11674
|
+
}];
|
|
11675
|
+
// ----- react-hooks/error-boundaries -----
|
|
11676
|
+
type ReactHooksErrorBoundaries = [] | [{
|
|
11677
|
+
[k: string]: unknown | undefined;
|
|
11678
|
+
}];
|
|
11389
11679
|
// ----- react-hooks/exhaustive-deps -----
|
|
11390
11680
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
11391
11681
|
additionalHooks?: string;
|
|
11392
11682
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
11683
|
+
experimental_autoDependenciesHooks?: string[];
|
|
11684
|
+
requireExplicitEffectDeps?: boolean;
|
|
11685
|
+
}];
|
|
11686
|
+
// ----- react-hooks/fbt -----
|
|
11687
|
+
type ReactHooksFbt = [] | [{
|
|
11688
|
+
[k: string]: unknown | undefined;
|
|
11689
|
+
}];
|
|
11690
|
+
// ----- react-hooks/fire -----
|
|
11691
|
+
type ReactHooksFire = [] | [{
|
|
11692
|
+
[k: string]: unknown | undefined;
|
|
11693
|
+
}];
|
|
11694
|
+
// ----- react-hooks/gating -----
|
|
11695
|
+
type ReactHooksGating = [] | [{
|
|
11696
|
+
[k: string]: unknown | undefined;
|
|
11697
|
+
}];
|
|
11698
|
+
// ----- react-hooks/globals -----
|
|
11699
|
+
type ReactHooksGlobals = [] | [{
|
|
11700
|
+
[k: string]: unknown | undefined;
|
|
11701
|
+
}];
|
|
11702
|
+
// ----- react-hooks/hooks -----
|
|
11703
|
+
type ReactHooksHooks = [] | [{
|
|
11704
|
+
[k: string]: unknown | undefined;
|
|
11705
|
+
}];
|
|
11706
|
+
// ----- react-hooks/immutability -----
|
|
11707
|
+
type ReactHooksImmutability = [] | [{
|
|
11708
|
+
[k: string]: unknown | undefined;
|
|
11709
|
+
}];
|
|
11710
|
+
// ----- react-hooks/incompatible-library -----
|
|
11711
|
+
type ReactHooksIncompatibleLibrary = [] | [{
|
|
11712
|
+
[k: string]: unknown | undefined;
|
|
11713
|
+
}];
|
|
11714
|
+
// ----- react-hooks/invariant -----
|
|
11715
|
+
type ReactHooksInvariant = [] | [{
|
|
11716
|
+
[k: string]: unknown | undefined;
|
|
11717
|
+
}];
|
|
11718
|
+
// ----- react-hooks/memoized-effect-dependencies -----
|
|
11719
|
+
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
11720
|
+
[k: string]: unknown | undefined;
|
|
11721
|
+
}];
|
|
11722
|
+
// ----- react-hooks/no-deriving-state-in-effects -----
|
|
11723
|
+
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
11724
|
+
[k: string]: unknown | undefined;
|
|
11725
|
+
}];
|
|
11726
|
+
// ----- react-hooks/preserve-manual-memoization -----
|
|
11727
|
+
type ReactHooksPreserveManualMemoization = [] | [{
|
|
11728
|
+
[k: string]: unknown | undefined;
|
|
11729
|
+
}];
|
|
11730
|
+
// ----- react-hooks/purity -----
|
|
11731
|
+
type ReactHooksPurity = [] | [{
|
|
11732
|
+
[k: string]: unknown | undefined;
|
|
11733
|
+
}];
|
|
11734
|
+
// ----- react-hooks/refs -----
|
|
11735
|
+
type ReactHooksRefs = [] | [{
|
|
11736
|
+
[k: string]: unknown | undefined;
|
|
11737
|
+
}];
|
|
11738
|
+
// ----- react-hooks/rule-suppression -----
|
|
11739
|
+
type ReactHooksRuleSuppression = [] | [{
|
|
11740
|
+
[k: string]: unknown | undefined;
|
|
11741
|
+
}];
|
|
11742
|
+
// ----- react-hooks/rules-of-hooks -----
|
|
11743
|
+
type ReactHooksRulesOfHooks = [] | [{
|
|
11744
|
+
additionalHooks?: string;
|
|
11745
|
+
}];
|
|
11746
|
+
// ----- react-hooks/set-state-in-effect -----
|
|
11747
|
+
type ReactHooksSetStateInEffect = [] | [{
|
|
11748
|
+
[k: string]: unknown | undefined;
|
|
11749
|
+
}];
|
|
11750
|
+
// ----- react-hooks/set-state-in-render -----
|
|
11751
|
+
type ReactHooksSetStateInRender = [] | [{
|
|
11752
|
+
[k: string]: unknown | undefined;
|
|
11753
|
+
}];
|
|
11754
|
+
// ----- react-hooks/static-components -----
|
|
11755
|
+
type ReactHooksStaticComponents = [] | [{
|
|
11756
|
+
[k: string]: unknown | undefined;
|
|
11757
|
+
}];
|
|
11758
|
+
// ----- react-hooks/syntax -----
|
|
11759
|
+
type ReactHooksSyntax = [] | [{
|
|
11760
|
+
[k: string]: unknown | undefined;
|
|
11761
|
+
}];
|
|
11762
|
+
// ----- react-hooks/todo -----
|
|
11763
|
+
type ReactHooksTodo = [] | [{
|
|
11764
|
+
[k: string]: unknown | undefined;
|
|
11765
|
+
}];
|
|
11766
|
+
// ----- react-hooks/unsupported-syntax -----
|
|
11767
|
+
type ReactHooksUnsupportedSyntax = [] | [{
|
|
11768
|
+
[k: string]: unknown | undefined;
|
|
11769
|
+
}];
|
|
11770
|
+
// ----- react-hooks/use-memo -----
|
|
11771
|
+
type ReactHooksUseMemo = [] | [{
|
|
11772
|
+
[k: string]: unknown | undefined;
|
|
11773
|
+
}];
|
|
11774
|
+
// ----- react-hooks/void-use-memo -----
|
|
11775
|
+
type ReactHooksVoidUseMemo = [] | [{
|
|
11776
|
+
[k: string]: unknown | undefined;
|
|
11393
11777
|
}];
|
|
11394
11778
|
// ----- react-naming-convention/component-name -----
|
|
11395
11779
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
11396
11780
|
allowAllCaps?: boolean;
|
|
11397
|
-
allowLeadingUnderscore?: boolean;
|
|
11398
|
-
allowNamespace?: boolean;
|
|
11399
11781
|
excepts?: string[];
|
|
11400
11782
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
11401
11783
|
})];
|
|
@@ -11418,6 +11800,20 @@ type ReactRefreshOnlyExportComponents = [] | [{
|
|
|
11418
11800
|
customHOCs?: string[];
|
|
11419
11801
|
checkJS?: boolean;
|
|
11420
11802
|
}];
|
|
11803
|
+
// ----- react/jsx-shorthand-boolean -----
|
|
11804
|
+
type ReactJsxShorthandBoolean = [] | [(-1 | 1)];
|
|
11805
|
+
// ----- react/jsx-shorthand-fragment -----
|
|
11806
|
+
type ReactJsxShorthandFragment = [] | [(-1 | 1)];
|
|
11807
|
+
// ----- react/no-forbidden-props -----
|
|
11808
|
+
type ReactNoForbiddenProps = [] | [{
|
|
11809
|
+
forbid?: (string | {
|
|
11810
|
+
excludedNodes?: string[];
|
|
11811
|
+
prop: string;
|
|
11812
|
+
} | {
|
|
11813
|
+
includedNodes?: string[];
|
|
11814
|
+
prop: string;
|
|
11815
|
+
})[];
|
|
11816
|
+
}];
|
|
11421
11817
|
// ----- react/no-useless-fragment -----
|
|
11422
11818
|
type ReactNoUselessFragment = [] | [{
|
|
11423
11819
|
allowExpressions?: boolean;
|
|
@@ -11842,6 +12238,10 @@ type StyleGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither"
|
|
|
11842
12238
|
before?: boolean;
|
|
11843
12239
|
after?: boolean;
|
|
11844
12240
|
});
|
|
12241
|
+
shorthand?: (("before" | "after" | "both" | "neither") | {
|
|
12242
|
+
before?: boolean;
|
|
12243
|
+
after?: boolean;
|
|
12244
|
+
});
|
|
11845
12245
|
})];
|
|
11846
12246
|
// ----- style/implicit-arrow-linebreak -----
|
|
11847
12247
|
type StyleImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
@@ -11854,6 +12254,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
11854
12254
|
const?: (number | ("first" | "off"));
|
|
11855
12255
|
using?: (number | ("first" | "off"));
|
|
11856
12256
|
});
|
|
12257
|
+
assignmentOperator?: (number | "off");
|
|
11857
12258
|
outerIIFEBody?: (number | "off");
|
|
11858
12259
|
MemberExpression?: (number | "off");
|
|
11859
12260
|
FunctionDeclaration?: {
|
|
@@ -12318,7 +12719,7 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12318
12719
|
before?: boolean;
|
|
12319
12720
|
after?: boolean;
|
|
12320
12721
|
};
|
|
12321
|
-
|
|
12722
|
+
arguments?: {
|
|
12322
12723
|
before?: boolean;
|
|
12323
12724
|
after?: boolean;
|
|
12324
12725
|
};
|
|
@@ -12334,6 +12735,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12334
12735
|
before?: boolean;
|
|
12335
12736
|
after?: boolean;
|
|
12336
12737
|
};
|
|
12738
|
+
eval?: {
|
|
12739
|
+
before?: boolean;
|
|
12740
|
+
after?: boolean;
|
|
12741
|
+
};
|
|
12337
12742
|
from?: {
|
|
12338
12743
|
before?: boolean;
|
|
12339
12744
|
after?: boolean;
|
|
@@ -12350,11 +12755,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12350
12755
|
before?: boolean;
|
|
12351
12756
|
after?: boolean;
|
|
12352
12757
|
};
|
|
12353
|
-
|
|
12758
|
+
set?: {
|
|
12354
12759
|
before?: boolean;
|
|
12355
12760
|
after?: boolean;
|
|
12356
12761
|
};
|
|
12357
|
-
|
|
12762
|
+
type?: {
|
|
12358
12763
|
before?: boolean;
|
|
12359
12764
|
after?: boolean;
|
|
12360
12765
|
};
|
|
@@ -12366,7 +12771,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12366
12771
|
before?: boolean;
|
|
12367
12772
|
after?: boolean;
|
|
12368
12773
|
};
|
|
12369
|
-
|
|
12774
|
+
accessor?: {
|
|
12775
|
+
before?: boolean;
|
|
12776
|
+
after?: boolean;
|
|
12777
|
+
};
|
|
12778
|
+
satisfies?: {
|
|
12370
12779
|
before?: boolean;
|
|
12371
12780
|
after?: boolean;
|
|
12372
12781
|
};
|
|
@@ -12569,6 +12978,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
12569
12978
|
LogicalExpression?: boolean;
|
|
12570
12979
|
AwaitExpression?: boolean;
|
|
12571
12980
|
};
|
|
12981
|
+
ignoredNodes?: string[];
|
|
12572
12982
|
}]);
|
|
12573
12983
|
// ----- style/no-mixed-operators -----
|
|
12574
12984
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -12656,6 +13066,18 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
12656
13066
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
12657
13067
|
arraysInObjects?: boolean;
|
|
12658
13068
|
objectsInObjects?: boolean;
|
|
13069
|
+
overrides?: {
|
|
13070
|
+
ObjectPattern?: ("always" | "never");
|
|
13071
|
+
ObjectExpression?: ("always" | "never");
|
|
13072
|
+
ImportDeclaration?: ("always" | "never");
|
|
13073
|
+
ImportAttributes?: ("always" | "never");
|
|
13074
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
13075
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
13076
|
+
TSMappedType?: ("always" | "never");
|
|
13077
|
+
TSTypeLiteral?: ("always" | "never");
|
|
13078
|
+
TSInterfaceBody?: ("always" | "never");
|
|
13079
|
+
TSEnumBody?: ("always" | "never");
|
|
13080
|
+
};
|
|
12659
13081
|
}];
|
|
12660
13082
|
// ----- style/object-property-newline -----
|
|
12661
13083
|
type StyleObjectPropertyNewline = [] | [{
|
|
@@ -12684,7 +13106,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
12684
13106
|
// ----- style/padding-line-between-statements -----
|
|
12685
13107
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12686
13108
|
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
|
|
12687
|
-
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "
|
|
13109
|
+
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");
|
|
12688
13110
|
type StylePaddingLineBetweenStatements = {
|
|
12689
13111
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
12690
13112
|
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
@@ -13733,6 +14155,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
13733
14155
|
checkLiteralConstAssertions?: boolean;
|
|
13734
14156
|
typesToIgnore?: string[];
|
|
13735
14157
|
}];
|
|
14158
|
+
// ----- ts/no-unsafe-member-access -----
|
|
14159
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
14160
|
+
allowOptionalChaining?: boolean;
|
|
14161
|
+
}];
|
|
13736
14162
|
// ----- ts/no-unused-expressions -----
|
|
13737
14163
|
type TsNoUnusedExpressions = [] | [{
|
|
13738
14164
|
allowShortCircuit?: boolean;
|
|
@@ -13750,6 +14176,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
13750
14176
|
destructuredArrayIgnorePattern?: string;
|
|
13751
14177
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
13752
14178
|
ignoreRestSiblings?: boolean;
|
|
14179
|
+
ignoreUsingDeclarations?: boolean;
|
|
13753
14180
|
reportUsedIgnorePattern?: boolean;
|
|
13754
14181
|
vars?: ("all" | "local");
|
|
13755
14182
|
varsIgnorePattern?: string;
|
|
@@ -14048,6 +14475,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
14048
14475
|
type UnicornNoArrayReverse = [] | [{
|
|
14049
14476
|
allowExpressionStatement?: boolean;
|
|
14050
14477
|
}];
|
|
14478
|
+
// ----- unicorn/no-array-sort -----
|
|
14479
|
+
type UnicornNoArraySort = [] | [{
|
|
14480
|
+
allowExpressionStatement?: boolean;
|
|
14481
|
+
}];
|
|
14051
14482
|
// ----- unicorn/no-instanceof-builtins -----
|
|
14052
14483
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
14053
14484
|
useErrorIsError?: boolean;
|
|
@@ -14201,6 +14632,11 @@ type UnocssEnforceClassCompile = [] | [{
|
|
|
14201
14632
|
prefix?: string;
|
|
14202
14633
|
enableFix?: boolean;
|
|
14203
14634
|
}];
|
|
14635
|
+
// ----- unocss/order -----
|
|
14636
|
+
type UnocssOrder = [] | [{
|
|
14637
|
+
unoFunctions?: string[];
|
|
14638
|
+
unoVariables?: string[];
|
|
14639
|
+
}];
|
|
14204
14640
|
// ----- unused-imports/no-unused-imports -----
|
|
14205
14641
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
14206
14642
|
args?: ("all" | "after-used" | "none");
|
|
@@ -14210,6 +14646,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
14210
14646
|
destructuredArrayIgnorePattern?: string;
|
|
14211
14647
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
14212
14648
|
ignoreRestSiblings?: boolean;
|
|
14649
|
+
ignoreUsingDeclarations?: boolean;
|
|
14213
14650
|
reportUsedIgnorePattern?: boolean;
|
|
14214
14651
|
vars?: ("all" | "local");
|
|
14215
14652
|
varsIgnorePattern?: string;
|
|
@@ -14223,6 +14660,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
14223
14660
|
destructuredArrayIgnorePattern?: string;
|
|
14224
14661
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
14225
14662
|
ignoreRestSiblings?: boolean;
|
|
14663
|
+
ignoreUsingDeclarations?: boolean;
|
|
14226
14664
|
reportUsedIgnorePattern?: boolean;
|
|
14227
14665
|
vars?: ("all" | "local");
|
|
14228
14666
|
varsIgnorePattern?: string;
|
|
@@ -14274,6 +14712,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
14274
14712
|
type VueAttributesOrder = [] | [{
|
|
14275
14713
|
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")[])[];
|
|
14276
14714
|
alphabetical?: boolean;
|
|
14715
|
+
sortLineLength?: boolean;
|
|
14277
14716
|
}];
|
|
14278
14717
|
// ----- vue/block-lang -----
|
|
14279
14718
|
type VueBlockLang = [] | [{
|
|
@@ -14920,6 +15359,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
14920
15359
|
}];
|
|
14921
15360
|
// ----- vue/next-tick-style -----
|
|
14922
15361
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
15362
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
15363
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
15364
|
+
ignoredObjectNames?: string[];
|
|
15365
|
+
}];
|
|
14923
15366
|
// ----- vue/no-bare-strings-in-template -----
|
|
14924
15367
|
type VueNoBareStringsInTemplate = [] | [{
|
|
14925
15368
|
allowlist?: string[];
|
|
@@ -14953,6 +15396,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
|
|
|
14953
15396
|
// ----- vue/no-deprecated-slot-attribute -----
|
|
14954
15397
|
type VueNoDeprecatedSlotAttribute = [] | [{
|
|
14955
15398
|
ignore?: string[];
|
|
15399
|
+
ignoreParents?: string[];
|
|
14956
15400
|
}];
|
|
14957
15401
|
// ----- vue/no-dupe-keys -----
|
|
14958
15402
|
type VueNoDupeKeys = [] | [{
|
|
@@ -15203,6 +15647,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
15203
15647
|
ignoreIncludesComment?: boolean;
|
|
15204
15648
|
ignoreStringEscape?: boolean;
|
|
15205
15649
|
}];
|
|
15650
|
+
// ----- vue/no-v-html -----
|
|
15651
|
+
type VueNoVHtml = [] | [{
|
|
15652
|
+
ignorePattern?: string;
|
|
15653
|
+
}];
|
|
15206
15654
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
15207
15655
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
15208
15656
|
allow?: string[];
|
|
@@ -15793,7 +16241,7 @@ interface OptionsVue {
|
|
|
15793
16241
|
*/
|
|
15794
16242
|
sfcBlocks?: boolean | Options;
|
|
15795
16243
|
}
|
|
15796
|
-
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
|
|
16244
|
+
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides & OptionsTypeScriptErasableOnly) | (OptionsTypeScriptParserOptions & OptionsOverrides & OptionsTypeScriptErasableOnly);
|
|
15797
16245
|
interface OptionsFormatters {
|
|
15798
16246
|
/**
|
|
15799
16247
|
* 启用对 CSS、Less、Sass 和 SCSS 的格式化支持.
|
|
@@ -15924,6 +16372,15 @@ interface OptionsProjectType {
|
|
|
15924
16372
|
*/
|
|
15925
16373
|
type?: 'app' | 'lib';
|
|
15926
16374
|
}
|
|
16375
|
+
interface OptionsTypeScriptErasableOnly {
|
|
16376
|
+
/**
|
|
16377
|
+
* 启用可擦除语法规则
|
|
16378
|
+
*
|
|
16379
|
+
* @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only
|
|
16380
|
+
* @default false
|
|
16381
|
+
*/
|
|
16382
|
+
erasableOnly?: boolean;
|
|
16383
|
+
}
|
|
15927
16384
|
interface OptionsRegExp {
|
|
15928
16385
|
/**
|
|
15929
16386
|
* Override rulelevels
|
|
@@ -15969,7 +16426,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
15969
16426
|
*
|
|
15970
16427
|
* @default 根据依赖关系自动检测
|
|
15971
16428
|
*/
|
|
15972
|
-
typescript?: boolean |
|
|
16429
|
+
typescript?: boolean | OptionsTypescript;
|
|
15973
16430
|
/**
|
|
15974
16431
|
* 启用 JSX 相关规则.
|
|
15975
16432
|
*
|
|
@@ -16248,7 +16705,7 @@ declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverri
|
|
|
16248
16705
|
declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
16249
16706
|
//#endregion
|
|
16250
16707
|
//#region src/configs/typescript.d.ts
|
|
16251
|
-
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
|
|
16708
|
+
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType & OptionsTypeScriptErasableOnly): Promise<TypedFlatConfigItem[]>;
|
|
16252
16709
|
//#endregion
|
|
16253
16710
|
//#region src/configs/unicorn.d.ts
|
|
16254
16711
|
declare function unicorn(options?: OptionsUnicorn & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
@@ -16335,4 +16792,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
16335
16792
|
declare function isInEditorEnv(): boolean;
|
|
16336
16793
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
16337
16794
|
//#endregion
|
|
16338
|
-
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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIgnores, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, nextjs, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
16795
|
+
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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIgnores, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, nextjs, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|