@vinicunca/eslint-config 2.7.1 → 2.7.2

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.cts CHANGED
@@ -386,42 +386,42 @@ 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/v3.0.1/docs/rules/consistent-type-specifier-style.md
389
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/default.md
394
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/dynamic-import-chunkname.md
399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/export.md
404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/exports-last.md
409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/extensions.md
414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/first.md
419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/group-exports.md
424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
425
425
  */
426
426
  'import/group-exports'?: Linter.RuleEntry<[]>
427
427
  /**
@@ -432,182 +432,182 @@ interface RuleOptions {
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/v3.0.1/docs/rules/max-dependencies.md
435
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/named.md
440
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/namespace.md
445
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/newline-after-import.md
450
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-absolute-path.md
455
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-amd.md
460
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-anonymous-default-export.md
465
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-commonjs.md
470
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-cycle.md
475
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-default-export.md
480
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-deprecated.md
485
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-duplicates.md
490
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-dynamic-require.md
495
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-empty-named-blocks.md
500
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-extraneous-dependencies.md
505
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-import-module-exports.md
510
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-internal-modules.md
515
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-mutable-exports.md
520
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-named-as-default.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-named-as-default-member.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-named-default.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-named-export.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-namespace.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-nodejs-modules.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-relative-packages.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/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/v3.0.1/docs/rules/no-relative-parent-imports.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
561
561
  */
562
562
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
563
563
  /**
564
564
  * Enforce which files can be imported in a given folder.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-restricted-paths.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
566
566
  */
567
567
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
568
568
  /**
569
569
  * Forbid a module from importing itself.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-self-import.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
571
571
  */
572
572
  'import/no-self-import'?: Linter.RuleEntry<[]>
573
573
  /**
574
574
  * Forbid unassigned imports.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unassigned-import.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
576
576
  */
577
577
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
578
578
  /**
579
579
  * Ensure imports point to a file/module that can be resolved.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unresolved.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
581
581
  */
582
582
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
583
583
  /**
584
584
  * Forbid modules without exports, or exports without matching import in another module.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unused-modules.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
586
586
  */
587
587
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
588
588
  /**
589
589
  * Forbid unnecessary path segments in import and require statements.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-useless-path-segments.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
591
591
  */
592
592
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
593
593
  /**
594
594
  * Forbid webpack loader syntax in imports.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-webpack-loader-syntax.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
596
596
  */
597
597
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
598
598
  /**
599
599
  * Enforce a convention in module import order.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/order.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
601
601
  */
602
602
  'import/order'?: Linter.RuleEntry<ImportOrder>
603
603
  /**
604
604
  * Prefer a default export if module exports a single name or multiple names.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/prefer-default-export.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
606
606
  */
607
607
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
608
608
  /**
609
609
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/unambiguous.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
611
611
  */
612
612
  'import/unambiguous'?: Linter.RuleEntry<[]>
613
613
  /**
@@ -672,6 +672,11 @@ interface RuleOptions {
672
672
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
673
673
  */
674
674
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
675
+ /**
676
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
677
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
678
+ */
679
+ 'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
675
680
  /**
676
681
  * Reports invalid types.
677
682
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -2328,88 +2333,98 @@ interface RuleOptions {
2328
2333
  */
2329
2334
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
2330
2335
  /**
2331
- * enforce sorted arrays before include method
2332
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
2336
+ * Enforce sorted arrays before include method.
2337
+ * @see https://perfectionist.dev/rules/sort-array-includes
2333
2338
  */
2334
2339
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2335
2340
  /**
2336
- * enforce sorted Astro attributes
2337
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
2341
+ * Enforce sorted Astro attributes.
2342
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
2338
2343
  */
2339
2344
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2340
2345
  /**
2341
- * enforce sorted classes
2342
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
2346
+ * Enforce sorted classes.
2347
+ * @see https://perfectionist.dev/rules/sort-classes
2343
2348
  */
2344
2349
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2345
2350
  /**
2346
- * enforce sorted TypeScript enums
2347
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
2351
+ * Enforce sorted TypeScript enums.
2352
+ * @see https://perfectionist.dev/rules/sort-enums
2348
2353
  */
2349
2354
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
2350
2355
  /**
2351
- * enforce sorted exports
2352
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
2356
+ * Enforce sorted exports.
2357
+ * @see https://perfectionist.dev/rules/sort-exports
2353
2358
  */
2354
2359
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2355
2360
  /**
2356
- * enforce sorted imports
2357
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
2361
+ * Enforce sorted imports.
2362
+ * @see https://perfectionist.dev/rules/sort-imports
2358
2363
  */
2359
2364
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
2360
2365
  /**
2361
- * enforce sorted interface properties
2362
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
2366
+ * Enforce sorted interface properties.
2367
+ * @see https://perfectionist.dev/rules/sort-interfaces
2363
2368
  */
2364
2369
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
2365
2370
  /**
2366
- * enforce sorted intersection types
2367
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
2371
+ * Enforce sorted intersection types.
2372
+ * @see https://perfectionist.dev/rules/sort-intersection-types
2368
2373
  */
2369
2374
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
2370
2375
  /**
2371
- * enforce sorted JSX props
2372
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
2376
+ * Enforce sorted JSX props.
2377
+ * @see https://perfectionist.dev/rules/sort-jsx-props
2373
2378
  */
2374
2379
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
2375
2380
  /**
2376
- * enforce sorted Map elements
2377
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
2381
+ * Enforce sorted Map elements.
2382
+ * @see https://perfectionist.dev/rules/sort-maps
2378
2383
  */
2379
2384
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2380
2385
  /**
2381
- * enforce sorted named exports
2382
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
2386
+ * Enforce sorted named exports.
2387
+ * @see https://perfectionist.dev/rules/sort-named-exports
2383
2388
  */
2384
2389
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
2385
2390
  /**
2386
- * enforce sorted named imports
2387
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
2391
+ * Enforce sorted named imports.
2392
+ * @see https://perfectionist.dev/rules/sort-named-imports
2388
2393
  */
2389
2394
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
2390
2395
  /**
2391
- * enforce sorted object types
2392
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
2396
+ * Enforce sorted object types.
2397
+ * @see https://perfectionist.dev/rules/sort-object-types
2393
2398
  */
2394
2399
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
2395
2400
  /**
2396
- * enforce sorted objects
2397
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
2401
+ * Enforce sorted objects.
2402
+ * @see https://perfectionist.dev/rules/sort-objects
2398
2403
  */
