@lincy/eslint-config 4.5.1 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/index.cjs +99 -57
- package/dist/index.d.cts +831 -222
- package/dist/index.d.ts +831 -222
- package/dist/index.js +97 -57
- package/package.json +35 -34
package/dist/index.d.ts
CHANGED
|
@@ -119,6 +119,11 @@ interface RuleOptions {
|
|
|
119
119
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
120
120
|
*/
|
|
121
121
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
122
|
+
/**
|
|
123
|
+
* Enforce Anthony's style of curly bracket
|
|
124
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
|
|
125
|
+
*/
|
|
126
|
+
'antfu/curly'?: Linter.RuleEntry<[]>
|
|
122
127
|
/**
|
|
123
128
|
* Newline after if
|
|
124
129
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
|
|
@@ -129,6 +134,11 @@ interface RuleOptions {
|
|
|
129
134
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
130
135
|
*/
|
|
131
136
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
137
|
+
/**
|
|
138
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
139
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
140
|
+
*/
|
|
141
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
132
142
|
/**
|
|
133
143
|
* Prevent importing modules in `dist` folder
|
|
134
144
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -466,42 +476,42 @@ interface RuleOptions {
|
|
|
466
476
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
467
477
|
/**
|
|
468
478
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
469
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
479
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
|
|
470
480
|
*/
|
|
471
481
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
472
482
|
/**
|
|
473
483
|
* Ensure a default export is present, given a default import.
|
|
474
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
484
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
|
|
475
485
|
*/
|
|
476
486
|
'import/default'?: Linter.RuleEntry<[]>
|
|
477
487
|
/**
|
|
478
488
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
479
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
489
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
|
|
480
490
|
*/
|
|
481
491
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
482
492
|
/**
|
|
483
493
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
484
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
494
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
|
|
485
495
|
*/
|
|
486
496
|
'import/export'?: Linter.RuleEntry<[]>
|
|
487
497
|
/**
|
|
488
498
|
* Ensure all exports appear after other statements.
|
|
489
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
499
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
|
|
490
500
|
*/
|
|
491
501
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
492
502
|
/**
|
|
493
503
|
* Ensure consistent use of file extension within the import path.
|
|
494
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
504
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
|
|
495
505
|
*/
|
|
496
506
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
497
507
|
/**
|
|
498
508
|
* Ensure all imports appear before other statements.
|
|
499
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
509
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
|
|
500
510
|
*/
|
|
501
511
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
502
512
|
/**
|
|
503
513
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
504
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
514
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
|
|
505
515
|
*/
|
|
506
516
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
507
517
|
/**
|
|
@@ -512,182 +522,182 @@ interface RuleOptions {
|
|
|
512
522
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
513
523
|
/**
|
|
514
524
|
* Enforce the maximum number of dependencies a module can have.
|
|
515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
525
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
|
|
516
526
|
*/
|
|
517
527
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
518
528
|
/**
|
|
519
529
|
* Ensure named imports correspond to a named export in the remote file.
|
|
520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
530
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
|
|
521
531
|
*/
|
|
522
532
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
523
533
|
/**
|
|
524
534
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
535
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
|
|
526
536
|
*/
|
|
527
537
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
528
538
|
/**
|
|
529
539
|
* Enforce a newline after import statements.
|
|
530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
540
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
|
|
531
541
|
*/
|
|
532
542
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
533
543
|
/**
|
|
534
544
|
* Forbid import of modules using absolute paths.
|
|
535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
545
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
|
|
536
546
|
*/
|
|
537
547
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
538
548
|
/**
|
|
539
549
|
* Forbid AMD `require` and `define` calls.
|
|
540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
550
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
|
|
541
551
|
*/
|
|
542
552
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
543
553
|
/**
|
|
544
554
|
* Forbid anonymous values as default exports.
|
|
545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
555
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
|
|
546
556
|
*/
|
|
547
557
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
548
558
|
/**
|
|
549
559
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
560
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
|
|
551
561
|
*/
|
|
552
562
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
553
563
|
/**
|
|
554
564
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
565
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
|
|
556
566
|
*/
|
|
557
567
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
558
568
|
/**
|
|
559
569
|
* Forbid default exports.
|
|
560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
|
|
561
571
|
*/
|
|
562
572
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
563
573
|
/**
|
|
564
574
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
|
|
566
576
|
*/
|
|
567
577
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
568
578
|
/**
|
|
569
579
|
* Forbid repeated import of the same module in multiple places.
|
|
570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
|
|
571
581
|
*/
|
|
572
582
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
573
583
|
/**
|
|
574
584
|
* Forbid `require()` calls with expressions.
|
|
575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
|
|
576
586
|
*/
|
|
577
587
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
578
588
|
/**
|
|
579
589
|
* Forbid empty named import blocks.
|
|
580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
|
|
581
591
|
*/
|
|
582
592
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
583
593
|
/**
|
|
584
594
|
* Forbid the use of extraneous packages.
|
|
585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
|
|
586
596
|
*/
|
|
587
597
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
588
598
|
/**
|
|
589
599
|
* Forbid import statements with CommonJS module.exports.
|
|
590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
|
|
591
601
|
*/
|
|
592
602
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
593
603
|
/**
|
|
594
604
|
* Forbid importing the submodules of other modules.
|
|
595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
|
|
596
606
|
*/
|
|
597
607
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
598
608
|
/**
|
|
599
609
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
|
|
601
611
|
*/
|
|
602
612
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
603
613
|
/**
|
|
604
614
|
* Forbid use of exported name as identifier of default export.
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
615
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
|
|
606
616
|
*/
|
|
607
617
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
608
618
|
/**
|
|
609
619
|
* Forbid use of exported name as property of default export.
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
620
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
|
|
611
621
|
*/
|
|
612
622
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
613
623
|
/**
|
|
614
624
|
* Forbid named default exports.
|
|
615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
625
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
|
|
616
626
|
*/
|
|
617
627
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
618
628
|
/**
|
|
619
629
|
* Forbid named exports.
|
|
620
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
630
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
|
|
621
631
|
*/
|
|
622
632
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
623
633
|
/**
|
|
624
634
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
625
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
635
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
|
|
626
636
|
*/
|
|
627
637
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
628
638
|
/**
|
|
629
639
|
* Forbid Node.js builtin modules.
|
|
630
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
|
|
631
641
|
*/
|
|
632
642
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
633
643
|
/**
|
|
634
644
|
* Forbid importing packages through relative paths.
|
|
635
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
645
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
|
|
636
646
|
*/
|
|
637
647
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
638
648
|
/**
|
|
639
649
|
* Forbid importing modules from parent directories.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
650
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
|
|
641
651
|
*/
|
|
642
652
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
643
653
|
/**
|
|
644
654
|
* Enforce which files can be imported in a given folder.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
655
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
|
|
646
656
|
*/
|
|
647
657
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
648
658
|
/**
|
|
649
659
|
* Forbid a module from importing itself.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
|
|
651
661
|
*/
|
|
652
662
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
653
663
|
/**
|
|
654
664
|
* Forbid unassigned imports.
|
|
655
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
|
|
656
666
|
*/
|
|
657
667
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
658
668
|
/**
|
|
659
669
|
* Ensure imports point to a file/module that can be resolved.
|
|
660
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
|
|
661
671
|
*/
|
|
662
672
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
663
673
|
/**
|
|
664
674
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
665
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
|
|
666
676
|
*/
|
|
667
677
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
668
678
|
/**
|
|
669
679
|
* Forbid unnecessary path segments in import and require statements.
|
|
670
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
680
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
|
|
671
681
|
*/
|
|
672
682
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
673
683
|
/**
|
|
674
684
|
* Forbid webpack loader syntax in imports.
|
|
675
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
685
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
|
|
676
686
|
*/
|
|
677
687
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
678
688
|
/**
|
|
679
689
|
* Enforce a convention in module import order.
|
|
680
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
690
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
|
|
681
691
|
*/
|
|
682
692
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
683
693
|
/**
|
|
684
694
|
* Prefer a default export if module exports a single name or multiple names.
|
|
685
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
695
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
|
|
686
696
|
*/
|
|
687
697
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
688
698
|
/**
|
|
689
699
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
690
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
700
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
|
|
691
701
|
*/
|
|
692
702
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
693
703
|
/**
|
|
@@ -1211,6 +1221,7 @@ interface RuleOptions {
|
|
|
1211
1221
|
/**
|
|
1212
1222
|
* Enforce position of line comments
|
|
1213
1223
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
1224
|
+
* @deprecated
|
|
1214
1225
|
*/
|
|
1215
1226
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
1216
1227
|
/**
|
|
@@ -1292,6 +1303,7 @@ interface RuleOptions {
|
|
|
1292
1303
|
/**
|
|
1293
1304
|
* Enforce a particular style for multiline comments
|
|
1294
1305
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
1306
|
+
* @deprecated
|
|
1295
1307
|
*/
|
|
1296
1308
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
1297
1309
|
/**
|
|
@@ -1664,7 +1676,7 @@ interface RuleOptions {
|
|
|
1664
1676
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1665
1677
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1666
1678
|
*/
|
|
1667
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1679
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1668
1680
|
/**
|
|
1669
1681
|
* Disallow mixed binary operators
|
|
1670
1682
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2737,6 +2749,7 @@ interface RuleOptions {
|
|
|
2737
2749
|
/**
|
|
2738
2750
|
* disallow complicated conditional rendering
|
|
2739
2751
|
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2752
|
+
* @deprecated
|
|
2740
2753
|
*/
|
|
2741
2754
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2742
2755
|
/**
|
|
@@ -2772,6 +2785,7 @@ interface RuleOptions {
|
|
|
2772
2785
|
/**
|
|
2773
2786
|
* disallow spreading 'key' from objects.
|
|
2774
2787
|
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2788
|
+
* @deprecated
|
|
2775
2789
|
*/
|
|
2776
2790
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2777
2791
|
/**
|
|
@@ -2874,6 +2888,416 @@ interface RuleOptions {
|
|
|
2874
2888
|
* @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
|
|
2875
2889
|
*/
|
|
2876
2890
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2891
|
+
/**
|
|
2892
|
+
* disallow confusing quantifiers
|
|
2893
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
2894
|
+
*/
|
|
2895
|
+
'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
|
|
2896
|
+
/**
|
|
2897
|
+
* enforce consistent escaping of control characters
|
|
2898
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
|
|
2899
|
+
*/
|
|
2900
|
+
'regexp/control-character-escape'?: Linter.RuleEntry<[]>
|
|
2901
|
+
/**
|
|
2902
|
+
* enforce single grapheme in string literal
|
|
2903
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
|
|
2904
|
+
*/
|
|
2905
|
+
'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
|
|
2906
|
+
/**
|
|
2907
|
+
* enforce consistent usage of hexadecimal escape
|
|
2908
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
|
|
2909
|
+
*/
|
|
2910
|
+
'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
|
|
2911
|
+
/**
|
|
2912
|
+
* enforce into your favorite case
|
|
2913
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
|
|
2914
|
+
*/
|
|
2915
|
+
'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
|
|
2916
|
+
/**
|
|
2917
|
+
* enforce match any character style
|
|
2918
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
|
|
2919
|
+
*/
|
|
2920
|
+
'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
|
|
2921
|
+
/**
|
|
2922
|
+
* enforce use of escapes on negation
|
|
2923
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
|
|
2924
|
+
*/
|
|
2925
|
+
'regexp/negation'?: Linter.RuleEntry<[]>
|
|
2926
|
+
/**
|
|
2927
|
+
* disallow elements that contradict assertions
|
|
2928
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
|
|
2929
|
+
*/
|
|
2930
|
+
'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
|
|
2931
|
+
/**
|
|
2932
|
+
* disallow control characters
|
|
2933
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
|
|
2934
|
+
*/
|
|
2935
|
+
'regexp/no-control-character'?: Linter.RuleEntry<[]>
|
|
2936
|
+
/**
|
|
2937
|
+
* disallow duplicate characters in the RegExp character class
|
|
2938
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
|
|
2939
|
+
*/
|
|
2940
|
+
'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
|
|
2941
|
+
/**
|
|
2942
|
+
* disallow duplicate disjunctions
|
|
2943
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
|
|
2944
|
+
*/
|
|
2945
|
+
'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
|
|
2946
|
+
/**
|
|
2947
|
+
* disallow alternatives without elements
|
|
2948
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
|
|
2949
|
+
*/
|
|
2950
|
+
'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
|
|
2951
|
+
/**
|
|
2952
|
+
* disallow capturing group that captures empty.
|
|
2953
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
|
|
2954
|
+
*/
|
|
2955
|
+
'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
|
|
2956
|
+
/**
|
|
2957
|
+
* disallow character classes that match no characters
|
|
2958
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
|
|
2959
|
+
*/
|
|
2960
|
+
'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
|
|
2961
|
+
/**
|
|
2962
|
+
* disallow empty group
|
|
2963
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
|
|
2964
|
+
*/
|
|
2965
|
+
'regexp/no-empty-group'?: Linter.RuleEntry<[]>
|
|
2966
|
+
/**
|
|
2967
|
+
* disallow empty lookahead assertion or empty lookbehind assertion
|
|
2968
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
|
|
2969
|
+
*/
|
|
2970
|
+
'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
|
|
2971
|
+
/**
|
|
2972
|
+
* disallow empty string literals in character classes
|
|
2973
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
|
|
2974
|
+
*/
|
|
2975
|
+
'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
|
|
2976
|
+
/**
|
|
2977
|
+
* disallow escape backspace (`[\b]`)
|
|
2978
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
|
|
2979
|
+
*/
|
|
2980
|
+
'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
|
|
2981
|
+
/**
|
|
2982
|
+
* disallow unnecessary nested lookaround assertions
|
|
2983
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
|
|
2984
|
+
*/
|
|
2985
|
+
'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
|
|
2986
|
+
/**
|
|
2987
|
+
* disallow invalid regular expression strings in `RegExp` constructors
|
|
2988
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
|
|
2989
|
+
*/
|
|
2990
|
+
'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
|
|
2991
|
+
/**
|
|
2992
|
+
* disallow invisible raw character
|
|
2993
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
|
|
2994
|
+
*/
|
|
2995
|
+
'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
|
|
2996
|
+
/**
|
|
2997
|
+
* disallow lazy quantifiers at the end of an expression
|
|
2998
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
|
|
2999
|
+
*/
|
|
3000
|
+
'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
|
|
3001
|
+
/**
|
|
3002
|
+
* disallow legacy RegExp features
|
|
3003
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
|
|
3004
|
+
*/
|
|
3005
|
+
'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
|
|
3006
|
+
/**
|
|
3007
|
+
* disallow capturing groups that do not behave as one would expect
|
|
3008
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
|
|
3009
|
+
*/
|
|
3010
|
+
'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
|
|
3011
|
+
/**
|
|
3012
|
+
* disallow multi-code-point characters in character classes and quantifiers
|
|
3013
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
|
|
3014
|
+
*/
|
|
3015
|
+
'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
|
|
3016
|
+
/**
|
|
3017
|
+
* disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
|
|
3018
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
|
|
3019
|
+
*/
|
|
3020
|
+
'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
|
|
3021
|
+
/**
|
|
3022
|
+
* disallow non-standard flags
|
|
3023
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
|
|
3024
|
+
*/
|
|
3025
|
+
'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
|
|
3026
|
+
/**
|
|
3027
|
+
* disallow obscure character ranges
|
|
3028
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
|
|
3029
|
+
*/
|
|
3030
|
+
'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
|
|
3031
|
+
/**
|
|
3032
|
+
* disallow octal escape sequence
|
|
3033
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
|
|
3034
|
+
*/
|
|
3035
|
+
'regexp/no-octal'?: Linter.RuleEntry<[]>
|
|
3036
|
+
/**
|
|
3037
|
+
* disallow optional assertions
|
|
3038
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
|
|
3039
|
+
*/
|
|
3040
|
+
'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
|
|
3041
|
+
/**
|
|
3042
|
+
* disallow backreferences that reference a group that might not be matched
|
|
3043
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
|
|
3044
|
+
*/
|
|
3045
|
+
'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3046
|
+
/**
|
|
3047
|
+
* disallow standalone backslashes (`\`)
|
|
3048
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
|
|
3049
|
+
*/
|
|
3050
|
+
'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
|
|
3051
|
+
/**
|
|
3052
|
+
* disallow exponential and polynomial backtracking
|
|
3053
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
|
|
3054
|
+
*/
|
|
3055
|
+
'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
|
|
3056
|
+
/**
|
|
3057
|
+
* disallow quantifiers that cause quadratic moves
|
|
3058
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
|
|
3059
|
+
*/
|
|
3060
|
+
'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
|
|
3061
|
+
/**
|
|
3062
|
+
* disallow trivially nested assertions
|
|
3063
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
|
|
3064
|
+
*/
|
|
3065
|
+
'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
|
|
3066
|
+
/**
|
|
3067
|
+
* disallow nested quantifiers that can be rewritten as one quantifier
|
|
3068
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
|
|
3069
|
+
*/
|
|
3070
|
+
'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
|
|
3071
|
+
/**
|
|
3072
|
+
* disallow unused capturing group
|
|
3073
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
|
|
3074
|
+
*/
|
|
3075
|
+
'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
|
|
3076
|
+
/**
|
|
3077
|
+
* disallow assertions that are known to always accept (or reject)
|
|
3078
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
|
|
3079
|
+
*/
|
|
3080
|
+
'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
|
|
3081
|
+
/**
|
|
3082
|
+
* disallow useless backreferences in regular expressions
|
|
3083
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
|
|
3084
|
+
*/
|
|
3085
|
+
'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3086
|
+
/**
|
|
3087
|
+
* disallow character class with one character
|
|
3088
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
|
|
3089
|
+
*/
|
|
3090
|
+
'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
|
|
3091
|
+
/**
|
|
3092
|
+
* disallow useless `$` replacements in replacement string
|
|
3093
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
|
|
3094
|
+
*/
|
|
3095
|
+
'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
|
|
3096
|
+
/**
|
|
3097
|
+
* disallow unnecessary escape characters in RegExp
|
|
3098
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
|
|
3099
|
+
*/
|
|
3100
|
+
'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
|
|
3101
|
+
/**
|
|
3102
|
+
* disallow unnecessary regex flags
|
|
3103
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
|
|
3104
|
+
*/
|
|
3105
|
+
'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
|
|
3106
|
+
/**
|
|
3107
|
+
* disallow unnecessarily non-greedy quantifiers
|
|
3108
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
|
|
3109
|
+
*/
|
|
3110
|
+
'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
|
|
3111
|
+
/**
|
|
3112
|
+
* disallow unnecessary non-capturing group
|
|
3113
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
|
|
3114
|
+
*/
|
|
3115
|
+
'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
|
|
3116
|
+
/**
|
|
3117
|
+
* disallow quantifiers that can be removed
|
|
3118
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
|
|
3119
|
+
*/
|
|
3120
|
+
'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
|
|
3121
|
+
/**
|
|
3122
|
+
* disallow unnecessary character ranges
|
|
3123
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
|
|
3124
|
+
*/
|
|
3125
|
+
'regexp/no-useless-range'?: Linter.RuleEntry<[]>
|
|
3126
|
+
/**
|
|
3127
|
+
* disallow unnecessary elements in expression character classes
|
|
3128
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
|
|
3129
|
+
*/
|
|
3130
|
+
'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
|
|
3131
|
+
/**
|
|
3132
|
+
* disallow string disjunction of single characters in `\q{...}`
|
|
3133
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
|
|
3134
|
+
*/
|
|
3135
|
+
'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
|
|
3136
|
+
/**
|
|
3137
|
+
* disallow unnecessary `{n,m}` quantifier
|
|
3138
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
|
|
3139
|
+
*/
|
|
3140
|
+
'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
|
|
3141
|
+
/**
|
|
3142
|
+
* disallow quantifiers with a maximum of zero
|
|
3143
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
|
|
3144
|
+
*/
|
|
3145
|
+
'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
|
|
3146
|
+
/**
|
|
3147
|
+
* disallow the alternatives of lookarounds that end with a non-constant quantifier
|
|
3148
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
|
|
3149
|
+
*/
|
|
3150
|
+
'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
|
|
3151
|
+
/**
|
|
3152
|
+
* require optimal quantifiers for concatenated quantifiers
|
|
3153
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
|
|
3154
|
+
*/
|
|
3155
|
+
'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
|
|
3156
|
+
/**
|
|
3157
|
+
* enforce using character class
|
|
3158
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
|
|
3159
|
+
*/
|
|
3160
|
+
'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
|
|
3161
|
+
/**
|
|
3162
|
+
* enforce using `\d`
|
|
3163
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
|
|
3164
|
+
*/
|
|
3165
|
+
'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
|
|
3166
|
+
/**
|
|
3167
|
+
* enforces escape of replacement `$` character (`$$`).
|
|
3168
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
|
|
3169
|
+
*/
|
|
3170
|
+
'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
|
|
3171
|
+
/**
|
|
3172
|
+
* prefer lookarounds over capturing group that do not replace
|
|
3173
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
|
|
3174
|
+
*/
|
|
3175
|
+
'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
|
|
3176
|
+
/**
|
|
3177
|
+
* enforce using named backreferences
|
|
3178
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
|
|
3179
|
+
*/
|
|
3180
|
+
'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
|
|
3181
|
+
/**
|
|
3182
|
+
* enforce using named capture groups
|
|
3183
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
|
|
3184
|
+
*/
|
|
3185
|
+
'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
|
|
3186
|
+
/**
|
|
3187
|
+
* enforce using named replacement
|
|
3188
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
|
|
3189
|
+
*/
|
|
3190
|
+
'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
|
|
3191
|
+
/**
|
|
3192
|
+
* enforce using `+` quantifier
|
|
3193
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
|
|
3194
|
+
*/
|
|
3195
|
+
'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
|
|
3196
|
+
/**
|
|
3197
|
+
* prefer predefined assertion over equivalent lookarounds
|
|
3198
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
|
|
3199
|
+
*/
|
|
3200
|
+
'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
|
|
3201
|
+
/**
|
|
3202
|
+
* enforce using quantifier
|
|
3203
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
3204
|
+
*/
|
|
3205
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
|
|
3206
|
+
/**
|
|
3207
|
+
* enforce using `?` quantifier
|
|
3208
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
3209
|
+
*/
|
|
3210
|
+
'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
|
|
3211
|
+
/**
|
|
3212
|
+
* enforce using character class range
|
|
3213
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
|
|
3214
|
+
*/
|
|
3215
|
+
'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
|
|
3216
|
+
/**
|
|
3217
|
+
* enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
|
|
3218
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
|
|
3219
|
+
*/
|
|
3220
|
+
'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
|
|
3221
|
+
/**
|
|
3222
|
+
* enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
|
|
3223
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
|
|
3224
|
+
*/
|
|
3225
|
+
'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
3226
|
+
/**
|
|
3227
|
+
* enforce using result array `groups`
|
|
3228
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
|
|
3229
|
+
*/
|
|
3230
|
+
'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
|
|
3231
|
+
/**
|
|
3232
|
+
* prefer character class set operations instead of lookarounds
|
|
3233
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
|
|
3234
|
+
*/
|
|
3235
|
+
'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
|
|
3236
|
+
/**
|
|
3237
|
+
* enforce using `*` quantifier
|
|
3238
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
|
|
3239
|
+
*/
|
|
3240
|
+
'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
|
|
3241
|
+
/**
|
|
3242
|
+
* enforce use of unicode codepoint escapes
|
|
3243
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
|
|
3244
|
+
*/
|
|
3245
|
+
'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
|
|
3246
|
+
/**
|
|
3247
|
+
* enforce using `\w`
|
|
3248
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
|
|
3249
|
+
*/
|
|
3250
|
+
'regexp/prefer-w'?: Linter.RuleEntry<[]>
|
|
3251
|
+
/**
|
|
3252
|
+
* enforce the use of the `u` flag
|
|
3253
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
|
|
3254
|
+
*/
|
|
3255
|
+
'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
|
|
3256
|
+
/**
|
|
3257
|
+
* enforce the use of the `v` flag
|
|
3258
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
|
|
3259
|
+
*/
|
|
3260
|
+
'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
|
|
3261
|
+
/**
|
|
3262
|
+
* require simplify set operations
|
|
3263
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
|
|
3264
|
+
*/
|
|
3265
|
+
'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
|
|
3266
|
+
/**
|
|
3267
|
+
* sort alternatives if order doesn't matter
|
|
3268
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
|
|
3269
|
+
*/
|
|
3270
|
+
'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
|
|
3271
|
+
/**
|
|
3272
|
+
* enforces elements order in character class
|
|
3273
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
|
|
3274
|
+
*/
|
|
3275
|
+
'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
|
|
3276
|
+
/**
|
|
3277
|
+
* require regex flags to be sorted
|
|
3278
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
|
|
3279
|
+
*/
|
|
3280
|
+
'regexp/sort-flags'?: Linter.RuleEntry<[]>
|
|
3281
|
+
/**
|
|
3282
|
+
* disallow not strictly valid regular expressions
|
|
3283
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
|
|
3284
|
+
*/
|
|
3285
|
+
'regexp/strict'?: Linter.RuleEntry<[]>
|
|
3286
|
+
/**
|
|
3287
|
+
* enforce consistent usage of unicode escape or unicode codepoint escape
|
|
3288
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
|
|
3289
|
+
*/
|
|
3290
|
+
'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
|
|
3291
|
+
/**
|
|
3292
|
+
* enforce consistent naming of unicode properties
|
|
3293
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
|
|
3294
|
+
*/
|
|
3295
|
+
'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
|
|
3296
|
+
/**
|
|
3297
|
+
* use the `i` flag if it simplifies the pattern
|
|
3298
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
3299
|
+
*/
|
|
3300
|
+
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
2877
3301
|
/**
|
|
2878
3302
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
2879
3303
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3119,6 +3543,11 @@ interface RuleOptions {
|
|
|
3119
3543
|
* @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
|
|
3120
3544
|
*/
|
|
3121
3545
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
|
|
3546
|
+
/**
|
|
3547
|
+
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
3548
|
+
* @see https://eslint.style/rules/jsx/jsx-function-call-newline
|
|
3549
|
+
*/
|
|
3550
|
+
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
|
|
3122
3551
|
/**
|
|
3123
3552
|
* Enforce JSX indentation
|
|
3124
3553
|
* @see https://eslint.style/rules/jsx/jsx-indent
|
|
@@ -3189,6 +3618,11 @@ interface RuleOptions {
|
|
|
3189
3618
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3190
3619
|
*/
|
|
3191
3620
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3621
|
+
/**
|
|
3622
|
+
* Enforce position of line comments
|
|
3623
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3624
|
+
*/
|
|
3625
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3192
3626
|
/**
|
|
3193
3627
|
* Enforce consistent linebreak style
|
|
3194
3628
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3219,6 +3653,11 @@ interface RuleOptions {
|
|
|
3219
3653
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3220
3654
|
*/
|
|
3221
3655
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3656
|
+
/**
|
|
3657
|
+
* Enforce a particular style for multiline comments
|
|
3658
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3659
|
+
*/
|
|
3660
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3222
3661
|
/**
|
|
3223
3662
|
* Enforce newlines between operands of ternary expressions
|
|
3224
3663
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -4579,652 +5018,677 @@ interface RuleOptions {
|
|
|
4579
5018
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4580
5019
|
/**
|
|
4581
5020
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
4583
5022
|
*/
|
|
4584
5023
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4585
5024
|
/**
|
|
4586
5025
|
* Enforce a specific parameter name in catch clauses.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
4588
5027
|
*/
|
|
4589
5028
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4590
5029
|
/**
|
|
4591
5030
|
* Use destructured variables over properties.
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
4593
5032
|
*/
|
|
4594
5033
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5034
|
+
/**
|
|
5035
|
+
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5037
|
+
*/
|
|
5038
|
+
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4595
5039
|
/**
|
|
4596
5040
|
* Move function definitions to the highest possible scope.
|
|
4597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
4598
5042
|
*/
|
|
4599
5043
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4600
5044
|
/**
|
|
4601
5045
|
* Enforce correct `Error` subclassing.
|
|
4602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
4603
5047
|
*/
|
|
4604
5048
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4605
5049
|
/**
|
|
4606
5050
|
* Enforce no spaces between braces.
|
|
4607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
4608
5052
|
*/
|
|
4609
5053
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4610
5054
|
/**
|
|
4611
5055
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
4613
5057
|
*/
|
|
4614
5058
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4615
5059
|
/**
|
|
4616
5060
|
* Require escape sequences to use uppercase values.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
4618
5062
|
*/
|
|
4619
5063
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4620
5064
|
/**
|
|
4621
5065
|
* Add expiration conditions to TODO comments.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
4623
5067
|
*/
|
|
4624
5068
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4625
5069
|
/**
|
|
4626
5070
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
4628
5072
|
*/
|
|
4629
5073
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4630
5074
|
/**
|
|
4631
5075
|
* Enforce a case style for filenames.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
4633
5077
|
*/
|
|
4634
5078
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4635
5079
|
/**
|
|
4636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
4637
5081
|
* @deprecated
|
|
4638
5082
|
*/
|
|
4639
5083
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4640
5084
|
/**
|
|
4641
5085
|
* Enforce specific import styles per module.
|
|
4642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
4643
5087
|
*/
|
|
4644
5088
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4645
5089
|
/**
|
|
4646
5090
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
4648
5092
|
*/
|
|
4649
5093
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4650
5094
|
/**
|
|
4651
5095
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4653
5097
|
*/
|
|
4654
5098
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4655
5099
|
/**
|
|
4656
5100
|
* Disallow anonymous functions and classes as the default export.
|
|
4657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
4658
5102
|
*/
|
|
4659
5103
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4660
5104
|
/**
|
|
4661
5105
|
* Prevent passing a function reference directly to iterator methods.
|
|
4662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
4663
5107
|
*/
|
|
4664
5108
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4665
5109
|
/**
|
|
4666
5110
|
* Prefer `for…of` over the `forEach` method.
|
|
4667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
4668
5112
|
*/
|
|
4669
5113
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4670
5114
|
/**
|
|
4671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4672
5116
|
* @deprecated
|
|
4673
5117
|
*/
|
|
4674
5118
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4675
5119
|
/**
|
|
4676
5120
|
* Disallow using the `this` argument in array methods.
|
|
4677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
4678
5122
|
*/
|
|
4679
5123
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4680
5124
|
/**
|
|
4681
5125
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
4683
5127
|
*/
|
|
4684
5128
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4685
5129
|
/**
|
|
4686
5130
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
4688
5132
|
*/
|
|
4689
5133
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4690
5134
|
/**
|
|
4691
5135
|
* Disallow member access from await expression.
|
|
4692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
4693
5137
|
*/
|
|
4694
5138
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4695
5139
|
/**
|
|
4696
5140
|
* Disallow using `await` in `Promise` method parameters.
|
|
4697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4698
5142
|
*/
|
|
4699
5143
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4700
5144
|
/**
|
|
4701
5145
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
4703
5147
|
*/
|
|
4704
5148
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4705
5149
|
/**
|
|
4706
5150
|
* Do not use `document.cookie` directly.
|
|
4707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
4708
5152
|
*/
|
|
4709
5153
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4710
5154
|
/**
|
|
4711
5155
|
* Disallow empty files.
|
|
4712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
4713
5157
|
*/
|
|
4714
5158
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4715
5159
|
/**
|
|
4716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4717
5161
|
* @deprecated
|
|
4718
5162
|
*/
|
|
4719
5163
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4720
5164
|
/**
|
|
4721
5165
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
4723
5167
|
*/
|
|
4724
5168
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4725
5169
|
/**
|
|
4726
5170
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
4728
5172
|
*/
|
|
4729
5173
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4730
5174
|
/**
|
|
4731
5175
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
4733
5177
|
*/
|
|
4734
5178
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5179
|
+
/**
|
|
5180
|
+
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5182
|
+
*/
|
|
5183
|
+
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4735
5184
|
/**
|
|
4736
5185
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4738
5187
|
*/
|
|
4739
5188
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4740
5189
|
/**
|
|
4741
5190
|
* Disallow identifiers starting with `new` or `class`.
|
|
4742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
4743
5192
|
*/
|
|
4744
5193
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4745
5194
|
/**
|
|
4746
5195
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
4748
5197
|
*/
|
|
4749
5198
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5199
|
+
/**
|
|
5200
|
+
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5202
|
+
*/
|
|
5203
|
+
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4750
5204
|
/**
|
|
4751
5205
|
* Disallow negated conditions.
|
|
4752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
4753
5207
|
*/
|
|
4754
5208
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4755
5209
|
/**
|
|
4756
5210
|
* Disallow nested ternary expressions.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
4758
5212
|
*/
|
|
4759
5213
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4760
5214
|
/**
|
|
4761
5215
|
* Disallow `new Array()`.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
4763
5217
|
*/
|
|
4764
5218
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4765
5219
|
/**
|
|
4766
5220
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
4768
5222
|
*/
|
|
4769
5223
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4770
5224
|
/**
|
|
4771
5225
|
* Disallow the use of the `null` literal.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
4773
5227
|
*/
|
|
4774
5228
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4775
5229
|
/**
|
|
4776
5230
|
* Disallow the use of objects as default parameters.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4778
5232
|
*/
|
|
4779
5233
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4780
5234
|
/**
|
|
4781
5235
|
* Disallow `process.exit()`.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
4783
5237
|
*/
|
|
4784
5238
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4785
5239
|
/**
|
|
4786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
4787
5241
|
* @deprecated
|
|
4788
5242
|
*/
|
|
4789
5243
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4790
5244
|
/**
|
|
4791
5245
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4793
5247
|
*/
|
|
4794
5248
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4795
5249
|
/**
|
|
4796
5250
|
* Disallow classes that only have static members.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
4798
5252
|
*/
|
|
4799
5253
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4800
5254
|
/**
|
|
4801
5255
|
* Disallow `then` property.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
4803
5257
|
*/
|
|
4804
5258
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4805
5259
|
/**
|
|
4806
5260
|
* Disallow assigning `this` to a variable.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
4808
5262
|
*/
|
|
4809
5263
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4810
5264
|
/**
|
|
4811
5265
|
* Disallow comparing `undefined` using `typeof`.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
4813
5267
|
*/
|
|
4814
5268
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4815
5269
|
/**
|
|
4816
5270
|
* Disallow awaiting non-promise values.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
4818
5272
|
*/
|
|
4819
5273
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4820
5274
|
/**
|
|
4821
5275
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4823
5277
|
*/
|
|
4824
5278
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4825
5279
|
/**
|
|
4826
5280
|
* Disallow unreadable array destructuring.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4828
5282
|
*/
|
|
4829
5283
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4830
5284
|
/**
|
|
4831
5285
|
* Disallow unreadable IIFEs.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
4833
5287
|
*/
|
|
4834
5288
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4835
5289
|
/**
|
|
4836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4837
5291
|
* @deprecated
|
|
4838
5292
|
*/
|
|
4839
5293
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4840
5294
|
/**
|
|
4841
5295
|
* Disallow unused object properties.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
4843
5297
|
*/
|
|
4844
5298
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4845
5299
|
/**
|
|
4846
5300
|
* Disallow useless fallback when spreading in object literals.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4848
5302
|
*/
|
|
4849
5303
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4850
5304
|
/**
|
|
4851
5305
|
* Disallow useless array length check.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
4853
5307
|
*/
|
|
4854
5308
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4855
5309
|
/**
|
|
4856
5310
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4858
5312
|
*/
|
|
4859
5313
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4860
5314
|
/**
|
|
4861
5315
|
* Disallow unnecessary spread.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
4863
5317
|
*/
|
|
4864
5318
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4865
5319
|
/**
|
|
4866
5320
|
* Disallow useless case in switch statements.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
4868
5322
|
*/
|
|
4869
5323
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4870
5324
|
/**
|
|
4871
5325
|
* Disallow useless `undefined`.
|
|
4872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
4873
5327
|
*/
|
|
4874
5328
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4875
5329
|
/**
|
|
4876
5330
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
4878
5332
|
*/
|
|
4879
5333
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4880
5334
|
/**
|
|
4881
5335
|
* Enforce proper case for numeric literals.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
4883
5337
|
*/
|
|
4884
5338
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4885
5339
|
/**
|
|
4886
5340
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
4888
5342
|
*/
|
|
4889
5343
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4890
5344
|
/**
|
|
4891
5345
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
4893
5347
|
*/
|
|
4894
5348
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4895
5349
|
/**
|
|
4896
5350
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
4898
5352
|
*/
|
|
4899
5353
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4900
5354
|
/**
|
|
4901
5355
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
4903
5357
|
*/
|
|
4904
5358
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4905
5359
|
/**
|
|
4906
5360
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
4908
5362
|
*/
|
|
4909
5363
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4910
5364
|
/**
|
|
4911
5365
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
4913
5367
|
*/
|
|
4914
5368
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4915
5369
|
/**
|
|
4916
5370
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
4918
5372
|
*/
|
|
4919
5373
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4920
5374
|
/**
|
|
4921
5375
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
4923
5377
|
*/
|
|
4924
5378
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4925
5379
|
/**
|
|
4926
5380
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4928
5382
|
*/
|
|
4929
5383
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4930
5384
|
/**
|
|
4931
5385
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
4933
5387
|
*/
|
|
4934
5388
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4935
5389
|
/**
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4937
5391
|
* @deprecated
|
|
4938
5392
|
*/
|
|
4939
5393
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4940
5394
|
/**
|
|
4941
5395
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
4943
5397
|
*/
|
|
4944
5398
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4945
5399
|
/**
|
|
4946
5400
|
* Prefer default parameters over reassignment.
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
4948
5402
|
*/
|
|
4949
5403
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4950
5404
|
/**
|
|
4951
5405
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
4953
5407
|
*/
|
|
4954
5408
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4955
5409
|
/**
|
|
4956
5410
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4958
5412
|
*/
|
|
4959
5413
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4960
5414
|
/**
|
|
4961
5415
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4963
5417
|
*/
|
|
4964
5418
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4965
5419
|
/**
|
|
4966
5420
|
* Prefer `.textContent` over `.innerText`.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4968
5422
|
*/
|
|
4969
5423
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4970
5424
|
/**
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4972
5426
|
* @deprecated
|
|
4973
5427
|
*/
|
|
4974
5428
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4975
5429
|
/**
|
|
4976
5430
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
4978
5432
|
*/
|
|
4979
5433
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4980
5434
|
/**
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4982
5436
|
* @deprecated
|
|
4983
5437
|
*/
|
|
4984
5438
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4985
5439
|
/**
|
|
4986
5440
|
* Prefer `export…from` when re-exporting.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
4988
5442
|
*/
|
|
4989
5443
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4990
5444
|
/**
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4992
5446
|
* @deprecated
|
|
4993
5447
|
*/
|
|
4994
5448
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4995
5449
|
/**
|
|
4996
5450
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
4998
5452
|
*/
|
|
4999
5453
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5000
5454
|
/**
|
|
5001
5455
|
* Prefer reading a JSON file as a buffer.
|
|
5002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5003
5457
|
*/
|
|
5004
5458
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5005
5459
|
/**
|
|
5006
5460
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5008
5462
|
*/
|
|
5009
5463
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5010
5464
|
/**
|
|
5011
5465
|
* Prefer using a logical operator over a ternary.
|
|
5012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5013
5467
|
*/
|
|
5014
5468
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5015
5469
|
/**
|
|
5016
5470
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
5018
5472
|
*/
|
|
5019
5473
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5020
5474
|
/**
|
|
5021
5475
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5023
5477
|
*/
|
|
5024
5478
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5025
5479
|
/**
|
|
5026
5480
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5028
5482
|
*/
|
|
5029
5483
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5030
5484
|
/**
|
|
5031
5485
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
5033
5487
|
*/
|
|
5034
5488
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5035
5489
|
/**
|
|
5036
5490
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5038
5492
|
*/
|
|
5039
5493
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5040
5494
|
/**
|
|
5041
5495
|
* Prefer negative index over `.length - index` when possible.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
5043
5497
|
*/
|
|
5044
5498
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5045
5499
|
/**
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5047
5501
|
* @deprecated
|
|
5048
5502
|
*/
|
|
5049
5503
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5050
5504
|
/**
|
|
5051
5505
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
5053
5507
|
*/
|
|
5054
5508
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5055
5509
|
/**
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5057
5511
|
* @deprecated
|
|
5058
5512
|
*/
|
|
5059
5513
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5060
5514
|
/**
|
|
5061
5515
|
* Prefer `Number` static properties over global ones.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
5063
5517
|
*/
|
|
5064
5518
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5065
5519
|
/**
|
|
5066
5520
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
5068
5522
|
*/
|
|
5069
5523
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5070
5524
|
/**
|
|
5071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5072
5526
|
* @deprecated
|
|
5073
5527
|
*/
|
|
5074
5528
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5075
5529
|
/**
|
|
5076
5530
|
* Prefer omitting the `catch` binding parameter.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5078
5532
|
*/
|
|
5079
5533
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5080
5534
|
/**
|
|
5081
5535
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
5083
5537
|
*/
|
|
5084
5538
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5085
5539
|
/**
|
|
5086
5540
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
5088
5542
|
*/
|
|
5089
5543
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5090
5544
|
/**
|
|
5091
5545
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
5093
5547
|
*/
|
|
5094
5548
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5095
5549
|
/**
|
|
5096
5550
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
5098
5552
|
*/
|
|
5099
5553
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5100
5554
|
/**
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5102
5556
|
* @deprecated
|
|
5103
5557
|
*/
|
|
5104
5558
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5105
5559
|
/**
|
|
5106
5560
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
5108
5562
|
*/
|
|
5109
5563
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5110
5564
|
/**
|
|
5111
5565
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
5113
5567
|
*/
|
|
5114
5568
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5115
5569
|
/**
|
|
5116
5570
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
5118
5572
|
*/
|
|
5119
5573
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5120
5574
|
/**
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5122
5576
|
* @deprecated
|
|
5123
5577
|
*/
|
|
5124
5578
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5579
|
+
/**
|
|
5580
|
+
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
|
|
5582
|
+
*/
|
|
5583
|
+
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5125
5584
|
/**
|
|
5126
5585
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
5128
5587
|
*/
|
|
5129
5588
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5130
5589
|
/**
|
|
5131
5590
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
5133
5592
|
*/
|
|
5134
5593
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5135
5594
|
/**
|
|
5136
5595
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5138
5597
|
*/
|
|
5139
5598
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5140
5599
|
/**
|
|
5141
5600
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5143
5602
|
*/
|
|
5144
5603
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5604
|
+
/**
|
|
5605
|
+
* Prefer using `structuredClone` to create a deep clone.
|
|
5606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
|
|
5607
|
+
*/
|
|
5608
|
+
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5145
5609
|
/**
|
|
5146
5610
|
* Prefer `switch` over multiple `else-if`.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
5148
5612
|
*/
|
|
5149
5613
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5150
5614
|
/**
|
|
5151
5615
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
5153
5617
|
*/
|
|
5154
5618
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5155
5619
|
/**
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5157
5621
|
* @deprecated
|
|
5158
5622
|
*/
|
|
5159
5623
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5160
5624
|
/**
|
|
5161
5625
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5163
5627
|
*/
|
|
5164
5628
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5165
5629
|
/**
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5167
5631
|
* @deprecated
|
|
5168
5632
|
*/
|
|
5169
5633
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5170
5634
|
/**
|
|
5171
5635
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5173
5637
|
*/
|
|
5174
5638
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5175
5639
|
/**
|
|
5176
5640
|
* Prevent abbreviations.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5178
5642
|
*/
|
|
5179
5643
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5180
5644
|
/**
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5182
5646
|
* @deprecated
|
|
5183
5647
|
*/
|
|
5184
5648
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5185
5649
|
/**
|
|
5186
5650
|
* Enforce consistent relative URL style.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5188
5652
|
*/
|
|
5189
5653
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5190
5654
|
/**
|
|
5191
5655
|
* Enforce using the separator argument with `Array#join()`.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5193
5657
|
*/
|
|
5194
5658
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5195
5659
|
/**
|
|
5196
5660
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5198
5662
|
*/
|
|
5199
5663
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5200
5664
|
/**
|
|
5201
5665
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5203
5667
|
*/
|
|
5204
5668
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5205
5669
|
/**
|
|
5206
5670
|
* Enforce better string content.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5208
5672
|
*/
|
|
5209
5673
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5210
5674
|
/**
|
|
5211
5675
|
* Enforce consistent brace style for `case` clauses.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5213
5677
|
*/
|
|
5214
5678
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5215
5679
|
/**
|
|
5216
5680
|
* Fix whitespace-insensitive template indentation.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5218
5682
|
*/
|
|
5219
5683
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5220
5684
|
/**
|
|
5221
5685
|
* Enforce consistent case for text encoding identifiers.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5223
5687
|
*/
|
|
5224
5688
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5225
5689
|
/**
|
|
5226
|
-
* Require `new` when
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* Require `new` when creating an error.
|
|
5691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
5228
5692
|
*/
|
|
5229
5693
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5230
5694
|
/**
|
|
@@ -5252,21 +5716,11 @@ interface RuleOptions {
|
|
|
5252
5716
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5253
5717
|
*/
|
|
5254
5718
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5255
|
-
/**
|
|
5256
|
-
* Disallow unused variables
|
|
5257
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5258
|
-
*/
|
|
5259
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5260
5719
|
/**
|
|
5261
5720
|
* Disallow unused variables
|
|
5262
5721
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5263
5722
|
*/
|
|
5264
5723
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5265
|
-
/**
|
|
5266
|
-
* Disallow unused variables
|
|
5267
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5268
|
-
*/
|
|
5269
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5270
5724
|
/**
|
|
5271
5725
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5272
5726
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -6683,6 +7137,14 @@ type AntfuConsistentListNewline = []|[{
|
|
|
6683
7137
|
TSTypeParameterInstantiation?: boolean
|
|
6684
7138
|
ObjectPattern?: boolean
|
|
6685
7139
|
ArrayPattern?: boolean
|
|
7140
|
+
JSXOpeningElement?: boolean
|
|
7141
|
+
JSONArrayExpression?: boolean
|
|
7142
|
+
JSONObjectExpression?: boolean
|
|
7143
|
+
}]
|
|
7144
|
+
// ----- antfu/indent-unindent -----
|
|
7145
|
+
type AntfuIndentUnindent = []|[{
|
|
7146
|
+
indent?: number
|
|
7147
|
+
tags?: string[]
|
|
6686
7148
|
}]
|
|
6687
7149
|
// ----- array-bracket-newline -----
|
|
6688
7150
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -6864,6 +7326,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
6864
7326
|
// ----- func-style -----
|
|
6865
7327
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
6866
7328
|
allowArrowFunctions?: boolean
|
|
7329
|
+
overrides?: {
|
|
7330
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7331
|
+
}
|
|
6867
7332
|
}]
|
|
6868
7333
|
// ----- function-call-argument-newline -----
|
|
6869
7334
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -8473,9 +8938,11 @@ type NoExtendNative = []|[{
|
|
|
8473
8938
|
exceptions?: string[]
|
|
8474
8939
|
}]
|
|
8475
8940
|
// ----- no-extra-boolean-cast -----
|
|
8476
|
-
type NoExtraBooleanCast = []|[{
|
|
8941
|
+
type NoExtraBooleanCast = []|[({
|
|
8942
|
+
enforceForInnerExpressions?: boolean
|
|
8943
|
+
} | {
|
|
8477
8944
|
enforceForLogicalOperands?: boolean
|
|
8478
|
-
}]
|
|
8945
|
+
})]
|
|
8479
8946
|
// ----- no-extra-parens -----
|
|
8480
8947
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
8481
8948
|
conditionalAssign?: boolean
|
|
@@ -8549,6 +9016,10 @@ type NoMagicNumbers = []|[{
|
|
|
8549
9016
|
ignoreDefaultValues?: boolean
|
|
8550
9017
|
ignoreClassFieldInitialValues?: boolean
|
|
8551
9018
|
}]
|
|
9019
|
+
// ----- no-misleading-character-class -----
|
|
9020
|
+
type NoMisleadingCharacterClass = []|[{
|
|
9021
|
+
allowEscape?: boolean
|
|
9022
|
+
}]
|
|
8552
9023
|
// ----- no-mixed-operators -----
|
|
8553
9024
|
type NoMixedOperators = []|[{
|
|
8554
9025
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -8605,8 +9076,10 @@ type NoRedeclare = []|[{
|
|
|
8605
9076
|
// ----- no-restricted-exports -----
|
|
8606
9077
|
type NoRestrictedExports = []|[({
|
|
8607
9078
|
restrictedNamedExports?: string[]
|
|
9079
|
+
restrictedNamedExportsPattern?: string
|
|
8608
9080
|
} | {
|
|
8609
9081
|
restrictedNamedExports?: string[]
|
|
9082
|
+
restrictedNamedExportsPattern?: string
|
|
8610
9083
|
restrictDefaultExports?: {
|
|
8611
9084
|
direct?: boolean
|
|
8612
9085
|
named?: boolean
|
|
@@ -8814,6 +9287,9 @@ type NodeHashbang = []|[{
|
|
|
8814
9287
|
})[]])
|
|
8815
9288
|
ignoreUnpublished?: boolean
|
|
8816
9289
|
additionalExecutables?: string[]
|
|
9290
|
+
executableMap?: {
|
|
9291
|
+
[k: string]: string
|
|
9292
|
+
}
|
|
8817
9293
|
}]
|
|
8818
9294
|
// ----- node/no-deprecated-api -----
|
|
8819
9295
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -8973,7 +9449,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
8973
9449
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
8974
9450
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
8975
9451
|
version?: string
|
|
8976
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9452
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
8977
9453
|
}]
|
|
8978
9454
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
8979
9455
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -8983,7 +9459,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8983
9459
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
8984
9460
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8985
9461
|
version?: string
|
|
8986
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "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" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "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" | "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" | "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.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.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.getRandomValues" | "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.randomUUID" | "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" | "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.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "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.promises.FileHandle" | "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.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "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.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "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.statSync" | "fs.statfsSync" | "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" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "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/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9462
|
+
allowExperimental?: boolean
|
|
9463
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
8987
9464
|
}]
|
|
8988
9465
|
// ----- node/prefer-global/buffer -----
|
|
8989
9466
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9023,6 +9500,9 @@ type NodeShebang = []|[{
|
|
|
9023
9500
|
})[]])
|
|
9024
9501
|
ignoreUnpublished?: boolean
|
|
9025
9502
|
additionalExecutables?: string[]
|
|
9503
|
+
executableMap?: {
|
|
9504
|
+
[k: string]: string
|
|
9505
|
+
}
|
|
9026
9506
|
}]
|
|
9027
9507
|
// ----- nonblock-statement-body-position -----
|
|
9028
9508
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -9375,6 +9855,124 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
9375
9855
|
checkJS?: boolean
|
|
9376
9856
|
allowExportNames?: string[]
|
|
9377
9857
|
}]
|
|
9858
|
+
// ----- regexp/hexadecimal-escape -----
|
|
9859
|
+
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
9860
|
+
// ----- regexp/letter-case -----
|
|
9861
|
+
type RegexpLetterCase = []|[{
|
|
9862
|
+
caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
|
|
9863
|
+
unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9864
|
+
hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9865
|
+
controlEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9866
|
+
}]
|
|
9867
|
+
// ----- regexp/match-any -----
|
|
9868
|
+
type RegexpMatchAny = []|[{
|
|
9869
|
+
|
|
9870
|
+
allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
|
|
9871
|
+
}]
|
|
9872
|
+
// ----- regexp/no-dupe-disjunctions -----
|
|
9873
|
+
type RegexpNoDupeDisjunctions = []|[{
|
|
9874
|
+
report?: ("all" | "trivial" | "interesting")
|
|
9875
|
+
reportExponentialBacktracking?: ("none" | "certain" | "potential")
|
|
9876
|
+
reportUnreachable?: ("certain" | "potential")
|
|
9877
|
+
}]
|
|
9878
|
+
// ----- regexp/no-lazy-ends -----
|
|
9879
|
+
type RegexpNoLazyEnds = []|[{
|
|
9880
|
+
ignorePartial?: boolean
|
|
9881
|
+
}]
|
|
9882
|
+
// ----- regexp/no-legacy-features -----
|
|
9883
|
+
type RegexpNoLegacyFeatures = []|[{
|
|
9884
|
+
staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
|
|
9885
|
+
prototypeMethods?: ("compile")[]
|
|
9886
|
+
}]
|
|
9887
|
+
// ----- regexp/no-misleading-capturing-group -----
|
|
9888
|
+
type RegexpNoMisleadingCapturingGroup = []|[{
|
|
9889
|
+
reportBacktrackingEnds?: boolean
|
|
9890
|
+
}]
|
|
9891
|
+
// ----- regexp/no-misleading-unicode-character -----
|
|
9892
|
+
type RegexpNoMisleadingUnicodeCharacter = []|[{
|
|
9893
|
+
fixable?: boolean
|
|
9894
|
+
}]
|
|
9895
|
+
// ----- regexp/no-missing-g-flag -----
|
|
9896
|
+
type RegexpNoMissingGFlag = []|[{
|
|
9897
|
+
strictTypes?: boolean
|
|
9898
|
+
}]
|
|
9899
|
+
// ----- regexp/no-obscure-range -----
|
|
9900
|
+
type RegexpNoObscureRange = []|[{
|
|
9901
|
+
allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
9902
|
+
}]
|
|
9903
|
+
// ----- regexp/no-super-linear-backtracking -----
|
|
9904
|
+
type RegexpNoSuperLinearBacktracking = []|[{
|
|
9905
|
+
report?: ("certain" | "potential")
|
|
9906
|
+
}]
|
|
9907
|
+
// ----- regexp/no-super-linear-move -----
|
|
9908
|
+
type RegexpNoSuperLinearMove = []|[{
|
|
9909
|
+
report?: ("certain" | "potential")
|
|
9910
|
+
ignoreSticky?: boolean
|
|
9911
|
+
ignorePartial?: boolean
|
|
9912
|
+
}]
|
|
9913
|
+
// ----- regexp/no-unused-capturing-group -----
|
|
9914
|
+
type RegexpNoUnusedCapturingGroup = []|[{
|
|
9915
|
+
fixable?: boolean
|
|
9916
|
+
allowNamed?: boolean
|
|
9917
|
+
}]
|
|
9918
|
+
// ----- regexp/no-useless-character-class -----
|
|
9919
|
+
type RegexpNoUselessCharacterClass = []|[{
|
|
9920
|
+
ignores?: string[]
|
|
9921
|
+
}]
|
|
9922
|
+
// ----- regexp/no-useless-flag -----
|
|
9923
|
+
type RegexpNoUselessFlag = []|[{
|
|
9924
|
+
ignore?: ("i" | "m" | "s" | "g" | "y")[]
|
|
9925
|
+
strictTypes?: boolean
|
|
9926
|
+
}]
|
|
9927
|
+
// ----- regexp/no-useless-non-capturing-group -----
|
|
9928
|
+
type RegexpNoUselessNonCapturingGroup = []|[{
|
|
9929
|
+
allowTop?: (boolean | ("always" | "never" | "partial"))
|
|
9930
|
+
}]
|
|
9931
|
+
// ----- regexp/optimal-quantifier-concatenation -----
|
|
9932
|
+
type RegexpOptimalQuantifierConcatenation = []|[{
|
|
9933
|
+
capturingGroups?: ("ignore" | "report")
|
|
9934
|
+
}]
|
|
9935
|
+
// ----- regexp/prefer-character-class -----
|
|
9936
|
+
type RegexpPreferCharacterClass = []|[{
|
|
9937
|
+
minAlternatives?: number
|
|
9938
|
+
}]
|
|
9939
|
+
// ----- regexp/prefer-d -----
|
|
9940
|
+
type RegexpPreferD = []|[{
|
|
9941
|
+
insideCharacterClass?: ("ignore" | "range" | "d")
|
|
9942
|
+
}]
|
|
9943
|
+
// ----- regexp/prefer-lookaround -----
|
|
9944
|
+
type RegexpPreferLookaround = []|[{
|
|
9945
|
+
lookbehind?: boolean
|
|
9946
|
+
strictTypes?: boolean
|
|
9947
|
+
}]
|
|
9948
|
+
// ----- regexp/prefer-named-replacement -----
|
|
9949
|
+
type RegexpPreferNamedReplacement = []|[{
|
|
9950
|
+
strictTypes?: boolean
|
|
9951
|
+
}]
|
|
9952
|
+
// ----- regexp/prefer-range -----
|
|
9953
|
+
type RegexpPreferRange = []|[{
|
|
9954
|
+
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
9955
|
+
}]
|
|
9956
|
+
// ----- regexp/prefer-result-array-groups -----
|
|
9957
|
+
type RegexpPreferResultArrayGroups = []|[{
|
|
9958
|
+
strictTypes?: boolean
|
|
9959
|
+
}]
|
|
9960
|
+
// ----- regexp/sort-character-class-elements -----
|
|
9961
|
+
type RegexpSortCharacterClassElements = []|[{
|
|
9962
|
+
order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
|
|
9963
|
+
}]
|
|
9964
|
+
// ----- regexp/unicode-escape -----
|
|
9965
|
+
type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
|
|
9966
|
+
// ----- regexp/unicode-property -----
|
|
9967
|
+
type RegexpUnicodeProperty = []|[{
|
|
9968
|
+
generalCategory?: ("always" | "never" | "ignore")
|
|
9969
|
+
key?: ("short" | "long" | "ignore")
|
|
9970
|
+
property?: (("short" | "long" | "ignore") | {
|
|
9971
|
+
binary?: ("short" | "long" | "ignore")
|
|
9972
|
+
generalCategory?: ("short" | "long" | "ignore")
|
|
9973
|
+
script?: ("short" | "long" | "ignore")
|
|
9974
|
+
})
|
|
9975
|
+
}]
|
|
9378
9976
|
// ----- require-atomic-updates -----
|
|
9379
9977
|
type RequireAtomicUpdates = []|[{
|
|
9380
9978
|
allowProperties?: boolean
|
|
@@ -9641,6 +10239,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
|
|
|
9641
10239
|
type StyleJsxEqualsSpacing = []|[("always" | "never")]
|
|
9642
10240
|
// ----- style/jsx-first-prop-new-line -----
|
|
9643
10241
|
type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
10242
|
+
// ----- style/jsx-function-call-newline -----
|
|
10243
|
+
type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
|
|
9644
10244
|
// ----- style/jsx-indent -----
|
|
9645
10245
|
type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
9646
10246
|
checkAttributes?: boolean
|
|
@@ -9670,7 +10270,7 @@ type StyleJsxNewline = []|[{
|
|
|
9670
10270
|
}]
|
|
9671
10271
|
// ----- style/jsx-one-expression-per-line -----
|
|
9672
10272
|
type StyleJsxOneExpressionPerLine = []|[{
|
|
9673
|
-
allow?: ("none" | "literal" | "single-child")
|
|
10273
|
+
allow?: ("none" | "literal" | "single-child" | "single-line")
|
|
9674
10274
|
}]
|
|
9675
10275
|
// ----- style/jsx-pascal-case -----
|
|
9676
10276
|
type StyleJsxPascalCase = []|[{
|
|
@@ -9713,6 +10313,7 @@ type StyleJsxWrapMultilines = []|[{
|
|
|
9713
10313
|
condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9714
10314
|
logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9715
10315
|
prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10316
|
+
propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9716
10317
|
}]
|
|
9717
10318
|
// ----- style/key-spacing -----
|
|
9718
10319
|
type StyleKeySpacing = []|[({
|
|
@@ -10043,6 +10644,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10043
10644
|
}
|
|
10044
10645
|
}
|
|
10045
10646
|
}]
|
|
10647
|
+
// ----- style/line-comment-position -----
|
|
10648
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10649
|
+
position?: ("above" | "beside")
|
|
10650
|
+
ignorePattern?: string
|
|
10651
|
+
applyDefaultPatterns?: boolean
|
|
10652
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10653
|
+
})]
|
|
10046
10654
|
// ----- style/linebreak-style -----
|
|
10047
10655
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10048
10656
|
// ----- style/lines-around-comment -----
|
|
@@ -10196,6 +10804,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10196
10804
|
requireLast?: boolean
|
|
10197
10805
|
}
|
|
10198
10806
|
}
|
|
10807
|
+
// ----- style/multiline-comment-style -----
|
|
10808
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10809
|
+
checkJSDoc?: boolean
|
|
10810
|
+
}])
|
|
10199
10811
|
// ----- style/multiline-ternary -----
|
|
10200
10812
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10201
10813
|
ignoreJSX?: boolean
|
|
@@ -12052,6 +12664,8 @@ type TsSortTypeConstituents = []|[{
|
|
|
12052
12664
|
|
|
12053
12665
|
checkUnions?: boolean
|
|
12054
12666
|
|
|
12667
|
+
caseSensitive?: boolean
|
|
12668
|
+
|
|
12055
12669
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12056
12670
|
}]
|
|
12057
12671
|
// ----- ts/space-before-blocks -----
|
|
@@ -12273,11 +12887,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
12273
12887
|
// ----- unicorn/prefer-number-properties -----
|
|
12274
12888
|
type UnicornPreferNumberProperties = []|[{
|
|
12275
12889
|
checkInfinity?: boolean
|
|
12890
|
+
checkNaN?: boolean
|
|
12276
12891
|
}]
|
|
12277
12892
|
// ----- unicorn/prefer-object-from-entries -----
|
|
12278
12893
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12279
12894
|
functions?: unknown[]
|
|
12280
12895
|
}]
|
|
12896
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
12897
|
+
type UnicornPreferStructuredClone = []|[{
|
|
12898
|
+
functions?: unknown[]
|
|
12899
|
+
}]
|
|
12281
12900
|
// ----- unicorn/prefer-switch -----
|
|
12282
12901
|
type UnicornPreferSwitch = []|[{
|
|
12283
12902
|
minimumCases?: number
|
|
@@ -12344,17 +12963,6 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
12344
12963
|
caughtErrorsIgnorePattern?: string
|
|
12345
12964
|
destructuredArrayIgnorePattern?: string
|
|
12346
12965
|
})]
|
|
12347
|
-
// ----- unused-imports/no-unused-imports-ts -----
|
|
12348
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
12349
|
-
vars?: ("all" | "local")
|
|
12350
|
-
varsIgnorePattern?: string
|
|
12351
|
-
args?: ("all" | "after-used" | "none")
|
|
12352
|
-
ignoreRestSiblings?: boolean
|
|
12353
|
-
argsIgnorePattern?: string
|
|
12354
|
-
caughtErrors?: ("all" | "none")
|
|
12355
|
-
caughtErrorsIgnorePattern?: string
|
|
12356
|
-
destructuredArrayIgnorePattern?: string
|
|
12357
|
-
})]
|
|
12358
12966
|
// ----- unused-imports/no-unused-vars -----
|
|
12359
12967
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
12360
12968
|
vars?: ("all" | "local")
|
|
@@ -12366,17 +12974,6 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12366
12974
|
caughtErrorsIgnorePattern?: string
|
|
12367
12975
|
destructuredArrayIgnorePattern?: string
|
|
12368
12976
|
})]
|
|
12369
|
-
// ----- unused-imports/no-unused-vars-ts -----
|
|
12370
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
12371
|
-
vars?: ("all" | "local")
|
|
12372
|
-
varsIgnorePattern?: string
|
|
12373
|
-
args?: ("all" | "after-used" | "none")
|
|
12374
|
-
ignoreRestSiblings?: boolean
|
|
12375
|
-
argsIgnorePattern?: string
|
|
12376
|
-
caughtErrors?: ("all" | "none")
|
|
12377
|
-
caughtErrorsIgnorePattern?: string
|
|
12378
|
-
destructuredArrayIgnorePattern?: string
|
|
12379
|
-
})]
|
|
12380
12977
|
// ----- use-isnan -----
|
|
12381
12978
|
type UseIsnan = []|[{
|
|
12382
12979
|
enforceForSwitchCase?: boolean
|
|
@@ -13880,12 +14477,15 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'qu
|
|
|
13880
14477
|
*/
|
|
13881
14478
|
lessOpinionated?: boolean;
|
|
13882
14479
|
}
|
|
13883
|
-
interface StylisticOverridesConfig extends OptionsStylistic {
|
|
13884
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13885
|
-
}
|
|
13886
14480
|
interface OptionsOverrides {
|
|
13887
14481
|
overrides?: TypedFlatConfigItem['rules'];
|
|
13888
14482
|
}
|
|
14483
|
+
interface OptionsRegExp {
|
|
14484
|
+
/**
|
|
14485
|
+
* Override rulelevels
|
|
14486
|
+
*/
|
|
14487
|
+
level?: 'error' | 'warn';
|
|
14488
|
+
}
|
|
13889
14489
|
interface OptionsIgnores {
|
|
13890
14490
|
ignores?: string[];
|
|
13891
14491
|
}
|
|
@@ -13898,7 +14498,6 @@ interface OptionsReact {
|
|
|
13898
14498
|
jsx?: boolean;
|
|
13899
14499
|
/** react 版本 */
|
|
13900
14500
|
version?: string;
|
|
13901
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13902
14501
|
}
|
|
13903
14502
|
interface OptionsUnoCSS {
|
|
13904
14503
|
/**
|
|
@@ -13911,7 +14510,6 @@ interface OptionsUnoCSS {
|
|
|
13911
14510
|
* @default false
|
|
13912
14511
|
*/
|
|
13913
14512
|
strict?: boolean;
|
|
13914
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13915
14513
|
}
|
|
13916
14514
|
interface OptionsConfig extends OptionsComponentExts {
|
|
13917
14515
|
/**
|
|
@@ -14020,6 +14618,13 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14020
14618
|
* @default true
|
|
14021
14619
|
*/
|
|
14022
14620
|
stylistic?: boolean | StylisticConfig;
|
|
14621
|
+
/**
|
|
14622
|
+
* Enable regexp rules.
|
|
14623
|
+
*
|
|
14624
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
14625
|
+
* @default true
|
|
14626
|
+
*/
|
|
14627
|
+
regexp?: boolean | OptionsRegExp;
|
|
14023
14628
|
/**
|
|
14024
14629
|
* 控制再编辑器中禁用某些规则.
|
|
14025
14630
|
* @default 基于 process.env 自动检测
|
|
@@ -14040,6 +14645,7 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14040
14645
|
stylistic?: TypedFlatConfigItem['rules'];
|
|
14041
14646
|
test?: TypedFlatConfigItem['rules'];
|
|
14042
14647
|
vue?: TypedFlatConfigItem['rules'];
|
|
14648
|
+
regexp?: TypedFlatConfigItem['rules'];
|
|
14043
14649
|
react?: TypedFlatConfigItem['rules'];
|
|
14044
14650
|
svelte?: TypedFlatConfigItem['rules'];
|
|
14045
14651
|
jsonc?: TypedFlatConfigItem['rules'];
|
|
@@ -14093,7 +14699,9 @@ declare function formatters(options?: OptionsFormatters | true, stylistic?: Styl
|
|
|
14093
14699
|
|
|
14094
14700
|
declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
14095
14701
|
|
|
14096
|
-
declare function react(options?: OptionsFiles & OptionsReact): Promise<TypedFlatConfigItem[]>;
|
|
14702
|
+
declare function react(options?: OptionsFiles & OptionsReact & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14703
|
+
|
|
14704
|
+
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14097
14705
|
|
|
14098
14706
|
/**
|
|
14099
14707
|
* Sort package.json
|
|
@@ -14109,7 +14717,7 @@ declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
|
|
|
14109
14717
|
declare function sortTsconfig(): TypedFlatConfigItem[];
|
|
14110
14718
|
|
|
14111
14719
|
declare const StylisticConfigDefaults: StylisticConfig;
|
|
14112
|
-
declare function stylistic(options?:
|
|
14720
|
+
declare function stylistic(options?: OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14113
14721
|
|
|
14114
14722
|
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14115
14723
|
|
|
@@ -14117,7 +14725,7 @@ declare function typescript(options?: OptionsFiles & OptionsComponentExts & Opti
|
|
|
14117
14725
|
|
|
14118
14726
|
declare function unicorn(): Promise<TypedFlatConfigItem[]>;
|
|
14119
14727
|
|
|
14120
|
-
declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
|
|
14728
|
+
declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14121
14729
|
|
|
14122
14730
|
declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
14123
14731
|
|
|
@@ -14160,9 +14768,10 @@ declare const GLOB_VUE = "**/*.vue";
|
|
|
14160
14768
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
14161
14769
|
declare const GLOB_TOML = "**/*.toml";
|
|
14162
14770
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
14771
|
+
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
14163
14772
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
14164
14773
|
declare const GLOB_TESTS: string[];
|
|
14165
14774
|
declare const GLOB_ALL_SRC: string[];
|
|
14166
14775
|
declare const GLOB_EXCLUDE: string[];
|
|
14167
14776
|
|
|
14168
|
-
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type
|
|
14777
|
+
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|