@so1ve/eslint-config 3.8.1 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +450 -285
- package/dist/index.js +294 -253
- package/package.json +30 -29
package/dist/index.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ interface RuleOptions {
|
|
|
325
325
|
*/
|
|
326
326
|
'html/element-newline'?: Linter.RuleEntry<HtmlElementNewline>;
|
|
327
327
|
/**
|
|
328
|
-
* Enforce consistent naming id attributes
|
|
328
|
+
* Enforce consistent naming of id attributes
|
|
329
329
|
* @see https://html-eslint.org/docs/rules/id-naming-convention
|
|
330
330
|
*/
|
|
331
331
|
'html/id-naming-convention'?: Linter.RuleEntry<HtmlIdNamingConvention>;
|
|
@@ -334,27 +334,27 @@ interface RuleOptions {
|
|
|
334
334
|
*/
|
|
335
335
|
'html/indent'?: Linter.RuleEntry<HtmlIndent>;
|
|
336
336
|
/**
|
|
337
|
-
* Enforce
|
|
337
|
+
* Enforce use of lowercase for tag and attribute names.
|
|
338
338
|
* @see https://html-eslint.org/docs/rules/lowercase
|
|
339
339
|
*/
|
|
340
340
|
'html/lowercase'?: Linter.RuleEntry<[]>;
|
|
341
341
|
/**
|
|
342
|
-
* Enforce element
|
|
342
|
+
* Enforce maximum element depth
|
|
343
343
|
* @see https://html-eslint.org/docs/rules/max-element-depth
|
|
344
344
|
*/
|
|
345
345
|
'html/max-element-depth'?: Linter.RuleEntry<HtmlMaxElementDepth>;
|
|
346
346
|
/**
|
|
347
|
-
* Disallow
|
|
347
|
+
* Disallow use of abstract roles
|
|
348
348
|
* @see https://html-eslint.org/docs/rules/no-abstract-roles
|
|
349
349
|
*/
|
|
350
350
|
'html/no-abstract-roles'?: Linter.RuleEntry<[]>;
|
|
351
351
|
/**
|
|
352
|
-
* Disallow
|
|
352
|
+
* Disallow use of accesskey attribute
|
|
353
353
|
* @see https://html-eslint.org/docs/rules/no-accesskey-attrs
|
|
354
354
|
*/
|
|
355
355
|
'html/no-accesskey-attrs'?: Linter.RuleEntry<[]>;
|
|
356
356
|
/**
|
|
357
|
-
* Disallow
|
|
357
|
+
* Disallow use of aria-hidden attributes on the `body` element.
|
|
358
358
|
* @see https://html-eslint.org/docs/rules/no-aria-hidden-body
|
|
359
359
|
*/
|
|
360
360
|
'html/no-aria-hidden-body'?: Linter.RuleEntry<[]>;
|
|
@@ -364,17 +364,17 @@ interface RuleOptions {
|
|
|
364
364
|
*/
|
|
365
365
|
'html/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
|
|
366
366
|
/**
|
|
367
|
-
* Disallow
|
|
367
|
+
* Disallow duplicate attributes
|
|
368
368
|
* @see https://html-eslint.org/docs/rules/no-duplicate-attrs
|
|
369
369
|
*/
|
|
370
370
|
'html/no-duplicate-attrs'?: Linter.RuleEntry<[]>;
|
|
371
371
|
/**
|
|
372
|
-
* Disallow
|
|
372
|
+
* Disallow duplicate class names
|
|
373
373
|
* @see https://html-eslint.org/docs/rules/no-duplicate-class
|
|
374
374
|
*/
|
|
375
375
|
'html/no-duplicate-class'?: Linter.RuleEntry<[]>;
|
|
376
376
|
/**
|
|
377
|
-
* Disallow
|
|
377
|
+
* Disallow duplicate id attributes
|
|
378
378
|
* @see https://html-eslint.org/docs/rules/no-duplicate-id
|
|
379
379
|
*/
|
|
380
380
|
'html/no-duplicate-id'?: Linter.RuleEntry<[]>;
|
|
@@ -389,7 +389,7 @@ interface RuleOptions {
|
|
|
389
389
|
*/
|
|
390
390
|
'html/no-empty-headings'?: Linter.RuleEntry<[]>;
|
|
391
391
|
/**
|
|
392
|
-
* Disallow
|
|
392
|
+
* Disallow extra spacing around attributes
|
|
393
393
|
* @see https://html-eslint.org/docs/rules/no-extra-spacing-attrs
|
|
394
394
|
*/
|
|
395
395
|
'html/no-extra-spacing-attrs'?: Linter.RuleEntry<HtmlNoExtraSpacingAttrs>;
|
|
@@ -403,6 +403,10 @@ interface RuleOptions {
|
|
|
403
403
|
* @see https://html-eslint.org/docs/rules/no-heading-inside-button
|
|
404
404
|
*/
|
|
405
405
|
'html/no-heading-inside-button'?: Linter.RuleEntry<[]>;
|
|
406
|
+
/**
|
|
407
|
+
* Disallow HTML attributes that have no effect in their context
|
|
408
|
+
*/
|
|
409
|
+
'html/no-ineffective-attrs'?: Linter.RuleEntry<[]>;
|
|
406
410
|
/**
|
|
407
411
|
* Disallow using inline style
|
|
408
412
|
* @see https://html-eslint.org/docs/rules/no-inline-styles
|
|
@@ -439,7 +443,7 @@ interface RuleOptions {
|
|
|
439
443
|
*/
|
|
440
444
|
'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>;
|
|
441
445
|
/**
|
|
442
|
-
* Disallow
|
|
446
|
+
* Disallow use of obsolete elements in HTML5
|
|
443
447
|
* @see https://html-eslint.org/docs/rules/no-obsolete-tags
|
|
444
448
|
*/
|
|
445
449
|
'html/no-obsolete-tags'?: Linter.RuleEntry<[]>;
|
|
@@ -494,7 +498,7 @@ interface RuleOptions {
|
|
|
494
498
|
*/
|
|
495
499
|
'html/require-attrs'?: Linter.RuleEntry<HtmlRequireAttrs>;
|
|
496
500
|
/**
|
|
497
|
-
* Require use of button element with a valid type attribute.
|
|
501
|
+
* Require use of the button element with a valid type attribute.
|
|
498
502
|
* @see https://html-eslint.org/docs/rules/require-button-type
|
|
499
503
|
*/
|
|
500
504
|
'html/require-button-type'?: Linter.RuleEntry<[]>;
|
|
@@ -504,7 +508,7 @@ interface RuleOptions {
|
|
|
504
508
|
*/
|
|
505
509
|
'html/require-closing-tags'?: Linter.RuleEntry<HtmlRequireClosingTags>;
|
|
506
510
|
/**
|
|
507
|
-
* Require `<!DOCTYPE HTML>` in
|
|
511
|
+
* Require `<!DOCTYPE HTML>` in HTML
|
|
508
512
|
* @see https://html-eslint.org/docs/rules/require-doctype
|
|
509
513
|
*/
|
|
510
514
|
'html/require-doctype'?: Linter.RuleEntry<[]>;
|
|
@@ -524,7 +528,7 @@ interface RuleOptions {
|
|
|
524
528
|
*/
|
|
525
529
|
'html/require-frame-title'?: Linter.RuleEntry<[]>;
|
|
526
530
|
/**
|
|
527
|
-
* Require `alt` attribute
|
|
531
|
+
* Require `alt` attribute on `<img>` tag
|
|
528
532
|
* @see https://html-eslint.org/docs/rules/require-img-alt
|
|
529
533
|
*/
|
|
530
534
|
'html/require-img-alt'?: Linter.RuleEntry<HtmlRequireImgAlt>;
|
|
@@ -534,17 +538,17 @@ interface RuleOptions {
|
|
|
534
538
|
*/
|
|
535
539
|
'html/require-input-label'?: Linter.RuleEntry<[]>;
|
|
536
540
|
/**
|
|
537
|
-
* Require `lang` attribute
|
|
541
|
+
* Require `lang` attribute on `<html>` tag
|
|
538
542
|
* @see https://html-eslint.org/docs/rules/require-lang
|
|
539
543
|
*/
|
|
540
544
|
'html/require-lang'?: Linter.RuleEntry<[]>;
|
|
541
545
|
/**
|
|
542
|
-
* Enforce `<li>` to be in
|
|
546
|
+
* Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
|
|
543
547
|
* @see https://html-eslint.org/docs/rules/require-li-container
|
|
544
548
|
*/
|
|
545
549
|
'html/require-li-container'?: Linter.RuleEntry<[]>;
|
|
546
550
|
/**
|
|
547
|
-
* Enforce
|
|
551
|
+
* Enforce use of `<meta charset="...">` in `<head>`
|
|
548
552
|
* @see https://html-eslint.org/docs/rules/require-meta-charset
|
|
549
553
|
*/
|
|
550
554
|
'html/require-meta-charset'?: Linter.RuleEntry<[]>;
|
|
@@ -554,22 +558,22 @@ interface RuleOptions {
|
|
|
554
558
|
*/
|
|
555
559
|
'html/require-meta-description'?: Linter.RuleEntry<[]>;
|
|
556
560
|
/**
|
|
557
|
-
* Enforce
|
|
561
|
+
* Enforce use of `<meta name="viewport">` in `<head>`
|
|
558
562
|
* @see https://html-eslint.org/docs/rules/require-meta-viewport
|
|
559
563
|
*/
|
|
560
564
|
'html/require-meta-viewport'?: Linter.RuleEntry<[]>;
|
|
561
565
|
/**
|
|
562
|
-
* Enforce
|
|
566
|
+
* Enforce use of specified meta tags for open graph protocol.
|
|
563
567
|
* @see https://html-eslint.org/docs/rules/require-open-graph-protocol
|
|
564
568
|
*/
|
|
565
569
|
'html/require-open-graph-protocol'?: Linter.RuleEntry<HtmlRequireOpenGraphProtocol>;
|
|
566
570
|
/**
|
|
567
|
-
* Require `<title
|
|
571
|
+
* Require `<title>` in the `<head>`
|
|
568
572
|
* @see https://html-eslint.org/docs/rules/require-title
|
|
569
573
|
*/
|
|
570
574
|
'html/require-title'?: Linter.RuleEntry<[]>;
|
|
571
575
|
/**
|
|
572
|
-
* Enforce
|
|
576
|
+
* Enforce priority and alphabetical sorting of attributes
|
|
573
577
|
* @see https://html-eslint.org/docs/rules/sort-attrs
|
|
574
578
|
*/
|
|
575
579
|
'html/sort-attrs'?: Linter.RuleEntry<HtmlSortAttrs>;
|
|
@@ -607,233 +611,238 @@ interface RuleOptions {
|
|
|
607
611
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
608
612
|
/**
|
|
609
613
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
614
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
|
|
611
615
|
*/
|
|
612
616
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
613
617
|
/**
|
|
614
618
|
* Ensure a default export is present, given a default import.
|
|
615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
619
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
|
|
616
620
|
*/
|
|
617
621
|
'import/default'?: Linter.RuleEntry<[]>;
|
|
618
622
|
/**
|
|
619
623
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
620
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
624
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
|
|
621
625
|
*/
|
|
622
626
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
623
627
|
/**
|
|
624
628
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
625
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
629
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
|
|
626
630
|
*/
|
|
627
631
|
'import/export'?: Linter.RuleEntry<[]>;
|
|
628
632
|
/**
|
|
629
633
|
* Ensure all exports appear after other statements.
|
|
630
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
634
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
|
|
631
635
|
*/
|
|
632
636
|
'import/exports-last'?: Linter.RuleEntry<[]>;
|
|
633
637
|
/**
|
|
634
638
|
* Ensure consistent use of file extension within the import path.
|
|
635
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
639
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
|
|
636
640
|
*/
|
|
637
641
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
|
|
638
642
|
/**
|
|
639
643
|
* Ensure all imports appear before other statements.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
644
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
|
|
641
645
|
*/
|
|
642
646
|
'import/first'?: Linter.RuleEntry<ImportFirst>;
|
|
643
647
|
/**
|
|
644
648
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
|
|
646
650
|
*/
|
|
647
651
|
'import/group-exports'?: Linter.RuleEntry<[]>;
|
|
648
652
|
/**
|
|
649
653
|
* Replaced by `import-x/first`.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
|
|
651
655
|
* @deprecated
|
|
652
656
|
*/
|
|
653
657
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
|
|
654
658
|
/**
|
|
655
659
|
* Enforce the maximum number of dependencies a module can have.
|
|
656
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
|
|
657
661
|
*/
|
|
658
662
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
659
663
|
/**
|
|
660
664
|
* Ensure named imports correspond to a named export in the remote file.
|
|
661
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
|
|
662
666
|
*/
|
|
663
667
|
'import/named'?: Linter.RuleEntry<ImportNamed>;
|
|
664
668
|
/**
|
|
665
669
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
666
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
|
|
667
671
|
*/
|
|
668
672
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
|
|
669
673
|
/**
|
|
670
674
|
* Enforce a newline after import statements.
|
|
671
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
|
|
672
676
|
*/
|
|
673
677
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
674
678
|
/**
|
|
675
679
|
* Forbid import of modules using absolute paths.
|
|
676
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
680
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
|
|
677
681
|
*/
|
|
678
682
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
679
683
|
/**
|
|
680
684
|
* Forbid AMD `require` and `define` calls.
|
|
681
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
685
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
|
|
682
686
|
*/
|
|
683
687
|
'import/no-amd'?: Linter.RuleEntry<[]>;
|
|
684
688
|
/**
|
|
685
689
|
* Forbid anonymous values as default exports.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
690
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
|
|
687
691
|
*/
|
|
688
692
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
689
693
|
/**
|
|
690
694
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
695
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
|
|
692
696
|
*/
|
|
693
697
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
694
698
|
/**
|
|
695
699
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
700
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
|
|
697
701
|
*/
|
|
698
702
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
|
|
699
703
|
/**
|
|
700
704
|
* Forbid default exports.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
705
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
|
|
702
706
|
*/
|
|
703
707
|
'import/no-default-export'?: Linter.RuleEntry<[]>;
|
|
704
708
|
/**
|
|
705
709
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
710
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
|
|
707
711
|
*/
|
|
708
712
|
'import/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
709
713
|
/**
|
|
710
714
|
* Forbid repeated import of the same module in multiple places.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
715
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
|
|
712
716
|
*/
|
|
713
717
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
714
718
|
/**
|
|
715
719
|
* Forbid `require()` calls with expressions.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
720
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
|
|
717
721
|
*/
|
|
718
722
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
719
723
|
/**
|
|
720
724
|
* Forbid empty named import blocks.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
725
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
|
|
722
726
|
*/
|
|
723
727
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
724
728
|
/**
|
|
725
729
|
* Forbid the use of extraneous packages.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
730
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
|
|
727
731
|
*/
|
|
728
732
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
729
733
|
/**
|
|
730
734
|
* Forbid import statements with CommonJS module.exports.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
735
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
|
|
732
736
|
*/
|
|
733
737
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
734
738
|
/**
|
|
735
739
|
* Forbid importing the submodules of other modules.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
|
|
737
741
|
*/
|
|
738
742
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
739
743
|
/**
|
|
740
744
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
|
|
742
746
|
*/
|
|
743
747
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
744
748
|
/**
|
|
745
749
|
* Forbid use of exported name as identifier of default export.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
|
|
747
751
|
*/
|
|
748
752
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
749
753
|
/**
|
|
750
754
|
* Forbid use of exported name as property of default export.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
|
|
752
756
|
*/
|
|
753
757
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
754
758
|
/**
|
|
755
759
|
* Forbid named default exports.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
|
|
757
761
|
*/
|
|
758
762
|
'import/no-named-default'?: Linter.RuleEntry<[]>;
|
|
759
763
|
/**
|
|
760
764
|
* Forbid named exports.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
|
|
762
766
|
*/
|
|
763
767
|
'import/no-named-export'?: Linter.RuleEntry<[]>;
|
|
764
768
|
/**
|
|
765
769
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
|
|
767
771
|
*/
|
|
768
772
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
|
|
769
773
|
/**
|
|
770
774
|
* Forbid Node.js builtin modules.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
|
|
772
776
|
*/
|
|
773
777
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
774
778
|
/**
|
|
775
779
|
* Forbid importing packages through relative paths.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
|
|
777
781
|
*/
|
|
778
782
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
779
783
|
/**
|
|
780
784
|
* Forbid importing modules from parent directories.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
785
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
|
|
782
786
|
*/
|
|
783
787
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
784
788
|
/**
|
|
785
789
|
* Forbid importing a default export by a different name.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
790
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
|
|
787
791
|
*/
|
|
788
792
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
789
793
|
/**
|
|
790
794
|
* Enforce which files can be imported in a given folder.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
795
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
|
|
792
796
|
*/
|
|
793
797
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
794
798
|
/**
|
|
795
799
|
* Forbid a module from importing itself.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
800
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
|
|
797
801
|
*/
|
|
798
802
|
'import/no-self-import'?: Linter.RuleEntry<[]>;
|
|
799
803
|
/**
|
|
800
804
|
* Forbid unassigned imports.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
805
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
|
|
802
806
|
*/
|
|
803
807
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
804
808
|
/**
|
|
805
809
|
* Ensure imports point to a file/module that can be resolved.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
810
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
|
|
807
811
|
*/
|
|
808
812
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
809
813
|
/**
|
|
810
814
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
815
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
|
|
812
816
|
*/
|
|
813
817
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
814
818
|
/**
|
|
815
819
|
* Forbid unnecessary path segments in import and require statements.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
820
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
|
|
817
821
|
*/
|
|
818
822
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
819
823
|
/**
|
|
820
824
|
* Forbid webpack loader syntax in imports.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
825
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
|
|
822
826
|
*/
|
|
823
827
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
824
828
|
/**
|
|
825
829
|
* Enforce a convention in module import order.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
830
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
|
|
827
831
|
*/
|
|
828
832
|
'import/order'?: Linter.RuleEntry<ImportOrder>;
|
|
829
833
|
/**
|
|
830
834
|
* Prefer a default export if module exports a single name or multiple names.
|
|
831
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
|
|
832
836
|
*/
|
|
833
837
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
838
|
+
/**
|
|
839
|
+
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
|
|
841
|
+
*/
|
|
842
|
+
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>;
|
|
834
843
|
/**
|
|
835
844
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
836
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
|
|
837
846
|
*/
|
|
838
847
|
'import/unambiguous'?: Linter.RuleEntry<[]>;
|
|
839
848
|
/**
|
|
@@ -1305,7 +1314,7 @@ interface RuleOptions {
|
|
|
1305
1314
|
*/
|
|
1306
1315
|
'no-console'?: Linter.RuleEntry<NoConsole>;
|
|
1307
1316
|
/**
|
|
1308
|
-
* Disallow reassigning `const` variables
|
|
1317
|
+
* Disallow reassigning `const`, `using`, and `await using` variables
|
|
1309
1318
|
* @see https://eslint.org/docs/latest/rules/no-const-assign
|
|
1310
1319
|
*/
|
|
1311
1320
|
'no-const-assign'?: Linter.RuleEntry<[]>;
|
|
@@ -2383,6 +2392,11 @@ interface RuleOptions {
|
|
|
2383
2392
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2384
2393
|
*/
|
|
2385
2394
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2395
|
+
/**
|
|
2396
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2397
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2398
|
+
*/
|
|
2399
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2386
2400
|
/**
|
|
2387
2401
|
* Require returning inside each `then()` to create readable and reusable Promise chains.
|
|
2388
2402
|
* @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/always-return.md
|
|
@@ -3331,8 +3345,9 @@ interface RuleOptions {
|
|
|
3331
3345
|
*/
|
|
3332
3346
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
3333
3347
|
/**
|
|
3334
|
-
* Disallow multiple spaces between inline JSX props
|
|
3348
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
3335
3349
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
3350
|
+
* @deprecated
|
|
3336
3351
|
*/
|
|
3337
3352
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
3338
3353
|
/**
|
|
@@ -4428,670 +4443,710 @@ interface RuleOptions {
|
|
|
4428
4443
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
4429
4444
|
/**
|
|
4430
4445
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4432
4447
|
*/
|
|
4433
4448
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
4434
4449
|
/**
|
|
4435
4450
|
* Enforce a specific parameter name in catch clauses.
|
|
4436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4437
4452
|
*/
|
|
4438
4453
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
4439
4454
|
/**
|
|
4440
4455
|
* Enforce consistent assertion style with `node:assert`.
|
|
4441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4442
4457
|
*/
|
|
4443
4458
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
4444
4459
|
/**
|
|
4445
4460
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4447
4462
|
*/
|
|
4448
4463
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
4449
4464
|
/**
|
|
4450
4465
|
* Use destructured variables over properties.
|
|
4451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4452
4467
|
*/
|
|
4453
4468
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
4454
4469
|
/**
|
|
4455
4470
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4457
4472
|
*/
|
|
4458
4473
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
4459
4474
|
/**
|
|
4460
4475
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4462
4477
|
*/
|
|
4463
4478
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
4464
4479
|
/**
|
|
4465
4480
|
* Move function definitions to the highest possible scope.
|
|
4466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4467
4482
|
*/
|
|
4468
4483
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
4469
4484
|
/**
|
|
4470
4485
|
* Enforce correct `Error` subclassing.
|
|
4471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4472
4487
|
*/
|
|
4473
4488
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
4474
4489
|
/**
|
|
4475
4490
|
* Enforce no spaces between braces.
|
|
4476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
4477
4492
|
*/
|
|
4478
4493
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
4479
4494
|
/**
|
|
4480
4495
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
4482
4497
|
*/
|
|
4483
4498
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
4484
4499
|
/**
|
|
4485
4500
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
4487
4502
|
*/
|
|
4488
4503
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
4489
4504
|
/**
|
|
4490
4505
|
* Add expiration conditions to TODO comments.
|
|
4491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
4492
4507
|
*/
|
|
4493
4508
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
4494
4509
|
/**
|
|
4495
4510
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
4497
4512
|
*/
|
|
4498
4513
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
4499
4514
|
/**
|
|
4500
4515
|
* Enforce a case style for filenames.
|
|
4501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
4502
4517
|
*/
|
|
4503
4518
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
4504
4519
|
/**
|
|
4505
4520
|
* Enforce specific import styles per module.
|
|
4506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
4507
4522
|
*/
|
|
4508
4523
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
4509
4524
|
/**
|
|
4510
4525
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
4512
4527
|
*/
|
|
4513
4528
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
4514
4529
|
/**
|
|
4515
4530
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
4517
4532
|
*/
|
|
4518
4533
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
4519
4534
|
/**
|
|
4520
4535
|
* Disallow recursive access to `this` within getters and setters.
|
|
4521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
4522
4537
|
*/
|
|
4523
4538
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
4524
4539
|
/**
|
|
4525
4540
|
* Disallow anonymous functions and classes as the default export.
|
|
4526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
4527
4542
|
*/
|
|
4528
4543
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
4529
4544
|
/**
|
|
4530
4545
|
* Prevent passing a function reference directly to iterator methods.
|
|
4531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
4532
4547
|
*/
|
|
4533
4548
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
4534
4549
|
/**
|
|
4535
4550
|
* Prefer `for…of` over the `forEach` method.
|
|
4536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
4537
4552
|
*/
|
|
4538
4553
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
4539
4554
|
/**
|
|
4540
4555
|
* Disallow using the `this` argument in array methods.
|
|
4541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
4542
4557
|
*/
|
|
4543
4558
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
4544
4559
|
/**
|
|
4545
4560
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
4547
4562
|
* @deprecated
|
|
4548
4563
|
*/
|
|
4549
4564
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
4550
4565
|
/**
|
|
4551
4566
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
4553
4568
|
*/
|
|
4554
4569
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
4570
|
+
/**
|
|
4571
|
+
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
4572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
4573
|
+
*/
|
|
4574
|
+
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
4575
|
+
/**
|
|
4576
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
4577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
4578
|
+
*/
|
|
4579
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
4555
4580
|
/**
|
|
4556
4581
|
* Disallow member access from await expression.
|
|
4557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
4558
4583
|
*/
|
|
4559
4584
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
4560
4585
|
/**
|
|
4561
4586
|
* Disallow using `await` in `Promise` method parameters.
|
|
4562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
4563
4588
|
*/
|
|
4564
4589
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
4565
4590
|
/**
|
|
4566
4591
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
4568
4593
|
*/
|
|
4569
4594
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
4570
4595
|
/**
|
|
4571
4596
|
* Do not use `document.cookie` directly.
|
|
4572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
4573
4598
|
*/
|
|
4574
4599
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
4575
4600
|
/**
|
|
4576
4601
|
* Disallow empty files.
|
|
4577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
4578
4603
|
*/
|
|
4579
4604
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
4580
4605
|
/**
|
|
4581
4606
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
4583
4608
|
*/
|
|
4584
4609
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
4585
4610
|
/**
|
|
4586
4611
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
4588
4613
|
*/
|
|
4589
4614
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
4590
4615
|
/**
|
|
4591
4616
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
4593
4618
|
* @deprecated
|
|
4594
4619
|
*/
|
|
4595
4620
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
4596
4621
|
/**
|
|
4597
4622
|
* Disallow `instanceof` with built-in objects
|
|
4598
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4623
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
4599
4624
|
*/
|
|
4600
4625
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
4601
4626
|
/**
|
|
4602
4627
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4603
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4628
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
4604
4629
|
*/
|
|
4605
4630
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
4606
4631
|
/**
|
|
4607
4632
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4608
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4633
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
4609
4634
|
*/
|
|
4610
4635
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
4611
4636
|
/**
|
|
4612
4637
|
* Disallow identifiers starting with `new` or `class`.
|
|
4613
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4638
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
4614
4639
|
*/
|
|
4615
4640
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
4616
4641
|
/**
|
|
4617
4642
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
4618
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4643
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
4619
4644
|
* @deprecated
|
|
4620
4645
|
*/
|
|
4621
4646
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
4622
4647
|
/**
|
|
4623
4648
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4649
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
4625
4650
|
*/
|
|
4626
4651
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
4627
4652
|
/**
|
|
4628
4653
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
4630
4655
|
*/
|
|
4631
4656
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
4632
4657
|
/**
|
|
4633
4658
|
* Disallow named usage of default import and export.
|
|
4634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
4635
4660
|
*/
|
|
4636
4661
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
4637
4662
|
/**
|
|
4638
4663
|
* Disallow negated conditions.
|
|
4639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4664
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
4640
4665
|
*/
|
|
4641
4666
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
4642
4667
|
/**
|
|
4643
4668
|
* Disallow negated expression in equality check.
|
|
4644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
4645
4670
|
*/
|
|
4646
4671
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
4647
4672
|
/**
|
|
4648
4673
|
* Disallow nested ternary expressions.
|
|
4649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
4650
4675
|
*/
|
|
4651
4676
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
4652
4677
|
/**
|
|
4653
4678
|
* Disallow `new Array()`.
|
|
4654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4679
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
4655
4680
|
*/
|
|
4656
4681
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
4657
4682
|
/**
|
|
4658
4683
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
4660
4685
|
*/
|
|
4661
4686
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
4662
4687
|
/**
|
|
4663
4688
|
* Disallow the use of the `null` literal.
|
|
4664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4689
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
4665
4690
|
*/
|
|
4666
4691
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
4667
4692
|
/**
|
|
4668
4693
|
* Disallow the use of objects as default parameters.
|
|
4669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4694
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
4670
4695
|
*/
|
|
4671
4696
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
4672
4697
|
/**
|
|
4673
4698
|
* Disallow `process.exit()`.
|
|
4674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
4675
4700
|
*/
|
|
4676
4701
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
4677
4702
|
/**
|
|
4678
4703
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
4680
4705
|
*/
|
|
4681
4706
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
4682
4707
|
/**
|
|
4683
4708
|
* Disallow classes that only have static members.
|
|
4684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
4685
4710
|
*/
|
|
4686
4711
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
4687
4712
|
/**
|
|
4688
4713
|
* Disallow `then` property.
|
|
4689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
4690
4715
|
*/
|
|
4691
4716
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
4692
4717
|
/**
|
|
4693
4718
|
* Disallow assigning `this` to a variable.
|
|
4694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
4695
4720
|
*/
|
|
4696
4721
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
4697
4722
|
/**
|
|
4698
4723
|
* Disallow comparing `undefined` using `typeof`.
|
|
4699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
4700
4725
|
*/
|
|
4701
4726
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
4702
4727
|
/**
|
|
4703
4728
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
4704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
4705
4730
|
*/
|
|
4706
4731
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
4707
4732
|
/**
|
|
4708
4733
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
4709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
4710
4735
|
*/
|
|
4711
4736
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
4712
4737
|
/**
|
|
4713
4738
|
* Disallow awaiting non-promise values.
|
|
4714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
4715
4740
|
*/
|
|
4716
4741
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
4717
4742
|
/**
|
|
4718
4743
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
4720
4745
|
*/
|
|
4721
4746
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
4722
4747
|
/**
|
|
4723
4748
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
4725
4750
|
*/
|
|
4726
4751
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
4727
4752
|
/**
|
|
4728
4753
|
* Disallow unreadable array destructuring.
|
|
4729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
4730
4755
|
*/
|
|
4731
4756
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
4732
4757
|
/**
|
|
4733
4758
|
* Disallow unreadable IIFEs.
|
|
4734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
4735
4760
|
*/
|
|
4736
4761
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
4737
4762
|
/**
|
|
4738
4763
|
* Disallow unused object properties.
|
|
4739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
4740
4765
|
*/
|
|
4741
4766
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
4767
|
+
/**
|
|
4768
|
+
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
4769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
4770
|
+
*/
|
|
4771
|
+
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
4742
4772
|
/**
|
|
4743
4773
|
* Disallow useless fallback when spreading in object literals.
|
|
4744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
4745
4775
|
*/
|
|
4746
4776
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
4747
4777
|
/**
|
|
4748
4778
|
* Disallow useless array length check.
|
|
4749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
4750
4780
|
*/
|
|
4751
4781
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
4752
4782
|
/**
|
|
4753
4783
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
4755
4785
|
*/
|
|
4756
4786
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
4757
4787
|
/**
|
|
4758
4788
|
* Disallow unnecessary spread.
|
|
4759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
4760
4790
|
*/
|
|
4761
4791
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
4762
4792
|
/**
|
|
4763
4793
|
* Disallow useless case in switch statements.
|
|
4764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
4765
4795
|
*/
|
|
4766
4796
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
4767
4797
|
/**
|
|
4768
4798
|
* Disallow useless `undefined`.
|
|
4769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
4770
4800
|
*/
|
|
4771
4801
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
4772
4802
|
/**
|
|
4773
4803
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
4775
4805
|
*/
|
|
4776
4806
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
4777
4807
|
/**
|
|
4778
4808
|
* Enforce proper case for numeric literals.
|
|
4779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
4780
4810
|
*/
|
|
4781
4811
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
4782
4812
|
/**
|
|
4783
4813
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
4785
4815
|
*/
|
|
4786
4816
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
4787
4817
|
/**
|
|
4788
4818
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
4790
4820
|
*/
|
|
4791
4821
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4792
4822
|
/**
|
|
4793
4823
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
4795
4825
|
*/
|
|
4796
4826
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
4797
4827
|
/**
|
|
4798
4828
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
4800
4830
|
*/
|
|
4801
4831
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
4802
4832
|
/**
|
|
4803
4833
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
4805
4835
|
*/
|
|
4806
4836
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
4807
4837
|
/**
|
|
4808
4838
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
4810
4840
|
*/
|
|
4811
4841
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
4812
4842
|
/**
|
|
4813
4843
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
4815
4845
|
*/
|
|
4816
4846
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
4817
4847
|
/**
|
|
4818
4848
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
4820
4850
|
*/
|
|
4821
4851
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4852
|
+
/**
|
|
4853
|
+
* Prefer `BigInt` literals over the constructor.
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
4855
|
+
*/
|
|
4856
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
4822
4857
|
/**
|
|
4823
4858
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
4825
4860
|
*/
|
|
4826
4861
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
4862
|
+
/**
|
|
4863
|
+
* Prefer class field declarations over `this` assignments in constructors.
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
4865
|
+
*/
|
|
4866
|
+
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
4867
|
+
/**
|
|
4868
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
4870
|
+
*/
|
|
4871
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
4827
4872
|
/**
|
|
4828
4873
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
4830
4875
|
*/
|
|
4831
4876
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
4832
4877
|
/**
|
|
4833
4878
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
4835
4880
|
*/
|
|
4836
4881
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
4837
4882
|
/**
|
|
4838
4883
|
* Prefer default parameters over reassignment.
|
|
4839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
4840
4885
|
*/
|
|
4841
4886
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
4842
4887
|
/**
|
|
4843
4888
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
4845
4890
|
*/
|
|
4846
4891
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
4847
4892
|
/**
|
|
4848
4893
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4849
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
4850
4895
|
*/
|
|
4851
4896
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
4852
4897
|
/**
|
|
4853
4898
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
4855
4900
|
*/
|
|
4856
4901
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
4857
4902
|
/**
|
|
4858
4903
|
* Prefer `.textContent` over `.innerText`.
|
|
4859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
4860
4905
|
*/
|
|
4861
4906
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
4862
4907
|
/**
|
|
4863
4908
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
4865
4910
|
*/
|
|
4866
4911
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
4867
4912
|
/**
|
|
4868
4913
|
* Prefer `export…from` when re-exporting.
|
|
4869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
4870
4915
|
*/
|
|
4871
4916
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4872
4917
|
/**
|
|
4873
4918
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
4875
4920
|
*/
|
|
4876
4921
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
4877
4922
|
/**
|
|
4878
4923
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
4880
4925
|
*/
|
|
4881
4926
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
4882
4927
|
/**
|
|
4883
4928
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
4885
4930
|
*/
|
|
4886
4931
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
4887
4932
|
/**
|
|
4888
4933
|
* Prefer reading a JSON file as a buffer.
|
|
4889
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
4890
4935
|
*/
|
|
4891
4936
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
4892
4937
|
/**
|
|
4893
4938
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
4895
4940
|
*/
|
|
4896
4941
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
4897
4942
|
/**
|
|
4898
4943
|
* Prefer using a logical operator over a ternary.
|
|
4899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4900
4945
|
*/
|
|
4901
4946
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
4902
4947
|
/**
|
|
4903
4948
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
4905
4950
|
*/
|
|
4906
4951
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
4907
4952
|
/**
|
|
4908
4953
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
4910
4955
|
*/
|
|
4911
4956
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
4912
4957
|
/**
|
|
4913
4958
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4914
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
4915
4960
|
*/
|
|
4916
4961
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
4917
4962
|
/**
|
|
4918
4963
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
4920
4965
|
*/
|
|
4921
4966
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
4922
4967
|
/**
|
|
4923
4968
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4924
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
4925
4970
|
*/
|
|
4926
4971
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
4927
4972
|
/**
|
|
4928
4973
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
4930
4975
|
*/
|
|
4931
4976
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
4932
4977
|
/**
|
|
4933
4978
|
* Prefer negative index over `.length - index` when possible.
|
|
4934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
4935
4980
|
*/
|
|
4936
4981
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
4937
4982
|
/**
|
|
4938
4983
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4939
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
4940
4985
|
*/
|
|
4941
4986
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
4942
4987
|
/**
|
|
4943
4988
|
* Prefer `Number` static properties over global ones.
|
|
4944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
4945
4990
|
*/
|
|
4946
4991
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4947
4992
|
/**
|
|
4948
4993
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
4950
4995
|
*/
|
|
4951
4996
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4952
4997
|
/**
|
|
4953
4998
|
* Prefer omitting the `catch` binding parameter.
|
|
4954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
4955
5000
|
*/
|
|
4956
5001
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
4957
5002
|
/**
|
|
4958
5003
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
4960
5005
|
*/
|
|
4961
5006
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
4962
5007
|
/**
|
|
4963
5008
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4964
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
4965
5010
|
*/
|
|
4966
5011
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
4967
5012
|
/**
|
|
4968
5013
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4969
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
4970
5015
|
*/
|
|
4971
5016
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
4972
5017
|
/**
|
|
4973
5018
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
4975
5020
|
*/
|
|
4976
5021
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
4977
5022
|
/**
|
|
4978
5023
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
4980
5025
|
*/
|
|
4981
5026
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
4982
5027
|
/**
|
|
4983
5028
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
4985
5030
|
*/
|
|
4986
5031
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
4987
5032
|
/**
|
|
4988
5033
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4989
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
4990
5035
|
*/
|
|
4991
5036
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
4992
5037
|
/**
|
|
4993
5038
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
4995
5040
|
*/
|
|
4996
5041
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
4997
5042
|
/**
|
|
4998
5043
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5000
5045
|
*/
|
|
5001
5046
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5002
5047
|
/**
|
|
5003
5048
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5005
5050
|
*/
|
|
5006
5051
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5007
5052
|
/**
|
|
5008
5053
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5010
5055
|
*/
|
|
5011
5056
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5012
5057
|
/**
|
|
5013
5058
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5015
5060
|
*/
|
|
5016
5061
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5017
5062
|
/**
|
|
5018
5063
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5020
5065
|
*/
|
|
5021
5066
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5022
5067
|
/**
|
|
5023
5068
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5025
5070
|
*/
|
|
5026
5071
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5027
5072
|
/**
|
|
5028
5073
|
* Prefer `switch` over multiple `else-if`.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5030
5075
|
*/
|
|
5031
5076
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5032
5077
|
/**
|
|
5033
5078
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5034
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5035
5080
|
*/
|
|
5036
5081
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5037
5082
|
/**
|
|
5038
5083
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5040
5085
|
*/
|
|
5041
5086
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5042
5087
|
/**
|
|
5043
5088
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5045
5090
|
*/
|
|
5046
5091
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5047
5092
|
/**
|
|
5048
5093
|
* Prevent abbreviations.
|
|
5049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5050
5095
|
*/
|
|
5051
5096
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5052
5097
|
/**
|
|
5053
5098
|
* Enforce consistent relative URL style.
|
|
5054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5055
5100
|
*/
|
|
5056
5101
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5057
5102
|
/**
|
|
5058
5103
|
* Enforce using the separator argument with `Array#join()`.
|
|
5059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5060
5105
|
*/
|
|
5061
5106
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5107
|
+
/**
|
|
5108
|
+
* Require non-empty module attributes for imports and exports
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5110
|
+
*/
|
|
5111
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5112
|
+
/**
|
|
5113
|
+
* Require non-empty specifier list in import and export statements.
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5115
|
+
*/
|
|
5116
|
+
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5062
5117
|
/**
|
|
5063
5118
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5065
5120
|
*/
|
|
5066
5121
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5067
5122
|
/**
|
|
5068
5123
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5070
5125
|
*/
|
|
5071
5126
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5072
5127
|
/**
|
|
5073
5128
|
* Enforce better string content.
|
|
5074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5075
5130
|
*/
|
|
5076
5131
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5077
5132
|
/**
|
|
5078
5133
|
* Enforce consistent brace style for `case` clauses.
|
|
5079
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5080
5135
|
*/
|
|
5081
5136
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5082
5137
|
/**
|
|
5083
5138
|
* Fix whitespace-insensitive template indentation.
|
|
5084
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5085
5140
|
*/
|
|
5086
5141
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5087
5142
|
/**
|
|
5088
5143
|
* Enforce consistent case for text encoding identifiers.
|
|
5089
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5090
5145
|
*/
|
|
5091
5146
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5092
5147
|
/**
|
|
5093
5148
|
* Require `new` when creating an error.
|
|
5094
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5095
5150
|
*/
|
|
5096
5151
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5097
5152
|
/**
|
|
@@ -5139,6 +5194,11 @@ interface RuleOptions {
|
|
|
5139
5194
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
5140
5195
|
*/
|
|
5141
5196
|
'vitest/expect-expect'?: Linter.RuleEntry<VitestExpectExpect>;
|
|
5197
|
+
/**
|
|
5198
|
+
* enforce hoisted APIs to be on top of the file
|
|
5199
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
5200
|
+
*/
|
|
5201
|
+
'vitest/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
5142
5202
|
/**
|
|
5143
5203
|
* enforce a maximum number of expect per test
|
|
5144
5204
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -5295,6 +5355,16 @@ interface RuleOptions {
|
|
|
5295
5355
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
5296
5356
|
*/
|
|
5297
5357
|
'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
5358
|
+
/**
|
|
5359
|
+
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
5360
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
5361
|
+
*/
|
|
5362
|
+
'vitest/prefer-called-once'?: Linter.RuleEntry<[]>;
|
|
5363
|
+
/**
|
|
5364
|
+
* enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
|
|
5365
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
|
|
5366
|
+
*/
|
|
5367
|
+
'vitest/prefer-called-times'?: Linter.RuleEntry<[]>;
|
|
5298
5368
|
/**
|
|
5299
5369
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
5300
5370
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
@@ -5330,6 +5400,11 @@ interface RuleOptions {
|
|
|
5330
5400
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
5331
5401
|
*/
|
|
5332
5402
|
'vitest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
5403
|
+
/**
|
|
5404
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
5405
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
5406
|
+
*/
|
|
5407
|
+
'vitest/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
5333
5408
|
/**
|
|
5334
5409
|
* enforce having hooks in consistent order
|
|
5335
5410
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -5460,6 +5535,11 @@ interface RuleOptions {
|
|
|
5460
5535
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
5461
5536
|
*/
|
|
5462
5537
|
'vitest/valid-title'?: Linter.RuleEntry<VitestValidTitle>;
|
|
5538
|
+
/**
|
|
5539
|
+
* disallow `.todo` usage
|
|
5540
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
|
|
5541
|
+
*/
|
|
5542
|
+
'vitest/warn-todo'?: Linter.RuleEntry<[]>;
|
|
5463
5543
|
/**
|
|
5464
5544
|
* Enforce linebreaks after opening and before closing array brackets in `<template>`
|
|
5465
5545
|
* @see https://eslint.vuejs.org/rules/array-bracket-newline.html
|
|
@@ -5995,6 +6075,16 @@ interface RuleOptions {
|
|
|
5995
6075
|
* @see https://eslint.vuejs.org/rules/no-mutating-props.html
|
|
5996
6076
|
*/
|
|
5997
6077
|
'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
|
|
6078
|
+
/**
|
|
6079
|
+
* Disallow negated conditions in `<template>`
|
|
6080
|
+
* @see https://eslint.vuejs.org/rules/no-negated-condition.html
|
|
6081
|
+
*/
|
|
6082
|
+
'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
6083
|
+
/**
|
|
6084
|
+
* disallow negated conditions in v-if/v-else
|
|
6085
|
+
* @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
|
|
6086
|
+
*/
|
|
6087
|
+
'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
|
|
5998
6088
|
/**
|
|
5999
6089
|
* disallow parsing errors in `<template>`
|
|
6000
6090
|
* @see https://eslint.vuejs.org/rules/no-parsing-error.html
|
|
@@ -6066,7 +6156,7 @@ interface RuleOptions {
|
|
|
6066
6156
|
*/
|
|
6067
6157
|
'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
|
|
6068
6158
|
/**
|
|
6069
|
-
* disallow specific
|
|
6159
|
+
* disallow specific elements
|
|
6070
6160
|
* @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
|
|
6071
6161
|
*/
|
|
6072
6162
|
'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
|
|
@@ -6853,13 +6943,13 @@ interface RuleOptions {
|
|
|
6853
6943
|
*/
|
|
6854
6944
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
6855
6945
|
}
|
|
6856
|
-
|
|
6857
6946
|
/* ======= Declarations ======= */
|
|
6858
6947
|
// ----- accessor-pairs -----
|
|
6859
6948
|
type AccessorPairs = [] | [{
|
|
6860
6949
|
getWithoutSet?: boolean;
|
|
6861
6950
|
setWithoutGet?: boolean;
|
|
6862
6951
|
enforceForClassMembers?: boolean;
|
|
6952
|
+
enforceForTSTypes?: boolean;
|
|
6863
6953
|
}];
|
|
6864
6954
|
// ----- array-bracket-newline -----
|
|
6865
6955
|
type ArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
@@ -7063,20 +7153,20 @@ type GetterReturn = [] | [{
|
|
|
7063
7153
|
allowImplicit?: boolean;
|
|
7064
7154
|
}];
|
|
7065
7155
|
// ----- grouped-accessor-pairs -----
|
|
7066
|
-
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
7156
|
+
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
7157
|
+
enforceForTSTypes?: boolean;
|
|
7158
|
+
}];
|
|
7067
7159
|
// ----- handle-callback-err -----
|
|
7068
7160
|
type HandleCallbackErr = [] | [string];
|
|
7069
7161
|
// ----- html/attrs-newline -----
|
|
7070
7162
|
type HtmlAttrsNewline = [] | [{
|
|
7071
7163
|
closeStyle?: ("newline" | "sameline");
|
|
7072
7164
|
ifAttrsMoreThan?: number;
|
|
7073
|
-
[k: string]: unknown | undefined;
|
|
7074
7165
|
}];
|
|
7075
7166
|
// ----- html/element-newline -----
|
|
7076
7167
|
type HtmlElementNewline = [] | [{
|
|
7077
7168
|
inline?: string[];
|
|
7078
7169
|
skip?: string[];
|
|
7079
|
-
[k: string]: unknown | undefined;
|
|
7080
7170
|
}];
|
|
7081
7171
|
// ----- html/id-naming-convention -----
|
|
7082
7172
|
type HtmlIdNamingConvention = [] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex")] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex"), {
|
|
@@ -7089,7 +7179,6 @@ type HtmlIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
7089
7179
|
tagChildrenIndent?: {
|
|
7090
7180
|
[k: string]: number;
|
|
7091
7181
|
};
|
|
7092
|
-
[k: string]: unknown | undefined;
|
|
7093
7182
|
}];
|
|
7094
7183
|
// ----- html/max-element-depth -----
|
|
7095
7184
|
type HtmlMaxElementDepth = [] | [{
|
|
@@ -7101,7 +7190,6 @@ type HtmlNoExtraSpacingAttrs = [] | [{
|
|
|
7101
7190
|
disallowMissing?: boolean;
|
|
7102
7191
|
disallowTabs?: boolean;
|
|
7103
7192
|
enforceBeforeSelfClose?: boolean;
|
|
7104
|
-
[k: string]: unknown | undefined;
|
|
7105
7193
|
}];
|
|
7106
7194
|
// ----- html/no-extra-spacing-text -----
|
|
7107
7195
|
type HtmlNoExtraSpacingText = [] | [{
|
|
@@ -7116,22 +7204,23 @@ type HtmlNoRestrictedAttrValues = {
|
|
|
7116
7204
|
attrPatterns: string[];
|
|
7117
7205
|
attrValuePatterns: string[];
|
|
7118
7206
|
message?: string;
|
|
7119
|
-
[k: string]: unknown | undefined;
|
|
7120
7207
|
}[];
|
|
7121
7208
|
// ----- html/no-restricted-attrs -----
|
|
7122
7209
|
type HtmlNoRestrictedAttrs = {
|
|
7123
7210
|
tagPatterns: string[];
|
|
7124
7211
|
attrPatterns: string[];
|
|
7125
7212
|
message?: string;
|
|
7126
|
-
[k: string]: unknown | undefined;
|
|
7127
7213
|
}[];
|
|
7128
7214
|
// ----- html/quotes -----
|
|
7129
|
-
type HtmlQuotes = [] | [("single" | "double")]
|
|
7215
|
+
type HtmlQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
7216
|
+
enforceTemplatedAttrValue?: boolean;
|
|
7217
|
+
}];
|
|
7130
7218
|
// ----- html/require-attrs -----
|
|
7131
7219
|
type HtmlRequireAttrs = {
|
|
7132
7220
|
tag: string;
|
|
7133
7221
|
attr: string;
|
|
7134
7222
|
value?: string;
|
|
7223
|
+
message?: string;
|
|
7135
7224
|
}[];
|
|
7136
7225
|
// ----- html/require-closing-tags -----
|
|
7137
7226
|
type HtmlRequireClosingTags = [] | [{
|
|
@@ -7146,14 +7235,14 @@ type HtmlRequireExplicitSize = [] | [{
|
|
|
7146
7235
|
// ----- html/require-img-alt -----
|
|
7147
7236
|
type HtmlRequireImgAlt = [] | [{
|
|
7148
7237
|
substitute?: string[];
|
|
7149
|
-
[k: string]: unknown | undefined;
|
|
7150
7238
|
}];
|
|
7151
7239
|
// ----- html/require-open-graph-protocol -----
|
|
7152
7240
|
type HtmlRequireOpenGraphProtocol = [] | [string[]];
|
|
7153
7241
|
// ----- html/sort-attrs -----
|
|
7154
7242
|
type HtmlSortAttrs = [] | [{
|
|
7155
|
-
priority?: string
|
|
7156
|
-
|
|
7243
|
+
priority?: (string | {
|
|
7244
|
+
pattern: string;
|
|
7245
|
+
})[];
|
|
7157
7246
|
}];
|
|
7158
7247
|
// ----- html/use-baseline -----
|
|
7159
7248
|
type HtmlUseBaseline = [] | [{
|
|
@@ -7421,6 +7510,10 @@ type ImportOrder = [] | [{
|
|
|
7421
7510
|
type ImportPreferDefaultExport = [] | [{
|
|
7422
7511
|
target?: ("single" | "any");
|
|
7423
7512
|
}];
|
|
7513
|
+
// ----- import/prefer-namespace-import -----
|
|
7514
|
+
type ImportPreferNamespaceImport = [] | [{
|
|
7515
|
+
patterns?: string[];
|
|
7516
|
+
}];
|
|
7424
7517
|
// ----- indent -----
|
|
7425
7518
|
type Indent = [] | [("tab" | number)] | [("tab" | number), {
|
|
7426
7519
|
SwitchCase?: number;
|
|
@@ -8300,6 +8393,7 @@ type NoConstantCondition = [] | [{
|
|
|
8300
8393
|
// ----- no-duplicate-imports -----
|
|
8301
8394
|
type NoDuplicateImports = [] | [{
|
|
8302
8395
|
includeExports?: boolean;
|
|
8396
|
+
allowSeparateTypeImports?: boolean;
|
|
8303
8397
|
}];
|
|
8304
8398
|
// ----- no-else-return -----
|
|
8305
8399
|
type NoElseReturn = [] | [{
|
|
@@ -8488,10 +8582,17 @@ type NoRestrictedExports = [] | [({
|
|
|
8488
8582
|
};
|
|
8489
8583
|
})];
|
|
8490
8584
|
// ----- no-restricted-globals -----
|
|
8491
|
-
type NoRestrictedGlobals = (string | {
|
|
8585
|
+
type NoRestrictedGlobals = ((string | {
|
|
8492
8586
|
name: string;
|
|
8493
8587
|
message?: string;
|
|
8494
|
-
})[]
|
|
8588
|
+
})[] | [] | [{
|
|
8589
|
+
globals: (string | {
|
|
8590
|
+
name: string;
|
|
8591
|
+
message?: string;
|
|
8592
|
+
})[];
|
|
8593
|
+
checkGlobalObject?: boolean;
|
|
8594
|
+
globalObjects?: string[];
|
|
8595
|
+
}]);
|
|
8495
8596
|
// ----- no-restricted-imports -----
|
|
8496
8597
|
type NoRestrictedImports = ((string | {
|
|
8497
8598
|
name: string;
|
|
@@ -8620,6 +8721,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
|
|
|
8620
8721
|
caughtErrorsIgnorePattern?: string;
|
|
8621
8722
|
destructuredArrayIgnorePattern?: string;
|
|
8622
8723
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
8724
|
+
ignoreUsingDeclarations?: boolean;
|
|
8623
8725
|
reportUsedIgnorePattern?: boolean;
|
|
8624
8726
|
})];
|
|
8625
8727
|
// ----- no-use-before-define -----
|
|
@@ -8690,7 +8792,7 @@ type NodeHashbang = [] | [{
|
|
|
8690
8792
|
// ----- node/no-deprecated-api -----
|
|
8691
8793
|
type NodeNoDeprecatedApi = [] | [{
|
|
8692
8794
|
version?: string;
|
|
8693
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
8795
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
8694
8796
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
8695
8797
|
ignoreIndirectDependencies?: boolean;
|
|
8696
8798
|
}];
|
|
@@ -8884,7 +8986,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
8884
8986
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
8885
8987
|
version?: string;
|
|
8886
8988
|
allowExperimental?: boolean;
|
|
8887
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
8989
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
8888
8990
|
}];
|
|
8889
8991
|
// ----- node/prefer-global/buffer -----
|
|
8890
8992
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -8985,6 +9087,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
8985
9087
|
var?: ("always" | "never" | "consecutive");
|
|
8986
9088
|
let?: ("always" | "never" | "consecutive");
|
|
8987
9089
|
const?: ("always" | "never" | "consecutive");
|
|
9090
|
+
using?: ("always" | "never" | "consecutive");
|
|
9091
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
8988
9092
|
} | {
|
|
8989
9093
|
initialized?: ("always" | "never" | "consecutive");
|
|
8990
9094
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -9069,6 +9173,10 @@ type PreferReflect = [] | [{
|
|
|
9069
9173
|
type PreferRegexLiterals = [] | [{
|
|
9070
9174
|
disallowRedundantWrapping?: boolean;
|
|
9071
9175
|
}];
|
|
9176
|
+
// ----- preserve-caught-error -----
|
|
9177
|
+
type PreserveCaughtError = [] | [{
|
|
9178
|
+
requireCatchParameter?: boolean;
|
|
9179
|
+
}];
|
|
9072
9180
|
// ----- promise/always-return -----
|
|
9073
9181
|
type PromiseAlwaysReturn = [] | [{
|
|
9074
9182
|
ignoreLastCallback?: boolean;
|
|
@@ -9604,15 +9712,18 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
9604
9712
|
const?: (number | ("first" | "off"));
|
|
9605
9713
|
using?: (number | ("first" | "off"));
|
|
9606
9714
|
});
|
|
9715
|
+
assignmentOperator?: (number | "off");
|
|
9607
9716
|
outerIIFEBody?: (number | "off");
|
|
9608
9717
|
MemberExpression?: (number | "off");
|
|
9609
9718
|
FunctionDeclaration?: {
|
|
9610
9719
|
parameters?: (number | ("first" | "off"));
|
|
9611
9720
|
body?: number;
|
|
9721
|
+
returnType?: number;
|
|
9612
9722
|
};
|
|
9613
9723
|
FunctionExpression?: {
|
|
9614
9724
|
parameters?: (number | ("first" | "off"));
|
|
9615
9725
|
body?: number;
|
|
9726
|
+
returnType?: number;
|
|
9616
9727
|
};
|
|
9617
9728
|
StaticBlock?: {
|
|
9618
9729
|
body?: number;
|
|
@@ -9653,31 +9764,52 @@ type StyleJsxCurlyNewline = [] | [(("consistent" | "never") | {
|
|
|
9653
9764
|
multiline?: ("consistent" | "require" | "forbid");
|
|
9654
9765
|
})];
|
|
9655
9766
|
// ----- style/jsx-curly-spacing -----
|
|
9656
|
-
type StyleJsxCurlySpacing = [] | [(
|
|
9657
|
-
|
|
9658
|
-
children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
|
|
9659
|
-
[k: string]: unknown | undefined;
|
|
9660
|
-
}) | ("always" | "never"))] | [((_StyleJsxCurlySpacing_BasicConfig & {
|
|
9661
|
-
attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
|
|
9662
|
-
children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
|
|
9663
|
-
[k: string]: unknown | undefined;
|
|
9664
|
-
}) | ("always" | "never")), {
|
|
9767
|
+
type StyleJsxCurlySpacing = [] | [({
|
|
9768
|
+
when?: ("always" | "never");
|
|
9665
9769
|
allowMultiline?: boolean;
|
|
9666
9770
|
spacing?: {
|
|
9667
9771
|
objectLiterals?: ("always" | "never");
|
|
9668
|
-
[k: string]: unknown | undefined;
|
|
9669
9772
|
};
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9773
|
+
attributes?: ({
|
|
9774
|
+
when?: ("always" | "never");
|
|
9775
|
+
allowMultiline?: boolean;
|
|
9776
|
+
spacing?: {
|
|
9777
|
+
objectLiterals?: ("always" | "never");
|
|
9778
|
+
};
|
|
9779
|
+
} | boolean);
|
|
9780
|
+
children?: ({
|
|
9781
|
+
when?: ("always" | "never");
|
|
9782
|
+
allowMultiline?: boolean;
|
|
9783
|
+
spacing?: {
|
|
9784
|
+
objectLiterals?: ("always" | "never");
|
|
9785
|
+
};
|
|
9786
|
+
} | boolean);
|
|
9787
|
+
} | ("always" | "never"))] | [({
|
|
9673
9788
|
when?: ("always" | "never");
|
|
9674
9789
|
allowMultiline?: boolean;
|
|
9675
9790
|
spacing?: {
|
|
9676
9791
|
objectLiterals?: ("always" | "never");
|
|
9677
|
-
[k: string]: unknown | undefined;
|
|
9678
9792
|
};
|
|
9679
|
-
|
|
9680
|
-
|
|
9793
|
+
attributes?: ({
|
|
9794
|
+
when?: ("always" | "never");
|
|
9795
|
+
allowMultiline?: boolean;
|
|
9796
|
+
spacing?: {
|
|
9797
|
+
objectLiterals?: ("always" | "never");
|
|
9798
|
+
};
|
|
9799
|
+
} | boolean);
|
|
9800
|
+
children?: ({
|
|
9801
|
+
when?: ("always" | "never");
|
|
9802
|
+
allowMultiline?: boolean;
|
|
9803
|
+
spacing?: {
|
|
9804
|
+
objectLiterals?: ("always" | "never");
|
|
9805
|
+
};
|
|
9806
|
+
} | boolean);
|
|
9807
|
+
} | ("always" | "never")), {
|
|
9808
|
+
allowMultiline?: boolean;
|
|
9809
|
+
spacing?: {
|
|
9810
|
+
objectLiterals?: ("always" | "never");
|
|
9811
|
+
};
|
|
9812
|
+
}];
|
|
9681
9813
|
// ----- style/jsx-equals-spacing -----
|
|
9682
9814
|
type StyleJsxEqualsSpacing = [] | [("always" | "never")];
|
|
9683
9815
|
// ----- style/jsx-first-prop-new-line -----
|
|
@@ -9693,14 +9825,12 @@ type StyleJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
9693
9825
|
type StyleJsxIndentProps = [] | [(("tab" | "first") | number | {
|
|
9694
9826
|
indentMode?: (("tab" | "first") | number);
|
|
9695
9827
|
ignoreTernaryOperator?: boolean;
|
|
9696
|
-
[k: string]: unknown | undefined;
|
|
9697
9828
|
})];
|
|
9698
9829
|
// ----- style/jsx-max-props-per-line -----
|
|
9699
9830
|
type StyleJsxMaxPropsPerLine = [] | [({
|
|
9700
9831
|
maximum?: {
|
|
9701
9832
|
single?: number;
|
|
9702
9833
|
multi?: number;
|
|
9703
|
-
[k: string]: unknown | undefined;
|
|
9704
9834
|
};
|
|
9705
9835
|
} | {
|
|
9706
9836
|
maximum?: number;
|
|
@@ -9815,6 +9945,22 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9815
9945
|
before?: boolean;
|
|
9816
9946
|
after?: boolean;
|
|
9817
9947
|
};
|
|
9948
|
+
arguments?: {
|
|
9949
|
+
before?: boolean;
|
|
9950
|
+
after?: boolean;
|
|
9951
|
+
};
|
|
9952
|
+
as?: {
|
|
9953
|
+
before?: boolean;
|
|
9954
|
+
after?: boolean;
|
|
9955
|
+
};
|
|
9956
|
+
async?: {
|
|
9957
|
+
before?: boolean;
|
|
9958
|
+
after?: boolean;
|
|
9959
|
+
};
|
|
9960
|
+
await?: {
|
|
9961
|
+
before?: boolean;
|
|
9962
|
+
after?: boolean;
|
|
9963
|
+
};
|
|
9818
9964
|
boolean?: {
|
|
9819
9965
|
before?: boolean;
|
|
9820
9966
|
after?: boolean;
|
|
@@ -9879,6 +10025,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9879
10025
|
before?: boolean;
|
|
9880
10026
|
after?: boolean;
|
|
9881
10027
|
};
|
|
10028
|
+
eval?: {
|
|
10029
|
+
before?: boolean;
|
|
10030
|
+
after?: boolean;
|
|
10031
|
+
};
|
|
9882
10032
|
export?: {
|
|
9883
10033
|
before?: boolean;
|
|
9884
10034
|
after?: boolean;
|
|
@@ -9907,10 +10057,18 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9907
10057
|
before?: boolean;
|
|
9908
10058
|
after?: boolean;
|
|
9909
10059
|
};
|
|
10060
|
+
from?: {
|
|
10061
|
+
before?: boolean;
|
|
10062
|
+
after?: boolean;
|
|
10063
|
+
};
|
|
9910
10064
|
function?: {
|
|
9911
10065
|
before?: boolean;
|
|
9912
10066
|
after?: boolean;
|
|
9913
10067
|
};
|
|
10068
|
+
get?: {
|
|
10069
|
+
before?: boolean;
|
|
10070
|
+
after?: boolean;
|
|
10071
|
+
};
|
|
9914
10072
|
goto?: {
|
|
9915
10073
|
before?: boolean;
|
|
9916
10074
|
after?: boolean;
|
|
@@ -9943,6 +10101,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9943
10101
|
before?: boolean;
|
|
9944
10102
|
after?: boolean;
|
|
9945
10103
|
};
|
|
10104
|
+
let?: {
|
|
10105
|
+
before?: boolean;
|
|
10106
|
+
after?: boolean;
|
|
10107
|
+
};
|
|
9946
10108
|
long?: {
|
|
9947
10109
|
before?: boolean;
|
|
9948
10110
|
after?: boolean;
|
|
@@ -9959,6 +10121,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9959
10121
|
before?: boolean;
|
|
9960
10122
|
after?: boolean;
|
|
9961
10123
|
};
|
|
10124
|
+
of?: {
|
|
10125
|
+
before?: boolean;
|
|
10126
|
+
after?: boolean;
|
|
10127
|
+
};
|
|
9962
10128
|
package?: {
|
|
9963
10129
|
before?: boolean;
|
|
9964
10130
|
after?: boolean;
|
|
@@ -9979,6 +10145,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
9979
10145
|
before?: boolean;
|
|
9980
10146
|
after?: boolean;
|
|
9981
10147
|
};
|
|
10148
|
+
set?: {
|
|
10149
|
+
before?: boolean;
|
|
10150
|
+
after?: boolean;
|
|
10151
|
+
};
|
|
9982
10152
|
short?: {
|
|
9983
10153
|
before?: boolean;
|
|
9984
10154
|
after?: boolean;
|
|
@@ -10023,55 +10193,43 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10023
10193
|
before?: boolean;
|
|
10024
10194
|
after?: boolean;
|
|
10025
10195
|
};
|
|
10026
|
-
|
|
10027
|
-
before?: boolean;
|
|
10028
|
-
after?: boolean;
|
|
10029
|
-
};
|
|
10030
|
-
var?: {
|
|
10031
|
-
before?: boolean;
|
|
10032
|
-
after?: boolean;
|
|
10033
|
-
};
|
|
10034
|
-
void?: {
|
|
10035
|
-
before?: boolean;
|
|
10036
|
-
after?: boolean;
|
|
10037
|
-
};
|
|
10038
|
-
volatile?: {
|
|
10196
|
+
type?: {
|
|
10039
10197
|
before?: boolean;
|
|
10040
10198
|
after?: boolean;
|
|
10041
10199
|
};
|
|
10042
|
-
|
|
10200
|
+
typeof?: {
|
|
10043
10201
|
before?: boolean;
|
|
10044
10202
|
after?: boolean;
|
|
10045
10203
|
};
|
|
10046
|
-
|
|
10204
|
+
using?: {
|
|
10047
10205
|
before?: boolean;
|
|
10048
10206
|
after?: boolean;
|
|
10049
10207
|
};
|
|
10050
|
-
|
|
10208
|
+
var?: {
|
|
10051
10209
|
before?: boolean;
|
|
10052
10210
|
after?: boolean;
|
|
10053
10211
|
};
|
|
10054
|
-
|
|
10212
|
+
void?: {
|
|
10055
10213
|
before?: boolean;
|
|
10056
10214
|
after?: boolean;
|
|
10057
10215
|
};
|
|
10058
|
-
|
|
10216
|
+
volatile?: {
|
|
10059
10217
|
before?: boolean;
|
|
10060
10218
|
after?: boolean;
|
|
10061
10219
|
};
|
|
10062
|
-
|
|
10220
|
+
while?: {
|
|
10063
10221
|
before?: boolean;
|
|
10064
10222
|
after?: boolean;
|
|
10065
10223
|
};
|
|
10066
|
-
|
|
10224
|
+
with?: {
|
|
10067
10225
|
before?: boolean;
|
|
10068
10226
|
after?: boolean;
|
|
10069
10227
|
};
|
|
10070
|
-
|
|
10228
|
+
yield?: {
|
|
10071
10229
|
before?: boolean;
|
|
10072
10230
|
after?: boolean;
|
|
10073
10231
|
};
|
|
10074
|
-
|
|
10232
|
+
accessor?: {
|
|
10075
10233
|
before?: boolean;
|
|
10076
10234
|
after?: boolean;
|
|
10077
10235
|
};
|
|
@@ -10079,22 +10237,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10079
10237
|
before?: boolean;
|
|
10080
10238
|
after?: boolean;
|
|
10081
10239
|
};
|
|
10082
|
-
set?: {
|
|
10083
|
-
before?: boolean;
|
|
10084
|
-
after?: boolean;
|
|
10085
|
-
};
|
|
10086
|
-
using?: {
|
|
10087
|
-
before?: boolean;
|
|
10088
|
-
after?: boolean;
|
|
10089
|
-
};
|
|
10090
|
-
yield?: {
|
|
10091
|
-
before?: boolean;
|
|
10092
|
-
after?: boolean;
|
|
10093
|
-
};
|
|
10094
|
-
type?: {
|
|
10095
|
-
before?: boolean;
|
|
10096
|
-
after?: boolean;
|
|
10097
|
-
};
|
|
10098
10240
|
};
|
|
10099
10241
|
}];
|
|
10100
10242
|
// ----- style/line-comment-position -----
|
|
@@ -10259,11 +10401,11 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10259
10401
|
// ----- style/multiline-comment-style -----
|
|
10260
10402
|
type StyleMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
|
|
10261
10403
|
checkJSDoc?: boolean;
|
|
10404
|
+
checkExclamation?: boolean;
|
|
10262
10405
|
}]);
|
|
10263
10406
|
// ----- style/multiline-ternary -----
|
|
10264
10407
|
type StyleMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
|
|
10265
10408
|
ignoreJSX?: boolean;
|
|
10266
|
-
[k: string]: unknown | undefined;
|
|
10267
10409
|
}];
|
|
10268
10410
|
// ----- style/new-parens -----
|
|
10269
10411
|
type StyleNewParens = [] | [("always" | "never")];
|
|
@@ -10294,6 +10436,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
10294
10436
|
LogicalExpression?: boolean;
|
|
10295
10437
|
AwaitExpression?: boolean;
|
|
10296
10438
|
};
|
|
10439
|
+
ignoredNodes?: string[];
|
|
10297
10440
|
}]);
|
|
10298
10441
|
// ----- style/no-mixed-operators -----
|
|
10299
10442
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -10408,11 +10551,12 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
10408
10551
|
}];
|
|
10409
10552
|
// ----- style/padding-line-between-statements -----
|
|
10410
10553
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
10411
|
-
type
|
|
10554
|
+
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
|
|
10555
|
+
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
10412
10556
|
type StylePaddingLineBetweenStatements = {
|
|
10413
10557
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
10414
|
-
prev:
|
|
10415
|
-
next:
|
|
10558
|
+
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
10559
|
+
next: _StylePaddingLineBetweenStatementsStatementOption;
|
|
10416
10560
|
}[];
|
|
10417
10561
|
// ----- style/quote-props -----
|
|
10418
10562
|
type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -11114,6 +11258,7 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
11114
11258
|
}
|
|
11115
11259
|
// ----- ts/no-base-to-string -----
|
|
11116
11260
|
type TsNoBaseToString = [] | [{
|
|
11261
|
+
checkUnknown?: boolean;
|
|
11117
11262
|
ignoredTypeNames?: string[];
|
|
11118
11263
|
}];
|
|
11119
11264
|
// ----- ts/no-confusing-void-expression -----
|
|
@@ -11437,7 +11582,6 @@ type TsPreferDestructuring = [] | [({
|
|
|
11437
11582
|
}), {
|
|
11438
11583
|
enforceForDeclarationWithTypeAnnotation?: boolean;
|
|
11439
11584
|
enforceForRenamedProperties?: boolean;
|
|
11440
|
-
[k: string]: unknown | undefined;
|
|
11441
11585
|
}];
|
|
11442
11586
|
// ----- ts/prefer-literal-enum-member -----
|
|
11443
11587
|
type TsPreferLiteralEnumMember = [] | [{
|
|
@@ -11455,7 +11599,6 @@ type TsPreferNullishCoalescing = [] | [{
|
|
|
11455
11599
|
boolean?: boolean;
|
|
11456
11600
|
number?: boolean;
|
|
11457
11601
|
string?: boolean;
|
|
11458
|
-
[k: string]: unknown | undefined;
|
|
11459
11602
|
} | true);
|
|
11460
11603
|
ignoreTernaryTests?: boolean;
|
|
11461
11604
|
}];
|
|
@@ -11664,6 +11807,14 @@ interface _UnicornImportStyle_BooleanObject {
|
|
|
11664
11807
|
type UnicornNoArrayReduce = [] | [{
|
|
11665
11808
|
allowSimpleOperations?: boolean;
|
|
11666
11809
|
}];
|
|
11810
|
+
// ----- unicorn/no-array-reverse -----
|
|
11811
|
+
type UnicornNoArrayReverse = [] | [{
|
|
11812
|
+
allowExpressionStatement?: boolean;
|
|
11813
|
+
}];
|
|
11814
|
+
// ----- unicorn/no-array-sort -----
|
|
11815
|
+
type UnicornNoArraySort = [] | [{
|
|
11816
|
+
allowExpressionStatement?: boolean;
|
|
11817
|
+
}];
|
|
11667
11818
|
// ----- unicorn/no-instanceof-builtins -----
|
|
11668
11819
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
11669
11820
|
useErrorIsError?: boolean;
|
|
@@ -12662,6 +12813,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
|
|
|
12662
12813
|
// ----- vue/no-deprecated-slot-attribute -----
|
|
12663
12814
|
type VueNoDeprecatedSlotAttribute = [] | [{
|
|
12664
12815
|
ignore?: string[];
|
|
12816
|
+
ignoreParents?: string[];
|
|
12665
12817
|
}];
|
|
12666
12818
|
// ----- vue/no-dupe-keys -----
|
|
12667
12819
|
type VueNoDupeKeys = [] | [{
|
|
@@ -13344,7 +13496,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
13344
13496
|
onlyEquality?: boolean;
|
|
13345
13497
|
}];
|
|
13346
13498
|
// Names of all the configs
|
|
13347
|
-
type ConfigNames = 'so1ve/comments/setup' | 'so1ve/comments/rules' | 'so1ve/formatting/setup' | 'so1ve/formatting/rules' | 'so1ve/formatting/rules/sort-package-json' | 'so1ve/formatting/rules/sort-tsconfig' | 'so1ve/formatting/rules/test' | 'so1ve/html/setup' | 'so1ve/html/rules' | 'so1ve/imports/setup' | 'so1ve/imports/rules' | 'so1ve/imports/rules/dts' | 'so1ve/javascript/setup' | 'so1ve/javascript/rules' | 'so1ve/javascript/regexp' | 'so1ve/javascript/cli' | 'so1ve/jsonc/setup' | 'so1ve/jsonc/rules' | 'so1ve/mdx/setup' | 'so1ve/mdx/rules' | 'so1ve/node/setup' | 'so1ve/node/rules' | 'so1ve/only-error' | 'so1ve/promise/setup' | 'so1ve/promise/rules' | 'so1ve/solid/setup' | 'so1ve/solid/rules' | 'so1ve/sort-imports/setup' | 'so1ve/sort-imports/rules' | 'so1ve/test/setup' | 'so1ve/test/rules' | 'so1ve/toml/setup' | 'so1ve/toml/rules' | 'so1ve/typescript/setup' | 'so1ve/typescript/rules' | 'so1ve/typescript/rules/
|
|
13499
|
+
type ConfigNames = 'so1ve/comments/setup' | 'so1ve/comments/rules' | 'so1ve/formatting/setup' | 'so1ve/formatting/rules' | 'so1ve/formatting/rules/sort-package-json' | 'so1ve/formatting/rules/sort-tsconfig' | 'so1ve/formatting/rules/test' | 'so1ve/html/setup' | 'so1ve/html/rules' | 'so1ve/imports/setup' | 'so1ve/imports/rules' | 'so1ve/imports/rules/dts' | 'so1ve/javascript/setup' | 'so1ve/javascript/rules' | 'so1ve/javascript/regexp' | 'so1ve/javascript/cli' | 'so1ve/jsonc/setup' | 'so1ve/jsonc/rules' | 'so1ve/mdx/setup' | 'so1ve/mdx/rules' | 'so1ve/node/setup' | 'so1ve/node/rules' | 'so1ve/only-error' | 'so1ve/promise/setup' | 'so1ve/promise/rules' | 'so1ve/solid/setup' | 'so1ve/solid/rules' | 'so1ve/sort-imports/setup' | 'so1ve/sort-imports/rules' | 'so1ve/test/setup' | 'so1ve/test/rules' | 'so1ve/toml/setup' | 'so1ve/toml/rules' | 'so1ve/typescript/setup' | 'so1ve/typescript/rules' | 'so1ve/typescript/rules/type-aware' | 'so1ve/typescript/rules/dts' | 'so1ve/typescript/rules/js' | 'so1ve/unicorn/setup' | 'so1ve/unicorn/rules' | 'so1ve/vue/setup' | 'so1ve/vue/rules' | 'so1ve/yaml/setup' | 'so1ve/yaml/rules';
|
|
13348
13500
|
//#endregion
|
|
13349
13501
|
//#region src/types.d.ts
|
|
13350
13502
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -13416,6 +13568,12 @@ interface Options extends OptionsComponentExts {
|
|
|
13416
13568
|
* @default true
|
|
13417
13569
|
*/
|
|
13418
13570
|
test?: boolean | OptionsOverrides;
|
|
13571
|
+
/**
|
|
13572
|
+
* Enable Astro support.
|
|
13573
|
+
*
|
|
13574
|
+
* @default auto-detect based on the dependencies
|
|
13575
|
+
*/
|
|
13576
|
+
astro?: boolean | OptionsOverrides;
|
|
13419
13577
|
/**
|
|
13420
13578
|
* Enable Vue support.
|
|
13421
13579
|
*
|
|
@@ -13476,6 +13634,11 @@ interface Options extends OptionsComponentExts {
|
|
|
13476
13634
|
};
|
|
13477
13635
|
}
|
|
13478
13636
|
//#endregion
|
|
13637
|
+
//#region src/configs/astro.d.ts
|
|
13638
|
+
declare function astro({
|
|
13639
|
+
overrides
|
|
13640
|
+
}?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
13641
|
+
//#endregion
|
|
13479
13642
|
//#region src/configs/comments.d.ts
|
|
13480
13643
|
declare const comments: () => TypedFlatConfigItem[];
|
|
13481
13644
|
//#endregion
|
|
@@ -13537,11 +13700,11 @@ declare function toml({
|
|
|
13537
13700
|
}?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
13538
13701
|
//#endregion
|
|
13539
13702
|
//#region src/configs/typescript.d.ts
|
|
13540
|
-
declare
|
|
13703
|
+
declare const typescript$1: ({
|
|
13541
13704
|
componentExts,
|
|
13542
13705
|
parserOptions,
|
|
13543
13706
|
overrides
|
|
13544
|
-
}?: OptionsTypeScriptParserOptions & OptionsComponentExts & OptionsOverrides)
|
|
13707
|
+
}?: OptionsTypeScriptParserOptions & OptionsComponentExts & OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
13545
13708
|
//#endregion
|
|
13546
13709
|
//#region src/configs/unicorn.d.ts
|
|
13547
13710
|
declare const unicorn: () => TypedFlatConfigItem[];
|
|
@@ -13591,6 +13754,8 @@ declare const GLOB_JSON5 = "**/*.json5";
|
|
|
13591
13754
|
declare const GLOB_JSONC = "**/*.jsonc";
|
|
13592
13755
|
declare const GLOB_ESLINTRC = "**/.eslintrc";
|
|
13593
13756
|
declare const GLOB_MARKDOWN = "**/*.md?(x)";
|
|
13757
|
+
declare const GLOB_ASTRO = "**/*.astro";
|
|
13758
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
13594
13759
|
declare const GLOB_VUE = "**/*.vue";
|
|
13595
13760
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
13596
13761
|
declare const GLOB_TOML = "**/*.toml";
|
|
@@ -13630,4 +13795,4 @@ declare function interopDefault<T>(m: MaybePromise<T>): Promise<T extends {
|
|
|
13630
13795
|
default: infer U;
|
|
13631
13796
|
} ? U : T>;
|
|
13632
13797
|
//#endregion
|
|
13633
|
-
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };
|
|
13798
|
+
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, astro, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };
|