2399
2404
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2400
2405
  /**
2401
- * enforce sorted Svelte attributes
2402
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
2406
+ * Enforce sorted Svelte attributes.
2407
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
2403
2408
  */
2404
2409
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2405
2410
  /**
2406
- * enforce sorted union types
2407
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
2411
+ * Enforce sorted switch cases.
2412
+ * @see https://perfectionist.dev/rules/sort-switch-case
2413
+ */
2414
+ 'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
2415
+ /**
2416
+ * Enforce sorted union types.
2417
+ * @see https://perfectionist.dev/rules/sort-union-types
2408
2418
  */
2409
2419
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
2410
2420
  /**
2411
- * enforce sorted Vue attributes
2412
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
2421
+ * Enforce sorted variable declarations.
2422
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
2423
+ */
2424
+ 'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2425
+ /**
2426
+ * Enforce sorted Vue attributes.
2427
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
2413
2428
  */
2414
2429
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2415
2430
  /**
@@ -2566,17 +2581,17 @@ interface RuleOptions {
2566
2581
  */
2567
2582
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2568
2583
  /**
2569
- * enforce boolean attributes notation in JSX
2584
+ * avoid using shorthand boolean attribute
2570
2585
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2571
2586
  */
2572
2587
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2573
2588
  /**
2574
- * enforce using fragment component instead of shorthand fragment syntax
2589
+ * avoid using shorthand fragment syntax
2575
2590
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2576
2591
  */
2577
2592
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
2578
2593
  /**
2579
- * require all 'forwardRef' components include a 'ref' parameter
2594
+ * require a 'ref' parameter to be set when using 'forwardRef'
2580
2595
  * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2581
2596
  */
