@coderwyd/eslint-config 3.1.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +16 -16
- package/dist/cli.js +16 -16
- package/dist/index.cjs +6 -3
- package/dist/index.d.cts +690 -454
- package/dist/index.d.ts +690 -454
- package/dist/index.js +5 -2
- package/package.json +32 -32
package/dist/index.d.cts
CHANGED
|
@@ -382,233 +382,233 @@ interface RuleOptions {
|
|
|
382
382
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
383
383
|
/**
|
|
384
384
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
385
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
385
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
|
|
386
386
|
*/
|
|
387
387
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
388
388
|
/**
|
|
389
389
|
* Ensure a default export is present, given a default import.
|
|
390
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
390
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
|
|
391
391
|
*/
|
|
392
392
|
'import/default'?: Linter.RuleEntry<[]>
|
|
393
393
|
/**
|
|
394
394
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
395
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
395
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
|
|
396
396
|
*/
|
|
397
397
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
398
398
|
/**
|
|
399
399
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
400
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
400
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
|
|
401
401
|
*/
|
|
402
402
|
'import/export'?: Linter.RuleEntry<[]>
|
|
403
403
|
/**
|
|
404
404
|
* Ensure all exports appear after other statements.
|
|
405
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
405
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
|
|
406
406
|
*/
|
|
407
407
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
408
408
|
/**
|
|
409
409
|
* Ensure consistent use of file extension within the import path.
|
|
410
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
410
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
|
|
411
411
|
*/
|
|
412
412
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
413
413
|
/**
|
|
414
414
|
* Ensure all imports appear before other statements.
|
|
415
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
415
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
|
|
416
416
|
*/
|
|
417
417
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
418
418
|
/**
|
|
419
419
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
420
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
420
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
|
|
421
421
|
*/
|
|
422
422
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
423
423
|
/**
|
|
424
424
|
* Replaced by `import-x/first`.
|
|
425
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
425
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
|
|
426
426
|
* @deprecated
|
|
427
427
|
*/
|
|
428
428
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
429
429
|
/**
|
|
430
430
|
* Enforce the maximum number of dependencies a module can have.
|
|
431
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
431
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
|
|
432
432
|
*/
|
|
433
433
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
434
434
|
/**
|
|
435
435
|
* Ensure named imports correspond to a named export in the remote file.
|
|
436
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
436
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
|
|
437
437
|
*/
|
|
438
438
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
439
439
|
/**
|
|
440
440
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
441
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
441
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
|
|
442
442
|
*/
|
|
443
443
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
444
444
|
/**
|
|
445
445
|
* Enforce a newline after import statements.
|
|
446
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
446
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
|
|
447
447
|
*/
|
|
448
448
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
449
449
|
/**
|
|
450
450
|
* Forbid import of modules using absolute paths.
|
|
451
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
451
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
|
|
452
452
|
*/
|
|
453
453
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
454
454
|
/**
|
|
455
455
|
* Forbid AMD `require` and `define` calls.
|
|
456
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
456
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
|
|
457
457
|
*/
|
|
458
458
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
459
459
|
/**
|
|
460
460
|
* Forbid anonymous values as default exports.
|
|
461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
|
|
462
462
|
*/
|
|
463
463
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
464
464
|
/**
|
|
465
465
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
|
|
467
467
|
*/
|
|
468
468
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
469
469
|
/**
|
|
470
470
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
|
|
472
472
|
*/
|
|
473
473
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
474
474
|
/**
|
|
475
475
|
* Forbid default exports.
|
|
476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
|
|
477
477
|
*/
|
|
478
478
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
479
479
|
/**
|
|
480
480
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
|
|
482
482
|
*/
|
|
483
483
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
484
484
|
/**
|
|
485
485
|
* Forbid repeated import of the same module in multiple places.
|
|
486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
|
|
487
487
|
*/
|
|
488
488
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
489
489
|
/**
|
|
490
490
|
* Forbid `require()` calls with expressions.
|
|
491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
|
|
492
492
|
*/
|
|
493
493
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
494
494
|
/**
|
|
495
495
|
* Forbid empty named import blocks.
|
|
496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
|
|
497
497
|
*/
|
|
498
498
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
499
499
|
/**
|
|
500
500
|
* Forbid the use of extraneous packages.
|
|
501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
|
|
502
502
|
*/
|
|
503
503
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
504
504
|
/**
|
|
505
505
|
* Forbid import statements with CommonJS module.exports.
|
|
506
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
|
|
507
507
|
*/
|
|
508
508
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
509
509
|
/**
|
|
510
510
|
* Forbid importing the submodules of other modules.
|
|
511
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
511
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
|
|
512
512
|
*/
|
|
513
513
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
514
514
|
/**
|
|
515
515
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
516
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
516
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
|
|
517
517
|
*/
|
|
518
518
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
519
519
|
/**
|
|
520
520
|
* Forbid use of exported name as identifier of default export.
|
|
521
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
521
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
|
|
522
522
|
*/
|
|
523
523
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
524
524
|
/**
|
|
525
525
|
* Forbid use of exported name as property of default export.
|
|
526
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
526
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
|
|
527
527
|
*/
|
|
528
528
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
529
529
|
/**
|
|
530
530
|
* Forbid named default exports.
|
|
531
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
531
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
|
|
532
532
|
*/
|
|
533
533
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
534
534
|
/**
|
|
535
535
|
* Forbid named exports.
|
|
536
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
536
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
|
|
537
537
|
*/
|
|
538
538
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
539
539
|
/**
|
|
540
540
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
541
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
541
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
|
|
542
542
|
*/
|
|
543
543
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
544
544
|
/**
|
|
545
545
|
* Forbid Node.js builtin modules.
|
|
546
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
546
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
|
|
547
547
|
*/
|
|
548
548
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
549
549
|
/**
|
|
550
550
|
* Forbid importing packages through relative paths.
|
|
551
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
551
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
|
|
552
552
|
*/
|
|
553
553
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
554
554
|
/**
|
|
555
555
|
* Forbid importing modules from parent directories.
|
|
556
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
556
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
|
|
557
557
|
*/
|
|
558
558
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
559
559
|
/**
|
|
560
560
|
* Forbid importing a default export by a different name.
|
|
561
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
561
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
|
|
562
562
|
*/
|
|
563
563
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
564
564
|
/**
|
|
565
565
|
* Enforce which files can be imported in a given folder.
|
|
566
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
566
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
|
|
567
567
|
*/
|
|
568
568
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
569
569
|
/**
|
|
570
570
|
* Forbid a module from importing itself.
|
|
571
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
571
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
|
|
572
572
|
*/
|
|
573
573
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
574
574
|
/**
|
|
575
575
|
* Forbid unassigned imports.
|
|
576
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
576
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
|
|
577
577
|
*/
|
|
578
578
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
579
579
|
/**
|
|
580
580
|
* Ensure imports point to a file/module that can be resolved.
|
|
581
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
581
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
|
|
582
582
|
*/
|
|
583
583
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
584
584
|
/**
|
|
585
585
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
586
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
586
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
|
|
587
587
|
*/
|
|
588
588
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
589
589
|
/**
|
|
590
590
|
* Forbid unnecessary path segments in import and require statements.
|
|
591
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
591
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
|
|
592
592
|
*/
|
|
593
593
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
594
594
|
/**
|
|
595
595
|
* Forbid webpack loader syntax in imports.
|
|
596
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
596
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
|
|
597
597
|
*/
|
|
598
598
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
599
599
|
/**
|
|
600
600
|
* Enforce a convention in module import order.
|
|
601
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
601
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
|
|
602
602
|
*/
|
|
603
603
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
604
604
|
/**
|
|
605
605
|
* Prefer a default export if module exports a single name or multiple names.
|
|
606
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
606
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
|
|
607
607
|
*/
|
|
608
608
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
609
609
|
/**
|
|
610
610
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
611
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
611
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
|
|
612
612
|
*/
|
|
613
613
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
614
614
|
/**
|
|
@@ -1327,7 +1327,7 @@ interface RuleOptions {
|
|
|
1327
1327
|
*/
|
|
1328
1328
|
'no-class-assign'?: Linter.RuleEntry<[]>
|
|
1329
1329
|
/**
|
|
1330
|
-
* Disallow comparing against
|
|
1330
|
+
* Disallow comparing against `-0`
|
|
1331
1331
|
* @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
|
|
1332
1332
|
*/
|
|
1333
1333
|
'no-compare-neg-zero'?: Linter.RuleEntry<[]>
|
|
@@ -2345,17 +2345,16 @@ interface RuleOptions {
|
|
|
2345
2345
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2346
2346
|
*/
|
|
2347
2347
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2348
|
-
/**
|
|
2349
|
-
* Enforce sorted Astro attributes.
|
|
2350
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2351
|
-
* @deprecated
|
|
2352
|
-
*/
|
|
2353
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2354
2348
|
/**
|
|
2355
2349
|
* Enforce sorted classes.
|
|
2356
2350
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2357
2351
|
*/
|
|
2358
2352
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
2353
|
+
/**
|
|
2354
|
+
* Enforce sorted decorators.
|
|
2355
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
2356
|
+
*/
|
|
2357
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
2359
2358
|
/**
|
|
2360
2359
|
* Enforce sorted TypeScript enums.
|
|
2361
2360
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2366,6 +2365,11 @@ interface RuleOptions {
|
|
|
2366
2365
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2367
2366
|
*/
|
|
2368
2367
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
2368
|
+
/**
|
|
2369
|
+
* Enforce sorted heritage clauses.
|
|
2370
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
2371
|
+
*/
|
|
2372
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
2369
2373
|
/**
|
|
2370
2374
|
* Enforce sorted imports.
|
|
2371
2375
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2391,6 +2395,11 @@ interface RuleOptions {
|
|
|
2391
2395
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2392
2396
|
*/
|
|
2393
2397
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
2398
|
+
/**
|
|
2399
|
+
* Enforce sorted modules.
|
|
2400
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
2401
|
+
*/
|
|
2402
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
2394
2403
|
/**
|
|
2395
2404
|
* Enforce sorted named exports.
|
|
2396
2405
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2416,12 +2425,6 @@ interface RuleOptions {
|
|
|
2416
2425
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2417
2426
|
*/
|
|
2418
2427
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2419
|
-
/**
|
|
2420
|
-
* Enforce sorted Svelte attributes.
|
|
2421
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2422
|
-
* @deprecated
|
|
2423
|
-
*/
|
|
2424
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2425
2428
|
/**
|
|
2426
2429
|
* Enforce sorted switch cases.
|
|
2427
2430
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2437,12 +2440,6 @@ interface RuleOptions {
|
|
|
2437
2440
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2438
2441
|
*/
|
|
2439
2442
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2440
|
-
/**
|
|
2441
|
-
* Enforce sorted Vue attributes.
|
|
2442
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2443
|
-
* @deprecated
|
|
2444
|
-
*/
|
|
2445
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2446
2443
|
/**
|
|
2447
2444
|
* Require using arrow functions for callbacks
|
|
2448
2445
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -2580,6 +2577,11 @@ interface RuleOptions {
|
|
|
2580
2577
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2581
2578
|
*/
|
|
2582
2579
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2580
|
+
/**
|
|
2581
|
+
* disallow usage of unknown DOM property
|
|
2582
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
2583
|
+
*/
|
|
2584
|
+
'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
|
|
2583
2585
|
/**
|
|
2584
2586
|
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2585
2587
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
@@ -2676,6 +2678,16 @@ interface RuleOptions {
|
|
|
2676
2678
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2677
2679
|
*/
|
|
2678
2680
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2681
|
+
/**
|
|
2682
|
+
* disallow duplicate props
|
|
2683
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2684
|
+
*/
|
|
2685
|
+
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2686
|
+
/**
|
|
2687
|
+
* a helper rule to mark variables as used
|
|
2688
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2689
|
+
*/
|
|
2690
|
+
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2679
2691
|
/**
|
|
2680
2692
|
* disallow accessing 'this.state' within 'setState'
|
|
2681
2693
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -4101,6 +4113,11 @@ interface RuleOptions {
|
|
|
4101
4113
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4102
4114
|
*/
|
|
4103
4115
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4116
|
+
/**
|
|
4117
|
+
* Require promises that have expectations in their chain to be valid
|
|
4118
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
4119
|
+
*/
|
|
4120
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
4104
4121
|
/**
|
|
4105
4122
|
* enforce valid titles
|
|
4106
4123
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -4524,6 +4541,11 @@ interface RuleOptions {
|
|
|
4524
4541
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
4525
4542
|
*/
|
|
4526
4543
|
'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
4544
|
+
/**
|
|
4545
|
+
* Disallow type assertions that narrow a type
|
|
4546
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
4547
|
+
*/
|
|
4548
|
+
'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
4527
4549
|
/**
|
|
4528
4550
|
* Require unary negation to take a number
|
|
4529
4551
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -4681,6 +4703,11 @@ interface RuleOptions {
|
|
|
4681
4703
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
4682
4704
|
*/
|
|
4683
4705
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
4706
|
+
/**
|
|
4707
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
4708
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
4709
|
+
*/
|
|
4710
|
+
'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
4684
4711
|
/**
|
|
4685
4712
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
4686
4713
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -4754,702 +4781,702 @@ interface RuleOptions {
|
|
|
4754
4781
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4755
4782
|
/**
|
|
4756
4783
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
4758
4785
|
*/
|
|
4759
4786
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4760
4787
|
/**
|
|
4761
4788
|
* Enforce a specific parameter name in catch clauses.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
4763
4790
|
*/
|
|
4764
4791
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4765
4792
|
/**
|
|
4766
4793
|
* Use destructured variables over properties.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
4768
4795
|
*/
|
|
4769
4796
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4770
4797
|
/**
|
|
4771
4798
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4773
4800
|
*/
|
|
4774
4801
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4775
4802
|
/**
|
|
4776
4803
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
4778
4805
|
*/
|
|
4779
4806
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4780
4807
|
/**
|
|
4781
4808
|
* Move function definitions to the highest possible scope.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
4783
4810
|
*/
|
|
4784
4811
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4785
4812
|
/**
|
|
4786
4813
|
* Enforce correct `Error` subclassing.
|
|
4787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
4788
4815
|
*/
|
|
4789
4816
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4790
4817
|
/**
|
|
4791
4818
|
* Enforce no spaces between braces.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
4793
4820
|
*/
|
|
4794
4821
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4795
4822
|
/**
|
|
4796
4823
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
4798
4825
|
*/
|
|
4799
4826
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4800
4827
|
/**
|
|
4801
4828
|
* Require escape sequences to use uppercase values.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
4803
4830
|
*/
|
|
4804
4831
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4805
4832
|
/**
|
|
4806
4833
|
* Add expiration conditions to TODO comments.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
4808
4835
|
*/
|
|
4809
4836
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4810
4837
|
/**
|
|
4811
4838
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
4813
4840
|
*/
|
|
4814
4841
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4815
4842
|
/**
|
|
4816
4843
|
* Enforce a case style for filenames.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
4818
4845
|
*/
|
|
4819
4846
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4820
4847
|
/**
|
|
4821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
4822
4849
|
* @deprecated
|
|
4823
4850
|
*/
|
|
4824
4851
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4825
4852
|
/**
|
|
4826
4853
|
* Enforce specific import styles per module.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
4828
4855
|
*/
|
|
4829
4856
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4830
4857
|
/**
|
|
4831
4858
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
4833
4860
|
*/
|
|
4834
4861
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4835
4862
|
/**
|
|
4836
4863
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4838
4865
|
*/
|
|
4839
4866
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4840
4867
|
/**
|
|
4841
4868
|
* Disallow anonymous functions and classes as the default export.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
4843
4870
|
*/
|
|
4844
4871
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4845
4872
|
/**
|
|
4846
4873
|
* Prevent passing a function reference directly to iterator methods.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
4848
4875
|
*/
|
|
4849
4876
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4850
4877
|
/**
|
|
4851
4878
|
* Prefer `for…of` over the `forEach` method.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
4853
4880
|
*/
|
|
4854
4881
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4855
4882
|
/**
|
|
4856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
4857
4884
|
* @deprecated
|
|
4858
4885
|
*/
|
|
4859
4886
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4860
4887
|
/**
|
|
4861
4888
|
* Disallow using the `this` argument in array methods.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
4863
4890
|
*/
|
|
4864
4891
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4865
4892
|
/**
|
|
4866
4893
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
4868
4895
|
*/
|
|
4869
4896
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4870
4897
|
/**
|
|
4871
4898
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
4873
4900
|
*/
|
|
4874
4901
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4875
4902
|
/**
|
|
4876
4903
|
* Disallow member access from await expression.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
4878
4905
|
*/
|
|
4879
4906
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4880
4907
|
/**
|
|
4881
4908
|
* Disallow using `await` in `Promise` method parameters.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4883
4910
|
*/
|
|
4884
4911
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4885
4912
|
/**
|
|
4886
4913
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
4888
4915
|
*/
|
|
4889
4916
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4890
4917
|
/**
|
|
4891
4918
|
* Do not use `document.cookie` directly.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
4893
4920
|
*/
|
|
4894
4921
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4895
4922
|
/**
|
|
4896
4923
|
* Disallow empty files.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
4898
4925
|
*/
|
|
4899
4926
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4900
4927
|
/**
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4902
4929
|
* @deprecated
|
|
4903
4930
|
*/
|
|
4904
4931
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4905
4932
|
/**
|
|
4906
4933
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
4908
4935
|
*/
|
|
4909
4936
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4910
4937
|
/**
|
|
4911
4938
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
4913
4940
|
*/
|
|
4914
4941
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4915
4942
|
/**
|
|
4916
4943
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
4918
4945
|
*/
|
|
4919
4946
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4920
4947
|
/**
|
|
4921
4948
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4923
4950
|
*/
|
|
4924
4951
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4925
4952
|
/**
|
|
4926
4953
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4928
4955
|
*/
|
|
4929
4956
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4930
4957
|
/**
|
|
4931
4958
|
* Disallow identifiers starting with `new` or `class`.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
4933
4960
|
*/
|
|
4934
4961
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4935
4962
|
/**
|
|
4936
4963
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
4938
4965
|
*/
|
|
4939
4966
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4940
4967
|
/**
|
|
4941
4968
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
4943
4970
|
*/
|
|
4944
4971
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4945
4972
|
/**
|
|
4946
4973
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4948
4975
|
*/
|
|
4949
4976
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4950
4977
|
/**
|
|
4951
4978
|
* Disallow negated conditions.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
4953
4980
|
*/
|
|
4954
4981
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4955
4982
|
/**
|
|
4956
4983
|
* Disallow negated expression in equality check.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4958
4985
|
*/
|
|
4959
4986
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4960
4987
|
/**
|
|
4961
4988
|
* Disallow nested ternary expressions.
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
4963
4990
|
*/
|
|
4964
4991
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4965
4992
|
/**
|
|
4966
4993
|
* Disallow `new Array()`.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
4968
4995
|
*/
|
|
4969
4996
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4970
4997
|
/**
|
|
4971
4998
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
4973
5000
|
*/
|
|
4974
5001
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4975
5002
|
/**
|
|
4976
5003
|
* Disallow the use of the `null` literal.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
4978
5005
|
*/
|
|
4979
5006
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4980
5007
|
/**
|
|
4981
5008
|
* Disallow the use of objects as default parameters.
|
|
4982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4983
5010
|
*/
|
|
4984
5011
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4985
5012
|
/**
|
|
4986
5013
|
* Disallow `process.exit()`.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
4988
5015
|
*/
|
|
4989
5016
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4990
5017
|
/**
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5018
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
4992
5019
|
* @deprecated
|
|
4993
5020
|
*/
|
|
4994
5021
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4995
5022
|
/**
|
|
4996
5023
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4998
5025
|
*/
|
|
4999
5026
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5000
5027
|
/**
|
|
5001
5028
|
* Disallow classes that only have static members.
|
|
5002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
5003
5030
|
*/
|
|
5004
5031
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5005
5032
|
/**
|
|
5006
5033
|
* Disallow `then` property.
|
|
5007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
5008
5035
|
*/
|
|
5009
5036
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5010
5037
|
/**
|
|
5011
5038
|
* Disallow assigning `this` to a variable.
|
|
5012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
5013
5040
|
*/
|
|
5014
5041
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5015
5042
|
/**
|
|
5016
5043
|
* Disallow comparing `undefined` using `typeof`.
|
|
5017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
5018
5045
|
*/
|
|
5019
5046
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5020
5047
|
/**
|
|
5021
5048
|
* Disallow awaiting non-promise values.
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
5023
5050
|
*/
|
|
5024
5051
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5025
5052
|
/**
|
|
5026
5053
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5028
5055
|
*/
|
|
5029
5056
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5030
5057
|
/**
|
|
5031
5058
|
* Disallow unreadable array destructuring.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5033
5060
|
*/
|
|
5034
5061
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5035
5062
|
/**
|
|
5036
5063
|
* Disallow unreadable IIFEs.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
5038
5065
|
*/
|
|
5039
5066
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5040
5067
|
/**
|
|
5041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
5042
5069
|
* @deprecated
|
|
5043
5070
|
*/
|
|
5044
5071
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5045
5072
|
/**
|
|
5046
5073
|
* Disallow unused object properties.
|
|
5047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
5048
5075
|
*/
|
|
5049
5076
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5050
5077
|
/**
|
|
5051
5078
|
* Disallow useless fallback when spreading in object literals.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5053
5080
|
*/
|
|
5054
5081
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5055
5082
|
/**
|
|
5056
5083
|
* Disallow useless array length check.
|
|
5057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
5058
5085
|
*/
|
|
5059
5086
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5060
5087
|
/**
|
|
5061
5088
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5063
5090
|
*/
|
|
5064
5091
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5065
5092
|
/**
|
|
5066
5093
|
* Disallow unnecessary spread.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
5068
5095
|
*/
|
|
5069
5096
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5070
5097
|
/**
|
|
5071
5098
|
* Disallow useless case in switch statements.
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
5073
5100
|
*/
|
|
5074
5101
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5075
5102
|
/**
|
|
5076
5103
|
* Disallow useless `undefined`.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
5078
5105
|
*/
|
|
5079
5106
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5080
5107
|
/**
|
|
5081
5108
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
5083
5110
|
*/
|
|
5084
5111
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5085
5112
|
/**
|
|
5086
5113
|
* Enforce proper case for numeric literals.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
5088
5115
|
*/
|
|
5089
5116
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5090
5117
|
/**
|
|
5091
5118
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
5093
5120
|
*/
|
|
5094
5121
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5095
5122
|
/**
|
|
5096
5123
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
5098
5125
|
*/
|
|
5099
5126
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5100
5127
|
/**
|
|
5101
5128
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
5103
5130
|
*/
|
|
5104
5131
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5105
5132
|
/**
|
|
5106
5133
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
5108
5135
|
*/
|
|
5109
5136
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5110
5137
|
/**
|
|
5111
5138
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
5113
5140
|
*/
|
|
5114
5141
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5115
5142
|
/**
|
|
5116
5143
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
5118
5145
|
*/
|
|
5119
5146
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5120
5147
|
/**
|
|
5121
5148
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
5123
5150
|
*/
|
|
5124
5151
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5125
5152
|
/**
|
|
5126
5153
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
5128
5155
|
*/
|
|
5129
5156
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5130
5157
|
/**
|
|
5131
5158
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5133
5160
|
*/
|
|
5134
5161
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5135
5162
|
/**
|
|
5136
5163
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
5138
5165
|
*/
|
|
5139
5166
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5140
5167
|
/**
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
5142
5169
|
* @deprecated
|
|
5143
5170
|
*/
|
|
5144
5171
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5145
5172
|
/**
|
|
5146
5173
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
5148
5175
|
*/
|
|
5149
5176
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5150
5177
|
/**
|
|
5151
5178
|
* Prefer default parameters over reassignment.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
5153
5180
|
*/
|
|
5154
5181
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5155
5182
|
/**
|
|
5156
5183
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
5158
5185
|
*/
|
|
5159
5186
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5160
5187
|
/**
|
|
5161
5188
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5163
5190
|
*/
|
|
5164
5191
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5165
5192
|
/**
|
|
5166
5193
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5168
5195
|
*/
|
|
5169
5196
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5170
5197
|
/**
|
|
5171
5198
|
* Prefer `.textContent` over `.innerText`.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5173
5200
|
*/
|
|
5174
5201
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5175
5202
|
/**
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
5177
5204
|
* @deprecated
|
|
5178
5205
|
*/
|
|
5179
5206
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5180
5207
|
/**
|
|
5181
5208
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
5183
5210
|
*/
|
|
5184
5211
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5185
5212
|
/**
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5213
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5187
5214
|
* @deprecated
|
|
5188
5215
|
*/
|
|
5189
5216
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5190
5217
|
/**
|
|
5191
5218
|
* Prefer `export…from` when re-exporting.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
5193
5220
|
*/
|
|
5194
5221
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5195
5222
|
/**
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5223
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
5197
5224
|
* @deprecated
|
|
5198
5225
|
*/
|
|
5199
5226
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5200
5227
|
/**
|
|
5201
5228
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
5203
5230
|
*/
|
|
5204
5231
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5205
5232
|
/**
|
|
5206
5233
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
5208
5235
|
*/
|
|
5209
5236
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5210
5237
|
/**
|
|
5211
5238
|
* Prefer reading a JSON file as a buffer.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5213
5240
|
*/
|
|
5214
5241
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5215
5242
|
/**
|
|
5216
5243
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5218
5245
|
*/
|
|
5219
5246
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5220
5247
|
/**
|
|
5221
5248
|
* Prefer using a logical operator over a ternary.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5223
5250
|
*/
|
|
5224
5251
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5225
5252
|
/**
|
|
5226
5253
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
5228
5255
|
*/
|
|
5229
5256
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5230
5257
|
/**
|
|
5231
5258
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
5233
5260
|
*/
|
|
5234
5261
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5235
5262
|
/**
|
|
5236
5263
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5238
5265
|
*/
|
|
5239
5266
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5240
5267
|
/**
|
|
5241
5268
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5243
5270
|
*/
|
|
5244
5271
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5245
5272
|
/**
|
|
5246
5273
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
5248
5275
|
*/
|
|
5249
5276
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5250
5277
|
/**
|
|
5251
5278
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5253
5280
|
*/
|
|
5254
5281
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5255
5282
|
/**
|
|
5256
5283
|
* Prefer negative index over `.length - index` when possible.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
5258
5285
|
*/
|
|
5259
5286
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5260
5287
|
/**
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5288
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
5262
5289
|
* @deprecated
|
|
5263
5290
|
*/
|
|
5264
5291
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5265
5292
|
/**
|
|
5266
5293
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
5268
5295
|
*/
|
|
5269
5296
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5270
5297
|
/**
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5298
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
5272
5299
|
* @deprecated
|
|
5273
5300
|
*/
|
|
5274
5301
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5275
5302
|
/**
|
|
5276
5303
|
* Prefer `Number` static properties over global ones.
|
|
5277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
5278
5305
|
*/
|
|
5279
5306
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5280
5307
|
/**
|
|
5281
5308
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
5283
5310
|
*/
|
|
5284
5311
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5285
5312
|
/**
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
5287
5314
|
* @deprecated
|
|
5288
5315
|
*/
|
|
5289
5316
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5290
5317
|
/**
|
|
5291
5318
|
* Prefer omitting the `catch` binding parameter.
|
|
5292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5293
5320
|
*/
|
|
5294
5321
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5295
5322
|
/**
|
|
5296
5323
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
5298
5325
|
*/
|
|
5299
5326
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5300
5327
|
/**
|
|
5301
5328
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
5303
5330
|
*/
|
|
5304
5331
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5305
5332
|
/**
|
|
5306
5333
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
5308
5335
|
*/
|
|
5309
5336
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5310
5337
|
/**
|
|
5311
5338
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
5313
5340
|
*/
|
|
5314
5341
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5315
5342
|
/**
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5343
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
5317
5344
|
* @deprecated
|
|
5318
5345
|
*/
|
|
5319
5346
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5320
5347
|
/**
|
|
5321
5348
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
5323
5350
|
*/
|
|
5324
5351
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5325
5352
|
/**
|
|
5326
5353
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
5328
5355
|
*/
|
|
5329
5356
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5330
5357
|
/**
|
|
5331
5358
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
5333
5360
|
*/
|
|
5334
5361
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5335
5362
|
/**
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5337
5364
|
* @deprecated
|
|
5338
5365
|
*/
|
|
5339
5366
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5340
5367
|
/**
|
|
5341
5368
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
5343
5370
|
*/
|
|
5344
5371
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5345
5372
|
/**
|
|
5346
5373
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
5348
5375
|
*/
|
|
5349
5376
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5350
5377
|
/**
|
|
5351
5378
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
5353
5380
|
*/
|
|
5354
5381
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5355
5382
|
/**
|
|
5356
5383
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5358
5385
|
*/
|
|
5359
5386
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5360
5387
|
/**
|
|
5361
5388
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5363
5390
|
*/
|
|
5364
5391
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5365
5392
|
/**
|
|
5366
5393
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
5368
5395
|
*/
|
|
5369
5396
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5370
5397
|
/**
|
|
5371
5398
|
* Prefer `switch` over multiple `else-if`.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
5373
5400
|
*/
|
|
5374
5401
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5375
5402
|
/**
|
|
5376
5403
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
5378
5405
|
*/
|
|
5379
5406
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5380
5407
|
/**
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
5382
5409
|
* @deprecated
|
|
5383
5410
|
*/
|
|
5384
5411
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5385
5412
|
/**
|
|
5386
5413
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
5388
5415
|
*/
|
|
5389
5416
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5390
5417
|
/**
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5392
5419
|
* @deprecated
|
|
5393
5420
|
*/
|
|
5394
5421
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5395
5422
|
/**
|
|
5396
5423
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
5398
5425
|
*/
|
|
5399
5426
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5400
5427
|
/**
|
|
5401
5428
|
* Prevent abbreviations.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
5403
5430
|
*/
|
|
5404
5431
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5405
5432
|
/**
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5433
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
5407
5434
|
* @deprecated
|
|
5408
5435
|
*/
|
|
5409
5436
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5410
5437
|
/**
|
|
5411
5438
|
* Enforce consistent relative URL style.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
5413
5440
|
*/
|
|
5414
5441
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5415
5442
|
/**
|
|
5416
5443
|
* Enforce using the separator argument with `Array#join()`.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
5418
5445
|
*/
|
|
5419
5446
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5420
5447
|
/**
|
|
5421
5448
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5423
5450
|
*/
|
|
5424
5451
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5425
5452
|
/**
|
|
5426
5453
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
5428
5455
|
*/
|
|
5429
5456
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5430
5457
|
/**
|
|
5431
5458
|
* Enforce better string content.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
5433
5460
|
*/
|
|
5434
5461
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5435
5462
|
/**
|
|
5436
5463
|
* Enforce consistent brace style for `case` clauses.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
5438
5465
|
*/
|
|
5439
5466
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5440
5467
|
/**
|
|
5441
5468
|
* Fix whitespace-insensitive template indentation.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
5443
5470
|
*/
|
|
5444
5471
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5445
5472
|
/**
|
|
5446
5473
|
* Enforce consistent case for text encoding identifiers.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5448
5475
|
*/
|
|
5449
5476
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5450
5477
|
/**
|
|
5451
5478
|
* Require `new` when creating an error.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
5453
5480
|
*/
|
|
5454
5481
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5455
5482
|
/**
|
|
@@ -5947,7 +5974,7 @@ interface RuleOptions {
|
|
|
5947
5974
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
5948
5975
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
5949
5976
|
*/
|
|
5950
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
5977
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
5951
5978
|
/**
|
|
5952
5979
|
* disallow duplication of attributes
|
|
5953
5980
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -6391,6 +6418,11 @@ interface RuleOptions {
|
|
|
6391
6418
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
6392
6419
|
*/
|
|
6393
6420
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
6421
|
+
/**
|
|
6422
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
6423
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
6424
|
+
*/
|
|
6425
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
6394
6426
|
/**
|
|
6395
6427
|
* enforce specific casing for the Prop name in Vue components
|
|
6396
6428
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -6501,6 +6533,11 @@ interface RuleOptions {
|
|
|
6501
6533
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
6502
6534
|
*/
|
|
6503
6535
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
6536
|
+
/**
|
|
6537
|
+
* enforce using only specific component names
|
|
6538
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
6539
|
+
*/
|
|
6540
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
6504
6541
|
/**
|
|
6505
6542
|
* enforce that a return statement is present in computed property
|
|
6506
6543
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -6527,6 +6564,11 @@ interface RuleOptions {
|
|
|
6527
6564
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
6528
6565
|
*/
|
|
6529
6566
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
6567
|
+
/**
|
|
6568
|
+
* enforce specific casing for slot names
|
|
6569
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
6570
|
+
*/
|
|
6571
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
6530
6572
|
/**
|
|
6531
6573
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
6532
6574
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -7032,17 +7074,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7032
7074
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7033
7075
|
}
|
|
7034
7076
|
ignorePackages?: boolean
|
|
7077
|
+
checkTypeImports?: boolean
|
|
7035
7078
|
[k: string]: unknown | undefined
|
|
7036
7079
|
}] | []|[{
|
|
7037
7080
|
pattern?: {
|
|
7038
7081
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7039
7082
|
}
|
|
7040
7083
|
ignorePackages?: boolean
|
|
7084
|
+
checkTypeImports?: boolean
|
|
7041
7085
|
[k: string]: unknown | undefined
|
|
7042
|
-
}] | []|[{
|
|
7043
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7044
7086
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7045
7087
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7088
|
+
}] | []|[{
|
|
7089
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7046
7090
|
}])
|
|
7047
7091
|
// ----- import/first -----
|
|
7048
7092
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -7429,6 +7473,7 @@ type JsdocInformativeDocs = []|[{
|
|
|
7429
7473
|
}]
|
|
7430
7474
|
// ----- jsdoc/lines-before-block -----
|
|
7431
7475
|
type JsdocLinesBeforeBlock = []|[{
|
|
7476
|
+
checkBlockStarts?: boolean
|
|
7432
7477
|
excludedTags?: string[]
|
|
7433
7478
|
ignoreSameLine?: boolean
|
|
7434
7479
|
lines?: number
|
|
@@ -9050,6 +9095,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9050
9095
|
// ----- node/no-sync -----
|
|
9051
9096
|
type NodeNoSync = []|[{
|
|
9052
9097
|
allowAtRootLevel?: boolean
|
|
9098
|
+
ignores?: string[]
|
|
9053
9099
|
}]
|
|
9054
9100
|
// ----- node/no-unpublished-bin -----
|
|
9055
9101
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9131,7 +9177,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9131
9177
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9132
9178
|
version?: string
|
|
9133
9179
|
allowExperimental?: boolean
|
|
9134
|
-
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" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.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.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "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.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "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.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.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.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.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.getCallSite" | "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.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
9180
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
9135
9181
|
}]
|
|
9136
9182
|
// ----- node/prefer-global/buffer -----
|
|
9137
9183
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9274,61 +9320,30 @@ type PaddingLineBetweenStatements = {
|
|
|
9274
9320
|
// ----- perfectionist/sort-array-includes -----
|
|
9275
9321
|
type PerfectionistSortArrayIncludes = []|[{
|
|
9276
9322
|
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
order?: ("asc" | "desc")
|
|
9280
|
-
|
|
9281
|
-
matcher?: ("minimatch" | "regex")
|
|
9282
|
-
|
|
9283
|
-
ignoreCase?: boolean
|
|
9284
|
-
|
|
9285
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9323
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9286
9324
|
|
|
9287
9325
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9288
9326
|
|
|
9289
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9290
|
-
|
|
9291
9327
|
partitionByNewLine?: boolean
|
|
9292
|
-
}]
|
|
9293
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
9294
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
9295
|
-
|
|
9296
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9297
9328
|
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
matcher?: ("minimatch" | "regex")
|
|
9329
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9301
9330
|
|
|
9302
9331
|
ignoreCase?: boolean
|
|
9303
9332
|
|
|
9304
|
-
|
|
9333
|
+
locales?: (string | string[])
|
|
9305
9334
|
|
|
9306
|
-
|
|
9335
|
+
order?: ("asc" | "desc")
|
|
9307
9336
|
|
|
9308
|
-
|
|
9309
|
-
[k: string]: (string | string[]) | undefined
|
|
9310
|
-
}
|
|
9337
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9311
9338
|
}]
|
|
9312
9339
|
// ----- perfectionist/sort-classes -----
|
|
9313
9340
|
type PerfectionistSortClasses = []|[{
|
|
9314
9341
|
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
order?: ("asc" | "desc")
|
|
9318
|
-
|
|
9319
|
-
matcher?: ("minimatch" | "regex")
|
|
9320
|
-
|
|
9321
|
-
ignoreCase?: boolean
|
|
9322
|
-
|
|
9323
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9342
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
9324
9343
|
|
|
9325
9344
|
partitionByComment?: (string[] | boolean | string)
|
|
9326
9345
|
|
|
9327
|
-
groups?: (string | string[])[]
|
|
9328
|
-
|
|
9329
9346
|
customGroups?: ({
|
|
9330
|
-
[k: string]: (string | string[]) | undefined
|
|
9331
|
-
} | ({
|
|
9332
9347
|
|
|
9333
9348
|
groupName?: string
|
|
9334
9349
|
|
|
@@ -9337,15 +9352,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
9337
9352
|
order?: ("desc" | "asc")
|
|
9338
9353
|
anyOf?: {
|
|
9339
9354
|
|
|
9340
|
-
|
|
9355
|
+
elementValuePattern?: string
|
|
9341
9356
|
|
|
9342
|
-
|
|
9357
|
+
decoratorNamePattern?: string
|
|
9343
9358
|
|
|
9344
|
-
|
|
9359
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9345
9360
|
|
|
9346
|
-
|
|
9361
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9347
9362
|
|
|
9348
|
-
|
|
9363
|
+
elementNamePattern?: string
|
|
9349
9364
|
}[]
|
|
9350
9365
|
} | {
|
|
9351
9366
|
|
|
@@ -9355,380 +9370,546 @@ type PerfectionistSortClasses = []|[{
|
|
|
9355
9370
|
|
|
9356
9371
|
order?: ("desc" | "asc")
|
|
9357
9372
|
|
|
9358
|
-
|
|
9373
|
+
elementValuePattern?: string
|
|
9359
9374
|
|
|
9360
|
-
|
|
9375
|
+
decoratorNamePattern?: string
|
|
9361
9376
|
|
|
9362
|
-
|
|
9377
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9363
9378
|
|
|
9364
|
-
|
|
9379
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9365
9380
|
|
|
9366
|
-
|
|
9367
|
-
})[]
|
|
9368
|
-
}]
|
|
9369
|
-
// ----- perfectionist/sort-enums -----
|
|
9370
|
-
type PerfectionistSortEnums = []|[{
|
|
9381
|
+
elementNamePattern?: string
|
|
9382
|
+
})[]
|
|
9371
9383
|
|
|
9372
|
-
|
|
9384
|
+
partitionByNewLine?: boolean
|
|
9373
9385
|
|
|
9374
|
-
|
|
9386
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9375
9387
|
|
|
9376
|
-
|
|
9388
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9377
9389
|
|
|
9378
9390
|
ignoreCase?: boolean
|
|
9379
9391
|
|
|
9380
|
-
|
|
9392
|
+
locales?: (string | string[])
|
|
9381
9393
|
|
|
9382
|
-
|
|
9394
|
+
groups?: (string | string[])[]
|
|
9383
9395
|
|
|
9384
|
-
|
|
9396
|
+
order?: ("asc" | "desc")
|
|
9397
|
+
|
|
9398
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9399
|
+
}]
|
|
9400
|
+
// ----- perfectionist/sort-decorators -----
|
|
9401
|
+
type PerfectionistSortDecorators = []|[{
|
|
9385
9402
|
|
|
9386
9403
|
partitionByComment?: (string[] | boolean | string)
|
|
9387
9404
|
|
|
9388
|
-
|
|
9389
|
-
}]
|
|
9390
|
-
// ----- perfectionist/sort-exports -----
|
|
9391
|
-
type PerfectionistSortExports = []|[{
|
|
9405
|
+
sortOnParameters?: boolean
|
|
9392
9406
|
|
|
9393
|
-
|
|
9407
|
+
sortOnProperties?: boolean
|
|
9394
9408
|
|
|
9395
|
-
|
|
9409
|
+
sortOnAccessors?: boolean
|
|
9396
9410
|
|
|
9397
|
-
|
|
9411
|
+
sortOnMethods?: boolean
|
|
9398
9412
|
|
|
9399
|
-
|
|
9413
|
+
sortOnClasses?: boolean
|
|
9400
9414
|
|
|
9401
9415
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9402
9416
|
|
|
9403
|
-
|
|
9417
|
+
customGroups?: {
|
|
9418
|
+
[k: string]: (string | string[]) | undefined
|
|
9419
|
+
}
|
|
9404
9420
|
|
|
9405
|
-
|
|
9421
|
+
ignoreCase?: boolean
|
|
9406
9422
|
|
|
9407
|
-
|
|
9408
|
-
}]
|
|
9409
|
-
// ----- perfectionist/sort-imports -----
|
|
9410
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9411
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9423
|
+
locales?: (string | string[])
|
|
9412
9424
|
|
|
9413
|
-
|
|
9425
|
+
groups?: (string | string[])[]
|
|
9414
9426
|
|
|
9415
9427
|
order?: ("asc" | "desc")
|
|
9416
9428
|
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9429
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9430
|
+
}]
|
|
9431
|
+
// ----- perfectionist/sort-enums -----
|
|
9432
|
+
type PerfectionistSortEnums = []|[{
|
|
9420
9433
|
|
|
9421
|
-
|
|
9434
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9422
9435
|
|
|
9423
|
-
|
|
9436
|
+
forceNumericSort?: boolean
|
|
9424
9437
|
|
|
9425
|
-
|
|
9438
|
+
sortByValue?: boolean
|
|
9426
9439
|
|
|
9427
|
-
|
|
9440
|
+
partitionByNewLine?: boolean
|
|
9428
9441
|
|
|
9429
|
-
|
|
9442
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9430
9443
|
|
|
9431
|
-
|
|
9444
|
+
ignoreCase?: boolean
|
|
9432
9445
|
|
|
9433
|
-
|
|
9434
|
-
type?: {
|
|
9435
|
-
[k: string]: unknown | undefined
|
|
9436
|
-
}
|
|
9437
|
-
value?: {
|
|
9438
|
-
[k: string]: unknown | undefined
|
|
9439
|
-
}
|
|
9440
|
-
}
|
|
9446
|
+
locales?: (string | string[])
|
|
9441
9447
|
|
|
9442
|
-
|
|
9443
|
-
})
|
|
9444
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9445
|
-
[k: string]: unknown | undefined
|
|
9446
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
9447
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
9448
|
-
type: "line-length"
|
|
9449
|
-
[k: string]: unknown | undefined
|
|
9450
|
-
}
|
|
9451
|
-
// ----- perfectionist/sort-interfaces -----
|
|
9452
|
-
type PerfectionistSortInterfaces = []|[{
|
|
9448
|
+
order?: ("asc" | "desc")
|
|
9453
9449
|
|
|
9454
9450
|
type?: ("alphabetical" | "natural" | "line-length")
|
|
9451
|
+
}]
|
|
9452
|
+
// ----- perfectionist/sort-exports -----
|
|
9453
|
+
type PerfectionistSortExports = []|[{
|
|
9455
9454
|
|
|
9456
|
-
|
|
9455
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9457
9456
|
|
|
9458
|
-
|
|
9457
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9459
9458
|
|
|
9460
|
-
|
|
9459
|
+
partitionByNewLine?: boolean
|
|
9461
9460
|
|
|
9462
9461
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9463
9462
|
|
|
9464
|
-
|
|
9463
|
+
ignoreCase?: boolean
|
|
9465
9464
|
|
|
9466
|
-
|
|
9465
|
+
locales?: (string | string[])
|
|
9467
9466
|
|
|
9468
|
-
|
|
9467
|
+
order?: ("asc" | "desc")
|
|
9469
9468
|
|
|
9470
|
-
|
|
9469
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9470
|
+
}]
|
|
9471
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
9472
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
9471
9473
|
|
|
9472
|
-
|
|
9474
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9473
9475
|
|
|
9474
9476
|
customGroups?: {
|
|
9475
9477
|
[k: string]: (string | string[]) | undefined
|
|
9476
9478
|
}
|
|
9477
|
-
}]
|
|
9478
|
-
// ----- perfectionist/sort-intersection-types -----
|
|
9479
|
-
type PerfectionistSortIntersectionTypes = []|[{
|
|
9480
|
-
|
|
9481
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9482
|
-
|
|
9483
|
-
order?: ("asc" | "desc")
|
|
9484
|
-
|
|
9485
|
-
matcher?: ("minimatch" | "regex")
|
|
9486
9479
|
|
|
9487
9480
|
ignoreCase?: boolean
|
|
9488
9481
|
|
|
9489
|
-
|
|
9482
|
+
locales?: (string | string[])
|
|
9490
9483
|
|
|
9491
9484
|
groups?: (string | string[])[]
|
|
9492
9485
|
|
|
9493
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9494
|
-
|
|
9495
|
-
partitionByNewLine?: boolean
|
|
9496
|
-
}]
|
|
9497
|
-
// ----- perfectionist/sort-jsx-props -----
|
|
9498
|
-
type PerfectionistSortJsxProps = []|[{
|
|
9499
|
-
|
|
9500
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9501
|
-
|
|
9502
9486
|
order?: ("asc" | "desc")
|
|
9503
9487
|
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
ignorePattern?: string[]
|
|
9511
|
-
|
|
9512
|
-
groups?: (string | string[])[]
|
|
9488
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9489
|
+
}]
|
|
9490
|
+
// ----- perfectionist/sort-imports -----
|
|
9491
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9492
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9513
9493
|
|
|
9514
9494
|
customGroups?: {
|
|
9515
|
-
|
|
9495
|
+
|
|
9496
|
+
value?: {
|
|
9497
|
+
[k: string]: unknown | undefined
|
|
9498
|
+
}
|
|
9499
|
+
|
|
9500
|
+
type?: {
|
|
9501
|
+
[k: string]: unknown | undefined
|
|
9502
|
+
}
|
|
9516
9503
|
}
|
|
9517
|
-
}]
|
|
9518
|
-
// ----- perfectionist/sort-maps -----
|
|
9519
|
-
type PerfectionistSortMaps = []|[{
|
|
9520
9504
|
|
|
9521
|
-
|
|
9505
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9522
9506
|
|
|
9523
|
-
|
|
9507
|
+
internalPattern?: string[]
|
|
9524
9508
|
|
|
9525
|
-
|
|
9509
|
+
maxLineLength?: number
|
|
9526
9510
|
|
|
9527
|
-
|
|
9511
|
+
sortSideEffects?: boolean
|
|
9528
9512
|
|
|
9529
|
-
|
|
9513
|
+
environment?: ("node" | "bun")
|
|
9530
9514
|
|
|
9531
|
-
|
|
9515
|
+
tsconfigRootDir?: string
|
|
9532
9516
|
|
|
9533
9517
|
partitionByNewLine?: boolean
|
|
9534
|
-
}]
|
|
9535
|
-
// ----- perfectionist/sort-named-exports -----
|
|
9536
|
-
type PerfectionistSortNamedExports = []|[{
|
|
9537
|
-
|
|
9538
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9539
|
-
|
|
9540
|
-
order?: ("asc" | "desc")
|
|
9541
|
-
|
|
9542
|
-
matcher?: ("minimatch" | "regex")
|
|
9543
|
-
|
|
9544
|
-
ignoreCase?: boolean
|
|
9545
9518
|
|
|
9546
9519
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9547
9520
|
|
|
9548
|
-
|
|
9521
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9549
9522
|
|
|
9550
|
-
|
|
9523
|
+
ignoreCase?: boolean
|
|
9551
9524
|
|
|
9552
|
-
|
|
9553
|
-
}]
|
|
9554
|
-
// ----- perfectionist/sort-named-imports -----
|
|
9555
|
-
type PerfectionistSortNamedImports = []|[{
|
|
9525
|
+
locales?: (string | string[])
|
|
9556
9526
|
|
|
9557
|
-
|
|
9527
|
+
groups?: (string | string[])[]
|
|
9558
9528
|
|
|
9559
9529
|
order?: ("asc" | "desc")
|
|
9560
9530
|
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9531
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9532
|
+
})
|
|
9533
|
+
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9534
|
+
[k: string]: unknown | undefined
|
|
9535
|
+
} | _PerfectionistSortImports_IsLineLength)
|
|
9536
|
+
interface _PerfectionistSortImports_IsLineLength {
|
|
9537
|
+
type: "line-length"
|
|
9538
|
+
[k: string]: unknown | undefined
|
|
9539
|
+
}
|
|
9540
|
+
// ----- perfectionist/sort-interfaces -----
|
|
9541
|
+
type PerfectionistSortInterfaces = []|[{
|
|
9568
9542
|
|
|
9569
|
-
|
|
9543
|
+
ignorePattern?: string[]
|
|
9570
9544
|
|
|
9571
9545
|
partitionByComment?: (string[] | boolean | string)
|
|
9546
|
+
customGroups?: ({
|
|
9547
|
+
[k: string]: (string | string[]) | undefined
|
|
9548
|
+
} | ({
|
|
9549
|
+
|
|
9550
|
+
groupName?: string
|
|
9551
|
+
|
|
9552
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9553
|
+
|
|
9554
|
+
order?: ("desc" | "asc")
|
|
9555
|
+
anyOf?: {
|
|
9556
|
+
|
|
9557
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9558
|
+
|
|
9559
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9560
|
+
|
|
9561
|
+
elementNamePattern?: string
|
|
9562
|
+
}[]
|
|
9563
|
+
} | {
|
|
9564
|
+
|
|
9565
|
+
groupName?: string
|
|
9566
|
+
|
|
9567
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9568
|
+
|
|
9569
|
+
order?: ("desc" | "asc")
|
|
9570
|
+
|
|
9571
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9572
|
+
|
|
9573
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9574
|
+
|
|
9575
|
+
elementNamePattern?: string
|
|
9576
|
+
})[])
|
|
9572
9577
|
|
|
9573
|
-
|
|
9574
|
-
}]
|
|
9575
|
-
// ----- perfectionist/sort-object-types -----
|
|
9576
|
-
type PerfectionistSortObjectTypes = []|[{
|
|
9578
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9577
9579
|
|
|
9578
|
-
|
|
9580
|
+
partitionByNewLine?: boolean
|
|
9579
9581
|
|
|
9580
|
-
|
|
9582
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9581
9583
|
|
|
9582
|
-
|
|
9584
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9583
9585
|
|
|
9584
9586
|
ignoreCase?: boolean
|
|
9585
9587
|
|
|
9586
|
-
|
|
9588
|
+
locales?: (string | string[])
|
|
9589
|
+
|
|
9590
|
+
groups?: (string | string[])[]
|
|
9591
|
+
|
|
9592
|
+
order?: ("asc" | "desc")
|
|
9593
|
+
|
|
9594
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9595
|
+
}]
|
|
9596
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
9597
|
+
type PerfectionistSortIntersectionTypes = []|[{
|
|
9587
9598
|
|
|
9588
9599
|
partitionByComment?: (string[] | boolean | string)
|
|
9589
9600
|
|
|
9590
9601
|
partitionByNewLine?: boolean
|
|
9591
9602
|
|
|
9592
|
-
|
|
9603
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9604
|
+
|
|
9605
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9606
|
+
|
|
9607
|
+
ignoreCase?: boolean
|
|
9608
|
+
|
|
9609
|
+
locales?: (string | string[])
|
|
9593
9610
|
|
|
9594
9611
|
groups?: (string | string[])[]
|
|
9595
9612
|
|
|
9613
|
+
order?: ("asc" | "desc")
|
|
9614
|
+
|
|
9615
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9616
|
+
}]
|
|
9617
|
+
// ----- perfectionist/sort-jsx-props -----
|
|
9618
|
+
type PerfectionistSortJsxProps = []|[{
|
|
9619
|
+
|
|
9620
|
+
ignorePattern?: string[]
|
|
9621
|
+
|
|
9622
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9623
|
+
|
|
9596
9624
|
customGroups?: {
|
|
9597
9625
|
[k: string]: (string | string[]) | undefined
|
|
9598
9626
|
}
|
|
9599
|
-
}]
|
|
9600
|
-
// ----- perfectionist/sort-objects -----
|
|
9601
|
-
type PerfectionistSortObjects = []|[{
|
|
9602
9627
|
|
|
9603
|
-
|
|
9628
|
+
ignoreCase?: boolean
|
|
9629
|
+
|
|
9630
|
+
locales?: (string | string[])
|
|
9631
|
+
|
|
9632
|
+
groups?: (string | string[])[]
|
|
9604
9633
|
|
|
9605
9634
|
order?: ("asc" | "desc")
|
|
9606
9635
|
|
|
9607
|
-
|
|
9636
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9637
|
+
}]
|
|
9638
|
+
// ----- perfectionist/sort-maps -----
|
|
9639
|
+
type PerfectionistSortMaps = []|[{
|
|
9608
9640
|
|
|
9609
|
-
|
|
9641
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9642
|
+
|
|
9643
|
+
partitionByNewLine?: boolean
|
|
9610
9644
|
|
|
9611
9645
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9612
9646
|
|
|
9647
|
+
ignoreCase?: boolean
|
|
9648
|
+
|
|
9649
|
+
locales?: (string | string[])
|
|
9650
|
+
|
|
9651
|
+
order?: ("asc" | "desc")
|
|
9652
|
+
|
|
9653
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9654
|
+
}]
|
|
9655
|
+
// ----- perfectionist/sort-modules -----
|
|
9656
|
+
type PerfectionistSortModules = []|[{
|
|
9657
|
+
|
|
9613
9658
|
partitionByComment?: (string[] | boolean | string)
|
|
9614
9659
|
|
|
9660
|
+
customGroups?: ({
|
|
9661
|
+
|
|
9662
|
+
groupName?: string
|
|
9663
|
+
|
|
9664
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9665
|
+
|
|
9666
|
+
order?: ("desc" | "asc")
|
|
9667
|
+
anyOf?: {
|
|
9668
|
+
|
|
9669
|
+
decoratorNamePattern?: string
|
|
9670
|
+
|
|
9671
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
9672
|
+
|
|
9673
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9674
|
+
|
|
9675
|
+
elementNamePattern?: string
|
|
9676
|
+
}[]
|
|
9677
|
+
} | {
|
|
9678
|
+
|
|
9679
|
+
groupName?: string
|
|
9680
|
+
|
|
9681
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9682
|
+
|
|
9683
|
+
order?: ("desc" | "asc")
|
|
9684
|
+
|
|
9685
|
+
decoratorNamePattern?: string
|
|
9686
|
+
|
|
9687
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
9688
|
+
|
|
9689
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9690
|
+
|
|
9691
|
+
elementNamePattern?: string
|
|
9692
|
+
})[]
|
|
9693
|
+
|
|
9615
9694
|
partitionByNewLine?: boolean
|
|
9616
9695
|
|
|
9617
|
-
|
|
9696
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9618
9697
|
|
|
9619
|
-
|
|
9698
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9620
9699
|
|
|
9621
|
-
|
|
9700
|
+
ignoreCase?: boolean
|
|
9701
|
+
|
|
9702
|
+
locales?: (string | string[])
|
|
9622
9703
|
|
|
9623
9704
|
groups?: (string | string[])[]
|
|
9624
9705
|
|
|
9625
|
-
|
|
9626
|
-
[k: string]: (string | string[]) | undefined
|
|
9627
|
-
}
|
|
9628
|
-
}]
|
|
9629
|
-
// ----- perfectionist/sort-sets -----
|
|
9630
|
-
type PerfectionistSortSets = []|[{
|
|
9706
|
+
order?: ("asc" | "desc")
|
|
9631
9707
|
|
|
9632
9708
|
type?: ("alphabetical" | "natural" | "line-length")
|
|
9709
|
+
}]
|
|
9710
|
+
// ----- perfectionist/sort-named-exports -----
|
|
9711
|
+
type PerfectionistSortNamedExports = []|[{
|
|
9633
9712
|
|
|
9634
|
-
|
|
9713
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9635
9714
|
|
|
9636
|
-
|
|
9715
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9637
9716
|
|
|
9638
|
-
|
|
9717
|
+
partitionByNewLine?: boolean
|
|
9639
9718
|
|
|
9640
9719
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9641
9720
|
|
|
9642
|
-
|
|
9721
|
+
ignoreCase?: boolean
|
|
9722
|
+
|
|
9723
|
+
locales?: (string | string[])
|
|
9724
|
+
|
|
9725
|
+
order?: ("asc" | "desc")
|
|
9726
|
+
|
|
9727
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9728
|
+
}]
|
|
9729
|
+
// ----- perfectionist/sort-named-imports -----
|
|
9730
|
+
type PerfectionistSortNamedImports = []|[{
|
|
9643
9731
|
|
|
9644
9732
|
partitionByComment?: (string[] | boolean | string)
|
|
9645
9733
|
|
|
9734
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9735
|
+
|
|
9736
|
+
ignoreAlias?: boolean
|
|
9737
|
+
|
|
9646
9738
|
partitionByNewLine?: boolean
|
|
9647
|
-
}]
|
|
9648
|
-
// ----- perfectionist/sort-svelte-attributes -----
|
|
9649
|
-
type PerfectionistSortSvelteAttributes = []|[{
|
|
9650
9739
|
|
|
9651
|
-
|
|
9740
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9741
|
+
|
|
9742
|
+
ignoreCase?: boolean
|
|
9743
|
+
|
|
9744
|
+
locales?: (string | string[])
|
|
9652
9745
|
|
|
9653
9746
|
order?: ("asc" | "desc")
|
|
9654
9747
|
|
|
9655
|
-
|
|
9748
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9749
|
+
}]
|
|
9750
|
+
// ----- perfectionist/sort-object-types -----
|
|
9751
|
+
type PerfectionistSortObjectTypes = []|[{
|
|
9752
|
+
|
|
9753
|
+
ignorePattern?: string[]
|
|
9656
9754
|
|
|
9657
|
-
|
|
9755
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9756
|
+
customGroups?: ({
|
|
9757
|
+
[k: string]: (string | string[]) | undefined
|
|
9758
|
+
} | ({
|
|
9759
|
+
|
|
9760
|
+
groupName?: string
|
|
9761
|
+
|
|
9762
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9763
|
+
|
|
9764
|
+
order?: ("desc" | "asc")
|
|
9765
|
+
anyOf?: {
|
|
9766
|
+
|
|
9767
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9768
|
+
|
|
9769
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9770
|
+
|
|
9771
|
+
elementNamePattern?: string
|
|
9772
|
+
}[]
|
|
9773
|
+
} | {
|
|
9774
|
+
|
|
9775
|
+
groupName?: string
|
|
9776
|
+
|
|
9777
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9778
|
+
|
|
9779
|
+
order?: ("desc" | "asc")
|
|
9780
|
+
|
|
9781
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9782
|
+
|
|
9783
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9784
|
+
|
|
9785
|
+
elementNamePattern?: string
|
|
9786
|
+
})[])
|
|
9787
|
+
|
|
9788
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9789
|
+
|
|
9790
|
+
partitionByNewLine?: boolean
|
|
9658
9791
|
|
|
9659
9792
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9660
9793
|
|
|
9794
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9795
|
+
|
|
9796
|
+
ignoreCase?: boolean
|
|
9797
|
+
|
|
9798
|
+
locales?: (string | string[])
|
|
9799
|
+
|
|
9661
9800
|
groups?: (string | string[])[]
|
|
9662
9801
|
|
|
9663
|
-
|
|
9664
|
-
[k: string]: (string | string[]) | undefined
|
|
9665
|
-
}
|
|
9666
|
-
}]
|
|
9667
|
-
// ----- perfectionist/sort-switch-case -----
|
|
9668
|
-
type PerfectionistSortSwitchCase = []|[{
|
|
9802
|
+
order?: ("asc" | "desc")
|
|
9669
9803
|
|
|
9670
9804
|
type?: ("alphabetical" | "natural" | "line-length")
|
|
9805
|
+
}]
|
|
9806
|
+
// ----- perfectionist/sort-objects -----
|
|
9807
|
+
type PerfectionistSortObjects = []|[{
|
|
9671
9808
|
|
|
9672
|
-
|
|
9809
|
+
destructuredObjects?: (boolean | {
|
|
9810
|
+
|
|
9811
|
+
groups?: boolean
|
|
9812
|
+
})
|
|
9673
9813
|
|
|
9674
|
-
|
|
9814
|
+
ignorePattern?: string[]
|
|
9675
9815
|
|
|
9676
|
-
|
|
9677
|
-
}]
|
|
9678
|
-
// ----- perfectionist/sort-union-types -----
|
|
9679
|
-
type PerfectionistSortUnionTypes = []|[{
|
|
9816
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9680
9817
|
|
|
9681
|
-
|
|
9818
|
+
destructureOnly?: boolean
|
|
9682
9819
|
|
|
9683
|
-
|
|
9820
|
+
objectDeclarations?: boolean
|
|
9684
9821
|
|
|
9685
|
-
|
|
9822
|
+
styledComponents?: boolean
|
|
9686
9823
|
|
|
9687
|
-
|
|
9824
|
+
partitionByNewLine?: boolean
|
|
9688
9825
|
|
|
9689
9826
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9690
9827
|
|
|
9828
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9829
|
+
|
|
9830
|
+
customGroups?: {
|
|
9831
|
+
[k: string]: (string | string[]) | undefined
|
|
9832
|
+
}
|
|
9833
|
+
|
|
9834
|
+
ignoreCase?: boolean
|
|
9835
|
+
|
|
9836
|
+
locales?: (string | string[])
|
|
9837
|
+
|
|
9691
9838
|
groups?: (string | string[])[]
|
|
9692
9839
|
|
|
9840
|
+
order?: ("asc" | "desc")
|
|
9841
|
+
|
|
9842
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9843
|
+
}]
|
|
9844
|
+
// ----- perfectionist/sort-sets -----
|
|
9845
|
+
type PerfectionistSortSets = []|[{
|
|
9846
|
+
|
|
9693
9847
|
partitionByComment?: (string[] | boolean | string)
|
|
9694
9848
|
|
|
9849
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9850
|
+
|
|
9695
9851
|
partitionByNewLine?: boolean
|
|
9696
|
-
}]
|
|
9697
|
-
// ----- perfectionist/sort-variable-declarations -----
|
|
9698
|
-
type PerfectionistSortVariableDeclarations = []|[{
|
|
9699
9852
|
|
|
9700
|
-
|
|
9853
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9854
|
+
|
|
9855
|
+
ignoreCase?: boolean
|
|
9856
|
+
|
|
9857
|
+
locales?: (string | string[])
|
|
9701
9858
|
|
|
9702
9859
|
order?: ("asc" | "desc")
|
|
9703
9860
|
|
|
9704
|
-
|
|
9861
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9862
|
+
}]
|
|
9863
|
+
// ----- perfectionist/sort-switch-case -----
|
|
9864
|
+
type PerfectionistSortSwitchCase = []|[{
|
|
9865
|
+
|
|
9866
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9705
9867
|
|
|
9706
9868
|
ignoreCase?: boolean
|
|
9707
9869
|
|
|
9708
|
-
|
|
9870
|
+
locales?: (string | string[])
|
|
9871
|
+
|
|
9872
|
+
order?: ("asc" | "desc")
|
|
9873
|
+
|
|
9874
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9875
|
+
}]
|
|
9876
|
+
// ----- perfectionist/sort-union-types -----
|
|
9877
|
+
type PerfectionistSortUnionTypes = []|[{
|
|
9709
9878
|
|
|
9710
9879
|
partitionByComment?: (string[] | boolean | string)
|
|
9711
9880
|
|
|
9712
9881
|
partitionByNewLine?: boolean
|
|
9713
|
-
}]
|
|
9714
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
9715
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
9716
9882
|
|
|
9717
|
-
|
|
9883
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9884
|
+
|
|
9885
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9886
|
+
|
|
9887
|
+
ignoreCase?: boolean
|
|
9888
|
+
|
|
9889
|
+
locales?: (string | string[])
|
|
9890
|
+
|
|
9891
|
+
groups?: (string | string[])[]
|
|
9718
9892
|
|
|
9719
9893
|
order?: ("asc" | "desc")
|
|
9720
9894
|
|
|
9721
|
-
|
|
9895
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9896
|
+
}]
|
|
9897
|
+
// ----- perfectionist/sort-variable-declarations -----
|
|
9898
|
+
type PerfectionistSortVariableDeclarations = []|[{
|
|
9899
|
+
|
|
9900
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9722
9901
|
|
|
9723
|
-
|
|
9902
|
+
partitionByNewLine?: boolean
|
|
9724
9903
|
|
|
9725
9904
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9726
9905
|
|
|
9727
|
-
|
|
9906
|
+
ignoreCase?: boolean
|
|
9728
9907
|
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9908
|
+
locales?: (string | string[])
|
|
9909
|
+
|
|
9910
|
+
order?: ("asc" | "desc")
|
|
9911
|
+
|
|
9912
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9732
9913
|
}]
|
|
9733
9914
|
// ----- prefer-arrow-callback -----
|
|
9734
9915
|
type PreferArrowCallback = []|[{
|
|
@@ -9805,6 +9986,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
9805
9986
|
})]
|
|
9806
9987
|
// ----- radix -----
|
|
9807
9988
|
type Radix = []|[("always" | "as-needed")]
|
|
9989
|
+
// ----- react-dom/no-unknown-property -----
|
|
9990
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
9991
|
+
ignore?: string[]
|
|
9992
|
+
requireDataLowercase?: boolean
|
|
9993
|
+
}]
|
|
9808
9994
|
// ----- react-hooks/exhaustive-deps -----
|
|
9809
9995
|
type ReactHooksExhaustiveDeps = []|[{
|
|
9810
9996
|
additionalHooks?: string
|
|
@@ -9828,15 +10014,18 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
9828
10014
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
9829
10015
|
allow?: ("always" | "as-needed")
|
|
9830
10016
|
extensions?: string[]
|
|
10017
|
+
ignoreFilesWithoutCode?: boolean
|
|
9831
10018
|
})]
|
|
9832
10019
|
// ----- react-refresh/only-export-components -----
|
|
9833
10020
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
10021
|
+
allowExportNames?: string[]
|
|
9834
10022
|
allowConstantExport?: boolean
|
|
10023
|
+
customHOCs?: string[]
|
|
9835
10024
|
checkJS?: boolean
|
|
9836
|
-
allowExportNames?: string[]
|
|
9837
10025
|
}]
|
|
9838
10026
|
// ----- react/no-useless-fragment -----
|
|
9839
10027
|
type ReactNoUselessFragment = []|[{
|
|
10028
|
+
|
|
9840
10029
|
allowExpressions?: boolean
|
|
9841
10030
|
}]
|
|
9842
10031
|
// ----- regexp/hexadecimal-escape -----
|
|
@@ -9996,6 +10185,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
9996
10185
|
natural?: boolean
|
|
9997
10186
|
minKeys?: number
|
|
9998
10187
|
allowLineSeparatedGroups?: boolean
|
|
10188
|
+
ignoreComputedKeys?: boolean
|
|
9999
10189
|
}]
|
|
10000
10190
|
// ----- sort-vars -----
|
|
10001
10191
|
type SortVars = []|[{
|
|
@@ -10310,7 +10500,7 @@ type TestConsistentTestIt = []|[{
|
|
|
10310
10500
|
}]
|
|
10311
10501
|
// ----- test/expect-expect -----
|
|
10312
10502
|
type TestExpectExpect = []|[{
|
|
10313
|
-
assertFunctionNames?: []
|
|
10503
|
+
assertFunctionNames?: string[]
|
|
10314
10504
|
additionalTestBlockFunctions?: string[]
|
|
10315
10505
|
}]
|
|
10316
10506
|
// ----- test/max-expects -----
|
|
@@ -10900,6 +11090,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
10900
11090
|
ignoreArrowShorthand?: boolean
|
|
10901
11091
|
|
|
10902
11092
|
ignoreVoidOperator?: boolean
|
|
11093
|
+
|
|
11094
|
+
ignoreVoidReturningFunctions?: boolean
|
|
10903
11095
|
}]
|
|
10904
11096
|
// ----- ts/no-duplicate-type-constituents -----
|
|
10905
11097
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -11227,6 +11419,19 @@ type TsNoVarRequires = []|[{
|
|
|
11227
11419
|
// ----- ts/only-throw-error -----
|
|
11228
11420
|
type TsOnlyThrowError = []|[{
|
|
11229
11421
|
|
|
11422
|
+
allow?: (string | {
|
|
11423
|
+
from: "file"
|
|
11424
|
+
name: (string | [string, ...(string)[]])
|
|
11425
|
+
path?: string
|
|
11426
|
+
} | {
|
|
11427
|
+
from: "lib"
|
|
11428
|
+
name: (string | [string, ...(string)[]])
|
|
11429
|
+
} | {
|
|
11430
|
+
from: "package"
|
|
11431
|
+
name: (string | [string, ...(string)[]])
|
|
11432
|
+
package: string
|
|
11433
|
+
})[]
|
|
11434
|
+
|
|
11230
11435
|
allowThrowingAny?: boolean
|
|
11231
11436
|
|
|
11232
11437
|
allowThrowingUnknown?: boolean
|
|
@@ -11280,6 +11485,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
11280
11485
|
|
|
11281
11486
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
11282
11487
|
|
|
11488
|
+
ignoreBooleanCoercion?: boolean
|
|
11489
|
+
|
|
11283
11490
|
ignoreConditionalTests?: boolean
|
|
11284
11491
|
|
|
11285
11492
|
ignoreMixedLogicalExpressions?: boolean
|
|
@@ -11321,6 +11528,10 @@ type TsPreferOptionalChain = []|[{
|
|
|
11321
11528
|
type TsPreferPromiseRejectErrors = []|[{
|
|
11322
11529
|
|
|
11323
11530
|
allowEmptyReject?: boolean
|
|
11531
|
+
|
|
11532
|
+
allowThrowingAny?: boolean
|
|
11533
|
+
|
|
11534
|
+
allowThrowingUnknown?: boolean
|
|
11324
11535
|
}]
|
|
11325
11536
|
// ----- ts/prefer-readonly -----
|
|
11326
11537
|
type TsPreferReadonly = []|[{
|
|
@@ -11458,6 +11669,8 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
11458
11669
|
|
|
11459
11670
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
11460
11671
|
|
|
11672
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
11673
|
+
|
|
11461
11674
|
requireDefaultForNonUnion?: boolean
|
|
11462
11675
|
}]
|
|
11463
11676
|
// ----- ts/triple-slash-reference -----
|
|
@@ -11790,6 +12003,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
11790
12003
|
} & {
|
|
11791
12004
|
[k: string]: unknown | undefined
|
|
11792
12005
|
})[]
|
|
12006
|
+
ignoreTags?: string[]
|
|
11793
12007
|
}]
|
|
11794
12008
|
// ----- vue/attributes-order -----
|
|
11795
12009
|
type VueAttributesOrder = []|[{
|
|
@@ -12486,6 +12700,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
12486
12700
|
type VueNoDupeKeys = []|[{
|
|
12487
12701
|
groups?: unknown[]
|
|
12488
12702
|
}]
|
|
12703
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
12704
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
12705
|
+
checkMultiRootNodes?: boolean
|
|
12706
|
+
}]
|
|
12489
12707
|
// ----- vue/no-duplicate-attributes -----
|
|
12490
12708
|
type VueNoDuplicateAttributes = []|[{
|
|
12491
12709
|
allowCoexistClass?: boolean
|
|
@@ -12584,6 +12802,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
12584
12802
|
type VueNoReservedComponentNames = []|[{
|
|
12585
12803
|
disallowVueBuiltInComponents?: boolean
|
|
12586
12804
|
disallowVue3BuiltInComponents?: boolean
|
|
12805
|
+
htmlElementCaseSensitive?: boolean
|
|
12587
12806
|
}]
|
|
12588
12807
|
// ----- vue/no-reserved-keys -----
|
|
12589
12808
|
type VueNoReservedKeys = []|[{
|
|
@@ -12720,6 +12939,7 @@ type VueNoUselessVBind = []|[{
|
|
|
12720
12939
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
12721
12940
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
12722
12941
|
allow?: string[]
|
|
12942
|
+
ignoreElementNamespaces?: boolean
|
|
12723
12943
|
}]
|
|
12724
12944
|
// ----- vue/object-curly-newline -----
|
|
12725
12945
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -12830,6 +13050,10 @@ type VueRequirePropComment = []|[{
|
|
|
12830
13050
|
type VueRequireToggleInsideTransition = []|[{
|
|
12831
13051
|
additionalDirectives?: string[]
|
|
12832
13052
|
}]
|
|
13053
|
+
// ----- vue/restricted-component-names -----
|
|
13054
|
+
type VueRestrictedComponentNames = []|[{
|
|
13055
|
+
allow?: string[]
|
|
13056
|
+
}]
|
|
12833
13057
|
// ----- vue/return-in-computed-property -----
|
|
12834
13058
|
type VueReturnInComputedProperty = []|[{
|
|
12835
13059
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -12851,6 +13075,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
12851
13075
|
ignores?: string[]
|
|
12852
13076
|
externalIgnores?: string[]
|
|
12853
13077
|
}]
|
|
13078
|
+
// ----- vue/slot-name-casing -----
|
|
13079
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
12854
13080
|
// ----- vue/sort-keys -----
|
|
12855
13081
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
12856
13082
|
caseSensitive?: boolean
|
|
@@ -12894,6 +13120,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
12894
13120
|
} & {
|
|
12895
13121
|
[k: string]: unknown | undefined
|
|
12896
13122
|
})[]
|
|
13123
|
+
ignoreTags?: string[]
|
|
12897
13124
|
}]
|
|
12898
13125
|
// ----- vue/v-on-function-call -----
|
|
12899
13126
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -13815,25 +14042,25 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13815
14042
|
'padded-blocks'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13816
14043
|
'padding-line-between-statements'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13817
14044
|
'perfectionist/sort-array-includes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13818
|
-
'perfectionist/sort-astro-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13819
14045
|
'perfectionist/sort-classes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14046
|
+
'perfectionist/sort-decorators'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13820
14047
|
'perfectionist/sort-enums'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13821
14048
|
'perfectionist/sort-exports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14049
|
+
'perfectionist/sort-heritage-clauses'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13822
14050
|
'perfectionist/sort-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13823
14051
|
'perfectionist/sort-interfaces'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13824
14052
|
'perfectionist/sort-intersection-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13825
14053
|
'perfectionist/sort-jsx-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13826
14054
|
'perfectionist/sort-maps'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14055
|
+
'perfectionist/sort-modules'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13827
14056
|
'perfectionist/sort-named-exports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13828
14057
|
'perfectionist/sort-named-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13829
14058
|
'perfectionist/sort-object-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13830
14059
|
'perfectionist/sort-objects'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13831
14060
|
'perfectionist/sort-sets'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13832
|
-
'perfectionist/sort-svelte-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13833
14061
|
'perfectionist/sort-switch-case'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13834
14062
|
'perfectionist/sort-union-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13835
14063
|
'perfectionist/sort-variable-declarations'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13836
|
-
'perfectionist/sort-vue-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13837
14064
|
'prefer-arrow-callback'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13838
14065
|
'prefer-const'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13839
14066
|
'prefer-destructuring'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -13861,6 +14088,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13861
14088
|
'react-dom/no-namespace'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13862
14089
|
'react-dom/no-render-return-value'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13863
14090
|
'react-dom/no-script-url'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14091
|
+
'react-dom/no-unknown-property'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13864
14092
|
'react-dom/no-unsafe-iframe-sandbox'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13865
14093
|
'react-dom/no-unsafe-target-blank'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13866
14094
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -13881,6 +14109,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13881
14109
|
'react/avoid-shorthand-boolean'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13882
14110
|
'react/avoid-shorthand-fragment'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13883
14111
|
'react/ensure-forward-ref-using-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14112
|
+
'react/jsx-no-duplicate-props'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14113
|
+
'react/jsx-uses-vars'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13884
14114
|
'react/no-access-state-in-setstate'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13885
14115
|
'react/no-array-index-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13886
14116
|
'react/no-children-count'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -14098,6 +14328,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14098
14328
|
'test/require-top-level-describe'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14099
14329
|
'test/valid-describe-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14100
14330
|
'test/valid-expect'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14331
|
+
'test/valid-expect-in-promise'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14101
14332
|
'test/valid-title'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14102
14333
|
'ts/adjacent-overload-signatures'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14103
14334
|
'ts/array-type'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14182,6 +14413,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14182
14413
|
'ts/no-unsafe-function-type'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14183
14414
|
'ts/no-unsafe-member-access'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14184
14415
|
'ts/no-unsafe-return'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14416
|
+
'ts/no-unsafe-type-assertion'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14185
14417
|
'ts/no-unsafe-unary-minus'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14186
14418
|
'ts/no-unused-expressions'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14187
14419
|
'ts/no-unused-vars'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14213,6 +14445,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14213
14445
|
'ts/prefer-string-starts-ends-with'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14214
14446
|
'ts/prefer-ts-expect-error'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14215
14447
|
'ts/promise-function-async'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14448
|
+
'ts/related-getter-setter-pairs'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14216
14449
|
'ts/require-array-sort-compare'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14217
14450
|
'ts/require-await'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14218
14451
|
'ts/restrict-plus-operands'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14465,7 +14698,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14465
14698
|
'vue/no-deprecated-vue-config-keycodes'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14466
14699
|
'vue/no-dupe-keys'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14467
14700
|
'vue/no-dupe-v-else-if'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14468
|
-
'vue/no-duplicate-attr-inheritance'?: eslint.Linter.RuleEntry<
|
|
14701
|
+
'vue/no-duplicate-attr-inheritance'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14469
14702
|
'vue/no-duplicate-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14470
14703
|
'vue/no-empty-component-block'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14471
14704
|
'vue/no-empty-pattern'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14554,6 +14787,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14554
14787
|
'vue/prefer-separate-static-class'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14555
14788
|
'vue/prefer-template'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14556
14789
|
'vue/prefer-true-attribute-shorthand'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14790
|
+
'vue/prefer-use-template-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14557
14791
|
'vue/prop-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14558
14792
|
'vue/quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14559
14793
|
'vue/require-component-is'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -14576,11 +14810,13 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14576
14810
|
'vue/require-typed-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14577
14811
|
'vue/require-v-for-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14578
14812
|
'vue/require-valid-default-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14813
|
+
'vue/restricted-component-names'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14579
14814
|
'vue/return-in-computed-property'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14580
14815
|
'vue/return-in-emits-validator'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14581
14816
|
'vue/script-indent'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14582
14817
|
'vue/script-setup-uses-vars'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14583
14818
|
'vue/singleline-html-element-content-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14819
|
+
'vue/slot-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14584
14820
|
'vue/sort-keys'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14585
14821
|
'vue/space-in-parens'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14586
14822
|
'vue/space-infix-ops'?: eslint.Linter.RuleEntry<undefined> | undefined;
|