@coderwyd/eslint-config 3.2.0 → 3.4.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 +46 -36
- package/dist/index.d.cts +688 -437
- package/dist/index.d.ts +688 -437
- package/dist/index.js +45 -35
- package/package.json +31 -32
package/dist/index.d.cts
CHANGED
|
@@ -206,7 +206,7 @@ interface RuleOptions {
|
|
|
206
206
|
*/
|
|
207
207
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
208
208
|
/**
|
|
209
|
-
* Enforce default clauses in switch statements to be last
|
|
209
|
+
* Enforce `default` clauses in switch statements to be last
|
|
210
210
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
211
211
|
*/
|
|
212
212
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -283,7 +283,7 @@ interface RuleOptions {
|
|
|
283
283
|
*/
|
|
284
284
|
'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
|
|
285
285
|
/**
|
|
286
|
-
* Enforce
|
|
286
|
+
* Enforce `for` loop update clause moving the counter in the right direction
|
|
287
287
|
* @see https://eslint.org/docs/latest/rules/for-direction
|
|
288
288
|
*/
|
|
289
289
|
'for-direction'?: Linter.RuleEntry<[]>
|
|
@@ -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<[]>
|
|
@@ -1736,7 +1736,7 @@ interface RuleOptions {
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
'no-octal-escape'?: Linter.RuleEntry<[]>
|
|
1738
1738
|
/**
|
|
1739
|
-
* Disallow reassigning
|
|
1739
|
+
* Disallow reassigning function parameters
|
|
1740
1740
|
* @see https://eslint.org/docs/latest/rules/no-param-reassign
|
|
1741
1741
|
*/
|
|
1742
1742
|
'no-param-reassign'?: Linter.RuleEntry<NoParamReassign>
|
|
@@ -1831,7 +1831,7 @@ interface RuleOptions {
|
|
|
1831
1831
|
*/
|
|
1832
1832
|
'no-return-await'?: Linter.RuleEntry<[]>
|
|
1833
1833
|
/**
|
|
1834
|
-
* Disallow `javascript:`
|
|
1834
|
+
* Disallow `javascript:` URLs
|
|
1835
1835
|
* @see https://eslint.org/docs/latest/rules/no-script-url
|
|
1836
1836
|
*/
|
|
1837
1837
|
'no-script-url'?: 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
|
|
@@ -2479,7 +2476,7 @@ interface RuleOptions {
|
|
|
2479
2476
|
*/
|
|
2480
2477
|
'prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
2481
2478
|
/**
|
|
2482
|
-
* Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
|
|
2479
|
+
* Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead
|
|
2483
2480
|
* @see https://eslint.org/docs/latest/rules/prefer-object-spread
|
|
2484
2481
|
*/
|
|
2485
2482
|
'prefer-object-spread'?: Linter.RuleEntry<[]>
|
|
@@ -2514,10 +2511,6 @@ interface RuleOptions {
|
|
|
2514
2511
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2515
2512
|
*/
|
|
2516
2513
|
'prefer-template'?: Linter.RuleEntry<[]>
|
|
2517
|
-
/**
|
|
2518
|
-
* @see https://github.com/prettier/eslint-plugin-prettier#options
|
|
2519
|
-
*/
|
|
2520
|
-
'prettier/prettier'?: Linter.RuleEntry<PrettierPrettier>
|
|
2521
2514
|
/**
|
|
2522
2515
|
* Require quotes around object literal property names
|
|
2523
2516
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -2771,6 +2764,11 @@ interface RuleOptions {
|
|
|
2771
2764
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2772
2765
|
*/
|
|
2773
2766
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2767
|
+
/**
|
|
2768
|
+
* disallow the use of '<Context.Provider>'
|
|
2769
|
+
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
2770
|
+
*/
|
|
2771
|
+
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
2774
2772
|
/**
|
|
2775
2773
|
* disallow using 'createRef' in function components
|
|
2776
2774
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
@@ -2791,6 +2789,11 @@ interface RuleOptions {
|
|
|
2791
2789
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
2792
2790
|
*/
|
|
2793
2791
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2792
|
+
/**
|
|
2793
|
+
* disallow the use of 'forwardRef'
|
|
2794
|
+
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
2795
|
+
*/
|
|
2796
|
+
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
2794
2797
|
/**
|
|
2795
2798
|
* disallow implicit 'key' props
|
|
2796
2799
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
@@ -3332,7 +3335,7 @@ interface RuleOptions {
|
|
|
3332
3335
|
*/
|
|
3333
3336
|
'require-await'?: Linter.RuleEntry<[]>
|
|
3334
3337
|
/**
|
|
3335
|
-
* Enforce the use of `u` or `v` flag on
|
|
3338
|
+
* Enforce the use of `u` or `v` flag on regular expressions
|
|
3336
3339
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3337
3340
|
*/
|
|
3338
3341
|
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
@@ -4116,6 +4119,11 @@ interface RuleOptions {
|
|
|
4116
4119
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4117
4120
|
*/
|
|
4118
4121
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4122
|
+
/**
|
|
4123
|
+
* Require promises that have expectations in their chain to be valid
|
|
4124
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
4125
|
+
*/
|
|
4126
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
4119
4127
|
/**
|
|
4120
4128
|
* enforce valid titles
|
|
4121
4129
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -4539,6 +4547,11 @@ interface RuleOptions {
|
|
|
4539
4547
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
4540
4548
|
*/
|
|
4541
4549
|
'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
4550
|
+
/**
|
|
4551
|
+
* Disallow type assertions that narrow a type
|
|
4552
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
4553
|
+
*/
|
|
4554
|
+
'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
4542
4555
|
/**
|
|
4543
4556
|
* Require unary negation to take a number
|
|
4544
4557
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -4696,6 +4709,11 @@ interface RuleOptions {
|
|
|
4696
4709
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
4697
4710
|
*/
|
|
4698
4711
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
4712
|
+
/**
|
|
4713
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
4714
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
4715
|
+
*/
|
|
4716
|
+
'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
4699
4717
|
/**
|
|
4700
4718
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
4701
4719
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -4769,702 +4787,702 @@ interface RuleOptions {
|
|
|
4769
4787
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4770
4788
|
/**
|
|
4771
4789
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
4773
4791
|
*/
|
|
4774
4792
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4775
4793
|
/**
|
|
4776
4794
|
* Enforce a specific parameter name in catch clauses.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
4778
4796
|
*/
|
|
4779
4797
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4780
4798
|
/**
|
|
4781
4799
|
* Use destructured variables over properties.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
4783
4801
|
*/
|
|
4784
4802
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4785
4803
|
/**
|
|
4786
4804
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4788
4806
|
*/
|
|
4789
4807
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4790
4808
|
/**
|
|
4791
4809
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
4793
4811
|
*/
|
|
4794
4812
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4795
4813
|
/**
|
|
4796
4814
|
* Move function definitions to the highest possible scope.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
4798
4816
|
*/
|
|
4799
4817
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4800
4818
|
/**
|
|
4801
4819
|
* Enforce correct `Error` subclassing.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
4803
4821
|
*/
|
|
4804
4822
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4805
4823
|
/**
|
|
4806
4824
|
* Enforce no spaces between braces.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
4808
4826
|
*/
|
|
4809
4827
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4810
4828
|
/**
|
|
4811
4829
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
4813
4831
|
*/
|
|
4814
4832
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4815
4833
|
/**
|
|
4816
4834
|
* Require escape sequences to use uppercase values.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
4818
4836
|
*/
|
|
4819
4837
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4820
4838
|
/**
|
|
4821
4839
|
* Add expiration conditions to TODO comments.
|
|
4822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
4823
4841
|
*/
|
|
4824
4842
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4825
4843
|
/**
|
|
4826
4844
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
4828
4846
|
*/
|
|
4829
4847
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4830
4848
|
/**
|
|
4831
4849
|
* Enforce a case style for filenames.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
4833
4851
|
*/
|
|
4834
4852
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4835
4853
|
/**
|
|
4836
|
-
* @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/deprecated-rules.md#import-index
|
|
4837
4855
|
* @deprecated
|
|
4838
4856
|
*/
|
|
4839
4857
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4840
4858
|
/**
|
|
4841
4859
|
* Enforce specific import styles per module.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
4843
4861
|
*/
|
|
4844
4862
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4845
4863
|
/**
|
|
4846
4864
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4865
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
4848
4866
|
*/
|
|
4849
4867
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4850
4868
|
/**
|
|
4851
4869
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4870
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4853
4871
|
*/
|
|
4854
4872
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4855
4873
|
/**
|
|
4856
4874
|
* Disallow anonymous functions and classes as the default export.
|
|
4857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
4858
4876
|
*/
|
|
4859
4877
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4860
4878
|
/**
|
|
4861
4879
|
* Prevent passing a function reference directly to iterator methods.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4880
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
4863
4881
|
*/
|
|
4864
4882
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4865
4883
|
/**
|
|
4866
4884
|
* Prefer `for…of` over the `forEach` method.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
4868
4886
|
*/
|
|
4869
4887
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4870
4888
|
/**
|
|
4871
|
-
* @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/deprecated-rules.md#no-array-instanceof
|
|
4872
4890
|
* @deprecated
|
|
4873
4891
|
*/
|
|
4874
4892
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4875
4893
|
/**
|
|
4876
4894
|
* Disallow using the `this` argument in array methods.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
4878
4896
|
*/
|
|
4879
4897
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4880
4898
|
/**
|
|
4881
4899
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4900
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
4883
4901
|
*/
|
|
4884
4902
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4885
4903
|
/**
|
|
4886
4904
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
4888
4906
|
*/
|
|
4889
4907
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4890
4908
|
/**
|
|
4891
4909
|
* Disallow member access from await expression.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4910
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
4893
4911
|
*/
|
|
4894
4912
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4895
4913
|
/**
|
|
4896
4914
|
* Disallow using `await` in `Promise` method parameters.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4915
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4898
4916
|
*/
|
|
4899
4917
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4900
4918
|
/**
|
|
4901
4919
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4920
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
4903
4921
|
*/
|
|
4904
4922
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4905
4923
|
/**
|
|
4906
4924
|
* Do not use `document.cookie` directly.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4925
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
4908
4926
|
*/
|
|
4909
4927
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4910
4928
|
/**
|
|
4911
4929
|
* Disallow empty files.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4930
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
4913
4931
|
*/
|
|
4914
4932
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4915
4933
|
/**
|
|
4916
|
-
* @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/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4917
4935
|
* @deprecated
|
|
4918
4936
|
*/
|
|
4919
4937
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4920
4938
|
/**
|
|
4921
4939
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4940
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
4923
4941
|
*/
|
|
4924
4942
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4925
4943
|
/**
|
|
4926
4944
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
4928
4946
|
*/
|
|
4929
4947
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4930
4948
|
/**
|
|
4931
4949
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4950
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
4933
4951
|
*/
|
|
4934
4952
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4935
4953
|
/**
|
|
4936
4954
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4938
4956
|
*/
|
|
4939
4957
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4940
4958
|
/**
|
|
4941
4959
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4943
4961
|
*/
|
|
4944
4962
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4945
4963
|
/**
|
|
4946
4964
|
* Disallow identifiers starting with `new` or `class`.
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4965
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
4948
4966
|
*/
|
|
4949
4967
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4950
4968
|
/**
|
|
4951
4969
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4970
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
4953
4971
|
*/
|
|
4954
4972
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4955
4973
|
/**
|
|
4956
4974
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4975
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
4958
4976
|
*/
|
|
4959
4977
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4960
4978
|
/**
|
|
4961
4979
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4980
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4963
4981
|
*/
|
|
4964
4982
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4965
4983
|
/**
|
|
4966
4984
|
* Disallow negated conditions.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4985
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
4968
4986
|
*/
|
|
4969
4987
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4970
4988
|
/**
|
|
4971
4989
|
* Disallow negated expression in equality check.
|
|
4972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4990
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4973
4991
|
*/
|
|
4974
4992
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4975
4993
|
/**
|
|
4976
4994
|
* Disallow nested ternary expressions.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4995
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
4978
4996
|
*/
|
|
4979
4997
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4980
4998
|
/**
|
|
4981
4999
|
* Disallow `new Array()`.
|
|
4982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5000
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
4983
5001
|
*/
|
|
4984
5002
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4985
5003
|
/**
|
|
4986
5004
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5005
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
4988
5006
|
*/
|
|
4989
5007
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4990
5008
|
/**
|
|
4991
5009
|
* Disallow the use of the `null` literal.
|
|
4992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
4993
5011
|
*/
|
|
4994
5012
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4995
5013
|
/**
|
|
4996
5014
|
* Disallow the use of objects as default parameters.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4998
5016
|
*/
|
|
4999
5017
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5000
5018
|
/**
|
|
5001
5019
|
* Disallow `process.exit()`.
|
|
5002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
5003
5021
|
*/
|
|
5004
5022
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5005
5023
|
/**
|
|
5006
|
-
* @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/deprecated-rules.md#no-reduce
|
|
5007
5025
|
* @deprecated
|
|
5008
5026
|
*/
|
|
5009
5027
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5010
5028
|
/**
|
|
5011
5029
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5013
5031
|
*/
|
|
5014
5032
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5015
5033
|
/**
|
|
5016
5034
|
* Disallow classes that only have static members.
|
|
5017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
5018
5036
|
*/
|
|
5019
5037
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5020
5038
|
/**
|
|
5021
5039
|
* Disallow `then` property.
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
5023
5041
|
*/
|
|
5024
5042
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5025
5043
|
/**
|
|
5026
5044
|
* Disallow assigning `this` to a variable.
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5045
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
5028
5046
|
*/
|
|
5029
5047
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5030
5048
|
/**
|
|
5031
5049
|
* Disallow comparing `undefined` using `typeof`.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
5033
5051
|
*/
|
|
5034
5052
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5035
5053
|
/**
|
|
5036
5054
|
* Disallow awaiting non-promise values.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
5038
5056
|
*/
|
|
5039
5057
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5040
5058
|
/**
|
|
5041
5059
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5060
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5043
5061
|
*/
|
|
5044
5062
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5045
5063
|
/**
|
|
5046
5064
|
* Disallow unreadable array destructuring.
|
|
5047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5048
5066
|
*/
|
|
5049
5067
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5050
5068
|
/**
|
|
5051
5069
|
* Disallow unreadable IIFEs.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
5053
5071
|
*/
|
|
5054
5072
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5055
5073
|
/**
|
|
5056
|
-
* @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/deprecated-rules.md#no-unsafe-regex
|
|
5057
5075
|
* @deprecated
|
|
5058
5076
|
*/
|
|
5059
5077
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5060
5078
|
/**
|
|
5061
5079
|
* Disallow unused object properties.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
5063
5081
|
*/
|
|
5064
5082
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5065
5083
|
/**
|
|
5066
5084
|
* Disallow useless fallback when spreading in object literals.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5068
5086
|
*/
|
|
5069
5087
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5070
5088
|
/**
|
|
5071
5089
|
* Disallow useless array length check.
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
5073
5091
|
*/
|
|
5074
5092
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5075
5093
|
/**
|
|
5076
5094
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5078
5096
|
*/
|
|
5079
5097
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5080
5098
|
/**
|
|
5081
5099
|
* Disallow unnecessary spread.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
5083
5101
|
*/
|
|
5084
5102
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5085
5103
|
/**
|
|
5086
5104
|
* Disallow useless case in switch statements.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
5088
5106
|
*/
|
|
5089
5107
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5090
5108
|
/**
|
|
5091
5109
|
* Disallow useless `undefined`.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
5093
5111
|
*/
|
|
5094
5112
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5095
5113
|
/**
|
|
5096
5114
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
5098
5116
|
*/
|
|
5099
5117
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5100
5118
|
/**
|
|
5101
5119
|
* Enforce proper case for numeric literals.
|
|
5102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5120
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
5103
5121
|
*/
|
|
5104
5122
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5105
5123
|
/**
|
|
5106
5124
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5125
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
5108
5126
|
*/
|
|
5109
5127
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5110
5128
|
/**
|
|
5111
5129
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5130
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
5113
5131
|
*/
|
|
5114
5132
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5115
5133
|
/**
|
|
5116
5134
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5135
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
5118
5136
|
*/
|
|
5119
5137
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5120
5138
|
/**
|
|
5121
5139
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5140
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
5123
5141
|
*/
|
|
5124
5142
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5125
5143
|
/**
|
|
5126
5144
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5145
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
5128
5146
|
*/
|
|
5129
5147
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5130
5148
|
/**
|
|
5131
5149
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5150
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
5133
5151
|
*/
|
|
5134
5152
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5135
5153
|
/**
|
|
5136
5154
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
5138
5156
|
*/
|
|
5139
5157
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5140
5158
|
/**
|
|
5141
5159
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
5143
5161
|
*/
|
|
5144
5162
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5145
5163
|
/**
|
|
5146
5164
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5148
5166
|
*/
|
|
5149
5167
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5150
5168
|
/**
|
|
5151
5169
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
5153
5171
|
*/
|
|
5154
5172
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5155
5173
|
/**
|
|
5156
|
-
* @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/deprecated-rules.md#prefer-dataset
|
|
5157
5175
|
* @deprecated
|
|
5158
5176
|
*/
|
|
5159
5177
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5160
5178
|
/**
|
|
5161
5179
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5180
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
5163
5181
|
*/
|
|
5164
5182
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5165
5183
|
/**
|
|
5166
5184
|
* Prefer default parameters over reassignment.
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5185
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
5168
5186
|
*/
|
|
5169
5187
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5170
5188
|
/**
|
|
5171
5189
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
5173
5191
|
*/
|
|
5174
5192
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5175
5193
|
/**
|
|
5176
5194
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5195
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5178
5196
|
*/
|
|
5179
5197
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5180
5198
|
/**
|
|
5181
5199
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5183
5201
|
*/
|
|
5184
5202
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5185
5203
|
/**
|
|
5186
5204
|
* Prefer `.textContent` over `.innerText`.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5188
5206
|
*/
|
|
5189
5207
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5190
5208
|
/**
|
|
5191
|
-
* @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/deprecated-rules.md#prefer-event-key
|
|
5192
5210
|
* @deprecated
|
|
5193
5211
|
*/
|
|
5194
5212
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5195
5213
|
/**
|
|
5196
5214
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5215
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
5198
5216
|
*/
|
|
5199
5217
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5200
5218
|
/**
|
|
5201
|
-
* @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/deprecated-rules.md#prefer-exponentiation-operator
|
|
5202
5220
|
* @deprecated
|
|
5203
5221
|
*/
|
|
5204
5222
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5205
5223
|
/**
|
|
5206
5224
|
* Prefer `export…from` when re-exporting.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5225
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
5208
5226
|
*/
|
|
5209
5227
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5210
5228
|
/**
|
|
5211
|
-
* @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/deprecated-rules.md#prefer-flat-map
|
|
5212
5230
|
* @deprecated
|
|
5213
5231
|
*/
|
|
5214
5232
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5215
5233
|
/**
|
|
5216
5234
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
5218
5236
|
*/
|
|
5219
5237
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5220
5238
|
/**
|
|
5221
5239
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
5223
5241
|
*/
|
|
5224
5242
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5225
5243
|
/**
|
|
5226
5244
|
* Prefer reading a JSON file as a buffer.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5228
5246
|
*/
|
|
5229
5247
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5230
5248
|
/**
|
|
5231
5249
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5233
5251
|
*/
|
|
5234
5252
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5235
5253
|
/**
|
|
5236
5254
|
* Prefer using a logical operator over a ternary.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5255
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5238
5256
|
*/
|
|
5239
5257
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5240
5258
|
/**
|
|
5241
5259
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5260
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
5243
5261
|
*/
|
|
5244
5262
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5245
5263
|
/**
|
|
5246
5264
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5265
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
5248
5266
|
*/
|
|
5249
5267
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5250
5268
|
/**
|
|
5251
5269
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5253
5271
|
*/
|
|
5254
5272
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5255
5273
|
/**
|
|
5256
5274
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5258
5276
|
*/
|
|
5259
5277
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5260
5278
|
/**
|
|
5261
5279
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
5263
5281
|
*/
|
|
5264
5282
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5265
5283
|
/**
|
|
5266
5284
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5268
5286
|
*/
|
|
5269
5287
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5270
5288
|
/**
|
|
5271
5289
|
* Prefer negative index over `.length - index` when possible.
|
|
5272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
5273
5291
|
*/
|
|
5274
5292
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5275
5293
|
/**
|
|
5276
|
-
* @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/deprecated-rules.md#prefer-node-append
|
|
5277
5295
|
* @deprecated
|
|
5278
5296
|
*/
|
|
5279
5297
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5280
5298
|
/**
|
|
5281
5299
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
5283
5301
|
*/
|
|
5284
5302
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5285
5303
|
/**
|
|
5286
|
-
* @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/deprecated-rules.md#prefer-node-remove
|
|
5287
5305
|
* @deprecated
|
|
5288
5306
|
*/
|
|
5289
5307
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5290
5308
|
/**
|
|
5291
5309
|
* Prefer `Number` static properties over global ones.
|
|
5292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
5293
5311
|
*/
|
|
5294
5312
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5295
5313
|
/**
|
|
5296
5314
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
5298
5316
|
*/
|
|
5299
5317
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5300
5318
|
/**
|
|
5301
|
-
* @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/deprecated-rules.md#prefer-object-has-own
|
|
5302
5320
|
* @deprecated
|
|
5303
5321
|
*/
|
|
5304
5322
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5305
5323
|
/**
|
|
5306
5324
|
* Prefer omitting the `catch` binding parameter.
|
|
5307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5308
5326
|
*/
|
|
5309
5327
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5310
5328
|
/**
|
|
5311
5329
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
5313
5331
|
*/
|
|
5314
5332
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5315
5333
|
/**
|
|
5316
5334
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
5318
5336
|
*/
|
|
5319
5337
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5320
5338
|
/**
|
|
5321
5339
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
5323
5341
|
*/
|
|
5324
5342
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5325
5343
|
/**
|
|
5326
5344
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
5328
5346
|
*/
|
|
5329
5347
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5330
5348
|
/**
|
|
5331
|
-
* @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/deprecated-rules.md#prefer-replace-all
|
|
5332
5350
|
* @deprecated
|
|
5333
5351
|
*/
|
|
5334
5352
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5335
5353
|
/**
|
|
5336
5354
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5355
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
5338
5356
|
*/
|
|
5339
5357
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5340
5358
|
/**
|
|
5341
5359
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5360
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
5343
5361
|
*/
|
|
5344
5362
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5345
5363
|
/**
|
|
5346
5364
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5365
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
5348
5366
|
*/
|
|
5349
5367
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5350
5368
|
/**
|
|
5351
|
-
* @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/deprecated-rules.md#prefer-starts-ends-with
|
|
5352
5370
|
* @deprecated
|
|
5353
5371
|
*/
|
|
5354
5372
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5355
5373
|
/**
|
|
5356
5374
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
5358
5376
|
*/
|
|
5359
5377
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5360
5378
|
/**
|
|
5361
5379
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
5363
5381
|
*/
|
|
5364
5382
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5365
5383
|
/**
|
|
5366
5384
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
5368
5386
|
*/
|
|
5369
5387
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5370
5388
|
/**
|
|
5371
5389
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5373
5391
|
*/
|
|
5374
5392
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5375
5393
|
/**
|
|
5376
5394
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5378
5396
|
*/
|
|
5379
5397
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5380
5398
|
/**
|
|
5381
5399
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
5383
5401
|
*/
|
|
5384
5402
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5385
5403
|
/**
|
|
5386
5404
|
* Prefer `switch` over multiple `else-if`.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
5388
5406
|
*/
|
|
5389
5407
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5390
5408
|
/**
|
|
5391
5409
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
5393
5411
|
*/
|
|
5394
5412
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5395
5413
|
/**
|
|
5396
|
-
* @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/deprecated-rules.md#prefer-text-content
|
|
5397
5415
|
* @deprecated
|
|
5398
5416
|
*/
|
|
5399
5417
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5400
5418
|
/**
|
|
5401
5419
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
5403
5421
|
*/
|
|
5404
5422
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5405
5423
|
/**
|
|
5406
|
-
* @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/deprecated-rules.md#prefer-trim-start-end
|
|
5407
5425
|
* @deprecated
|
|
5408
5426
|
*/
|
|
5409
5427
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5410
5428
|
/**
|
|
5411
5429
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
5413
5431
|
*/
|
|
5414
5432
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5415
5433
|
/**
|
|
5416
5434
|
* Prevent abbreviations.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
5418
5436
|
*/
|
|
5419
5437
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5420
5438
|
/**
|
|
5421
|
-
* @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/deprecated-rules.md#regex-shorthand
|
|
5422
5440
|
* @deprecated
|
|
5423
5441
|
*/
|
|
5424
5442
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5425
5443
|
/**
|
|
5426
5444
|
* Enforce consistent relative URL style.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
5428
5446
|
*/
|
|
5429
5447
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5430
5448
|
/**
|
|
5431
5449
|
* Enforce using the separator argument with `Array#join()`.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
5433
5451
|
*/
|
|
5434
5452
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5435
5453
|
/**
|
|
5436
5454
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5438
5456
|
*/
|
|
5439
5457
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5440
5458
|
/**
|
|
5441
5459
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
5443
5461
|
*/
|
|
5444
5462
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5445
5463
|
/**
|
|
5446
5464
|
* Enforce better string content.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
5448
5466
|
*/
|
|
5449
5467
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5450
5468
|
/**
|
|
5451
5469
|
* Enforce consistent brace style for `case` clauses.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
5453
5471
|
*/
|
|
5454
5472
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5455
5473
|
/**
|
|
5456
5474
|
* Fix whitespace-insensitive template indentation.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
5458
5476
|
*/
|
|
5459
5477
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5460
5478
|
/**
|
|
5461
5479
|
* Enforce consistent case for text encoding identifiers.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5463
5481
|
*/
|
|
5464
5482
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5465
5483
|
/**
|
|
5466
5484
|
* Require `new` when creating an error.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
5468
5486
|
*/
|
|
5469
5487
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5470
5488
|
/**
|
|
@@ -5962,7 +5980,7 @@ interface RuleOptions {
|
|
|
5962
5980
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
5963
5981
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
5964
5982
|
*/
|
|
5965
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
5983
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
5966
5984
|
/**
|
|
5967
5985
|
* disallow duplication of attributes
|
|
5968
5986
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -6406,6 +6424,11 @@ interface RuleOptions {
|
|
|
6406
6424
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
6407
6425
|
*/
|
|
6408
6426
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
6427
|
+
/**
|
|
6428
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
6429
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
6430
|
+
*/
|
|
6431
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
6409
6432
|
/**
|
|
6410
6433
|
* enforce specific casing for the Prop name in Vue components
|
|
6411
6434
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -6516,6 +6539,11 @@ interface RuleOptions {
|
|
|
6516
6539
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
6517
6540
|
*/
|
|
6518
6541
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
6542
|
+
/**
|
|
6543
|
+
* enforce using only specific component names
|
|
6544
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
6545
|
+
*/
|
|
6546
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
6519
6547
|
/**
|
|
6520
6548
|
* enforce that a return statement is present in computed property
|
|
6521
6549
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -6542,6 +6570,11 @@ interface RuleOptions {
|
|
|
6542
6570
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
6543
6571
|
*/
|
|
6544
6572
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
6573
|
+
/**
|
|
6574
|
+
* enforce specific casing for slot names
|
|
6575
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
6576
|
+
*/
|
|
6577
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
6545
6578
|
/**
|
|
6546
6579
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
6547
6580
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -7056,10 +7089,10 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7056
7089
|
ignorePackages?: boolean
|
|
7057
7090
|
checkTypeImports?: boolean
|
|
7058
7091
|
[k: string]: unknown | undefined
|
|
7059
|
-
}] | []|[{
|
|
7060
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7061
7092
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7062
7093
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7094
|
+
}] | []|[{
|
|
7095
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7063
7096
|
}])
|
|
7064
7097
|
// ----- import/first -----
|
|
7065
7098
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -7446,6 +7479,7 @@ type JsdocInformativeDocs = []|[{
|
|
|
7446
7479
|
}]
|
|
7447
7480
|
// ----- jsdoc/lines-before-block -----
|
|
7448
7481
|
type JsdocLinesBeforeBlock = []|[{
|
|
7482
|
+
checkBlockStarts?: boolean
|
|
7449
7483
|
excludedTags?: string[]
|
|
7450
7484
|
ignoreSameLine?: boolean
|
|
7451
7485
|
lines?: number
|
|
@@ -8999,6 +9033,9 @@ type NodeNoExtraneousImport = []|[{
|
|
|
8999
9033
|
replace: [string, string]
|
|
9000
9034
|
})[]])
|
|
9001
9035
|
resolvePaths?: string[]
|
|
9036
|
+
resolverConfig?: {
|
|
9037
|
+
[k: string]: unknown | undefined
|
|
9038
|
+
}
|
|
9002
9039
|
}]
|
|
9003
9040
|
// ----- node/no-extraneous-require -----
|
|
9004
9041
|
type NodeNoExtraneousRequire = []|[{
|
|
@@ -9020,6 +9057,9 @@ type NodeNoExtraneousRequire = []|[{
|
|
|
9020
9057
|
replace: [string, string]
|
|
9021
9058
|
})[]])
|
|
9022
9059
|
resolvePaths?: string[]
|
|
9060
|
+
resolverConfig?: {
|
|
9061
|
+
[k: string]: unknown | undefined
|
|
9062
|
+
}
|
|
9023
9063
|
tryExtensions?: string[]
|
|
9024
9064
|
}]
|
|
9025
9065
|
// ----- node/no-hide-core-modules -----
|
|
@@ -9032,6 +9072,9 @@ type NodeNoHideCoreModules = []|[{
|
|
|
9032
9072
|
type NodeNoMissingImport = []|[{
|
|
9033
9073
|
allowModules?: string[]
|
|
9034
9074
|
resolvePaths?: string[]
|
|
9075
|
+
resolverConfig?: {
|
|
9076
|
+
[k: string]: unknown | undefined
|
|
9077
|
+
}
|
|
9035
9078
|
tryExtensions?: string[]
|
|
9036
9079
|
ignoreTypeImport?: boolean
|
|
9037
9080
|
tsconfigPath?: string
|
|
@@ -9042,6 +9085,9 @@ type NodeNoMissingRequire = []|[{
|
|
|
9042
9085
|
allowModules?: string[]
|
|
9043
9086
|
tryExtensions?: string[]
|
|
9044
9087
|
resolvePaths?: string[]
|
|
9088
|
+
resolverConfig?: {
|
|
9089
|
+
[k: string]: unknown | undefined
|
|
9090
|
+
}
|
|
9045
9091
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
9046
9092
|
tsconfigPath?: string
|
|
9047
9093
|
}]
|
|
@@ -9067,6 +9113,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9067
9113
|
// ----- node/no-sync -----
|
|
9068
9114
|
type NodeNoSync = []|[{
|
|
9069
9115
|
allowAtRootLevel?: boolean
|
|
9116
|
+
ignores?: string[]
|
|
9070
9117
|
}]
|
|
9071
9118
|
// ----- node/no-unpublished-bin -----
|
|
9072
9119
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9108,6 +9155,9 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9108
9155
|
replace: [string, string]
|
|
9109
9156
|
})[]])
|
|
9110
9157
|
resolvePaths?: string[]
|
|
9158
|
+
resolverConfig?: {
|
|
9159
|
+
[k: string]: unknown | undefined
|
|
9160
|
+
}
|
|
9111
9161
|
ignoreTypeImport?: boolean
|
|
9112
9162
|
ignorePrivate?: boolean
|
|
9113
9163
|
}]
|
|
@@ -9131,6 +9181,9 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9131
9181
|
replace: [string, string]
|
|
9132
9182
|
})[]])
|
|
9133
9183
|
resolvePaths?: string[]
|
|
9184
|
+
resolverConfig?: {
|
|
9185
|
+
[k: string]: unknown | undefined
|
|
9186
|
+
}
|
|
9134
9187
|
tryExtensions?: string[]
|
|
9135
9188
|
ignorePrivate?: boolean
|
|
9136
9189
|
}]
|
|
@@ -9148,7 +9201,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9148
9201
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9149
9202
|
version?: string
|
|
9150
9203
|
allowExperimental?: boolean
|
|
9151
|
-
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.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.flushCompileCache" | "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.flushCompileCache" | "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.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.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")[]
|
|
9204
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
9152
9205
|
}]
|
|
9153
9206
|
// ----- node/prefer-global/buffer -----
|
|
9154
9207
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9291,61 +9344,32 @@ type PaddingLineBetweenStatements = {
|
|
|
9291
9344
|
// ----- perfectionist/sort-array-includes -----
|
|
9292
9345
|
type PerfectionistSortArrayIncludes = []|[{
|
|
9293
9346
|
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
order?: ("asc" | "desc")
|
|
9297
|
-
|
|
9298
|
-
matcher?: ("minimatch" | "regex")
|
|
9299
|
-
|
|
9300
|
-
ignoreCase?: boolean
|
|
9301
|
-
|
|
9302
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9347
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9303
9348
|
|
|
9304
9349
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9305
9350
|
|
|
9306
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9307
|
-
|
|
9308
9351
|
partitionByNewLine?: boolean
|
|
9309
|
-
}]
|
|
9310
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
9311
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
9312
|
-
|
|
9313
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9314
|
-
|
|
9315
|
-
order?: ("asc" | "desc")
|
|
9316
9352
|
|
|
9317
|
-
|
|
9353
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9318
9354
|
|
|
9319
9355
|
ignoreCase?: boolean
|
|
9320
9356
|
|
|
9321
|
-
|
|
9357
|
+
alphabet?: string
|
|
9322
9358
|
|
|
9323
|
-
|
|
9359
|
+
locales?: (string | string[])
|
|
9324
9360
|
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9361
|
+
order?: ("asc" | "desc")
|
|
9362
|
+
|
|
9363
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9328
9364
|
}]
|
|
9329
9365
|
// ----- perfectionist/sort-classes -----
|
|
9330
9366
|
type PerfectionistSortClasses = []|[{
|
|
9331
9367
|
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
order?: ("asc" | "desc")
|
|
9335
|
-
|
|
9336
|
-
matcher?: ("minimatch" | "regex")
|
|
9337
|
-
|
|
9338
|
-
ignoreCase?: boolean
|
|
9339
|
-
|
|
9340
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9368
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
9341
9369
|
|
|
9342
9370
|
partitionByComment?: (string[] | boolean | string)
|
|
9343
9371
|
|
|
9344
|
-
groups?: (string | string[])[]
|
|
9345
|
-
|
|
9346
9372
|
customGroups?: ({
|
|
9347
|
-
[k: string]: (string | string[]) | undefined
|
|
9348
|
-
} | ({
|
|
9349
9373
|
|
|
9350
9374
|
groupName?: string
|
|
9351
9375
|
|
|
@@ -9354,15 +9378,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
9354
9378
|
order?: ("desc" | "asc")
|
|
9355
9379
|
anyOf?: {
|
|
9356
9380
|
|
|
9357
|
-
|
|
9381
|
+
elementValuePattern?: string
|
|
9358
9382
|
|
|
9359
|
-
|
|
9383
|
+
decoratorNamePattern?: string
|
|
9360
9384
|
|
|
9361
|
-
|
|
9385
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9362
9386
|
|
|
9363
|
-
|
|
9387
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9364
9388
|
|
|
9365
|
-
|
|
9389
|
+
elementNamePattern?: string
|
|
9366
9390
|
}[]
|
|
9367
9391
|
} | {
|
|
9368
9392
|
|
|
@@ -9372,91 +9396,177 @@ type PerfectionistSortClasses = []|[{
|
|
|
9372
9396
|
|
|
9373
9397
|
order?: ("desc" | "asc")
|
|
9374
9398
|
|
|
9375
|
-
|
|
9399
|
+
elementValuePattern?: string
|
|
9376
9400
|
|
|
9377
|
-
|
|
9401
|
+
decoratorNamePattern?: string
|
|
9378
9402
|
|
|
9379
|
-
|
|
9403
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9380
9404
|
|
|
9381
|
-
|
|
9405
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9382
9406
|
|
|
9383
|
-
|
|
9384
|
-
})[]
|
|
9385
|
-
}]
|
|
9386
|
-
// ----- perfectionist/sort-enums -----
|
|
9387
|
-
type PerfectionistSortEnums = []|[{
|
|
9407
|
+
elementNamePattern?: string
|
|
9408
|
+
})[]
|
|
9388
9409
|
|
|
9389
|
-
|
|
9410
|
+
partitionByNewLine?: boolean
|
|
9390
9411
|
|
|
9391
|
-
|
|
9412
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9392
9413
|
|
|
9393
|
-
|
|
9414
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9394
9415
|
|
|
9395
9416
|
ignoreCase?: boolean
|
|
9396
9417
|
|
|
9397
|
-
|
|
9418
|
+
alphabet?: string
|
|
9398
9419
|
|
|
9399
|
-
|
|
9420
|
+
locales?: (string | string[])
|
|
9400
9421
|
|
|
9401
|
-
|
|
9422
|
+
groups?: (string | string[])[]
|
|
9402
9423
|
|
|
9403
|
-
|
|
9424
|
+
order?: ("asc" | "desc")
|
|
9404
9425
|
|
|
9405
|
-
|
|
9426
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9406
9427
|
}]
|
|
9407
|
-
// ----- perfectionist/sort-
|
|
9408
|
-
type
|
|
9428
|
+
// ----- perfectionist/sort-decorators -----
|
|
9429
|
+
type PerfectionistSortDecorators = []|[{
|
|
9409
9430
|
|
|
9410
|
-
|
|
9431
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9411
9432
|
|
|
9412
|
-
|
|
9433
|
+
sortOnParameters?: boolean
|
|
9413
9434
|
|
|
9414
|
-
|
|
9435
|
+
sortOnProperties?: boolean
|
|
9415
9436
|
|
|
9416
|
-
|
|
9437
|
+
sortOnAccessors?: boolean
|
|
9438
|
+
|
|
9439
|
+
sortOnMethods?: boolean
|
|
9440
|
+
|
|
9441
|
+
sortOnClasses?: boolean
|
|
9417
9442
|
|
|
9418
9443
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9419
9444
|
|
|
9445
|
+
customGroups?: {
|
|
9446
|
+
[k: string]: (string | string[]) | undefined
|
|
9447
|
+
}
|
|
9448
|
+
|
|
9449
|
+
ignoreCase?: boolean
|
|
9450
|
+
|
|
9451
|
+
alphabet?: string
|
|
9452
|
+
|
|
9453
|
+
locales?: (string | string[])
|
|
9454
|
+
|
|
9455
|
+
groups?: (string | string[])[]
|
|
9456
|
+
|
|
9457
|
+
order?: ("asc" | "desc")
|
|
9458
|
+
|
|
9459
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9460
|
+
}]
|
|
9461
|
+
// ----- perfectionist/sort-enums -----
|
|
9462
|
+
type PerfectionistSortEnums = []|[{
|
|
9463
|
+
|
|
9420
9464
|
partitionByComment?: (string[] | boolean | string)
|
|
9421
9465
|
|
|
9466
|
+
forceNumericSort?: boolean
|
|
9467
|
+
|
|
9468
|
+
sortByValue?: boolean
|
|
9469
|
+
|
|
9422
9470
|
partitionByNewLine?: boolean
|
|
9423
9471
|
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9428
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9472
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9473
|
+
|
|
9474
|
+
ignoreCase?: boolean
|
|
9429
9475
|
|
|
9430
|
-
|
|
9476
|
+
alphabet?: string
|
|
9477
|
+
|
|
9478
|
+
locales?: (string | string[])
|
|
9431
9479
|
|
|
9432
9480
|
order?: ("asc" | "desc")
|
|
9433
9481
|
|
|
9434
|
-
|
|
9482
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9483
|
+
}]
|
|
9484
|
+
// ----- perfectionist/sort-exports -----
|
|
9485
|
+
type PerfectionistSortExports = []|[{
|
|
9486
|
+
|
|
9487
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9488
|
+
|
|
9489
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9490
|
+
|
|
9491
|
+
partitionByNewLine?: boolean
|
|
9492
|
+
|
|
9493
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9435
9494
|
|
|
9436
9495
|
ignoreCase?: boolean
|
|
9437
9496
|
|
|
9497
|
+
alphabet?: string
|
|
9498
|
+
|
|
9499
|
+
locales?: (string | string[])
|
|
9500
|
+
|
|
9501
|
+
order?: ("asc" | "desc")
|
|
9502
|
+
|
|
9503
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9504
|
+
}]
|
|
9505
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
9506
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
9507
|
+
|
|
9438
9508
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9439
9509
|
|
|
9440
|
-
|
|
9510
|
+
customGroups?: {
|
|
9511
|
+
[k: string]: (string | string[]) | undefined
|
|
9512
|
+
}
|
|
9441
9513
|
|
|
9442
|
-
|
|
9514
|
+
ignoreCase?: boolean
|
|
9443
9515
|
|
|
9444
|
-
|
|
9516
|
+
alphabet?: string
|
|
9445
9517
|
|
|
9446
|
-
|
|
9518
|
+
locales?: (string | string[])
|
|
9447
9519
|
|
|
9448
9520
|
groups?: (string | string[])[]
|
|
9449
9521
|
|
|
9522
|
+
order?: ("asc" | "desc")
|
|
9523
|
+
|
|
9524
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9525
|
+
}]
|
|
9526
|
+
// ----- perfectionist/sort-imports -----
|
|
9527
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9528
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9529
|
+
|
|
9450
9530
|
customGroups?: {
|
|
9451
|
-
|
|
9531
|
+
|
|
9532
|
+
value?: {
|
|
9452
9533
|
[k: string]: unknown | undefined
|
|
9453
9534
|
}
|
|
9454
|
-
|
|
9535
|
+
|
|
9536
|
+
type?: {
|
|
9455
9537
|
[k: string]: unknown | undefined
|
|
9456
9538
|
}
|
|
9457
9539
|
}
|
|
9458
9540
|
|
|
9541
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9542
|
+
|
|
9543
|
+
internalPattern?: string[]
|
|
9544
|
+
|
|
9545
|
+
maxLineLength?: number
|
|
9546
|
+
|
|
9547
|
+
sortSideEffects?: boolean
|
|
9548
|
+
|
|
9459
9549
|
environment?: ("node" | "bun")
|
|
9550
|
+
|
|
9551
|
+
tsconfigRootDir?: string
|
|
9552
|
+
|
|
9553
|
+
partitionByNewLine?: boolean
|
|
9554
|
+
|
|
9555
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9556
|
+
|
|
9557
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9558
|
+
|
|
9559
|
+
ignoreCase?: boolean
|
|
9560
|
+
|
|
9561
|
+
alphabet?: string
|
|
9562
|
+
|
|
9563
|
+
locales?: (string | string[])
|
|
9564
|
+
|
|
9565
|
+
groups?: (string | string[])[]
|
|
9566
|
+
|
|
9567
|
+
order?: ("asc" | "desc")
|
|
9568
|
+
|
|
9569
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9460
9570
|
})
|
|
9461
9571
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9462
9572
|
[k: string]: unknown | undefined
|
|
@@ -9468,284 +9578,405 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
9468
9578
|
// ----- perfectionist/sort-interfaces -----
|
|
9469
9579
|
type PerfectionistSortInterfaces = []|[{
|
|
9470
9580
|
|
|
9471
|
-
|
|
9581
|
+
ignorePattern?: string[]
|
|
9472
9582
|
|
|
9473
|
-
|
|
9583
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9584
|
+
customGroups?: ({
|
|
9585
|
+
[k: string]: (string | string[]) | undefined
|
|
9586
|
+
} | ({
|
|
9587
|
+
|
|
9588
|
+
groupName?: string
|
|
9589
|
+
|
|
9590
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9591
|
+
|
|
9592
|
+
order?: ("desc" | "asc")
|
|
9593
|
+
anyOf?: {
|
|
9594
|
+
|
|
9595
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9596
|
+
|
|
9597
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9598
|
+
|
|
9599
|
+
elementNamePattern?: string
|
|
9600
|
+
}[]
|
|
9601
|
+
} | {
|
|
9602
|
+
|
|
9603
|
+
groupName?: string
|
|
9604
|
+
|
|
9605
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9606
|
+
|
|
9607
|
+
order?: ("desc" | "asc")
|
|
9608
|
+
|
|
9609
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9610
|
+
|
|
9611
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9612
|
+
|
|
9613
|
+
elementNamePattern?: string
|
|
9614
|
+
})[])
|
|
9474
9615
|
|
|
9475
|
-
|
|
9616
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9476
9617
|
|
|
9477
|
-
|
|
9618
|
+
partitionByNewLine?: boolean
|
|
9478
9619
|
|
|
9479
9620
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9480
9621
|
|
|
9481
|
-
|
|
9622
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9482
9623
|
|
|
9483
|
-
|
|
9624
|
+
ignoreCase?: boolean
|
|
9484
9625
|
|
|
9485
|
-
|
|
9626
|
+
alphabet?: string
|
|
9486
9627
|
|
|
9487
|
-
|
|
9628
|
+
locales?: (string | string[])
|
|
9488
9629
|
|
|
9489
9630
|
groups?: (string | string[])[]
|
|
9490
9631
|
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9632
|
+
order?: ("asc" | "desc")
|
|
9633
|
+
|
|
9634
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9494
9635
|
}]
|
|
9495
9636
|
// ----- perfectionist/sort-intersection-types -----
|
|
9496
9637
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
9497
9638
|
|
|
9498
|
-
|
|
9639
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9499
9640
|
|
|
9500
|
-
|
|
9641
|
+
partitionByNewLine?: boolean
|
|
9642
|
+
|
|
9643
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9501
9644
|
|
|
9502
|
-
|
|
9645
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9503
9646
|
|
|
9504
9647
|
ignoreCase?: boolean
|
|
9505
9648
|
|
|
9506
|
-
|
|
9649
|
+
alphabet?: string
|
|
9650
|
+
|
|
9651
|
+
locales?: (string | string[])
|
|
9507
9652
|
|
|
9508
9653
|
groups?: (string | string[])[]
|
|
9509
9654
|
|
|
9510
|
-
|
|
9655
|
+
order?: ("asc" | "desc")
|
|
9511
9656
|
|
|
9512
|
-
|
|
9657
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9513
9658
|
}]
|
|
9514
9659
|
// ----- perfectionist/sort-jsx-props -----
|
|
9515
9660
|
type PerfectionistSortJsxProps = []|[{
|
|
9516
9661
|
|
|
9517
|
-
|
|
9662
|
+
ignorePattern?: string[]
|
|
9518
9663
|
|
|
9519
|
-
|
|
9664
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9520
9665
|
|
|
9521
|
-
|
|
9666
|
+
customGroups?: {
|
|
9667
|
+
[k: string]: (string | string[]) | undefined
|
|
9668
|
+
}
|
|
9522
9669
|
|
|
9523
9670
|
ignoreCase?: boolean
|
|
9524
9671
|
|
|
9525
|
-
|
|
9672
|
+
alphabet?: string
|
|
9526
9673
|
|
|
9527
|
-
|
|
9674
|
+
locales?: (string | string[])
|
|
9528
9675
|
|
|
9529
9676
|
groups?: (string | string[])[]
|
|
9530
9677
|
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9678
|
+
order?: ("asc" | "desc")
|
|
9679
|
+
|
|
9680
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9534
9681
|
}]
|
|
9535
9682
|
// ----- perfectionist/sort-maps -----
|
|
9536
9683
|
type PerfectionistSortMaps = []|[{
|
|
9537
9684
|
|
|
9538
|
-
|
|
9685
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9539
9686
|
|
|
9540
|
-
|
|
9687
|
+
partitionByNewLine?: boolean
|
|
9541
9688
|
|
|
9542
|
-
|
|
9689
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9543
9690
|
|
|
9544
9691
|
ignoreCase?: boolean
|
|
9545
9692
|
|
|
9546
|
-
|
|
9693
|
+
alphabet?: string
|
|
9694
|
+
|
|
9695
|
+
locales?: (string | string[])
|
|
9696
|
+
|
|
9697
|
+
order?: ("asc" | "desc")
|
|
9698
|
+
|
|
9699
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9700
|
+
}]
|
|
9701
|
+
// ----- perfectionist/sort-modules -----
|
|
9702
|
+
type PerfectionistSortModules = []|[{
|
|
9547
9703
|
|
|
9548
9704
|
partitionByComment?: (string[] | boolean | string)
|
|
9549
9705
|
|
|
9706
|
+
customGroups?: ({
|
|
9707
|
+
|
|
9708
|
+
groupName?: string
|
|
9709
|
+
|
|
9710
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9711
|
+
|
|
9712
|
+
order?: ("desc" | "asc")
|
|
9713
|
+
anyOf?: {
|
|
9714
|
+
|
|
9715
|
+
decoratorNamePattern?: string
|
|
9716
|
+
|
|
9717
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
9718
|
+
|
|
9719
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9720
|
+
|
|
9721
|
+
elementNamePattern?: string
|
|
9722
|
+
}[]
|
|
9723
|
+
} | {
|
|
9724
|
+
|
|
9725
|
+
groupName?: string
|
|
9726
|
+
|
|
9727
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9728
|
+
|
|
9729
|
+
order?: ("desc" | "asc")
|
|
9730
|
+
|
|
9731
|
+
decoratorNamePattern?: string
|
|
9732
|
+
|
|
9733
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
9734
|
+
|
|
9735
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9736
|
+
|
|
9737
|
+
elementNamePattern?: string
|
|
9738
|
+
})[]
|
|
9739
|
+
|
|
9550
9740
|
partitionByNewLine?: boolean
|
|
9741
|
+
|
|
9742
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9743
|
+
|
|
9744
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9745
|
+
|
|
9746
|
+
ignoreCase?: boolean
|
|
9747
|
+
|
|
9748
|
+
alphabet?: string
|
|
9749
|
+
|
|
9750
|
+
locales?: (string | string[])
|
|
9751
|
+
|
|
9752
|
+
groups?: (string | string[])[]
|
|
9753
|
+
|
|
9754
|
+
order?: ("asc" | "desc")
|
|
9755
|
+
|
|
9756
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9551
9757
|
}]
|
|
9552
9758
|
// ----- perfectionist/sort-named-exports -----
|
|
9553
9759
|
type PerfectionistSortNamedExports = []|[{
|
|
9554
9760
|
|
|
9555
|
-
|
|
9761
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9556
9762
|
|
|
9557
|
-
|
|
9763
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9764
|
+
|
|
9765
|
+
partitionByNewLine?: boolean
|
|
9558
9766
|
|
|
9559
|
-
|
|
9767
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9560
9768
|
|
|
9561
9769
|
ignoreCase?: boolean
|
|
9562
9770
|
|
|
9563
|
-
|
|
9771
|
+
alphabet?: string
|
|
9564
9772
|
|
|
9565
|
-
|
|
9773
|
+
locales?: (string | string[])
|
|
9566
9774
|
|
|
9567
|
-
|
|
9775
|
+
order?: ("asc" | "desc")
|
|
9568
9776
|
|
|
9569
|
-
|
|
9777
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9570
9778
|
}]
|
|
9571
9779
|
// ----- perfectionist/sort-named-imports -----
|
|
9572
9780
|
type PerfectionistSortNamedImports = []|[{
|
|
9573
9781
|
|
|
9574
|
-
|
|
9782
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9575
9783
|
|
|
9576
|
-
|
|
9784
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9577
9785
|
|
|
9578
|
-
|
|
9786
|
+
ignoreAlias?: boolean
|
|
9579
9787
|
|
|
9580
|
-
|
|
9788
|
+
partitionByNewLine?: boolean
|
|
9581
9789
|
|
|
9582
9790
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9583
9791
|
|
|
9584
|
-
|
|
9792
|
+
ignoreCase?: boolean
|
|
9585
9793
|
|
|
9586
|
-
|
|
9794
|
+
alphabet?: string
|
|
9587
9795
|
|
|
9588
|
-
|
|
9796
|
+
locales?: (string | string[])
|
|
9589
9797
|
|
|
9590
|
-
|
|
9798
|
+
order?: ("asc" | "desc")
|
|
9799
|
+
|
|
9800
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9591
9801
|
}]
|
|
9592
9802
|
// ----- perfectionist/sort-object-types -----
|
|
9593
9803
|
type PerfectionistSortObjectTypes = []|[{
|
|
9594
9804
|
|
|
9595
|
-
|
|
9805
|
+
ignorePattern?: string[]
|
|
9596
9806
|
|
|
9597
|
-
|
|
9807
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9808
|
+
customGroups?: ({
|
|
9809
|
+
[k: string]: (string | string[]) | undefined
|
|
9810
|
+
} | ({
|
|
9811
|
+
|
|
9812
|
+
groupName?: string
|
|
9813
|
+
|
|
9814
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9815
|
+
|
|
9816
|
+
order?: ("desc" | "asc")
|
|
9817
|
+
anyOf?: {
|
|
9818
|
+
|
|
9819
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9820
|
+
|
|
9821
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9822
|
+
|
|
9823
|
+
elementNamePattern?: string
|
|
9824
|
+
}[]
|
|
9825
|
+
} | {
|
|
9826
|
+
|
|
9827
|
+
groupName?: string
|
|
9828
|
+
|
|
9829
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9830
|
+
|
|
9831
|
+
order?: ("desc" | "asc")
|
|
9832
|
+
|
|
9833
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9834
|
+
|
|
9835
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9836
|
+
|
|
9837
|
+
elementNamePattern?: string
|
|
9838
|
+
})[])
|
|
9598
9839
|
|
|
9599
|
-
|
|
9840
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9600
9841
|
|
|
9601
|
-
|
|
9842
|
+
partitionByNewLine?: boolean
|
|
9602
9843
|
|
|
9603
9844
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9604
9845
|
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
partitionByNewLine?: boolean
|
|
9846
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9608
9847
|
|
|
9609
|
-
|
|
9848
|
+
ignoreCase?: boolean
|
|
9610
9849
|
|
|
9611
|
-
|
|
9850
|
+
alphabet?: string
|
|
9612
9851
|
|
|
9613
|
-
|
|
9614
|
-
[k: string]: (string | string[]) | undefined
|
|
9615
|
-
}
|
|
9616
|
-
}]
|
|
9617
|
-
// ----- perfectionist/sort-objects -----
|
|
9618
|
-
type PerfectionistSortObjects = []|[{
|
|
9852
|
+
locales?: (string | string[])
|
|
9619
9853
|
|
|
9620
|
-
|
|
9854
|
+
groups?: (string | string[])[]
|
|
9621
9855
|
|
|
9622
9856
|
order?: ("asc" | "desc")
|
|
9623
9857
|
|
|
9624
|
-
|
|
9858
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9859
|
+
}]
|
|
9860
|
+
// ----- perfectionist/sort-objects -----
|
|
9861
|
+
type PerfectionistSortObjects = {
|
|
9625
9862
|
|
|
9626
|
-
|
|
9863
|
+
destructuredObjects?: (boolean | {
|
|
9864
|
+
|
|
9865
|
+
groups?: boolean
|
|
9866
|
+
})
|
|
9627
9867
|
|
|
9628
|
-
|
|
9868
|
+
ignorePattern?: string[]
|
|
9629
9869
|
|
|
9630
9870
|
partitionByComment?: (string[] | boolean | string)
|
|
9631
9871
|
|
|
9632
|
-
|
|
9872
|
+
destructureOnly?: boolean
|
|
9873
|
+
|
|
9874
|
+
objectDeclarations?: boolean
|
|
9633
9875
|
|
|
9634
9876
|
styledComponents?: boolean
|
|
9635
9877
|
|
|
9636
|
-
|
|
9878
|
+
partitionByNewLine?: boolean
|
|
9879
|
+
useConfigurationIf?: {
|
|
9880
|
+
allNamesMatchPattern?: string
|
|
9881
|
+
}
|
|
9637
9882
|
|
|
9638
|
-
|
|
9883
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9639
9884
|
|
|
9640
|
-
|
|
9885
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9641
9886
|
|
|
9642
9887
|
customGroups?: {
|
|
9643
9888
|
[k: string]: (string | string[]) | undefined
|
|
9644
9889
|
}
|
|
9645
|
-
}]
|
|
9646
|
-
// ----- perfectionist/sort-sets -----
|
|
9647
|
-
type PerfectionistSortSets = []|[{
|
|
9648
9890
|
|
|
9649
|
-
|
|
9891
|
+
ignoreCase?: boolean
|
|
9650
9892
|
|
|
9651
|
-
|
|
9893
|
+
alphabet?: string
|
|
9652
9894
|
|
|
9653
|
-
|
|
9895
|
+
locales?: (string | string[])
|
|
9654
9896
|
|
|
9655
|
-
|
|
9897
|
+
groups?: (string | string[])[]
|
|
9656
9898
|
|
|
9657
|
-
|
|
9899
|
+
order?: ("asc" | "desc")
|
|
9658
9900
|
|
|
9659
|
-
|
|
9901
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9902
|
+
}[]
|
|
9903
|
+
// ----- perfectionist/sort-sets -----
|
|
9904
|
+
type PerfectionistSortSets = []|[{
|
|
9660
9905
|
|
|
9661
9906
|
partitionByComment?: (string[] | boolean | string)
|
|
9662
9907
|
|
|
9663
|
-
|
|
9664
|
-
}]
|
|
9665
|
-
// ----- perfectionist/sort-svelte-attributes -----
|
|
9666
|
-
type PerfectionistSortSvelteAttributes = []|[{
|
|
9667
|
-
|
|
9668
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9908
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9669
9909
|
|
|
9670
|
-
|
|
9910
|
+
partitionByNewLine?: boolean
|
|
9671
9911
|
|
|
9672
|
-
|
|
9912
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9673
9913
|
|
|
9674
9914
|
ignoreCase?: boolean
|
|
9675
9915
|
|
|
9676
|
-
|
|
9916
|
+
alphabet?: string
|
|
9677
9917
|
|
|
9678
|
-
|
|
9918
|
+
locales?: (string | string[])
|
|
9679
9919
|
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9920
|
+
order?: ("asc" | "desc")
|
|
9921
|
+
|
|
9922
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9683
9923
|
}]
|
|
9684
9924
|
// ----- perfectionist/sort-switch-case -----
|
|
9685
9925
|
type PerfectionistSortSwitchCase = []|[{
|
|
9686
9926
|
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
order?: ("asc" | "desc")
|
|
9927
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9690
9928
|
|
|
9691
9929
|
ignoreCase?: boolean
|
|
9692
9930
|
|
|
9693
|
-
|
|
9931
|
+
alphabet?: string
|
|
9932
|
+
|
|
9933
|
+
locales?: (string | string[])
|
|
9934
|
+
|
|
9935
|
+
order?: ("asc" | "desc")
|
|
9936
|
+
|
|
9937
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9694
9938
|
}]
|
|
9695
9939
|
// ----- perfectionist/sort-union-types -----
|
|
9696
9940
|
type PerfectionistSortUnionTypes = []|[{
|
|
9697
9941
|
|
|
9698
|
-
|
|
9942
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9699
9943
|
|
|
9700
|
-
|
|
9944
|
+
partitionByNewLine?: boolean
|
|
9945
|
+
|
|
9946
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9701
9947
|
|
|
9702
|
-
|
|
9948
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9703
9949
|
|
|
9704
9950
|
ignoreCase?: boolean
|
|
9705
9951
|
|
|
9706
|
-
|
|
9952
|
+
alphabet?: string
|
|
9953
|
+
|
|
9954
|
+
locales?: (string | string[])
|
|
9707
9955
|
|
|
9708
9956
|
groups?: (string | string[])[]
|
|
9709
9957
|
|
|
9710
|
-
|
|
9958
|
+
order?: ("asc" | "desc")
|
|
9711
9959
|
|
|
9712
|
-
|
|
9960
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9713
9961
|
}]
|
|
9714
9962
|
// ----- perfectionist/sort-variable-declarations -----
|
|
9715
9963
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
9716
9964
|
|
|
9717
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9718
|
-
|
|
9719
|
-
order?: ("asc" | "desc")
|
|
9720
|
-
|
|
9721
|
-
matcher?: ("minimatch" | "regex")
|
|
9722
|
-
|
|
9723
|
-
ignoreCase?: boolean
|
|
9724
|
-
|
|
9725
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9726
|
-
|
|
9727
9965
|
partitionByComment?: (string[] | boolean | string)
|
|
9728
9966
|
|
|
9729
9967
|
partitionByNewLine?: boolean
|
|
9730
|
-
}]
|
|
9731
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
9732
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
9733
|
-
|
|
9734
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9735
9968
|
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
matcher?: ("minimatch" | "regex")
|
|
9969
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9739
9970
|
|
|
9740
9971
|
ignoreCase?: boolean
|
|
9741
9972
|
|
|
9742
|
-
|
|
9973
|
+
alphabet?: string
|
|
9743
9974
|
|
|
9744
|
-
|
|
9975
|
+
locales?: (string | string[])
|
|
9745
9976
|
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9977
|
+
order?: ("asc" | "desc")
|
|
9978
|
+
|
|
9979
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9749
9980
|
}]
|
|
9750
9981
|
// ----- prefer-arrow-callback -----
|
|
9751
9982
|
type PreferArrowCallback = []|[{
|
|
@@ -9797,18 +10028,6 @@ type PreferReflect = []|[{
|
|
|
9797
10028
|
type PreferRegexLiterals = []|[{
|
|
9798
10029
|
disallowRedundantWrapping?: boolean
|
|
9799
10030
|
}]
|
|
9800
|
-
// ----- prettier/prettier -----
|
|
9801
|
-
type PrettierPrettier = []|[{
|
|
9802
|
-
[k: string]: unknown | undefined
|
|
9803
|
-
}]|[{
|
|
9804
|
-
[k: string]: unknown | undefined
|
|
9805
|
-
}, {
|
|
9806
|
-
usePrettierrc?: boolean
|
|
9807
|
-
fileInfoOptions?: {
|
|
9808
|
-
[k: string]: unknown | undefined
|
|
9809
|
-
}
|
|
9810
|
-
[k: string]: unknown | undefined
|
|
9811
|
-
}]
|
|
9812
10031
|
// ----- quote-props -----
|
|
9813
10032
|
type QuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
9814
10033
|
keywords?: boolean
|
|
@@ -9850,12 +10069,14 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
9850
10069
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
9851
10070
|
allow?: ("always" | "as-needed")
|
|
9852
10071
|
extensions?: string[]
|
|
10072
|
+
ignoreFilesWithoutCode?: boolean
|
|
9853
10073
|
})]
|
|
9854
10074
|
// ----- react-refresh/only-export-components -----
|
|
9855
10075
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
10076
|
+
allowExportNames?: string[]
|
|
9856
10077
|
allowConstantExport?: boolean
|
|
10078
|
+
customHOCs?: string[]
|
|
9857
10079
|
checkJS?: boolean
|
|
9858
|
-
allowExportNames?: string[]
|
|
9859
10080
|
}]
|
|
9860
10081
|
// ----- react/no-useless-fragment -----
|
|
9861
10082
|
type ReactNoUselessFragment = []|[{
|
|
@@ -10019,6 +10240,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
10019
10240
|
natural?: boolean
|
|
10020
10241
|
minKeys?: number
|
|
10021
10242
|
allowLineSeparatedGroups?: boolean
|
|
10243
|
+
ignoreComputedKeys?: boolean
|
|
10022
10244
|
}]
|
|
10023
10245
|
// ----- sort-vars -----
|
|
10024
10246
|
type SortVars = []|[{
|
|
@@ -10923,6 +11145,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
10923
11145
|
ignoreArrowShorthand?: boolean
|
|
10924
11146
|
|
|
10925
11147
|
ignoreVoidOperator?: boolean
|
|
11148
|
+
|
|
11149
|
+
ignoreVoidReturningFunctions?: boolean
|
|
10926
11150
|
}]
|
|
10927
11151
|
// ----- ts/no-duplicate-type-constituents -----
|
|
10928
11152
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -11359,6 +11583,10 @@ type TsPreferOptionalChain = []|[{
|
|
|
11359
11583
|
type TsPreferPromiseRejectErrors = []|[{
|
|
11360
11584
|
|
|
11361
11585
|
allowEmptyReject?: boolean
|
|
11586
|
+
|
|
11587
|
+
allowThrowingAny?: boolean
|
|
11588
|
+
|
|
11589
|
+
allowThrowingUnknown?: boolean
|
|
11362
11590
|
}]
|
|
11363
11591
|
// ----- ts/prefer-readonly -----
|
|
11364
11592
|
type TsPreferReadonly = []|[{
|
|
@@ -11498,6 +11726,8 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
11498
11726
|
|
|
11499
11727
|
considerDefaultExhaustiveForUnions?: boolean
|
|
11500
11728
|
|
|
11729
|
+
defaultCaseCommentPattern?: string
|
|
11730
|
+
|
|
11501
11731
|
requireDefaultForNonUnion?: boolean
|
|
11502
11732
|
}]
|
|
11503
11733
|
// ----- ts/triple-slash-reference -----
|
|
@@ -11830,6 +12060,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
11830
12060
|
} & {
|
|
11831
12061
|
[k: string]: unknown | undefined
|
|
11832
12062
|
})[]
|
|
12063
|
+
ignoreTags?: string[]
|
|
11833
12064
|
}]
|
|
11834
12065
|
// ----- vue/attributes-order -----
|
|
11835
12066
|
type VueAttributesOrder = []|[{
|
|
@@ -12526,6 +12757,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
12526
12757
|
type VueNoDupeKeys = []|[{
|
|
12527
12758
|
groups?: unknown[]
|
|
12528
12759
|
}]
|
|
12760
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
12761
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
12762
|
+
checkMultiRootNodes?: boolean
|
|
12763
|
+
}]
|
|
12529
12764
|
// ----- vue/no-duplicate-attributes -----
|
|
12530
12765
|
type VueNoDuplicateAttributes = []|[{
|
|
12531
12766
|
allowCoexistClass?: boolean
|
|
@@ -12624,6 +12859,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
12624
12859
|
type VueNoReservedComponentNames = []|[{
|
|
12625
12860
|
disallowVueBuiltInComponents?: boolean
|
|
12626
12861
|
disallowVue3BuiltInComponents?: boolean
|
|
12862
|
+
htmlElementCaseSensitive?: boolean
|
|
12627
12863
|
}]
|
|
12628
12864
|
// ----- vue/no-reserved-keys -----
|
|
12629
12865
|
type VueNoReservedKeys = []|[{
|
|
@@ -12760,6 +12996,7 @@ type VueNoUselessVBind = []|[{
|
|
|
12760
12996
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
12761
12997
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
12762
12998
|
allow?: string[]
|
|
12999
|
+
ignoreElementNamespaces?: boolean
|
|
12763
13000
|
}]
|
|
12764
13001
|
// ----- vue/object-curly-newline -----
|
|
12765
13002
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -12870,6 +13107,10 @@ type VueRequirePropComment = []|[{
|
|
|
12870
13107
|
type VueRequireToggleInsideTransition = []|[{
|
|
12871
13108
|
additionalDirectives?: string[]
|
|
12872
13109
|
}]
|
|
13110
|
+
// ----- vue/restricted-component-names -----
|
|
13111
|
+
type VueRestrictedComponentNames = []|[{
|
|
13112
|
+
allow?: string[]
|
|
13113
|
+
}]
|
|
12873
13114
|
// ----- vue/return-in-computed-property -----
|
|
12874
13115
|
type VueReturnInComputedProperty = []|[{
|
|
12875
13116
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -12891,6 +13132,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
12891
13132
|
ignores?: string[]
|
|
12892
13133
|
externalIgnores?: string[]
|
|
12893
13134
|
}]
|
|
13135
|
+
// ----- vue/slot-name-casing -----
|
|
13136
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
12894
13137
|
// ----- vue/sort-keys -----
|
|
12895
13138
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
12896
13139
|
caseSensitive?: boolean
|
|
@@ -12934,6 +13177,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
12934
13177
|
} & {
|
|
12935
13178
|
[k: string]: unknown | undefined
|
|
12936
13179
|
})[]
|
|
13180
|
+
ignoreTags?: string[]
|
|
12937
13181
|
}]
|
|
12938
13182
|
// ----- vue/v-on-function-call -----
|
|
12939
13183
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -13855,25 +14099,25 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13855
14099
|
'padded-blocks'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13856
14100
|
'padding-line-between-statements'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13857
14101
|
'perfectionist/sort-array-includes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13858
|
-
'perfectionist/sort-astro-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13859
14102
|
'perfectionist/sort-classes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14103
|
+
'perfectionist/sort-decorators'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13860
14104
|
'perfectionist/sort-enums'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13861
14105
|
'perfectionist/sort-exports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14106
|
+
'perfectionist/sort-heritage-clauses'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13862
14107
|
'perfectionist/sort-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13863
14108
|
'perfectionist/sort-interfaces'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13864
14109
|
'perfectionist/sort-intersection-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13865
14110
|
'perfectionist/sort-jsx-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13866
14111
|
'perfectionist/sort-maps'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14112
|
+
'perfectionist/sort-modules'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13867
14113
|
'perfectionist/sort-named-exports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13868
14114
|
'perfectionist/sort-named-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13869
14115
|
'perfectionist/sort-object-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13870
14116
|
'perfectionist/sort-objects'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13871
14117
|
'perfectionist/sort-sets'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13872
|
-
'perfectionist/sort-svelte-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13873
14118
|
'perfectionist/sort-switch-case'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13874
14119
|
'perfectionist/sort-union-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13875
14120
|
'perfectionist/sort-variable-declarations'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13876
|
-
'perfectionist/sort-vue-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13877
14121
|
'prefer-arrow-callback'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13878
14122
|
'prefer-const'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13879
14123
|
'prefer-destructuring'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -13888,7 +14132,6 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13888
14132
|
'prefer-rest-params'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13889
14133
|
'prefer-spread'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13890
14134
|
'prefer-template'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13891
|
-
'prettier/prettier'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13892
14135
|
'quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13893
14136
|
quotes?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
13894
14137
|
radix?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -13940,10 +14183,12 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
13940
14183
|
'react/no-component-will-mount'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13941
14184
|
'react/no-component-will-receive-props'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13942
14185
|
'react/no-component-will-update'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14186
|
+
'react/no-context-provider'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13943
14187
|
'react/no-create-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13944
14188
|
'react/no-default-props'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13945
14189
|
'react/no-direct-mutation-state'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13946
14190
|
'react/no-duplicate-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14191
|
+
'react/no-forward-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13947
14192
|
'react/no-implicit-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13948
14193
|
'react/no-leaked-conditional-rendering'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
13949
14194
|
'react/no-missing-component-display-name'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -14141,6 +14386,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14141
14386
|
'test/require-top-level-describe'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14142
14387
|
'test/valid-describe-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14143
14388
|
'test/valid-expect'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14389
|
+
'test/valid-expect-in-promise'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14144
14390
|
'test/valid-title'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14145
14391
|
'ts/adjacent-overload-signatures'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14146
14392
|
'ts/array-type'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14225,6 +14471,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14225
14471
|
'ts/no-unsafe-function-type'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14226
14472
|
'ts/no-unsafe-member-access'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14227
14473
|
'ts/no-unsafe-return'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14474
|
+
'ts/no-unsafe-type-assertion'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14228
14475
|
'ts/no-unsafe-unary-minus'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14229
14476
|
'ts/no-unused-expressions'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14230
14477
|
'ts/no-unused-vars'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14256,6 +14503,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14256
14503
|
'ts/prefer-string-starts-ends-with'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14257
14504
|
'ts/prefer-ts-expect-error'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14258
14505
|
'ts/promise-function-async'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14506
|
+
'ts/related-getter-setter-pairs'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14259
14507
|
'ts/require-array-sort-compare'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14260
14508
|
'ts/require-await'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14261
14509
|
'ts/restrict-plus-operands'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14508,7 +14756,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14508
14756
|
'vue/no-deprecated-vue-config-keycodes'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14509
14757
|
'vue/no-dupe-keys'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14510
14758
|
'vue/no-dupe-v-else-if'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14511
|
-
'vue/no-duplicate-attr-inheritance'?: eslint.Linter.RuleEntry<
|
|
14759
|
+
'vue/no-duplicate-attr-inheritance'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14512
14760
|
'vue/no-duplicate-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14513
14761
|
'vue/no-empty-component-block'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14514
14762
|
'vue/no-empty-pattern'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -14597,6 +14845,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14597
14845
|
'vue/prefer-separate-static-class'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14598
14846
|
'vue/prefer-template'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14599
14847
|
'vue/prefer-true-attribute-shorthand'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14848
|
+
'vue/prefer-use-template-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14600
14849
|
'vue/prop-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14601
14850
|
'vue/quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14602
14851
|
'vue/require-component-is'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -14619,11 +14868,13 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14619
14868
|
'vue/require-typed-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14620
14869
|
'vue/require-v-for-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14621
14870
|
'vue/require-valid-default-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14871
|
+
'vue/restricted-component-names'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14622
14872
|
'vue/return-in-computed-property'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14623
14873
|
'vue/return-in-emits-validator'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14624
14874
|
'vue/script-indent'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14625
14875
|
'vue/script-setup-uses-vars'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14626
14876
|
'vue/singleline-html-element-content-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14877
|
+
'vue/slot-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14627
14878
|
'vue/sort-keys'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14628
14879
|
'vue/space-in-parens'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14629
14880
|
'vue/space-infix-ops'?: eslint.Linter.RuleEntry<undefined> | undefined;
|