2582
2597
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
@@ -2586,47 +2601,47 @@ interface RuleOptions {
2586
2601
  */
2587
2602
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2588
2603
  /**
2589
- * disallow using Array index as key
2604
+ * disallow using Array index as 'key'
2590
2605
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2591
2606
  */
2592
2607
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
2593
2608
  /**
2594
- * disallow 'Children.count'
2609
+ * disallow using 'Children.count'
2595
2610
  * @see https://eslint-react.xyz/docs/rules/no-children-count
2596
2611
  */
2597
2612
  'react/no-children-count'?: Linter.RuleEntry<[]>
2598
2613
  /**
2599
- * disallow 'Children.forEach'
2614
+ * disallow using 'Children.forEach'
2600
2615
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
2601
2616
  */
2602
2617
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
2603
2618
  /**
2604
- * disallow 'Children.map'
2619
+ * disallow using 'Children.map'
2605
2620
  * @see https://eslint-react.xyz/docs/rules/no-children-map
2606
2621
  */
2607
2622
  'react/no-children-map'?: Linter.RuleEntry<[]>
2608
2623
  /**
2609
- * disallow 'Children.only'
2624
+ * disallow using 'Children.only'
2610
2625
  * @see https://eslint-react.xyz/docs/rules/no-children-only
2611
2626
  */
2612
2627
  'react/no-children-only'?: Linter.RuleEntry<[]>
2613
2628
  /**
2614
- * disallow passing of 'children' as props
2629
+ * disallow passing 'children' as props
2615
2630
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
2616
2631
  */
2617
2632
  'react/no-children-prop'?: Linter.RuleEntry<[]>
2618
2633
  /**
2619
- * disallow 'Children.toArray'
2634
+ * disallow using 'Children.toArray'
2620
2635
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
2621
2636
  */
2622
2637
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
2623
2638
  /**
2624
- * disallow class component
2639
+ * disallow using class components
2625
2640
  * @see https://eslint-react.xyz/docs/rules/no-class-component
2626
2641
  */
2627
2642
  'react/no-class-component'?: Linter.RuleEntry<[]>
2628
2643
  /**
2629
- * disallow 'cloneElement'
2644
+ * disallow using 'cloneElement'
2630
2645
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
2631
2646
  */
2632
2647
  'react/no-clone-element'?: Linter.RuleEntry<[]>
@@ -2636,31 +2651,42 @@ interface RuleOptions {
2636
2651
  */
2637
2652
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
2638
2653
  /**
2639
- * disallow complicated conditional rendering
2640
- * @see https://eslint-react.xyz/docs/rules/no-complicated-conditional-rendering
2654
+ * disallow complex conditional rendering
2655
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2656
+ * @deprecated
2657
+ */
2658
+ 'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
2659
+ /**
2660
+ * disallow complex conditional rendering
2661
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2641
2662
  * @deprecated
2642
2663
  */
2643
2664
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2644
2665
  /**
2645
- * disallow usage of 'componentWillMount'
2666
+ * disallow using 'componentWillMount'
2646
2667
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
2647
2668
  */
2648
2669
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
2649
2670
  /**
2650
- * disallow usage of 'componentWillReceiveProps'
2671
+ * disallow using 'componentWillReceiveProps'
2651
2672
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
2652
2673
  */
2653
2674
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
2654
2675
  /**
2655
- * disallow usage of 'componentWillUpdate'
2676
+ * disallow using 'componentWillReceiveProps'
2656
2677
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
2657
2678
  */
2658
2679
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
2659
2680
  /**
2660
- * disallow 'createRef' in function components
2681
+ * disallow using 'createRef' in function components
2661
2682
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
2662
2683
  */
2663
2684
  'react/no-create-ref'?: Linter.RuleEntry<[]>
2685
+ /**
2686
+ * disallow using 'defaultProps' property in components
2687
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
2688
+ */
2689
+ 'react/no-default-props'?: Linter.RuleEntry<[]>
2664
2690
  /**
2665
2691
  * disallow direct mutation of state
2666
2692
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
@@ -2672,9 +2698,8 @@ interface RuleOptions {
2672
2698
  */
2673
2699
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
2674
2700
  /**
2675
- * disallow spreading 'key' from objects.
2701
+ * disallow implicit 'key' props
2676
2702
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
2677
- * @deprecated
2678
2703
  */
2679
2704
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
2680
2705
  /**
@@ -2683,7 +2708,7 @@ interface RuleOptions {
2683
2708
  */
2684
2709
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
2685
2710
  /**
2686
- * require 'displayName' for memo and forwardRef components
2711
+ * require 'displayName' for 'memo' and 'forwardRef' components
2687
2712
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
2688
2713
  */
2689
2714
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
@@ -2693,27 +2718,32 @@ interface RuleOptions {
2693
2718
  */
2694
2719
  'react/no-missing-key'?: Linter.RuleEntry<[]>
2695
2720
  /**
2696
- * disallow usage of unstable nested components
2721
+ * disallow using unstable nested components
2697
2722
  * @see https://eslint-react.xyz/docs/rules/no-nested-components
2698
2723
  */
2699
2724
  'react/no-nested-components'?: Linter.RuleEntry<[]>
2700
2725
  /**
2701
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2726
+ * disallow using 'propTypes' property in components
2727
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
2728
+ */
2729
+ 'react/no-prop-types'?: Linter.RuleEntry<[]>
2730
+ /**
2731
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2702
2732
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
2703
2733
  */
2704
2734
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
2705
2735
  /**
2706
- * disallow 'setState' in 'componentDidMount'
2736
+ * disallow using 'setState' in 'componentDidMount'
2707
2737
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
2708
2738
  */
2709
2739
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2710
2740
  /**
2711
- * disallow 'setState' in 'componentDidUpdate'
2741
+ * disallow using 'setState' in 'componentDidUpdate'
2712
2742
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2713
2743
  */
2714
2744
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
2715
2745
  /**
2716
- * disallow 'setState' in 'componentWillUpdate'
2746
+ * disallow using 'setState' in 'componentWillUpdate'
2717
2747
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
2718
2748
  */
2719
2749
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
@@ -2723,17 +2753,17 @@ interface RuleOptions {
2723
2753
  */
2724
2754
  'react/no-string-refs'?: Linter.RuleEntry<[]>
2725
2755
  /**
2726
- * disallow usage of 'UNSAFE_componentWillMount'
2756
+ * disallow using 'UNSAFE_componentWillMount'
2727
2757
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
2728
2758
  */
2729
2759
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
2730
2760
  /**
2731
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
2761
+ * disallow using 'UNSAFE_componentWillReceiveProps'
2732
2762
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
2733
2763
  */
2734
2764
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
2735
2765
  /**
2736
- * disallow usage of 'UNSAFE_componentWillUpdate'
2766
+ * disallow using 'UNSAFE_componentWillUpdate'
2737
2767
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
2738
2768
  */
2739
2769
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
@@ -2743,7 +2773,7 @@ interface RuleOptions {
2743
2773
  */
2744
2774
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
2745
2775
  /**
2746
- * disallow usage of unstable value as default param in function component
2776
+ * disallow using unstable value as default param in function component
2747
2777
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
2748
2778
  */
2749
2779
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
@@ -2753,7 +2783,7 @@ interface RuleOptions {
2753
2783
  */
2754
2784
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
2755
2785
  /**
2756
- * Prevents unused state of class component
2786
+ * disallow unused state of class component
2757
2787
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
2758
2788
  */
2759
2789
  'react/no-unused-state'?: Linter.RuleEntry<[]>
@@ -2768,17 +2798,17 @@ interface RuleOptions {
2768
2798
  */
2769
2799
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
2770
2800
  /**
2771
- * enforce that component props are read-only
2801
+ * enforce read-only props in components
2772
2802
  * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
2773
2803
  */
2774
2804
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
2775
2805
  /**
2776
- * enforce boolean attributes notation in JSX
2806
+ * enforce using shorthand boolean attributes
2777
2807
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
2778
2808
  */
2779
2809
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
2780
2810
  /**
2781
- * enforce using fragment syntax instead of Fragment component
2811
+ * enforce using fragment syntax instead of 'Fragment' component
2782
2812
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2783
2813
  */
2784
2814
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -4695,682 +4725,687 @@ interface RuleOptions {
4695
4725
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
4696
4726
  /**
4697
4727
  * Improve regexes by making them shorter, consistent, and safer.
4698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/better-regex.md
4728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
4699
4729
  */
4700
4730
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
4701
4731
  /**
4702
4732
  * Enforce a specific parameter name in catch clauses.
4703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/catch-error-name.md
4733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
4704
4734
  */
4705
4735
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
4706
4736
  /**
4707
4737
  * Use destructured variables over properties.
4708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-destructuring.md
4738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
4709
4739
  */
4710
4740
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
4711
4741
  /**
4712
4742
  * Prefer consistent types when spreading a ternary in an array literal.
4713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
4743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
4714
4744
  */
4715
4745
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
4716
4746
  /**
4717
4747
  * Move function definitions to the highest possible scope.
4718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-function-scoping.md
4748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
4719
4749
  */
4720
4750
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
4721
4751
  /**
4722
4752
  * Enforce correct `Error` subclassing.
4723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/custom-error-definition.md
4753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
4724
4754
  */
4725
4755
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
4726
4756
  /**
4727
4757
  * Enforce no spaces between braces.
4728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/empty-brace-spaces.md
4758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
4729
4759
  */
4730
4760
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
4731
4761
  /**
4732
4762
  * Enforce passing a `message` value when creating a built-in error.
4733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/error-message.md
4763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
4734
4764
  */
4735
4765
  'unicorn/error-message'?: Linter.RuleEntry<[]>
4736
4766
  /**
4737
4767
  * Require escape sequences to use uppercase values.
4738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/escape-case.md
4768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
4739
4769
  */
4740
4770
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
4741
4771
  /**
4742
4772
  * Add expiration conditions to TODO comments.
4743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/expiring-todo-comments.md
4773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
4744
4774
  */
4745
4775
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
4746
4776
  /**
4747
4777
  * Enforce explicitly comparing the `length` or `size` property of a value.
4748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/explicit-length-check.md
4778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
4749
4779
  */
4750
4780
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
4751
4781
  /**
4752
4782
  * Enforce a case style for filenames.
4753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/filename-case.md
4783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
4754
4784
  */
4755
4785
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
4756
4786
  /**
4757
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#import-index
4787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
4758
4788
  * @deprecated
4759
4789
  */
4760
4790
  'unicorn/import-index'?: Linter.RuleEntry<[]>
4761
4791
  /**
4762
4792
  * Enforce specific import styles per module.
4763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/import-style.md
4793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
4764
4794
  */
4765
4795
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
4766
4796
  /**
4767
4797
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
4768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/new-for-builtins.md
4798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
4769
4799
  */
4770
4800
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
4771
4801
  /**
4772
4802
  * Enforce specifying rules to disable in `eslint-disable` comments.
4773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-abusive-eslint-disable.md
4803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
4774
4804
  */
4775
4805
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
4776
4806
  /**
4777
4807
  * Disallow anonymous functions and classes as the default export.
4778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-anonymous-default-export.md
4808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
4779
4809
  */
4780
4810
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
4781
4811
  /**
4782
4812
  * Prevent passing a function reference directly to iterator methods.
4783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-callback-reference.md
4813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
4784
4814
  */
4785
4815
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
4786
4816
  /**
4787
4817
  * Prefer `for…of` over the `forEach` method.
4788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-for-each.md
4818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
4789
4819
  */
4790
4820
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
4791
4821
  /**
4792
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-array-instanceof
4822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
4793
4823
  * @deprecated
4794
4824
  */
4795
4825
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
4796
4826
  /**
4797
4827
  * Disallow using the `this` argument in array methods.
4798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-method-this-argument.md
4828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
4799
4829
  */
4800
4830
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
4801
4831
  /**
4802
4832
  * Enforce combining multiple `Array#push()` into one call.
4803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-push-push.md
4833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
4804
4834
  */
4805
4835
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
4806
4836
  /**
4807
4837
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
4808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-reduce.md
4838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
4809
4839
  */
4810
4840
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
4811
4841
  /**
4812
4842
  * Disallow member access from await expression.
4813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-expression-member.md
4843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
4814
4844
  */
4815
4845
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
4816
4846
  /**
4817
4847
  * Disallow using `await` in `Promise` method parameters.
4818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-in-promise-methods.md
4848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
4819
4849
  */
4820
4850
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
4821
4851
  /**
4822
4852
  * Do not use leading/trailing space between `console.log` parameters.
4823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-console-spaces.md
4853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
4824
4854
  */
4825
4855
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
4826
4856
  /**
4827
4857
  * Do not use `document.cookie` directly.
4828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-document-cookie.md
4858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
4829
4859
  */
4830
4860
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
4831
4861
  /**
4832
4862
  * Disallow empty files.
4833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-empty-file.md
4863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
4834
4864
  */
4835
4865
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
4836
4866
  /**
4837
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
4867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
4838
4868
  * @deprecated
4839
4869
  */
4840
4870
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
4841
4871
  /**
4842
4872
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
4843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-for-loop.md
4873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
4844
4874
  */
4845
4875
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
4846
4876
  /**
4847
4877
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
4848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-hex-escape.md
4878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
4849
4879
  */
4850
4880
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
4851
4881
  /**
4852
4882
  * Require `Array.isArray()` instead of `instanceof Array`.
4853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-instanceof-array.md
4883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
4854
4884
  */
4855
4885
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
4856
4886
  /**
4857
4887
  * Disallow invalid options in `fetch()` and `new Request()`.
4858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
4888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
4859
4889
  */
4860
4890
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
4861
4891
  /**
4862
4892
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-remove-event-listener.md
4893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
4864
4894
  */
4865
4895
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
4866
4896
  /**
4867
4897
  * Disallow identifiers starting with `new` or `class`.
4868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-keyword-prefix.md
4898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
4869
4899
  */
4870
4900
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
4901
+ /**
4902
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
4904
+ */
4905
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
4871
4906
  /**
4872
4907
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-lonely-if.md
4908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
4874
4909
  */
4875
4910
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
4876
4911
  /**
4877
4912
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
4913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
4879
4914
  */
4880
4915
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
4881
4916
  /**
4882
4917
  * Disallow negated conditions.
4883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negated-condition.md
4918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
4884
4919
  */
4885
4920
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
4886
4921
  /**
4887
4922
  * Disallow negated expression in equality check.
4888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
4923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
4889
4924
  */
4890
4925
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
4891
4926
  /**
4892
4927
  * Disallow nested ternary expressions.
4893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-nested-ternary.md
4928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
4894
4929
  */
4895
4930
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
4896
4931
  /**
4897
4932
  * Disallow `new Array()`.
4898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-array.md
4933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
4899
4934
  */
4900
4935
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
4901
4936
  /**
4902
4937
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-buffer.md
4938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
4904
4939
  */
4905
4940
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
4906
4941
  /**
4907
4942
  * Disallow the use of the `null` literal.
4908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-null.md
4943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
4909
4944
  */
4910
4945
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
4911
4946
  /**
4912
4947
  * Disallow the use of objects as default parameters.
4913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-object-as-default-parameter.md
4948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
4914
4949
  */
4915
4950
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
4916
4951
  /**
4917
4952
  * Disallow `process.exit()`.
4918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-process-exit.md
4953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
4919
4954
  */
4920
4955
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
4921
4956
  /**
4922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-reduce
4957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
4923
4958
  * @deprecated
4924
4959
  */
4925
4960
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
4926
4961
  /**
4927
4962
  * Disallow passing single-element arrays to `Promise` methods.
4928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-single-promise-in-promise-methods.md
4963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
4929
4964
  */
4930
4965
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
4931
4966
  /**
4932
4967
  * Disallow classes that only have static members.
4933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-static-only-class.md
4968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
4934
4969
  */
4935
4970
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
4936
4971
  /**
4937
4972
  * Disallow `then` property.
4938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-thenable.md
4973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
4939
4974
  */
4940
4975
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
4941
4976
  /**
4942
4977
  * Disallow assigning `this` to a variable.
4943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-this-assignment.md
4978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
4944
4979
  */
4945
4980
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
4946
4981
  /**
4947
4982
  * Disallow comparing `undefined` using `typeof`.
4948
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-typeof-undefined.md
4983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
4949
4984
  */
4950
4985
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
4951
4986
  /**
4952
4987
  * Disallow awaiting non-promise values.
4953
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-await.md
4988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
4954
4989
  */
4955
4990
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
4956
4991
  /**
4957
4992
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-polyfills.md
4993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
4959
4994
  */
4960
4995
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
4961
4996
  /**
4962
4997
  * Disallow unreadable array destructuring.
4963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-array-destructuring.md
4998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
4964
4999
  */
4965
5000
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
4966
5001
  /**
4967
5002
  * Disallow unreadable IIFEs.
4968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-iife.md
5003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
4969
5004
  */
4970
5005
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
4971
5006
  /**
4972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-unsafe-regex
5007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
4973
5008
  * @deprecated
4974
5009
  */
4975
5010
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
4976
5011
  /**
4977
5012
  * Disallow unused object properties.
4978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unused-properties.md
5013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
4979
5014
  */
4980
5015
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
4981
5016
  /**
4982
5017
  * Disallow useless fallback when spreading in object literals.
4983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-fallback-in-spread.md
5018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
4984
5019
  */
4985
5020
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
4986
5021
  /**
4987
5022
  * Disallow useless array length check.
4988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-length-check.md
5023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
4989
5024
  */
4990
5025
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
4991
5026
  /**
4992
5027
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-promise-resolve-reject.md
5028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
4994
5029
  */
4995
5030
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
4996
5031
  /**
4997
5032
  * Disallow unnecessary spread.
4998
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-spread.md
5033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
4999
5034
  */
5000
5035
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
5001
5036
  /**
5002
5037
  * Disallow useless case in switch statements.
5003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-switch-case.md
5038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
5004
5039
  */
5005
5040
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
5006
5041
  /**
5007
5042
  * Disallow useless `undefined`.
5008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-undefined.md
5043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
5009
5044
  */
5010
5045
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
5011
5046
  /**
5012
5047
  * Disallow number literals with zero fractions or dangling dots.
5013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-zero-fractions.md
5048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
5014
5049
  */
5015
5050
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
5016
5051
  /**
5017
5052
  * Enforce proper case for numeric literals.
5018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/number-literal-case.md
5053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
5019
5054
  */
5020
5055
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
5021
5056
  /**
5022
5057
  * Enforce the style of numeric separators by correctly grouping digits.
5023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/numeric-separators-style.md
5058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
5024
5059
  */
5025
5060
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
5026
5061
  /**
5027
5062
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-add-event-listener.md
5063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
5029
5064
  */
5030
5065
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
5031
5066
  /**
5032
5067
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-find.md
5068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
5034
5069
  */
5035
5070
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
5036
5071
  /**
5037
5072
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat.md
5073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
5039
5074
  */
5040
5075
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
5041
5076
  /**
5042
5077
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat-map.md
5078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
5044
5079
  */
5045
5080
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
5046
5081
  /**
5047
5082
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-index-of.md
5083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
5049
5084
  */
5050
5085
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
5051
5086
  /**
5052
5087
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
5088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
5054
5089
  */
5055
5090
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
5056
5091
  /**
5057
5092
  * Prefer `.at()` method for index access and `String#charAt()`.
5058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-at.md
5093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
5059
5094
  */
5060
5095
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
5061
5096
  /**
5062
5097
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-blob-reading-methods.md
5098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
5064
5099
  */
5065
5100
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
5066
5101
  /**
5067
5102
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-code-point.md
5103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
5069
5104
  */
5070
5105
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
5071
5106
  /**
5072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-dataset
5107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
5073
5108
  * @deprecated
5074
5109
  */
5075
5110
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
5076
5111
  /**
5077
5112
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-date-now.md
5113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
5079
5114
  */
5080
5115
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
5081
5116
  /**
5082
5117
  * Prefer default parameters over reassignment.
5083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-default-parameters.md
5118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
5084
5119
  */
5085
5120
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
5086
5121
  /**
5087
5122
  * Prefer `Node#append()` over `Node#appendChild()`.
5088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-append.md
5123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
5089
5124
  */
5090
5125
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
5091
5126
  /**
5092
5127
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-dataset.md
5128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
5094
5129
  */
5095
5130
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
5096
5131
  /**
5097
5132
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-remove.md
5133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
5099
5134
  */
5100
5135
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
5101
5136
  /**
5102
5137
  * Prefer `.textContent` over `.innerText`.
5103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-text-content.md
5138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
5104
5139
  */
5105
5140
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
5106
5141
  /**
5107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-event-key
5142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
5108
5143
  * @deprecated
5109
5144
  */
5110
5145
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
5111
5146
  /**
5112
5147
  * Prefer `EventTarget` over `EventEmitter`.
5113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-event-target.md
5148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
5114
5149
  */
5115
5150
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
5116
5151
  /**
5117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5118
5153
  * @deprecated
5119
5154
  */
5120
5155
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
5121
5156
  /**
5122
5157
  * Prefer `export…from` when re-exporting.
5123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-export-from.md
5158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
5124
5159
  */
5125
5160
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
5126
5161
  /**
5127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-flat-map
5162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
5128
5163
  * @deprecated
5129
5164
  */
5130
5165
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
5131
5166
  /**
5132
5167
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
5168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
5134
5169
  */
5135
5170
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
5136
5171
  /**
5137
5172
  * Prefer reading a JSON file as a buffer.
5138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-json-parse-buffer.md
5173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
5139
5174
  */
5140
5175
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
5141
5176
  /**
5142
5177
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-keyboard-event-key.md
5178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
5144
5179
  */
5145
5180
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
5146
5181
  /**
5147
5182
  * Prefer using a logical operator over a ternary.
5148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5149
5184
  */
5150
5185
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5151
5186
  /**
5152
5187
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-math-trunc.md
5188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
5154
5189
  */
5155
5190
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5156
5191
  /**
5157
5192
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-dom-apis.md
5193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
5159
5194
  */
5160
5195
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5161
5196
  /**
5162
5197
  * Prefer modern `Math` APIs over legacy patterns.
5163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-math-apis.md
5198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
5164
5199
  */
5165
5200
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5166
5201
  /**
5167
5202
  * Prefer JavaScript modules (ESM) over CommonJS.
5168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-module.md
5203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
5169
5204
  */
5170
5205
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5171
5206
  /**
5172
5207
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-native-coercion-functions.md
5208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
5174
5209
  */
5175
5210
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5176
5211
  /**
5177
5212
  * Prefer negative index over `.length - index` when possible.
5178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-negative-index.md
5213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
5179
5214
  */
5180
5215
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5181
5216
  /**
5182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-append
5217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
5183
5218
  * @deprecated
5184
5219
  */
5185
5220
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
5186
5221
  /**
5187
5222
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-node-protocol.md
5223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
5189
5224
  */
5190
5225
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5191
5226
  /**
5192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-remove
5227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
5193
5228
  * @deprecated
5194
5229
  */
5195
5230
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
5196
5231
  /**
5197
5232
  * Prefer `Number` static properties over global ones.
5198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-number-properties.md
5233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
5199
5234
  */
5200
5235
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5201
5236
  /**
5202
5237
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-object-from-entries.md
5238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
5204
5239
  */
5205
5240
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5206
5241
  /**
5207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-object-has-own
5242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
5208
5243
  * @deprecated
5209
5244
  */
5210
5245
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
5211
5246
  /**
5212
5247
  * Prefer omitting the `catch` binding parameter.
5213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-optional-catch-binding.md
5248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
5214
5249
  */
5215
5250
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5216
5251
  /**
5217
5252
  * Prefer borrowing methods from the prototype instead of the instance.
5218
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-prototype-methods.md
5253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
5219
5254
  */
5220
5255
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5221
5256
  /**
5222
5257
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
5223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-query-selector.md
5258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
5224
5259
  */
5225
5260
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5226
5261
  /**
5227
5262
  * Prefer `Reflect.apply()` over `Function#apply()`.
5228
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-reflect-apply.md
5263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
5229
5264
  */
5230
5265
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5231
5266
  /**
5232
5267
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-regexp-test.md
5268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
5234
5269
  */
5235
5270
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5236
5271
  /**
5237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-replace-all
5272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
5238
5273
  * @deprecated
5239
5274
  */
5240
5275
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
5241
5276
  /**
5242
5277
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-has.md
5278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
5244
5279
  */
5245
5280
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5246
5281
  /**
5247
5282
  * Prefer using `Set#size` instead of `Array#length`.
5248
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-size.md
5283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
5249
5284
  */
5250
5285
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5251
5286
  /**
5252
5287
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-spread.md
5288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
5254
5289
  */
5255
5290
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5256
5291
  /**
5257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5258
5293
  * @deprecated
5259
5294
  */
5260
5295
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
5261
5296
  /**
5262
5297
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
5298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
5264
5299
  */
5265
5300
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5266
5301
  /**
5267
5302
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5268
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-replace-all.md
5303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
5269
5304
  */
5270
5305
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5271
5306
  /**
5272
5307
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5273
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-slice.md
5308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
5274
5309
  */
5275
5310
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5276
5311
  /**
5277
5312
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5278
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-starts-ends-with.md
5313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
5279
5314
  */
5280
5315
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5281
5316
  /**
5282
5317
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5283
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-trim-start-end.md
5318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
5284
5319
  */
5285
5320
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5286
5321
  /**
5287
5322
  * Prefer using `structuredClone` to create a deep clone.
5288
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
5323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
5289
5324
  */
5290
5325
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5291
5326
  /**
5292
5327
  * Prefer `switch` over multiple `else-if`.
5293
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-switch.md
5328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
5294
5329
  */
5295
5330
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5296
5331
  /**
5297
5332
  * Prefer ternary expressions over simple `if-else` statements.
5298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-ternary.md
5333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
5299
5334
  */
5300
5335
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5301
5336
  /**
5302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-text-content
5337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
5303
5338
  * @deprecated
5304
5339
  */
5305
5340
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5306
5341
  /**
5307
5342
  * Prefer top-level await over top-level promises and async function calls.
5308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-top-level-await.md
5343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
5309
5344
  */
5310
5345
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5311
5346
  /**
5312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5313
5348
  * @deprecated
5314
5349
  */
5315
5350
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5316
5351
  /**
5317
5352
  * Enforce throwing `TypeError` in type checking conditions.
5318
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-type-error.md
5353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
5319
5354
  */
5320
5355
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5321
5356
  /**
5322
5357
  * Prevent abbreviations.
5323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prevent-abbreviations.md
5358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
5324
5359
  */
5325
5360
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5326
5361
  /**
5327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#regex-shorthand
5362
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
5328
5363
  * @deprecated
5329
5364
  */
5330
5365
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5331
5366
  /**
5332
5367
  * Enforce consistent relative URL style.
5333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/relative-url-style.md
5368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
5334
5369
  */
5335
5370
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5336
5371
  /**
5337
5372
  * Enforce using the separator argument with `Array#join()`.
5338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-array-join-separator.md
5373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
5339
5374
  */
5340
5375
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5341
5376
  /**
5342
5377
  * Enforce using the digits argument with `Number#toFixed()`.
5343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5344
5379
  */
5345
5380
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5346
5381
  /**
5347
5382
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5348
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-post-message-target-origin.md
5383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
5349
5384
  */
5350
5385
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5351
5386
  /**
5352
5387
  * Enforce better string content.
5353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/string-content.md
5388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
5354
5389
  */
5355
5390
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5356
5391
  /**
5357
5392
  * Enforce consistent brace style for `case` clauses.
5358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/switch-case-braces.md
5393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
5359
5394
  */
5360
5395
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5361
5396
  /**
5362
5397
  * Fix whitespace-insensitive template indentation.
5363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/template-indent.md
5398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
5364
5399
  */
5365
5400
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5366
5401
  /**
5367
5402
  * Enforce consistent case for text encoding identifiers.
5368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/text-encoding-identifier-case.md
5403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
5369
5404
  */
5370
5405
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5371
5406
  /**
5372
5407
  * Require `new` when creating an error.
5373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
5408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
5374
5409
  */
5375
5410
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5376
5411
  /**
@@ -9160,7 +9195,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
9160
9195
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
9161
9196
  version?: string
9162
9197
  allowExperimental?: boolean
9163
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9198
+ 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" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.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.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.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.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9164
9199
  }]
9165
9200
  // ----- node/prefer-global/buffer -----
9166
9201
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -9302,48 +9337,86 @@ type PaddingLineBetweenStatements = {
9302
9337
  }[]
9303
9338
  // ----- perfectionist/sort-array-includes -----
9304
9339
  type PerfectionistSortArrayIncludes = []|[{
9340
+
9305
9341
  type?: ("alphabetical" | "natural" | "line-length")
9342
+
9306
9343
  order?: ("asc" | "desc")
9307
- "ignore-case"?: boolean
9308
- "spread-last"?: boolean
9344
+
9345
+ ignoreCase?: boolean
9346
+
9347
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
9309
9348
  }]
9310
9349
  // ----- perfectionist/sort-astro-attributes -----
9311
9350
  type PerfectionistSortAstroAttributes = []|[{
9312
- "custom-groups"?: {
9313
- [k: string]: unknown | undefined
9314
- }
9351
+
9315
9352
  type?: ("alphabetical" | "natural" | "line-length")
9353
+
9316
9354
  order?: ("asc" | "desc")
9317
- "ignore-case"?: boolean
9318
- groups?: unknown[]
9355
+
9356
+ ignoreCase?: boolean
9357
+
9358
+ groups?: (string | string[])[]
9359
+
9360
+ customGroups?: {
9361
+ [k: string]: (string | string[]) | undefined
9362
+ }
9319
9363
  }]
9320
9364
  // ----- perfectionist/sort-classes -----
9321
9365
  type PerfectionistSortClasses = []|[{
9322
- "custom-groups"?: {
9323
- [k: string]: unknown | undefined
9324
- }
9366
+
9325
9367
  type?: ("alphabetical" | "natural" | "line-length")
9326
- "ignore-case"?: boolean
9368
+
9327
9369
  order?: ("asc" | "desc")
9328
- groups?: unknown[]
9370
+
9371
+ ignoreCase?: boolean
9372
+
9373
+ partitionByComment?: (string[] | boolean | string)
9374
+
9375
+ groups?: (string | string[])[]
9376
+
9377
+ customGroups?: {
9378
+ [k: string]: (string | string[]) | undefined
9379
+ }
9329
9380
  }]
9330
9381
  // ----- perfectionist/sort-enums -----
9331
9382
  type PerfectionistSortEnums = []|[{
9332
- "partition-by-comment"?: (boolean | string | unknown[])
9383
+
9333
9384
  type?: ("alphabetical" | "natural" | "line-length")
9334
- "ignore-case"?: boolean
9385
+
9335
9386
  order?: ("asc" | "desc")
9387
+
9388
+ ignoreCase?: boolean
9389
+
9390
+ partitionByComment?: (string[] | boolean | string)
9336
9391
  }]
9337
9392
  // ----- perfectionist/sort-exports -----
9338
9393
  type PerfectionistSortExports = []|[{
9394
+
9339
9395
  type?: ("alphabetical" | "natural" | "line-length")
9396
+
9340
9397
  order?: ("asc" | "desc")
9341
- "ignore-case"?: boolean
9398
+
9399
+ ignoreCase?: boolean
9342
9400
  }]
9343
9401
  // ----- perfectionist/sort-imports -----
9344
9402
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9345
9403
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9346
- "custom-groups"?: {
9404
+
9405
+ type?: ("alphabetical" | "natural" | "line-length")
9406
+
9407
+ order?: ("asc" | "desc")
9408
+
9409
+ ignoreCase?: boolean
9410
+
9411
+ internalPattern?: string[]
9412
+
9413
+ newlinesBetween?: ("ignore" | "always" | "never")
9414
+
9415
+ maxLineLength?: number
9416
+
9417
+ groups?: (string | string[])[]
9418
+
9419
+ customGroups?: {
9347
9420
  type?: {
9348
9421
  [k: string]: unknown | undefined
9349
9422
  }
@@ -9351,13 +9424,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9351
9424
  [k: string]: unknown | undefined
9352
9425
  }
9353
9426
  }
9354
- type?: ("alphabetical" | "natural" | "line-length")
9355
- order?: ("asc" | "desc")
9356
- "ignore-case"?: boolean
9357
- groups?: unknown[]
9358
- "internal-pattern"?: string[]
9359
- "newlines-between"?: ("ignore" | "always" | "never")
9360
- "max-line-length"?: number
9427
+
9428
+ environment?: ("node" | "bun")
9361
9429
  })
9362
9430
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9363
9431
  [k: string]: unknown | undefined
@@ -9368,105 +9436,188 @@ interface _PerfectionistSortImports_IsLineLength {
9368
9436
  }
9369
9437
  // ----- perfectionist/sort-interfaces -----
9370
9438
  type PerfectionistSortInterfaces = []|[{
9371
- "custom-groups"?: {
9372
- [k: string]: unknown | undefined
9373
- }
9374
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
9439
+
9375
9440
  type?: ("alphabetical" | "natural" | "line-length")
9441
+
9376
9442
  order?: ("asc" | "desc")
9377
- "ignore-case"?: boolean
9378
- "ignore-pattern"?: string[]
9379
- groups?: unknown[]
9380
- "partition-by-new-line"?: boolean
9443
+
9444
+ ignoreCase?: boolean
9445
+
9446
+ ignorePattern?: string[]
9447
+
9448
+ partitionByNewLine?: boolean
9449
+
9450
+ groupKind?: ("mixed" | "optional-first" | "required-first")
9451
+
9452
+ groups?: (string | string[])[]
9453
+
9454
+ customGroups?: {
9455
+ [k: string]: (string | string[]) | undefined
9456
+ }
9381
9457
  }]
9382
9458
  // ----- perfectionist/sort-intersection-types -----
9383
9459
  type PerfectionistSortIntersectionTypes = []|[{
9460
+
9384
9461
  type?: ("alphabetical" | "natural" | "line-length")
9462
+
9385
9463
  order?: ("asc" | "desc")
9386
- "ignore-case"?: boolean
9464
+
9465
+ ignoreCase?: boolean
9466
+
9467
+ groups?: (string | string[])[]
9387
9468
  }]
9388
9469
  // ----- perfectionist/sort-jsx-props -----
9389
9470
  type PerfectionistSortJsxProps = []|[{
9390
- "custom-groups"?: {
9391
- [k: string]: unknown | undefined
9392
- }
9471
+
9393
9472
  type?: ("alphabetical" | "natural" | "line-length")
9473
+
9394
9474
  order?: ("asc" | "desc")
9395
- groups?: unknown[]
9396
- "ignore-case"?: boolean
9475
+
9476
+ ignoreCase?: boolean
9477
+
9478
+ ignorePattern?: string[]
9479
+
9480
+ groups?: (string | string[])[]
9481
+
9482
+ customGroups?: {
9483
+ [k: string]: (string | string[]) | undefined
9484
+ }
9397
9485
  }]
9398
9486
  // ----- perfectionist/sort-maps -----
9399
9487
  type PerfectionistSortMaps = []|[{
9488
+
9400
9489
  type?: ("alphabetical" | "natural" | "line-length")
9490
+
9401
9491
  order?: ("asc" | "desc")
9402
- "ignore-case"?: boolean
9492
+
9493
+ ignoreCase?: boolean
9403
9494
  }]
9404
9495
  // ----- perfectionist/sort-named-exports -----
9405
9496
  type PerfectionistSortNamedExports = []|[{
9497
+
9406
9498
  type?: ("alphabetical" | "natural" | "line-length")
9499
+
9407
9500
  order?: ("asc" | "desc")
9408
- "ignore-case"?: boolean
9409
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9501
+
9502
+ ignoreCase?: boolean
9503
+
9504
+ groupKind?: ("mixed" | "values-first" | "types-first")
9410
9505
  }]
9411
9506
  // ----- perfectionist/sort-named-imports -----
9412
9507
  type PerfectionistSortNamedImports = []|[{
9508
+
9413
9509
  type?: ("alphabetical" | "natural" | "line-length")
9510
+
9414
9511
  order?: ("asc" | "desc")
9415
- "ignore-case"?: boolean
9416
- "ignore-alias"?: boolean
9417
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9512
+
9513
+ ignoreCase?: boolean
9514
+
9515
+ ignoreAlias?: boolean
9516
+
9517
+ groupKind?: ("mixed" | "values-first" | "types-first")
9418
9518
  }]
9419
9519
  // ----- perfectionist/sort-object-types -----
9420
9520
  type PerfectionistSortObjectTypes = []|[{
9421
- "custom-groups"?: {
9422
- [k: string]: unknown | undefined
9423
- }
9521
+
9424
9522
  type?: ("alphabetical" | "natural" | "line-length")
9523
+
9425
9524
  order?: ("asc" | "desc")
9426
- "ignore-case"?: boolean
9427
- groups?: unknown[]
9428
- "partition-by-new-line"?: boolean
9525
+
9526
+ ignoreCase?: boolean
9527
+
9528
+ partitionByNewLine?: boolean
9529
+
9530
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9531
+
9532
+ groups?: (string | string[])[]
9533
+
9534
+ customGroups?: {
9535
+ [k: string]: (string | string[]) | undefined
9536
+ }
9429
9537
  }]
9430
9538
  // ----- perfectionist/sort-objects -----
9431
9539
  type PerfectionistSortObjects = []|[{
9432
- "custom-groups"?: {
9433
- [k: string]: unknown | undefined
9434
- }
9435
- "partition-by-comment"?: (boolean | string | unknown[])
9436
- "partition-by-new-line"?: boolean
9437
- "styled-components"?: boolean
9540
+
9438
9541
  type?: ("alphabetical" | "natural" | "line-length")
9542
+
9439
9543
  order?: ("asc" | "desc")
9440
- "ignore-case"?: boolean
9441
- "ignore-pattern"?: string[]
9442
- groups?: unknown[]
9544
+
9545
+ ignoreCase?: boolean
9546
+
9547
+ partitionByComment?: (string[] | boolean | string)
9548
+
9549
+ partitionByNewLine?: boolean
9550
+
9551
+ styledComponents?: boolean
9552
+
9553
+ ignorePattern?: string[]
9554
+
9555
+ customIgnore?: unknown[]
9556
+
9557
+ groups?: (string | string[])[]
9558
+
9559
+ customGroups?: {
9560
+ [k: string]: (string | string[]) | undefined
9561
+ }
9443
9562
  }]
9444
9563
  // ----- perfectionist/sort-svelte-attributes -----
9445
9564
  type PerfectionistSortSvelteAttributes = []|[{
9446
- "custom-groups"?: {
9447
- [k: string]: unknown | undefined
9565
+
9566
+ type?: ("alphabetical" | "natural" | "line-length")
9567
+
9568
+ order?: ("asc" | "desc")
9569
+
9570
+ ignoreCase?: boolean
9571
+
9572
+ groups?: (string | string[])[]
9573
+
9574
+ customGroups?: {
9575
+ [k: string]: (string | string[]) | undefined
9448
9576
  }
9577
+ }]
9578
+ // ----- perfectionist/sort-switch-case -----
9579
+ type PerfectionistSortSwitchCase = []|[{
9580
+
9449
9581
  type?: ("alphabetical" | "natural" | "line-length")
9582
+
9450
9583
  order?: ("asc" | "desc")
9451
- "ignore-case"?: boolean
9452
- groups?: unknown[]
9584
+
9585
+ ignoreCase?: boolean
9453
9586
  }]
9454
9587
  // ----- perfectionist/sort-union-types -----
9455
9588
  type PerfectionistSortUnionTypes = []|[{
9589
+
9456
9590
  type?: ("alphabetical" | "natural" | "line-length")
9591
+
9457
9592
  order?: ("asc" | "desc")
9458
- "ignore-case"?: boolean
9459
- "nullable-last"?: boolean
9593
+
9594
+ ignoreCase?: boolean
9595
+
9596
+ groups?: (string | string[])[]
9597
+ }]
9598
+ // ----- perfectionist/sort-variable-declarations -----
9599
+ type PerfectionistSortVariableDeclarations = []|[{
9600
+
9601
+ type?: ("alphabetical" | "natural" | "line-length")
9602
+
9603
+ order?: ("asc" | "desc")
9604
+
9605
+ ignoreCase?: boolean
9460
9606
  }]
9461
9607
  // ----- perfectionist/sort-vue-attributes -----
9462
9608
  type PerfectionistSortVueAttributes = []|[{
9463
- "custom-groups"?: {
9464
- [k: string]: unknown | undefined
9465
- }
9609
+
9466
9610
  type?: ("alphabetical" | "natural" | "line-length")
9611
+
9467
9612
  order?: ("asc" | "desc")
9468
- "ignore-case"?: boolean
9469
- groups?: unknown[]
9613
+
9614
+ ignoreCase?: boolean
9615
+
9616
+ groups?: (string | string[])[]
9617
+
9618
+ customGroups?: {
9619
+ [k: string]: (string | string[]) | undefined
9620
+ }
9470
9621
  }]
9471
9622
  // ----- prefer-arrow-callback -----
9472
9623
  type PreferArrowCallback = []|[{
@@ -10628,7 +10779,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
10628
10779
  }]
10629
10780
  // ----- style/padding-line-between-statements -----
10630
10781
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
10631
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"))[]])
10782
+ type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
10632
10783
  type StylePaddingLineBetweenStatements = {
10633
10784
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
10634
10785
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -13547,7 +13698,7 @@ type TypedFlatConfigItem = {
13547
13698
  * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
13548
13699
  */
13549
13700
  plugins?: Record<string, any>;
13550
- } & Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, 'plugins'>;
13701
+ } & Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'>;
13551
13702
  interface OptionsFiles {
13552
13703
  /**
13553
13704
  * Override the `files` option to provide custom globs.
@@ -13638,7 +13789,7 @@ interface OptionsTypeScriptWithTypes {
13638
13789
  * When this options is provided, type aware rules will be enabled.
13639
13790
  * @see https://typescript-eslint.io/linting/typed-linting/
13640
13791
  */
13641
- tsconfigPath?: Array<string> | string;
13792
+ tsconfigPath?: string;
13642
13793
  }
13643
13794
  interface OptionsHasTypeScript {
13644
13795
  typescript?: boolean;
@@ -13807,7 +13958,7 @@ declare const defaultPluginRenaming: {
13807
13958
  * @returns
13808
13959
  * The merged ESLint configurations.
13809
13960
  */
13810
- declare function vinicuncaESLint(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Array<Awaitable<Array<Linter.FlatConfig> | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
13961
+ declare function vinicuncaESLint(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Array<Awaitable<Array<Linter.Config> | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
13811
13962
 
13812
13963
  declare function comments(): Promise<Array<TypedFlatConfigItem>>;
13813
13964
 
@@ -13962,5 +14113,6 @@ declare const parserPlain: {
13962
14113
  };
13963
14114
  };
13964
14115
  };
14116
+ declare function isInEditorEnv(): boolean;
13965
14117
 
13966
- 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_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
14118
+ 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_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, isInEditorEnv, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };