@ghettoddos/eslint-config 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -386,233 +386,233 @@ interface RuleOptions {
386
386
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
387
387
  /**
388
388
  * Enforce or ban the use of inline type-only markers for named imports.
389
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/consistent-type-specifier-style.md
389
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/consistent-type-specifier-style.md
390
390
  */
391
391
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
392
392
  /**
393
393
  * Ensure a default export is present, given a default import.
394
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/default.md
394
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/default.md
395
395
  */
396
396
  'import/default'?: Linter.RuleEntry<[]>
397
397
  /**
398
398
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
399
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/dynamic-import-chunkname.md
399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/dynamic-import-chunkname.md
400
400
  */
401
401
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
402
402
  /**
403
403
  * Forbid any invalid exports, i.e. re-export of the same name.
404
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/export.md
404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/export.md
405
405
  */
406
406
  'import/export'?: Linter.RuleEntry<[]>
407
407
  /**
408
408
  * Ensure all exports appear after other statements.
409
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/exports-last.md
409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/exports-last.md
410
410
  */
411
411
  'import/exports-last'?: Linter.RuleEntry<[]>
412
412
  /**
413
413
  * Ensure consistent use of file extension within the import path.
414
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/extensions.md
414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/extensions.md
415
415
  */
416
416
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
417
417
  /**
418
418
  * Ensure all imports appear before other statements.
419
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/first.md
419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/first.md
420
420
  */
421
421
  'import/first'?: Linter.RuleEntry<ImportFirst>
422
422
  /**
423
423
  * Prefer named exports to be grouped together in a single export declaration.
424
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/group-exports.md
424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/group-exports.md
425
425
  */
426
426
  'import/group-exports'?: Linter.RuleEntry<[]>
427
427
  /**
428
428
  * Replaced by `import-x/first`.
429
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/imports-first.md
429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/imports-first.md
430
430
  * @deprecated
431
431
  */
432
432
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
433
433
  /**
434
434
  * Enforce the maximum number of dependencies a module can have.
435
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/max-dependencies.md
435
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/max-dependencies.md
436
436
  */
437
437
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
438
438
  /**
439
439
  * Ensure named imports correspond to a named export in the remote file.
440
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/named.md
440
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/named.md
441
441
  */
442
442
  'import/named'?: Linter.RuleEntry<ImportNamed>
443
443
  /**
444
444
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
445
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/namespace.md
445
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/namespace.md
446
446
  */
447
447
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
448
448
  /**
449
449
  * Enforce a newline after import statements.
450
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/newline-after-import.md
450
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/newline-after-import.md
451
451
  */
452
452
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
453
453
  /**
454
454
  * Forbid import of modules using absolute paths.
455
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-absolute-path.md
455
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-absolute-path.md
456
456
  */
457
457
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
458
458
  /**
459
459
  * Forbid AMD `require` and `define` calls.
460
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-amd.md
460
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-amd.md
461
461
  */
462
462
  'import/no-amd'?: Linter.RuleEntry<[]>
463
463
  /**
464
464
  * Forbid anonymous values as default exports.
465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-anonymous-default-export.md
465
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-anonymous-default-export.md
466
466
  */
467
467
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
468
468
  /**
469
469
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
470
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-commonjs.md
470
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-commonjs.md
471
471
  */
472
472
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
473
473
  /**
474
474
  * Forbid a module from importing a module with a dependency path back to itself.
475
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-cycle.md
475
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-cycle.md
476
476
  */
477
477
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
478
478
  /**
479
479
  * Forbid default exports.
480
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-default-export.md
480
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-default-export.md
481
481
  */
482
482
  'import/no-default-export'?: Linter.RuleEntry<[]>
483
483
  /**
484
484
  * Forbid imported names marked with `@deprecated` documentation tag.
485
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-deprecated.md
485
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-deprecated.md
486
486
  */
487
487
  'import/no-deprecated'?: Linter.RuleEntry<[]>
488
488
  /**
489
489
  * Forbid repeated import of the same module in multiple places.
490
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-duplicates.md
490
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-duplicates.md
491
491
  */
492
492
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
493
493
  /**
494
494
  * Forbid `require()` calls with expressions.
495
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-dynamic-require.md
495
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-dynamic-require.md
496
496
  */
497
497
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
498
498
  /**
499
499
  * Forbid empty named import blocks.
500
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-empty-named-blocks.md
500
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-empty-named-blocks.md
501
501
  */
502
502
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
503
503
  /**
504
504
  * Forbid the use of extraneous packages.
505
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-extraneous-dependencies.md
505
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-extraneous-dependencies.md
506
506
  */
507
507
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
508
508
  /**
509
509
  * Forbid import statements with CommonJS module.exports.
510
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-import-module-exports.md
510
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-import-module-exports.md
511
511
  */
512
512
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
513
513
  /**
514
514
  * Forbid importing the submodules of other modules.
515
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-internal-modules.md
515
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-internal-modules.md
516
516
  */
517
517
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
518
518
  /**
519
519
  * Forbid the use of mutable exports with `var` or `let`.
520
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-mutable-exports.md
520
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-mutable-exports.md
521
521
  */
522
522
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
523
523
  /**
524
524
  * Forbid use of exported name as identifier of default export.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-as-default.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default.md
526
526
  */
527
527
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
528
528
  /**
529
529
  * Forbid use of exported name as property of default export.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-as-default-member.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default-member.md
531
531
  */
532
532
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
533
533
  /**
534
534
  * Forbid named default exports.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-default.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-default.md
536
536
  */
537
537
  'import/no-named-default'?: Linter.RuleEntry<[]>
538
538
  /**
539
539
  * Forbid named exports.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-export.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-export.md
541
541
  */
542
542
  'import/no-named-export'?: Linter.RuleEntry<[]>
543
543
  /**
544
544
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-namespace.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-namespace.md
546
546
  */
547
547
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
548
548
  /**
549
549
  * Forbid Node.js builtin modules.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-nodejs-modules.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-nodejs-modules.md
551
551
  */
552
552
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
553
553
  /**
554
554
  * Forbid importing packages through relative paths.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-relative-packages.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-packages.md
556
556
  */
557
557
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
558
558
  /**
559
559
  * Forbid importing modules from parent directories.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-relative-parent-imports.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-parent-imports.md
561
561
  */
562
562
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
563
563
  /**
564
564
  * Forbid importing a default export by a different name.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-rename-default.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-rename-default.md
566
566
  */
567
567
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
568
568
  /**
569
569
  * Enforce which files can be imported in a given folder.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-restricted-paths.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-restricted-paths.md
571
571
  */
572
572
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
573
573
  /**
574
574
  * Forbid a module from importing itself.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-self-import.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-self-import.md
576
576
  */
577
577
  'import/no-self-import'?: Linter.RuleEntry<[]>
578
578
  /**
579
579
  * Forbid unassigned imports.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unassigned-import.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unassigned-import.md
581
581
  */
582
582
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
583
583
  /**
584
584
  * Ensure imports point to a file/module that can be resolved.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unresolved.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unresolved.md
586
586
  */
587
587
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
588
588
  /**
589
589
  * Forbid modules without exports, or exports without matching import in another module.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unused-modules.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unused-modules.md
591
591
  */
592
592
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
593
593
  /**
594
594
  * Forbid unnecessary path segments in import and require statements.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-useless-path-segments.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-useless-path-segments.md
596
596
  */
597
597
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
598
598
  /**
599
599
  * Forbid webpack loader syntax in imports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-webpack-loader-syntax.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-webpack-loader-syntax.md
601
601
  */
602
602
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
603
603
  /**
604
604
  * Enforce a convention in module import order.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/order.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/order.md
606
606
  */
607
607
  'import/order'?: Linter.RuleEntry<ImportOrder>
608
608
  /**
609
609
  * Prefer a default export if module exports a single name or multiple names.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/prefer-default-export.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/prefer-default-export.md
611
611
  */
612
612
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
613
613
  /**
614
614
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/unambiguous.md
615
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/unambiguous.md
616
616
  */
617
617
  'import/unambiguous'?: Linter.RuleEntry<[]>
618
618
  /**
@@ -907,30 +907,37 @@ interface RuleOptions {
907
907
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
908
908
  /**
909
909
  * Require languages for fenced code blocks
910
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
910
911
  */
911
912
  'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
912
913
  /**
913
914
  * Enforce heading levels increment by one
915
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
914
916
  */
915
917
  'markdown/heading-increment'?: Linter.RuleEntry<[]>
916
918
  /**
917
919
  * Disallow duplicate headings in the same document
920
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
918
921
  */
919
922
  'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
920
923
  /**
921
924
  * Disallow empty links
925
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
922
926
  */
923
927
  'markdown/no-empty-links'?: Linter.RuleEntry<[]>
924
928
  /**
925
929
  * Disallow HTML tags
930
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
926
931
  */
927
932
  'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
928
933
  /**
929
934
  * Disallow invalid label references
935
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
930
936
  */
931
937
  'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
932
938
  /**
933
939
  * Disallow missing label references
940
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
934
941
  */
935
942
  'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
936
943
  /**
@@ -1611,7 +1618,7 @@ interface RuleOptions {
1611
1618
  * Disallow identifiers from shadowing restricted names
1612
1619
  * @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
1613
1620
  */
1614
- 'no-shadow-restricted-names'?: Linter.RuleEntry<[]>
1621
+ 'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
1615
1622
  /**
1616
1623
  * Disallow spacing between function identifiers and their applications (deprecated)
1617
1624
  * @see https://eslint.org/docs/latest/rules/no-spaced-func
@@ -2187,6 +2194,31 @@ interface RuleOptions {
2187
2194
  * @see https://perfectionist.dev/rules/sort-variable-declarations
2188
2195
  */
2189
2196
  'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2197
+ /**
2198
+ * Enforce using "catalog:" in `package.json`
2199
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-enforce-catalog.test.ts
2200
+ */
2201
+ 'pnpm/json-enforce-catalog'?: Linter.RuleEntry<PnpmJsonEnforceCatalog>
2202
+ /**
2203
+ * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
2204
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-prefer-workspace-settings.test.ts
2205
+ */
2206
+ 'pnpm/json-prefer-workspace-settings'?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>
2207
+ /**
2208
+ * Enforce using valid catalog in `package.json`
2209
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-valid-catalog.test.ts
2210
+ */
2211
+ 'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>
2212
+ /**
2213
+ * Disallow unused catalogs in `pnpm-workspace.yaml`
2214
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-duplicate-catalog-item.test.ts
2215
+ */
2216
+ 'pnpm/yaml-no-duplicate-catalog-item'?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>
2217
+ /**
2218
+ * Disallow unused catalogs in `pnpm-workspace.yaml`
2219
+ * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-unused-catalog-item.test.ts
2220
+ */
2221
+ 'pnpm/yaml-no-unused-catalog-item'?: Linter.RuleEntry<[]>
2190
2222
  /**
2191
2223
  * Require using arrow functions for callbacks
2192
2224
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -2486,6 +2518,11 @@ interface RuleOptions {
2486
2518
  * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
2487
2519
  */
2488
2520
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2521
+ /**
2522
+ * Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
2523
+ * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
2524
+ */
2525
+ 'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>
2489
2526
  /**
2490
2527
  * Disallow duplicate props in JSX elements.
2491
2528
  * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
@@ -2496,6 +2533,11 @@ interface RuleOptions {
2496
2533
  * @see https://eslint-react.xyz/docs/rules/jsx-no-undef
2497
2534
  */
2498
2535
  'react/jsx-no-undef'?: Linter.RuleEntry<[]>
2536
+ /**
2537
+ * Marks React variables as used when JSX is used.
2538
+ * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
2539
+ */
2540
+ 'react/jsx-uses-react'?: Linter.RuleEntry<[]>
2499
2541
  /**
2500
2542
  * Marks variables used in JSX elements as used.
2501
2543
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
@@ -2542,7 +2584,7 @@ interface RuleOptions {
2542
2584
  */
2543
2585
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
2544
2586
  /**
2545
- * Disallow class components.
2587
+ * Disallow class components except for error boundaries.
2546
2588
  * @see https://eslint-react.xyz/docs/rules/no-class-component
2547
2589
  */
2548
2590
  'react/no-class-component'?: Linter.RuleEntry<[]>
@@ -2641,6 +2683,11 @@ interface RuleOptions {
2641
2683
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
2642
2684
  */
2643
2685
  'react/no-missing-key'?: Linter.RuleEntry<[]>
2686
+ /**
2687
+ * Prevents incorrect usage of `captureOwnerStack`.
2688
+ * @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
2689
+ */
2690
+ 'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>
2644
2691
  /**
2645
2692
  * Disallow nesting component definitions inside other components.
2646
2693
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
@@ -2651,6 +2698,11 @@ interface RuleOptions {
2651
2698
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2652
2699
  */
2653
2700
  'react/no-nested-components'?: Linter.RuleEntry<[]>
2701
+ /**
2702
+ * Disallow nesting lazy component declarations inside other components.
2703
+ * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2704
+ */
2705
+ 'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>
2654
2706
  /**
2655
2707
  * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
2656
2708
  * @see https://eslint-react.xyz/docs/rules/no-prop-types
@@ -2667,7 +2719,7 @@ interface RuleOptions {
2667
2719
  */
2668
2720
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2669
2721
  /**
2670
- * Disallows calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
2722
+ * Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
2671
2723
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2672
2724
  */
2673
2725
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
@@ -2677,7 +2729,7 @@ interface RuleOptions {
2677
2729
  */
2678
2730
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
2679
2731
  /**
2680
- * Disallow deprecated string `refs`.
2732
+ * Replaces string refs with callback refs.
2681
2733
  * @see https://eslint-react.xyz/docs/rules/no-string-refs
2682
2734
  */
2683
2735
  'react/no-string-refs'?: Linter.RuleEntry<[]>
@@ -4264,6 +4316,11 @@ interface RuleOptions {
4264
4316
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
4265
4317
  */
4266
4318
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
4319
+ /**
4320
+ * Disallow conversion idioms when they do not change the type or value of the expression
4321
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
4322
+ */
4323
+ 'ts/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
4267
4324
  /**
4268
4325
  * Disallow type parameters that aren't used multiple times
4269
4326
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
@@ -4549,643 +4606,670 @@ interface RuleOptions {
4549
4606
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
4550
4607
  /**
4551
4608
  * Improve regexes by making them shorter, consistent, and safer.
4552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
4609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
4553
4610
  */
4554
4611
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
4555
4612
  /**
4556
4613
  * Enforce a specific parameter name in catch clauses.
4557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
4614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
4558
4615
  */
4559
4616
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
4560
4617
  /**
4561
4618
  * Enforce consistent assertion style with `node:assert`.
4562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
4619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
4563
4620
  */
4564
4621
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
4565
4622
  /**
4566
4623
  * Prefer passing `Date` directly to the constructor when cloning.
4567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
4624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
4568
4625
  */
4569
4626
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
4570
4627
  /**
4571
4628
  * Use destructured variables over properties.
4572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
4629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
4573
4630
  */
4574
4631
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
4575
4632
  /**
4576
4633
  * Prefer consistent types when spreading a ternary in an array literal.
4577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
4634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
4578
4635
  */
4579
4636
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
4580
4637
  /**
4581
4638
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
4582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
4639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
4583
4640
  */
4584
4641
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
4585
4642
  /**
4586
4643
  * Move function definitions to the highest possible scope.
4587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
4644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
4588
4645
  */
4589
4646
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
4590
4647
  /**
4591
4648
  * Enforce correct `Error` subclassing.
4592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
4649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
4593
4650
  */
4594
4651
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
4595
4652
  /**
4596
4653
  * Enforce no spaces between braces.
4597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
4654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
4598
4655
  */
4599
4656
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
4600
4657
  /**
4601
4658
  * Enforce passing a `message` value when creating a built-in error.
4602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
4659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
4603
4660
  */
4604
4661
  'unicorn/error-message'?: Linter.RuleEntry<[]>
4605
4662
  /**
4606
4663
  * Require escape sequences to use uppercase or lowercase values.
4607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
4664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
4608
4665
  */
4609
4666
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
4610
4667
  /**
4611
4668
  * Add expiration conditions to TODO comments.
4612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
4669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
4613
4670
  */
4614
4671
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
4615
4672
  /**
4616
4673
  * Enforce explicitly comparing the `length` or `size` property of a value.
4617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
4674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
4618
4675
  */
4619
4676
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
4620
4677
  /**
4621
4678
  * Enforce a case style for filenames.
4622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
4679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
4623
4680
  */
4624
4681
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
4625
4682
  /**
4626
4683
  * Enforce specific import styles per module.
4627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
4684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
4628
4685
  */
4629
4686
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
4630
4687
  /**
4631
4688
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
4632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
4689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
4633
4690
  */
4634
4691
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
4635
4692
  /**
4636
4693
  * Enforce specifying rules to disable in `eslint-disable` comments.
4637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
4694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
4638
4695
  */
4639
4696
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
4640
4697
  /**
4641
4698
  * Disallow recursive access to `this` within getters and setters.
4642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
4699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
4643
4700
  */
4644
4701
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
4645
4702
  /**
4646
4703
  * Disallow anonymous functions and classes as the default export.
4647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
4704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
4648
4705
  */
4649
4706
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
4650
4707
  /**
4651
4708
  * Prevent passing a function reference directly to iterator methods.
4652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
4709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
4653
4710
  */
4654
4711
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
4655
4712
  /**
4656
4713
  * Prefer `for…of` over the `forEach` method.
4657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
4714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
4658
4715
  */
4659
4716
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
4660
4717
  /**
4661
4718
  * Disallow using the `this` argument in array methods.
4662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
4719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
4663
4720
  */
4664
4721
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
4665
4722
  /**
4666
- * Enforce combining multiple `Array#push()` into one call.
4667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
4723
+ * Replaced by `unicorn/prefer-single-call` which covers more cases.
4724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
4725
+ * @deprecated
4668
4726
  */
4669
- 'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
4727
+ 'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
4670
4728
  /**
4671
4729
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
4672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
4730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
4673
4731
  */
4674
4732
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
4675
4733
  /**
4676
4734
  * Disallow member access from await expression.
4677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
4735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
4678
4736
  */
4679
4737
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
4680
4738
  /**
4681
4739
  * Disallow using `await` in `Promise` method parameters.
4682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
4740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
4683
4741
  */
4684
4742
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
4685
4743
  /**
4686
4744
  * Do not use leading/trailing space between `console.log` parameters.
4687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
4745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
4688
4746
  */
4689
4747
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
4690
4748
  /**
4691
4749
  * Do not use `document.cookie` directly.
4692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
4750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
4693
4751
  */
4694
4752
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
4695
4753
  /**
4696
4754
  * Disallow empty files.
4697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
4755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
4698
4756
  */
4699
4757
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
4700
4758
  /**
4701
4759
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
4702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
4760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
4703
4761
  */
4704
4762
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
4705
4763
  /**
4706
4764
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
4707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
4765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
4708
4766
  */
4709
4767
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
4710
4768
  /**
4711
4769
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
4712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
4770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
4713
4771
  * @deprecated
4714
4772
  */
4715
4773
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
4716
4774
  /**
4717
4775
  * Disallow `instanceof` with built-in objects
4718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
4776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
4719
4777
  */
4720
4778
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
4721
4779
  /**
4722
4780
  * Disallow invalid options in `fetch()` and `new Request()`.
4723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
4781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
4724
4782
  */
4725
4783
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
4726
4784
  /**
4727
4785
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
4786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
4729
4787
  */
4730
4788
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
4731
4789
  /**
4732
4790
  * Disallow identifiers starting with `new` or `class`.
4733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
4791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
4734
4792
  */
4735
4793
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
4736
4794
  /**
4737
- * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
4795
+ * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
4796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
4797
+ * @deprecated
4739
4798
  */
4740
4799
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
4741
4800
  /**
4742
4801
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
4802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
4744
4803
  */
4745
4804
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
4746
4805
  /**
4747
4806
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
4807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
4749
4808
  */
4750
4809
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
4751
4810
  /**
4752
4811
  * Disallow named usage of default import and export.
4753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
4812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
4754
4813
  */
4755
4814
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
4756
4815
  /**
4757
4816
  * Disallow negated conditions.
4758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
4817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
4759
4818
  */
4760
4819
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
4761
4820
  /**
4762
4821
  * Disallow negated expression in equality check.
4763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
4822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
4764
4823
  */
4765
4824
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
4766
4825
  /**
4767
4826
  * Disallow nested ternary expressions.
4768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
4827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
4769
4828
  */
4770
4829
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
4771
4830
  /**
4772
4831
  * Disallow `new Array()`.
4773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
4832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
4774
4833
  */
4775
4834
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
4776
4835
  /**
4777
4836
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
4837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
4779
4838
  */
4780
4839
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
4781
4840
  /**
4782
4841
  * Disallow the use of the `null` literal.
4783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
4842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
4784
4843
  */
4785
4844
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
4786
4845
  /**
4787
4846
  * Disallow the use of objects as default parameters.
4788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
4847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
4789
4848
  */
4790
4849
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
4791
4850
  /**
4792
4851
  * Disallow `process.exit()`.
4793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
4852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
4794
4853
  */
4795
4854
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
4796
4855
  /**
4797
4856
  * Disallow passing single-element arrays to `Promise` methods.
4798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
4857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
4799
4858
  */
4800
4859
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
4801
4860
  /**
4802
4861
  * Disallow classes that only have static members.
4803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
4862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
4804
4863
  */
4805
4864
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
4806
4865
  /**
4807
4866
  * Disallow `then` property.
4808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
4867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
4809
4868
  */
4810
4869
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
4811
4870
  /**
4812
4871
  * Disallow assigning `this` to a variable.
4813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
4872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
4814
4873
  */
4815
4874
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
4816
4875
  /**
4817
4876
  * Disallow comparing `undefined` using `typeof`.
4818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
4877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
4819
4878
  */
4820
4879
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
4880
+ /**
4881
+ * Disallow using `1` as the `depth` argument of `Array#flat()`.
4882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
4883
+ */
4884
+ 'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
4885
+ /**
4886
+ * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
4887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
4888
+ */
4889
+ 'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
4821
4890
  /**
4822
4891
  * Disallow awaiting non-promise values.
4823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
4892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
4824
4893
  */
4825
4894
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
4826
4895
  /**
4827
4896
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
4897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
4829
4898
  */
4830
4899
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
4900
+ /**
4901
+ * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
4903
+ */
4904
+ 'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
4831
4905
  /**
4832
4906
  * Disallow unreadable array destructuring.
4833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
4907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
4834
4908
  */
4835
4909
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
4836
4910
  /**
4837
4911
  * Disallow unreadable IIFEs.
4838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
4912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
4839
4913
  */
4840
4914
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
4841
4915
  /**
4842
4916
  * Disallow unused object properties.
4843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
4917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
4844
4918
  */
4845
4919
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
4846
4920
  /**
4847
4921
  * Disallow useless fallback when spreading in object literals.
4848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
4922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
4849
4923
  */
4850
4924
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
4851
4925
  /**
4852
4926
  * Disallow useless array length check.
4853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
4927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
4854
4928
  */
4855
4929
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
4856
4930
  /**
4857
4931
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
4932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
4859
4933
  */
4860
4934
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
4861
4935
  /**
4862
4936
  * Disallow unnecessary spread.
4863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
4937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
4864
4938
  */
4865
4939
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
4866
4940
  /**
4867
4941
  * Disallow useless case in switch statements.
4868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
4942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
4869
4943
  */
4870
4944
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
4871
4945
  /**
4872
4946
  * Disallow useless `undefined`.
4873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
4947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
4874
4948
  */
4875
4949
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
4876
4950
  /**
4877
4951
  * Disallow number literals with zero fractions or dangling dots.
4878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
4952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
4879
4953
  */
4880
4954
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
4881
4955
  /**
4882
4956
  * Enforce proper case for numeric literals.
4883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
4957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
4884
4958
  */
4885
4959
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
4886
4960
  /**
4887
4961
  * Enforce the style of numeric separators by correctly grouping digits.
4888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
4962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
4889
4963
  */
4890
4964
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
4891
4965
  /**
4892
4966
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
4967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
4894
4968
  */
4895
4969
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
4896
4970
  /**
4897
4971
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
4972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
4899
4973
  */
4900
4974
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
4901
4975
  /**
4902
4976
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
4977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
4904
4978
  */
4905
4979
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
4906
4980
  /**
4907
4981
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
4908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
4982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
4909
4983
  */
4910
4984
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
4911
4985
  /**
4912
4986
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
4987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
4914
4988
  */
4915
4989
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
4916
4990
  /**
4917
4991
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
4918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
4992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
4919
4993
  */
4920
4994
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
4921
4995
  /**
4922
4996
  * Prefer `.at()` method for index access and `String#charAt()`.
4923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
4997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
4924
4998
  */
4925
4999
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
4926
5000
  /**
4927
5001
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
5002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
4929
5003
  */
4930
5004
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
4931
5005
  /**
4932
5006
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
5007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
4934
5008
  */
4935
5009
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
4936
5010
  /**
4937
5011
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
5012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
4939
5013
  */
4940
5014
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
4941
5015
  /**
4942
5016
  * Prefer default parameters over reassignment.
4943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
5017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
4944
5018
  */
4945
5019
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
4946
5020
  /**
4947
5021
  * Prefer `Node#append()` over `Node#appendChild()`.
4948
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
5022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
4949
5023
  */
4950
5024
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
4951
5025
  /**
4952
5026
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4953
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
5027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
4954
5028
  */
4955
5029
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
4956
5030
  /**
4957
5031
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
5032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
4959
5033
  */
4960
5034
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
4961
5035
  /**
4962
5036
  * Prefer `.textContent` over `.innerText`.
4963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
5037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
4964
5038
  */
4965
5039
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
4966
5040
  /**
4967
5041
  * Prefer `EventTarget` over `EventEmitter`.
4968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
5042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
4969
5043
  */
4970
5044
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
4971
5045
  /**
4972
5046
  * Prefer `export…from` when re-exporting.
4973
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
5047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
4974
5048
  */
4975
5049
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
4976
5050
  /**
4977
5051
  * Prefer `globalThis` over `window`, `self`, and `global`.
4978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
5052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
4979
5053
  */
4980
5054
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
5055
+ /**
5056
+ * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
5057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
5058
+ */
5059
+ 'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
4981
5060
  /**
4982
5061
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
5062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
4984
5063
  */
4985
5064
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
4986
5065
  /**
4987
5066
  * Prefer reading a JSON file as a buffer.
4988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
5067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
4989
5068
  */
4990
5069
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
4991
5070
  /**
4992
5071
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
5072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
4994
5073
  */
4995
5074
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
4996
5075
  /**
4997
5076
  * Prefer using a logical operator over a ternary.
4998
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5077
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4999
5078
  */
5000
5079
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5001
5080
  /**
5002
5081
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
5003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
5082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
5004
5083
  */
5005
5084
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
5006
5085
  /**
5007
5086
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
5087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
5009
5088
  */
5010
5089
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5011
5090
  /**
5012
5091
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
5092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
5014
5093
  */
5015
5094
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5016
5095
  /**
5017
5096
  * Prefer modern `Math` APIs over legacy patterns.
5018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
5097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
5019
5098
  */
5020
5099
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5021
5100
  /**
5022
5101
  * Prefer JavaScript modules (ESM) over CommonJS.
5023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
5102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
5024
5103
  */
5025
5104
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5026
5105
  /**
5027
5106
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
5107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
5029
5108
  */
5030
5109
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5031
5110
  /**
5032
5111
  * Prefer negative index over `.length - index` when possible.
5033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
5112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
5034
5113
  */
5035
5114
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5036
5115
  /**
5037
5116
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
5117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
5039
5118
  */
5040
5119
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5041
5120
  /**
5042
5121
  * Prefer `Number` static properties over global ones.
5043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
5122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
5044
5123
  */
5045
5124
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5046
5125
  /**
5047
5126
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
5127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
5049
5128
  */
5050
5129
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5051
5130
  /**
5052
5131
  * Prefer omitting the `catch` binding parameter.
5053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
5132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
5054
5133
  */
5055
5134
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5056
5135
  /**
5057
5136
  * Prefer borrowing methods from the prototype instead of the instance.
5058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
5137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
5059
5138
  */
5060
5139
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5061
5140
  /**
5062
5141
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
5063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
5142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
5064
5143
  */
5065
5144
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5066
5145
  /**
5067
5146
  * Prefer `Reflect.apply()` over `Function#apply()`.
5068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
5147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
5069
5148
  */
5070
5149
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5071
5150
  /**
5072
5151
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
5152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
5074
5153
  */
5075
5154
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5076
5155
  /**
5077
5156
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
5157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
5079
5158
  */
5080
5159
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5081
5160
  /**
5082
5161
  * Prefer using `Set#size` instead of `Array#length`.
5083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
5162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
5084
5163
  */
5085
5164
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5165
+ /**
5166
+ * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
5167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
5168
+ */
5169
+ 'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
5086
5170
  /**
5087
5171
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
5172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
5089
5173
  */
5090
5174
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5091
5175
  /**
5092
5176
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
5177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
5094
5178
  */
5095
5179
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5096
5180
  /**
5097
5181
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
5182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
5099
5183
  */
5100
5184
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5101
5185
  /**
5102
5186
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
5187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
5104
5188
  */
5105
5189
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5106
5190
  /**
5107
5191
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
5192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
5109
5193
  */
5110
5194
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5111
5195
  /**
5112
5196
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
5197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
5114
5198
  */
5115
5199
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5116
5200
  /**
5117
5201
  * Prefer using `structuredClone` to create a deep clone.
5118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
5202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
5119
5203
  */
5120
5204
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5121
5205
  /**
5122
5206
  * Prefer `switch` over multiple `else-if`.
5123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
5207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
5124
5208
  */
5125
5209
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5126
5210
  /**
5127
5211
  * Prefer ternary expressions over simple `if-else` statements.
5128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
5212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
5129
5213
  */
5130
5214
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5131
5215
  /**
5132
5216
  * Prefer top-level await over top-level promises and async function calls.
5133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
5217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
5134
5218
  */
5135
5219
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5136
5220
  /**
5137
5221
  * Enforce throwing `TypeError` in type checking conditions.
5138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
5222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
5139
5223
  */
5140
5224
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5141
5225
  /**
5142
5226
  * Prevent abbreviations.
5143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
5227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
5144
5228
  */
5145
5229
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5146
5230
  /**
5147
5231
  * Enforce consistent relative URL style.
5148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
5232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
5149
5233
  */
5150
5234
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5151
5235
  /**
5152
5236
  * Enforce using the separator argument with `Array#join()`.
5153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
5237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
5154
5238
  */
5155
5239
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5156
5240
  /**
5157
5241
  * Enforce using the digits argument with `Number#toFixed()`.
5158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
5159
5243
  */
5160
5244
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5161
5245
  /**
5162
5246
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
5247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
5164
5248
  */
5165
5249
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5166
5250
  /**
5167
5251
  * Enforce better string content.
5168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
5252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
5169
5253
  */
5170
5254
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5171
5255
  /**
5172
5256
  * Enforce consistent brace style for `case` clauses.
5173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
5257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
5174
5258
  */
5175
5259
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5176
5260
  /**
5177
5261
  * Fix whitespace-insensitive template indentation.
5178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
5262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
5179
5263
  */
5180
5264
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5181
5265
  /**
5182
5266
  * Enforce consistent case for text encoding identifiers.
5183
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
5267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
5184
5268
  */
5185
5269
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5186
5270
  /**
5187
5271
  * Require `new` when creating an error.
5188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
5272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
5189
5273
  */
5190
5274
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5191
5275
  /**
@@ -5515,6 +5599,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
5515
5599
  type ClassMethodsUseThis = []|[{
5516
5600
  exceptMethods?: string[]
5517
5601
  enforceForClassFields?: boolean
5602
+ ignoreOverrideMethods?: boolean
5603
+ ignoreClassesWithImplements?: ("all" | "public-fields")
5518
5604
  }]
5519
5605
  // ----- comma-dangle -----
5520
5606
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -6814,7 +6900,7 @@ type NoEmpty = []|[{
6814
6900
  }]
6815
6901
  // ----- no-empty-function -----
6816
6902
  type NoEmptyFunction = []|[{
6817
- allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
6903
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
6818
6904
  }]
6819
6905
  // ----- no-empty-pattern -----
6820
6906
  type NoEmptyPattern = []|[{
@@ -7016,13 +7102,9 @@ type NoRestrictedModules = ((string | {
7016
7102
  }[])
7017
7103
  // ----- no-restricted-properties -----
7018
7104
  type NoRestrictedProperties = ({
7019
- object: string
7020
- property?: string
7021
- message?: string
7105
+ [k: string]: unknown | undefined
7022
7106
  } | {
7023
- object?: string
7024
- property: string
7025
- message?: string
7107
+ [k: string]: unknown | undefined
7026
7108
  })[]
7027
7109
  // ----- no-restricted-syntax -----
7028
7110
  type NoRestrictedSyntax = (string | {
@@ -7046,6 +7128,10 @@ type NoShadow = []|[{
7046
7128
  allow?: string[]
7047
7129
  ignoreOnInitialization?: boolean
7048
7130
  }]
7131
+ // ----- no-shadow-restricted-names -----
7132
+ type NoShadowRestrictedNames = []|[{
7133
+ reportGlobalThis?: boolean
7134
+ }]
7049
7135
  // ----- no-sync -----
7050
7136
  type NoSync = []|[{
7051
7137
  allowAtRootLevel?: boolean
@@ -7097,6 +7183,7 @@ type NoUnusedExpressions = []|[{
7097
7183
  allowTernary?: boolean
7098
7184
  allowTaggedTemplates?: boolean
7099
7185
  enforceForJSX?: boolean
7186
+ ignoreDirectives?: boolean
7100
7187
  }]
7101
7188
  // ----- no-unused-vars -----
7102
7189
  type NoUnusedVars = []|[(("all" | "local") | {
@@ -7327,6 +7414,7 @@ type NodeNoUnpublishedImport = []|[{
7327
7414
  resolverConfig?: {
7328
7415
  [k: string]: unknown | undefined
7329
7416
  }
7417
+ tryExtensions?: string[]
7330
7418
  ignoreTypeImport?: boolean
7331
7419
  ignorePrivate?: boolean
7332
7420
  }]
@@ -7370,7 +7458,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
7370
7458
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
7371
7459
  version?: string
7372
7460
  allowExperimental?: boolean
7373
- 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.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.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" | "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")[]
7461
+ 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")[]
7374
7462
  }]
7375
7463
  // ----- node/prefer-global/buffer -----
7376
7464
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -7988,7 +8076,7 @@ type PerfectionistSortEnums = []|[{
7988
8076
  })[]
7989
8077
  }]
7990
8078
  // ----- perfectionist/sort-exports -----
7991
- type PerfectionistSortExports = []|[{
8079
+ type PerfectionistSortExports = {
7992
8080
 
7993
8081
  fallbackSort?: {
7994
8082
 
@@ -8012,6 +8100,68 @@ type PerfectionistSortExports = []|[{
8012
8100
 
8013
8101
  groupKind?: ("mixed" | "values-first" | "types-first")
8014
8102
 
8103
+ customGroups?: ({
8104
+
8105
+ newlinesInside?: ("always" | "never")
8106
+
8107
+ fallbackSort?: {
8108
+
8109
+ order?: ("asc" | "desc")
8110
+
8111
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8112
+ [k: string]: unknown | undefined
8113
+ }
8114
+
8115
+ groupName?: string
8116
+
8117
+ order?: ("asc" | "desc")
8118
+
8119
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8120
+ anyOf?: {
8121
+
8122
+ modifiers?: ("value" | "type")[]
8123
+
8124
+ selector?: "export"
8125
+
8126
+ elementNamePattern?: (({
8127
+ pattern?: string
8128
+ flags?: string
8129
+ } | string)[] | ({
8130
+ pattern?: string
8131
+ flags?: string
8132
+ } | string))
8133
+ }[]
8134
+ } | {
8135
+
8136
+ newlinesInside?: ("always" | "never")
8137
+
8138
+ fallbackSort?: {
8139
+
8140
+ order?: ("asc" | "desc")
8141
+
8142
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8143
+ [k: string]: unknown | undefined
8144
+ }
8145
+
8146
+ groupName?: string
8147
+
8148
+ order?: ("asc" | "desc")
8149
+
8150
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8151
+
8152
+ modifiers?: ("value" | "type")[]
8153
+
8154
+ selector?: "export"
8155
+
8156
+ elementNamePattern?: (({
8157
+ pattern?: string
8158
+ flags?: string
8159
+ } | string)[] | ({
8160
+ pattern?: string
8161
+ flags?: string
8162
+ } | string))
8163
+ })[]
8164
+
8015
8165
  partitionByComment?: (boolean | (({
8016
8166
  pattern?: string
8017
8167
  flags?: string
@@ -8036,42 +8186,16 @@ type PerfectionistSortExports = []|[{
8036
8186
  })
8037
8187
 
8038
8188
  partitionByNewLine?: boolean
8039
- }]
8040
- // ----- perfectionist/sort-heritage-clauses -----
8041
- type PerfectionistSortHeritageClauses = []|[{
8042
-
8043
- fallbackSort?: {
8044
-
8045
- order?: ("asc" | "desc")
8046
-
8047
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8048
- [k: string]: unknown | undefined
8049
- }
8050
-
8051
- specialCharacters?: ("remove" | "trim" | "keep")
8052
-
8053
- ignoreCase?: boolean
8054
-
8055
- alphabet?: string
8056
8189
 
8057
- locales?: (string | string[])
8058
-
8059
- order?: ("asc" | "desc")
8060
-
8061
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8062
-
8063
- customGroups?: {
8064
- [k: string]: (string | string[]) | undefined
8065
- }
8190
+ newlinesBetween?: ("ignore" | "always" | "never")
8066
8191
 
8067
8192
  groups?: (string | string[] | {
8068
8193
 
8069
8194
  newlinesBetween?: ("ignore" | "always" | "never")
8070
8195
  })[]
8071
- }]
8072
- // ----- perfectionist/sort-imports -----
8073
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
8074
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
8196
+ }[]
8197
+ // ----- perfectionist/sort-heritage-clauses -----
8198
+ type PerfectionistSortHeritageClauses = []|[{
8075
8199
 
8076
8200
  fallbackSort?: {
8077
8201
 
@@ -8094,71 +8218,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
8094
8218
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8095
8219
 
8096
8220
  customGroups?: {
8097
-
8098
- value?: {
8099
- [k: string]: unknown | undefined
8100
- }
8101
-
8102
- type?: {
8103
- [k: string]: unknown | undefined
8104
- }
8221
+ [k: string]: (string | string[]) | undefined
8105
8222
  }
8106
8223
 
8107
- maxLineLength?: number
8108
-
8109
- sortSideEffects?: boolean
8110
-
8111
- environment?: ("node" | "bun")
8112
-
8113
- tsconfigRootDir?: string
8114
-
8115
- partitionByComment?: (boolean | (({
8116
- pattern?: string
8117
- flags?: string
8118
- } | string)[] | ({
8119
- pattern?: string
8120
- flags?: string
8121
- } | string)) | {
8122
- block?: (boolean | (({
8123
- pattern?: string
8124
- flags?: string
8125
- } | string)[] | ({
8126
- pattern?: string
8127
- flags?: string
8128
- } | string)))
8129
- line?: (boolean | (({
8130
- pattern?: string
8131
- flags?: string
8132
- } | string)[] | ({
8133
- pattern?: string
8134
- flags?: string
8135
- } | string)))
8136
- })
8137
-
8138
- partitionByNewLine?: boolean
8139
-
8140
- newlinesBetween?: ("ignore" | "always" | "never")
8141
-
8142
- internalPattern?: (({
8143
- pattern?: string
8144
- flags?: string
8145
- } | string)[] | ({
8146
- pattern?: string
8147
- flags?: string
8148
- } | string))
8149
-
8150
8224
  groups?: (string | string[] | {
8151
8225
 
8152
8226
  newlinesBetween?: ("ignore" | "always" | "never")
8153
8227
  })[]
8154
- })
8155
- type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
8156
- [k: string]: unknown | undefined
8157
- } | _PerfectionistSortImports_IsLineLength)
8158
- interface _PerfectionistSortImports_IsLineLength {
8159
- type: "line-length"
8160
- [k: string]: unknown | undefined
8161
- }
8228
+ }]
8162
8229
  // ----- perfectionist/sort-interfaces -----
8163
8230
  type PerfectionistSortInterfaces = {
8164
8231
 
@@ -8264,6 +8331,8 @@ type PerfectionistSortInterfaces = {
8264
8331
  } | string))
8265
8332
  sortBy?: ("name" | "value")
8266
8333
  })[])
8334
+
8335
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8267
8336
  useConfigurationIf?: {
8268
8337
 
8269
8338
  allNamesMatchPattern?: (({
@@ -8283,8 +8352,6 @@ type PerfectionistSortInterfaces = {
8283
8352
  } | string))
8284
8353
  }
8285
8354
 
8286
- groupKind?: ("mixed" | "required-first" | "optional-first")
8287
-
8288
8355
  partitionByComment?: (boolean | (({
8289
8356
  pattern?: string
8290
8357
  flags?: string
@@ -8403,6 +8470,85 @@ type PerfectionistSortJsxProps = {
8403
8470
  order?: ("asc" | "desc")
8404
8471
 
8405
8472
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8473
+ customGroups?: ({
8474
+ [k: string]: (string | string[]) | undefined
8475
+ } | ({
8476
+
8477
+ newlinesInside?: ("always" | "never")
8478
+
8479
+ fallbackSort?: {
8480
+
8481
+ order?: ("asc" | "desc")
8482
+
8483
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8484
+ [k: string]: unknown | undefined
8485
+ }
8486
+
8487
+ groupName?: string
8488
+
8489
+ order?: ("asc" | "desc")
8490
+
8491
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8492
+ anyOf?: {
8493
+
8494
+ modifiers?: ("shorthand" | "multiline")[]
8495
+
8496
+ selector?: ("multiline" | "prop" | "shorthand")
8497
+
8498
+ elementValuePattern?: (({
8499
+ pattern?: string
8500
+ flags?: string
8501
+ } | string)[] | ({
8502
+ pattern?: string
8503
+ flags?: string
8504
+ } | string))
8505
+
8506
+ elementNamePattern?: (({
8507
+ pattern?: string
8508
+ flags?: string
8509
+ } | string)[] | ({
8510
+ pattern?: string
8511
+ flags?: string
8512
+ } | string))
8513
+ }[]
8514
+ } | {
8515
+
8516
+ newlinesInside?: ("always" | "never")
8517
+
8518
+ fallbackSort?: {
8519
+
8520
+ order?: ("asc" | "desc")
8521
+
8522
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8523
+ [k: string]: unknown | undefined
8524
+ }
8525
+
8526
+ groupName?: string
8527
+
8528
+ order?: ("asc" | "desc")
8529
+
8530
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8531
+
8532
+ modifiers?: ("shorthand" | "multiline")[]
8533
+
8534
+ selector?: ("multiline" | "prop" | "shorthand")
8535
+
8536
+ elementValuePattern?: (({
8537
+ pattern?: string
8538
+ flags?: string
8539
+ } | string)[] | ({
8540
+ pattern?: string
8541
+ flags?: string
8542
+ } | string))
8543
+
8544
+ elementNamePattern?: (({
8545
+ pattern?: string
8546
+ flags?: string
8547
+ } | string)[] | ({
8548
+ pattern?: string
8549
+ flags?: string
8550
+ } | string))
8551
+ })[])
8406
8552
  useConfigurationIf?: {
8407
8553
 
8408
8554
  allNamesMatchPattern?: (({
@@ -8426,10 +8572,6 @@ type PerfectionistSortJsxProps = {
8426
8572
 
8427
8573
  newlinesBetween?: ("ignore" | "always" | "never")
8428
8574
 
8429
- customGroups?: {
8430
- [k: string]: (string | string[]) | undefined
8431
- }
8432
-
8433
8575
  ignorePattern?: (({
8434
8576
  pattern?: string
8435
8577
  flags?: string
@@ -8696,7 +8838,7 @@ type PerfectionistSortModules = []|[{
8696
8838
  })[]
8697
8839
  }]
8698
8840
  // ----- perfectionist/sort-named-exports -----
8699
- type PerfectionistSortNamedExports = []|[{
8841
+ type PerfectionistSortNamedExports = {
8700
8842
 
8701
8843
  fallbackSort?: {
8702
8844
 
@@ -8722,6 +8864,68 @@ type PerfectionistSortNamedExports = []|[{
8722
8864
 
8723
8865
  ignoreAlias?: boolean
8724
8866
 
8867
+ customGroups?: ({
8868
+
8869
+ newlinesInside?: ("always" | "never")
8870
+
8871
+ fallbackSort?: {
8872
+
8873
+ order?: ("asc" | "desc")
8874
+
8875
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8876
+ [k: string]: unknown | undefined
8877
+ }
8878
+
8879
+ groupName?: string
8880
+
8881
+ order?: ("asc" | "desc")
8882
+
8883
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8884
+ anyOf?: {
8885
+
8886
+ modifiers?: ("value" | "type")[]
8887
+
8888
+ selector?: "export"
8889
+
8890
+ elementNamePattern?: (({
8891
+ pattern?: string
8892
+ flags?: string
8893
+ } | string)[] | ({
8894
+ pattern?: string
8895
+ flags?: string
8896
+ } | string))
8897
+ }[]
8898
+ } | {
8899
+
8900
+ newlinesInside?: ("always" | "never")
8901
+
8902
+ fallbackSort?: {
8903
+
8904
+ order?: ("asc" | "desc")
8905
+
8906
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8907
+ [k: string]: unknown | undefined
8908
+ }
8909
+
8910
+ groupName?: string
8911
+
8912
+ order?: ("asc" | "desc")
8913
+
8914
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8915
+
8916
+ modifiers?: ("value" | "type")[]
8917
+
8918
+ selector?: "export"
8919
+
8920
+ elementNamePattern?: (({
8921
+ pattern?: string
8922
+ flags?: string
8923
+ } | string)[] | ({
8924
+ pattern?: string
8925
+ flags?: string
8926
+ } | string))
8927
+ })[]
8928
+
8725
8929
  partitionByComment?: (boolean | (({
8726
8930
  pattern?: string
8727
8931
  flags?: string
@@ -8746,9 +8950,16 @@ type PerfectionistSortNamedExports = []|[{
8746
8950
  })
8747
8951
 
8748
8952
  partitionByNewLine?: boolean
8749
- }]
8953
+
8954
+ newlinesBetween?: ("ignore" | "always" | "never")
8955
+
8956
+ groups?: (string | string[] | {
8957
+
8958
+ newlinesBetween?: ("ignore" | "always" | "never")
8959
+ })[]
8960
+ }[]
8750
8961
  // ----- perfectionist/sort-named-imports -----
8751
- type PerfectionistSortNamedImports = []|[{
8962
+ type PerfectionistSortNamedImports = {
8752
8963
 
8753
8964
  fallbackSort?: {
8754
8965
 
@@ -8774,6 +8985,68 @@ type PerfectionistSortNamedImports = []|[{
8774
8985
 
8775
8986
  ignoreAlias?: boolean
8776
8987
 
8988
+ customGroups?: ({
8989
+
8990
+ newlinesInside?: ("always" | "never")
8991
+
8992
+ fallbackSort?: {
8993
+
8994
+ order?: ("asc" | "desc")
8995
+
8996
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8997
+ [k: string]: unknown | undefined
8998
+ }
8999
+
9000
+ groupName?: string
9001
+
9002
+ order?: ("asc" | "desc")
9003
+
9004
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9005
+ anyOf?: {
9006
+
9007
+ modifiers?: ("value" | "type")[]
9008
+
9009
+ selector?: "import"
9010
+
9011
+ elementNamePattern?: (({
9012
+ pattern?: string
9013
+ flags?: string
9014
+ } | string)[] | ({
9015
+ pattern?: string
9016
+ flags?: string
9017
+ } | string))
9018
+ }[]
9019
+ } | {
9020
+
9021
+ newlinesInside?: ("always" | "never")
9022
+
9023
+ fallbackSort?: {
9024
+
9025
+ order?: ("asc" | "desc")
9026
+
9027
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9028
+ [k: string]: unknown | undefined
9029
+ }
9030
+
9031
+ groupName?: string
9032
+
9033
+ order?: ("asc" | "desc")
9034
+
9035
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9036
+
9037
+ modifiers?: ("value" | "type")[]
9038
+
9039
+ selector?: "import"
9040
+
9041
+ elementNamePattern?: (({
9042
+ pattern?: string
9043
+ flags?: string
9044
+ } | string)[] | ({
9045
+ pattern?: string
9046
+ flags?: string
9047
+ } | string))
9048
+ })[]
9049
+
8777
9050
  partitionByComment?: (boolean | (({
8778
9051
  pattern?: string
8779
9052
  flags?: string
@@ -8798,7 +9071,14 @@ type PerfectionistSortNamedImports = []|[{
8798
9071
  })
8799
9072
 
8800
9073
  partitionByNewLine?: boolean
8801
- }]
9074
+
9075
+ newlinesBetween?: ("ignore" | "always" | "never")
9076
+
9077
+ groups?: (string | string[] | {
9078
+
9079
+ newlinesBetween?: ("ignore" | "always" | "never")
9080
+ })[]
9081
+ }[]
8802
9082
  // ----- perfectionist/sort-object-types -----
8803
9083
  type PerfectionistSortObjectTypes = {
8804
9084
 
@@ -8904,6 +9184,8 @@ type PerfectionistSortObjectTypes = {
8904
9184
  } | string))
8905
9185
  sortBy?: ("name" | "value")
8906
9186
  })[])
9187
+
9188
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8907
9189
  useConfigurationIf?: {
8908
9190
 
8909
9191
  allNamesMatchPattern?: (({
@@ -8923,8 +9205,6 @@ type PerfectionistSortObjectTypes = {
8923
9205
  } | string))
8924
9206
  }
8925
9207
 
8926
- groupKind?: ("mixed" | "required-first" | "optional-first")
8927
-
8928
9208
  partitionByComment?: (boolean | (({
8929
9209
  pattern?: string
8930
9210
  flags?: string
@@ -9388,6 +9668,43 @@ type PerfectionistSortVariableDeclarations = []|[{
9388
9668
 
9389
9669
  partitionByNewLine?: boolean
9390
9670
  }]
9671
+ // ----- pnpm/json-enforce-catalog -----
9672
+ type PnpmJsonEnforceCatalog = []|[{
9673
+
9674
+ allowedProtocols?: string[]
9675
+
9676
+ autofix?: boolean
9677
+
9678
+ defaultCatalog?: string
9679
+
9680
+ reuseExistingCatalog?: boolean
9681
+
9682
+ conflicts?: ("new-catalog" | "overrides" | "error")
9683
+
9684
+ fields?: string[]
9685
+ }]
9686
+ // ----- pnpm/json-prefer-workspace-settings -----
9687
+ type PnpmJsonPreferWorkspaceSettings = []|[{
9688
+
9689
+ autofix?: boolean
9690
+ }]
9691
+ // ----- pnpm/json-valid-catalog -----
9692
+ type PnpmJsonValidCatalog = []|[{
9693
+
9694
+ autoInsert?: boolean
9695
+
9696
+ autoInsertDefaultSpecifier?: string
9697
+
9698
+ autofix?: boolean
9699
+
9700
+ enforceNoConflict?: boolean
9701
+
9702
+ fields?: unknown[]
9703
+ }]
9704
+ // ----- pnpm/yaml-no-duplicate-catalog-item -----
9705
+ type PnpmYamlNoDuplicateCatalogItem = []|[{
9706
+ allow?: string[]
9707
+ }]
9391
9708
  // ----- prefer-arrow-callback -----
9392
9709
  type PreferArrowCallback = []|[{
9393
9710
  allowNamedFunctions?: boolean
@@ -11791,6 +12108,8 @@ type TsNoUnnecessaryCondition = []|[{
11791
12108
  // ----- ts/no-unnecessary-type-assertion -----
11792
12109
  type TsNoUnnecessaryTypeAssertion = []|[{
11793
12110
 
12111
+ checkLiteralConstAssertions?: boolean
12112
+
11794
12113
  typesToIgnore?: string[]
11795
12114
  }]
11796
12115
  // ----- ts/no-unused-expressions -----
@@ -11799,6 +12118,7 @@ type TsNoUnusedExpressions = []|[{
11799
12118
  allowTernary?: boolean
11800
12119
  allowTaggedTemplates?: boolean
11801
12120
  enforceForJSX?: boolean
12121
+ ignoreDirectives?: boolean
11802
12122
  }]
11803
12123
  // ----- ts/no-unused-vars -----
11804
12124
  type TsNoUnusedVars = []|[(("all" | "local") | {
@@ -11861,6 +12181,8 @@ type TsOnlyThrowError = []|[{
11861
12181
  package: string
11862
12182
  })[]
11863
12183
 
12184
+ allowRethrowing?: boolean
12185
+
11864
12186
  allowThrowingAny?: boolean
11865
12187
 
11866
12188
  allowThrowingUnknown?: boolean
@@ -11918,6 +12240,8 @@ type TsPreferNullishCoalescing = []|[{
11918
12240
 
11919
12241
  ignoreConditionalTests?: boolean
11920
12242
 
12243
+ ignoreIfStatements?: boolean
12244
+
11921
12245
  ignoreMixedLogicalExpressions?: boolean
11922
12246
 
11923
12247
  ignorePrimitives?: ({
@@ -12204,10 +12528,6 @@ interface _UnicornImportStyle_ModuleStyles {
12204
12528
  interface _UnicornImportStyle_BooleanObject {
12205
12529
  [k: string]: boolean | undefined
12206
12530
  }
12207
- // ----- unicorn/no-array-push-push -----
12208
- type UnicornNoArrayPushPush = []|[{
12209
- ignore?: unknown[]
12210
- }]
12211
12531
  // ----- unicorn/no-array-reduce -----
12212
12532
  type UnicornNoArrayReduce = []|[{
12213
12533
  allowSimpleOperations?: boolean
@@ -12303,6 +12623,10 @@ type UnicornPreferNumberProperties = []|[{
12303
12623
  type UnicornPreferObjectFromEntries = []|[{
12304
12624
  functions?: unknown[]
12305
12625
  }]
12626
+ // ----- unicorn/prefer-single-call -----
12627
+ type UnicornPreferSingleCall = []|[{
12628
+ ignore?: unknown[]
12629
+ }]
12306
12630
  // ----- unicorn/prefer-structured-clone -----
12307
12631
  type UnicornPreferStructuredClone = []|[{
12308
12632
  functions?: unknown[]
@@ -12471,6 +12795,7 @@ type YamlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "ne
12471
12795
  type YamlIndent = []|[number]|[number, {
12472
12796
  indentBlockSequences?: boolean
12473
12797
  indicatorValueIndent?: number
12798
+ alignMultilineFlowScalars?: boolean
12474
12799
  }]
12475
12800
  // ----- yaml/key-name-casing -----
12476
12801
  type YamlKeyNameCasing = []|[{
@@ -12639,7 +12964,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
12639
12964
  onlyEquality?: boolean
12640
12965
  }]
12641
12966
  // Names of all the configs
12642
- type ConfigNames = 'eslint-comments/rules' | 'formatter/setup' | 'imports/rules' | 'javascript/setup' | 'javascript/rules' | 'jsx/setup' | 'jsonc/setup' | 'jsonc/rules' | 'markdown/setup' | 'markdown/processor' | 'markdown/parser' | 'markdown/disables' | 'node/rules' | 'perfectionist/setup' | 'react/setup' | 'react/rules' | 'sort/package-json' | 'stylistic/rules' | 'toml/setup' | 'toml/rules' | 'regexp/rules' | 'typescript/setup' | 'typescript/parser' | 'typescript/rules' | 'unicorn/rules' | 'unocss' | 'yaml/setup' | 'yaml/rules' | 'yaml/pnpm-workspace'
12967
+ type ConfigNames = 'eslint-comments/rules' | 'formatter/setup' | 'imports/rules' | 'javascript/setup' | 'javascript/rules' | 'jsx/setup' | 'jsonc/setup' | 'jsonc/rules' | 'markdown/setup' | 'markdown/processor' | 'markdown/parser' | 'markdown/disables' | 'node/rules' | 'perfectionist/setup' | 'pnpm/package-json' | 'pnpm/pnpm-workspace-yaml' | 'react/setup' | 'react/rules' | 'sort/package-json' | 'stylistic/rules' | 'toml/setup' | 'toml/rules' | 'regexp/rules' | 'typescript/setup' | 'typescript/parser' | 'typescript/rules' | 'unicorn/rules' | 'unocss' | 'yaml/setup' | 'yaml/rules' | 'yaml/pnpm-workspace'
12643
12968
 
12644
12969
  /**
12645
12970
  * Vendor types from Prettier so we don't rely on the dependency.
@@ -12826,7 +13151,7 @@ interface OptionsComponentExts {
12826
13151
  */
12827
13152
  componentExts?: string[];
12828
13153
  }
12829
- interface OptionsUnicorn {
13154
+ interface OptionsUnicorn extends OptionsOverrides {
12830
13155
  /**
12831
13156
  * Include all rules recommended by `eslint-plugin-unicorn`, instead of only ones picked by author.
12832
13157
  *
@@ -12992,6 +13317,17 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
12992
13317
  * @default false
12993
13318
  */
12994
13319
  unocss?: boolean | OptionsUnoCSS;
13320
+ /**
13321
+ * Enable pnpm (workspace/catalogs) support.
13322
+ *
13323
+ * Currently it's disabled by default, as it's still experimental.
13324
+ * In the future it will be smartly enabled based on the project usage.
13325
+ *
13326
+ * @see https://github.com/antfu/pnpm-workspace-utils
13327
+ * @experimental
13328
+ * @default false
13329
+ */
13330
+ pnpm?: boolean;
12995
13331
  /**
12996
13332
  * Use external formatters to format files.
12997
13333
  *
@@ -13084,6 +13420,8 @@ declare function node(): Promise<TypedFlatConfigItem[]>;
13084
13420
  */
13085
13421
  declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
13086
13422
 
13423
+ declare function pnpm(): Promise<TypedFlatConfigItem[]>;
13424
+
13087
13425
  declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
13088
13426
 
13089
13427
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
@@ -13196,4 +13534,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
13196
13534
  declare function isInEditorEnv(): boolean;
13197
13535
  declare function isInGitHooksOrLintStaged(): boolean;
13198
13536
 
13199
- export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, combine, comments, config, config as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, toml, typescript, unicorn, unocss, yaml };
13537
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, combine, comments, config, config as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, toml, typescript, unicorn, unocss, yaml };