@ghettoddos/eslint-config 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +331 -277
- package/dist/index.js +61 -50
- package/package.json +21 -14
package/dist/index.d.ts
CHANGED
|
@@ -386,233 +386,233 @@ interface RuleOptions {
|
|
|
386
386
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
387
387
|
/**
|
|
388
388
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
389
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
389
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/consistent-type-specifier-style.md
|
|
390
390
|
*/
|
|
391
391
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
392
392
|
/**
|
|
393
393
|
* Ensure a default export is present, given a default import.
|
|
394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/default.md
|
|
395
395
|
*/
|
|
396
396
|
'import/default'?: Linter.RuleEntry<[]>
|
|
397
397
|
/**
|
|
398
398
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
399
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/dynamic-import-chunkname.md
|
|
400
400
|
*/
|
|
401
401
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
402
402
|
/**
|
|
403
403
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
404
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/export.md
|
|
405
405
|
*/
|
|
406
406
|
'import/export'?: Linter.RuleEntry<[]>
|
|
407
407
|
/**
|
|
408
408
|
* Ensure all exports appear after other statements.
|
|
409
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/exports-last.md
|
|
410
410
|
*/
|
|
411
411
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
412
412
|
/**
|
|
413
413
|
* Ensure consistent use of file extension within the import path.
|
|
414
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/extensions.md
|
|
415
415
|
*/
|
|
416
416
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
417
417
|
/**
|
|
418
418
|
* Ensure all imports appear before other statements.
|
|
419
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/first.md
|
|
420
420
|
*/
|
|
421
421
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
422
422
|
/**
|
|
423
423
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
424
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/group-exports.md
|
|
425
425
|
*/
|
|
426
426
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
427
427
|
/**
|
|
428
428
|
* Replaced by `import-x/first`.
|
|
429
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
429
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/imports-first.md
|
|
430
430
|
* @deprecated
|
|
431
431
|
*/
|
|
432
432
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
433
433
|
/**
|
|
434
434
|
* Enforce the maximum number of dependencies a module can have.
|
|
435
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
435
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/max-dependencies.md
|
|
436
436
|
*/
|
|
437
437
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
438
438
|
/**
|
|
439
439
|
* Ensure named imports correspond to a named export in the remote file.
|
|
440
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
440
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/named.md
|
|
441
441
|
*/
|
|
442
442
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
443
443
|
/**
|
|
444
444
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
445
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
445
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/namespace.md
|
|
446
446
|
*/
|
|
447
447
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
448
448
|
/**
|
|
449
449
|
* Enforce a newline after import statements.
|
|
450
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
450
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/newline-after-import.md
|
|
451
451
|
*/
|
|
452
452
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
453
453
|
/**
|
|
454
454
|
* Forbid import of modules using absolute paths.
|
|
455
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
455
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-absolute-path.md
|
|
456
456
|
*/
|
|
457
457
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
458
458
|
/**
|
|
459
459
|
* Forbid AMD `require` and `define` calls.
|
|
460
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
460
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-amd.md
|
|
461
461
|
*/
|
|
462
462
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
463
463
|
/**
|
|
464
464
|
* Forbid anonymous values as default exports.
|
|
465
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
465
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-anonymous-default-export.md
|
|
466
466
|
*/
|
|
467
467
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
468
468
|
/**
|
|
469
469
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
470
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
470
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-commonjs.md
|
|
471
471
|
*/
|
|
472
472
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
473
473
|
/**
|
|
474
474
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
475
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
475
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-cycle.md
|
|
476
476
|
*/
|
|
477
477
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
478
478
|
/**
|
|
479
479
|
* Forbid default exports.
|
|
480
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
480
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-default-export.md
|
|
481
481
|
*/
|
|
482
482
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
483
483
|
/**
|
|
484
484
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
485
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
485
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-deprecated.md
|
|
486
486
|
*/
|
|
487
487
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
488
488
|
/**
|
|
489
489
|
* Forbid repeated import of the same module in multiple places.
|
|
490
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
490
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-duplicates.md
|
|
491
491
|
*/
|
|
492
492
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
493
493
|
/**
|
|
494
494
|
* Forbid `require()` calls with expressions.
|
|
495
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
495
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-dynamic-require.md
|
|
496
496
|
*/
|
|
497
497
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
498
498
|
/**
|
|
499
499
|
* Forbid empty named import blocks.
|
|
500
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
500
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-empty-named-blocks.md
|
|
501
501
|
*/
|
|
502
502
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
503
503
|
/**
|
|
504
504
|
* Forbid the use of extraneous packages.
|
|
505
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
505
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-extraneous-dependencies.md
|
|
506
506
|
*/
|
|
507
507
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
508
508
|
/**
|
|
509
509
|
* Forbid import statements with CommonJS module.exports.
|
|
510
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
510
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-import-module-exports.md
|
|
511
511
|
*/
|
|
512
512
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
513
513
|
/**
|
|
514
514
|
* Forbid importing the submodules of other modules.
|
|
515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
515
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-internal-modules.md
|
|
516
516
|
*/
|
|
517
517
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
518
518
|
/**
|
|
519
519
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
520
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-mutable-exports.md
|
|
521
521
|
*/
|
|
522
522
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
523
523
|
/**
|
|
524
524
|
* Forbid use of exported name as identifier of default export.
|
|
525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
525
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-as-default.md
|
|
526
526
|
*/
|
|
527
527
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
528
528
|
/**
|
|
529
529
|
* Forbid use of exported name as property of default export.
|
|
530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
530
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-as-default-member.md
|
|
531
531
|
*/
|
|
532
532
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
533
533
|
/**
|
|
534
534
|
* Forbid named default exports.
|
|
535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
535
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-default.md
|
|
536
536
|
*/
|
|
537
537
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
538
538
|
/**
|
|
539
539
|
* Forbid named exports.
|
|
540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
540
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-named-export.md
|
|
541
541
|
*/
|
|
542
542
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
543
543
|
/**
|
|
544
544
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
545
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-namespace.md
|
|
546
546
|
*/
|
|
547
547
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
548
548
|
/**
|
|
549
549
|
* Forbid Node.js builtin modules.
|
|
550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
550
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-nodejs-modules.md
|
|
551
551
|
*/
|
|
552
552
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
553
553
|
/**
|
|
554
554
|
* Forbid importing packages through relative paths.
|
|
555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
555
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-relative-packages.md
|
|
556
556
|
*/
|
|
557
557
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
558
558
|
/**
|
|
559
559
|
* Forbid importing modules from parent directories.
|
|
560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
560
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-relative-parent-imports.md
|
|
561
561
|
*/
|
|
562
562
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
563
563
|
/**
|
|
564
564
|
* Forbid importing a default export by a different name.
|
|
565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
565
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-rename-default.md
|
|
566
566
|
*/
|
|
567
567
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
568
568
|
/**
|
|
569
569
|
* Enforce which files can be imported in a given folder.
|
|
570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-restricted-paths.md
|
|
571
571
|
*/
|
|
572
572
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
573
573
|
/**
|
|
574
574
|
* Forbid a module from importing itself.
|
|
575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-self-import.md
|
|
576
576
|
*/
|
|
577
577
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
578
578
|
/**
|
|
579
579
|
* Forbid unassigned imports.
|
|
580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unassigned-import.md
|
|
581
581
|
*/
|
|
582
582
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
583
583
|
/**
|
|
584
584
|
* Ensure imports point to a file/module that can be resolved.
|
|
585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unresolved.md
|
|
586
586
|
*/
|
|
587
587
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
588
588
|
/**
|
|
589
589
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-unused-modules.md
|
|
591
591
|
*/
|
|
592
592
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
593
593
|
/**
|
|
594
594
|
* Forbid unnecessary path segments in import and require statements.
|
|
595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-useless-path-segments.md
|
|
596
596
|
*/
|
|
597
597
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
598
598
|
/**
|
|
599
599
|
* Forbid webpack loader syntax in imports.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/no-webpack-loader-syntax.md
|
|
601
601
|
*/
|
|
602
602
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
603
603
|
/**
|
|
604
604
|
* Enforce a convention in module import order.
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/order.md
|
|
606
606
|
*/
|
|
607
607
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
608
608
|
/**
|
|
609
609
|
* Prefer a default export if module exports a single name or multiple names.
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/prefer-default-export.md
|
|
611
611
|
*/
|
|
612
612
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
613
613
|
/**
|
|
614
614
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
615
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.3/docs/rules/unambiguous.md
|
|
616
616
|
*/
|
|
617
617
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
618
618
|
/**
|
|
@@ -2276,122 +2276,142 @@ interface RuleOptions {
|
|
|
2276
2276
|
*/
|
|
2277
2277
|
'radix'?: Linter.RuleEntry<Radix>
|
|
2278
2278
|
/**
|
|
2279
|
-
*
|
|
2279
|
+
* Disallow `children` in void DOM elements.
|
|
2280
2280
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2281
2281
|
*/
|
|
2282
2282
|
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
2283
2283
|
/**
|
|
2284
|
-
*
|
|
2284
|
+
* Disallow `dangerouslySetInnerHTML`.
|
|
2285
2285
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
2286
2286
|
*/
|
|
2287
2287
|
'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
|
|
2288
2288
|
/**
|
|
2289
|
-
*
|
|
2289
|
+
* Disallow `dangerouslySetInnerHTML` and `children` at the same time.
|
|
2290
2290
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
|
|
2291
2291
|
*/
|
|
2292
2292
|
'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
|
|
2293
2293
|
/**
|
|
2294
|
-
*
|
|
2294
|
+
* Disallow `findDOMNode`.
|
|
2295
2295
|
* @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
|
|
2296
2296
|
*/
|
|
2297
2297
|
'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
|
|
2298
2298
|
/**
|
|
2299
|
-
*
|
|
2299
|
+
* Disallow `flushSync`.
|
|
2300
2300
|
* @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
|
|
2301
2301
|
*/
|
|
2302
2302
|
'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
|
|
2303
2303
|
/**
|
|
2304
|
-
*
|
|
2304
|
+
* Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.
|
|
2305
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
|
|
2306
|
+
*/
|
|
2307
|
+
'react-dom/no-hydrate'?: Linter.RuleEntry<[]>
|
|
2308
|
+
/**
|
|
2309
|
+
* Enforces explicit `type` attribute for `button` elements.
|
|
2305
2310
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
|
|
2306
2311
|
*/
|
|
2307
2312
|
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
|
|
2308
2313
|
/**
|
|
2309
|
-
*
|
|
2314
|
+
* Enforces explicit `sandbox` attribute for `iframe` elements.
|
|
2310
2315
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
|
|
2311
2316
|
*/
|
|
2312
2317
|
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2313
2318
|
/**
|
|
2314
|
-
*
|
|
2319
|
+
* Enforces the absence of a `namespace` in React elements.
|
|
2315
2320
|
* @see https://eslint-react.xyz/docs/rules/dom-no-namespace
|
|
2316
2321
|
*/
|
|
2317
2322
|
'react-dom/no-namespace'?: Linter.RuleEntry<[]>
|
|
2318
2323
|
/**
|
|
2319
|
-
*
|
|
2324
|
+
* Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.
|
|
2325
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-render
|
|
2326
|
+
*/
|
|
2327
|
+
'react-dom/no-render'?: Linter.RuleEntry<[]>
|
|
2328
|
+
/**
|
|
2329
|
+
* Disallow the return value of `ReactDOM.render`.
|
|
2320
2330
|
* @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
|
|
2321
2331
|
*/
|
|
2322
2332
|
'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
|
|
2323
2333
|
/**
|
|
2324
|
-
*
|
|
2334
|
+
* Disallow `javascript:` URLs as attribute values.
|
|
2325
2335
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2326
2336
|
*/
|
|
2327
2337
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2328
2338
|
/**
|
|
2329
|
-
*
|
|
2339
|
+
* Disallow unknown `DOM` property.
|
|
2330
2340
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
2331
2341
|
*/
|
|
2332
2342
|
'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
|
|
2333
2343
|
/**
|
|
2334
|
-
*
|
|
2344
|
+
* Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.
|
|
2335
2345
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
2336
2346
|
*/
|
|
2337
2347
|
'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2338
2348
|
/**
|
|
2339
|
-
*
|
|
2349
|
+
* Disallow `target="_blank"` without `rel="noreferrer noopener"`.
|
|
2340
2350
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
2341
2351
|
*/
|
|
2342
2352
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2343
2353
|
/**
|
|
2344
|
-
*
|
|
2354
|
+
* Replaces usages of `useFormState` with `useActionState`.
|
|
2355
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
|
|
2356
|
+
*/
|
|
2357
|
+
'react-dom/no-use-form-state'?: Linter.RuleEntry<[]>
|
|
2358
|
+
/**
|
|
2359
|
+
* Disallow `children` in void DOM elements.
|
|
2345
2360
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2346
2361
|
*/
|
|
2347
2362
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
|
|
2348
2363
|
/**
|
|
2349
|
-
*
|
|
2350
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2364
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2365
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2351
2366
|
*/
|
|
2352
2367
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2353
2368
|
/**
|
|
2354
|
-
*
|
|
2369
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
2355
2370
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2356
2371
|
*/
|
|
2357
2372
|
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2358
2373
|
/**
|
|
2359
|
-
*
|
|
2374
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
2360
2375
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2361
2376
|
*/
|
|
2362
2377
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2363
2378
|
/**
|
|
2364
|
-
*
|
|
2379
|
+
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
2365
2380
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2366
2381
|
*/
|
|
2367
2382
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2368
2383
|
/**
|
|
2369
|
-
*
|
|
2384
|
+
* Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
|
|
2370
2385
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2371
2386
|
*/
|
|
2372
2387
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2373
2388
|
/**
|
|
2374
|
-
*
|
|
2375
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2389
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2390
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2376
2391
|
*/
|
|
2377
2392
|
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
2378
2393
|
/**
|
|
2379
|
-
*
|
|
2394
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
2380
2395
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2381
2396
|
*/
|
|
2382
2397
|
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
|
|
2383
2398
|
/**
|
|
2384
|
-
*
|
|
2399
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
2385
2400
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2386
2401
|
*/
|
|
2387
2402
|
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
2388
2403
|
/**
|
|
2389
|
-
*
|
|
2390
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2404
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2405
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2406
|
+
*/
|
|
2407
|
+
'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
|
|
2408
|
+
/**
|
|
2409
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
2410
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2391
2411
|
*/
|
|
2392
2412
|
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
|
|
2393
2413
|
/**
|
|
2394
|
-
*
|
|
2414
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
2395
2415
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2396
2416
|
*/
|
|
2397
2417
|
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
@@ -2406,324 +2426,339 @@ interface RuleOptions {
|
|
|
2406
2426
|
*/
|
|
2407
2427
|
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2408
2428
|
/**
|
|
2409
|
-
*
|
|
2429
|
+
* Enforces naming conventions for components.
|
|
2410
2430
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2411
2431
|
*/
|
|
2412
2432
|
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
2413
2433
|
/**
|
|
2414
|
-
*
|
|
2434
|
+
* Enforces context name to be a valid component name with the suffix `Context`.
|
|
2415
2435
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2416
2436
|
*/
|
|
2417
2437
|
'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
2418
2438
|
/**
|
|
2419
|
-
*
|
|
2439
|
+
* Enforces consistent file naming conventions.
|
|
2420
2440
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
2421
2441
|
*/
|
|
2422
2442
|
'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
|
|
2423
2443
|
/**
|
|
2424
|
-
*
|
|
2444
|
+
* Enforces consistent file naming conventions.
|
|
2425
2445
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
|
|
2426
2446
|
*/
|
|
2427
2447
|
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
|
|
2428
2448
|
/**
|
|
2429
|
-
*
|
|
2449
|
+
* Enforces destructuring and symmetric naming of `useState` hook value and setter.
|
|
2430
2450
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
2431
2451
|
*/
|
|
2432
2452
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2433
2453
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2434
2454
|
/**
|
|
2435
|
-
*
|
|
2455
|
+
* Prevents leaked `addEventListener` in a component or custom Hook.
|
|
2436
2456
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
|
|
2437
2457
|
*/
|
|
2438
2458
|
'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
|
|
2439
2459
|
/**
|
|
2440
|
-
*
|
|
2460
|
+
* Prevents leaked `setInterval` in a component or custom Hook.
|
|
2441
2461
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
2442
2462
|
*/
|
|
2443
2463
|
'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
|
|
2444
2464
|
/**
|
|
2445
|
-
*
|
|
2465
|
+
* Prevents leaked `ResizeObserver` in a component or custom Hook.
|
|
2446
2466
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
|
|
2447
2467
|
*/
|
|
2448
2468
|
'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
|
|
2449
2469
|
/**
|
|
2450
|
-
*
|
|
2470
|
+
* Prevents leaked `setTimeout` in a component or custom Hook.
|
|
2451
2471
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
2452
2472
|
*/
|
|
2453
2473
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
|
|
2454
2474
|
/**
|
|
2455
|
-
*
|
|
2475
|
+
* Enforces explicit boolean values for boolean attributes.
|
|
2456
2476
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2457
2477
|
*/
|
|
2458
2478
|
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2459
2479
|
/**
|
|
2460
|
-
*
|
|
2480
|
+
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
2461
2481
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2462
2482
|
*/
|
|
2463
2483
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2464
2484
|
/**
|
|
2465
|
-
*
|
|
2466
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2485
|
+
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
2486
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2467
2487
|
*/
|
|
2468
2488
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2469
2489
|
/**
|
|
2470
|
-
*
|
|
2471
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2490
|
+
* Disallow duplicate props in JSX elements.
|
|
2491
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2472
2492
|
*/
|
|
2473
2493
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2474
2494
|
/**
|
|
2475
|
-
*
|
|
2476
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2495
|
+
* Disallow undefined variables in JSX.
|
|
2496
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2497
|
+
*/
|
|
2498
|
+
'react/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
2499
|
+
/**
|
|
2500
|
+
* Marks variables used in JSX elements as used.
|
|
2501
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2477
2502
|
*/
|
|
2478
2503
|
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2479
2504
|
/**
|
|
2480
|
-
*
|
|
2505
|
+
* Disallow accessing `this.state` inside `setState` calls.
|
|
2481
2506
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
2482
2507
|
*/
|
|
2483
2508
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2484
2509
|
/**
|
|
2485
|
-
*
|
|
2510
|
+
* Disallow an item's index in the array as its key.
|
|
2486
2511
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2487
2512
|
*/
|
|
2488
2513
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2489
2514
|
/**
|
|
2490
|
-
*
|
|
2515
|
+
* Disallow `Children.count`.
|
|
2491
2516
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
2492
2517
|
*/
|
|
2493
2518
|
'react/no-children-count'?: Linter.RuleEntry<[]>
|
|
2494
2519
|
/**
|
|
2495
|
-
*
|
|
2520
|
+
* Disallow 'Children.forEach'.
|
|
2496
2521
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
2497
2522
|
*/
|
|
2498
2523
|
'react/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
2499
2524
|
/**
|
|
2500
|
-
*
|
|
2525
|
+
* Disallow `Children.map`.
|
|
2501
2526
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
2502
2527
|
*/
|
|
2503
2528
|
'react/no-children-map'?: Linter.RuleEntry<[]>
|
|
2504
2529
|
/**
|
|
2505
|
-
*
|
|
2530
|
+
* Disallow `Children.only`.
|
|
2506
2531
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
2507
2532
|
*/
|
|
2508
2533
|
'react/no-children-only'?: Linter.RuleEntry<[]>
|
|
2509
2534
|
/**
|
|
2510
|
-
*
|
|
2535
|
+
* Disallow passing `children` as a prop.
|
|
2511
2536
|
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
2512
2537
|
*/
|
|
2513
2538
|
'react/no-children-prop'?: Linter.RuleEntry<[]>
|
|
2514
2539
|
/**
|
|
2515
|
-
*
|
|
2540
|
+
* Disallow `Children.toArray`.
|
|
2516
2541
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
2517
2542
|
*/
|
|
2518
2543
|
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
2519
2544
|
/**
|
|
2520
|
-
*
|
|
2545
|
+
* Disallow class components.
|
|
2521
2546
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
2522
2547
|
*/
|
|
2523
2548
|
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
2524
2549
|
/**
|
|
2525
|
-
*
|
|
2550
|
+
* Disallow `cloneElement`.
|
|
2526
2551
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2527
2552
|
*/
|
|
2528
2553
|
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
2529
2554
|
/**
|
|
2530
|
-
*
|
|
2555
|
+
* Prevents comments from being inserted as text nodes.
|
|
2531
2556
|
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
2532
2557
|
*/
|
|
2533
2558
|
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
2534
2559
|
/**
|
|
2535
|
-
*
|
|
2560
|
+
* Disallow complex conditional rendering in JSX expressions.
|
|
2536
2561
|
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2537
2562
|
*/
|
|
2538
2563
|
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2539
2564
|
/**
|
|
2540
|
-
*
|
|
2565
|
+
* Disallow complex conditional rendering in JSX expressions.
|
|
2541
2566
|
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2542
2567
|
*/
|
|
2543
2568
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2544
2569
|
/**
|
|
2545
|
-
*
|
|
2570
|
+
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
2546
2571
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2547
2572
|
*/
|
|
2548
2573
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2549
2574
|
/**
|
|
2550
|
-
*
|
|
2575
|
+
* Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
|
|
2551
2576
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2552
2577
|
*/
|
|
2553
2578
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2554
2579
|
/**
|
|
2555
|
-
*
|
|
2580
|
+
* Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
|
|
2556
2581
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2557
2582
|
*/
|
|
2558
2583
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2559
2584
|
/**
|
|
2560
|
-
*
|
|
2585
|
+
* Replace usages of `<Context.Provider>` with `<Context>`.
|
|
2561
2586
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
2562
2587
|
*/
|
|
2563
2588
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
2564
2589
|
/**
|
|
2565
|
-
*
|
|
2590
|
+
* Disallow `createRef` in function components.
|
|
2566
2591
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
2567
2592
|
*/
|
|
2568
2593
|
'react/no-create-ref'?: Linter.RuleEntry<[]>
|
|
2569
2594
|
/**
|
|
2570
|
-
*
|
|
2595
|
+
* Disallow `defaultProps` property in favor of ES6 default parameters.
|
|
2571
2596
|
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
2572
2597
|
*/
|
|
2573
2598
|
'react/no-default-props'?: Linter.RuleEntry<[]>
|
|
2574
2599
|
/**
|
|
2575
|
-
*
|
|
2600
|
+
* Disallow direct mutation of `this.state`.
|
|
2576
2601
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
2577
2602
|
*/
|
|
2578
2603
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
2579
2604
|
/**
|
|
2580
|
-
*
|
|
2581
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2605
|
+
* Disallow duplicate props in JSX elements.
|
|
2606
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2582
2607
|
*/
|
|
2583
2608
|
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
2584
2609
|
/**
|
|
2585
|
-
*
|
|
2610
|
+
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
2586
2611
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
2587
2612
|
*/
|
|
2588
2613
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2589
2614
|
/**
|
|
2590
|
-
*
|
|
2615
|
+
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
2591
2616
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
2592
2617
|
*/
|
|
2593
2618
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
2594
2619
|
/**
|
|
2595
|
-
*
|
|
2620
|
+
* Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
|
|
2596
2621
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
2597
2622
|
*/
|
|
2598
2623
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2599
2624
|
/**
|
|
2600
|
-
*
|
|
2625
|
+
* Prevents problematic leaked values from being rendered.
|
|
2601
2626
|
* @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
|
|
2602
2627
|
*/
|
|
2603
2628
|
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2604
2629
|
/**
|
|
2605
|
-
*
|
|
2630
|
+
* Enforces that all components have a `displayName` which can be used in devtools.
|
|
2606
2631
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
2607
2632
|
*/
|
|
2608
2633
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
2609
2634
|
/**
|
|
2610
|
-
*
|
|
2635
|
+
* Enforces that all contexts have a `displayName` which can be used in devtools.
|
|
2611
2636
|
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
2612
2637
|
*/
|
|
2613
2638
|
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
|
|
2614
2639
|
/**
|
|
2615
|
-
*
|
|
2640
|
+
* Disallow missing `key` on items in list rendering.
|
|
2616
2641
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
2617
2642
|
*/
|
|
2618
2643
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2619
2644
|
/**
|
|
2620
|
-
*
|
|
2621
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-
|
|
2645
|
+
* Disallow nesting component definitions inside other components.
|
|
2646
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2647
|
+
*/
|
|
2648
|
+
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
2649
|
+
/**
|
|
2650
|
+
* Disallow nesting component definitions inside other components.
|
|
2651
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2622
2652
|
*/
|
|
2623
2653
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2624
2654
|
/**
|
|
2625
|
-
*
|
|
2655
|
+
* Disallow `propTypes` in favor of TypeScript or another type-checking solution.
|
|
2626
2656
|
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
2627
2657
|
*/
|
|
2628
2658
|
'react/no-prop-types'?: Linter.RuleEntry<[]>
|
|
2629
2659
|
/**
|
|
2630
|
-
*
|
|
2660
|
+
* Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
|
|
2631
2661
|
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
2632
2662
|
*/
|
|
2633
2663
|
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
2634
2664
|
/**
|
|
2635
|
-
*
|
|
2665
|
+
* Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
|
|
2636
2666
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
2637
2667
|
*/
|
|
2638
2668
|
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
2639
2669
|
/**
|
|
2640
|
-
*
|
|
2670
|
+
* Disallows calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
|
|
2641
2671
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
2642
2672
|
*/
|
|
2643
2673
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
2644
2674
|
/**
|
|
2645
|
-
*
|
|
2675
|
+
* Disallows calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
|
|
2646
2676
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2647
2677
|
*/
|
|
2648
2678
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
2649
2679
|
/**
|
|
2650
|
-
*
|
|
2680
|
+
* Disallow deprecated string `refs`.
|
|
2651
2681
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
2652
2682
|
*/
|
|
2653
2683
|
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
2654
2684
|
/**
|
|
2655
|
-
*
|
|
2685
|
+
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
2656
2686
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
2657
2687
|
*/
|
|
2658
2688
|
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2659
2689
|
/**
|
|
2660
|
-
*
|
|
2690
|
+
* Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
|
|
2661
2691
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
2662
2692
|
*/
|
|
2663
2693
|
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2664
2694
|
/**
|
|
2665
|
-
*
|
|
2695
|
+
* Warns the usage of `UNSAFE_componentWillUpdate` in class components.
|
|
2666
2696
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
2667
2697
|
*/
|
|
2668
2698
|
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
2669
2699
|
/**
|
|
2670
|
-
*
|
|
2700
|
+
* Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
|
|
2671
2701
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
2672
2702
|
*/
|
|
2673
2703
|
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
2674
2704
|
/**
|
|
2675
|
-
*
|
|
2705
|
+
* Prevents using referential-type values as default props in object destructuring.
|
|
2676
2706
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
2677
2707
|
*/
|
|
2678
2708
|
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
2679
2709
|
/**
|
|
2680
|
-
*
|
|
2710
|
+
* Warns unused class component methods and properties.
|
|
2681
2711
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
2682
2712
|
*/
|
|
2683
2713
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2684
2714
|
/**
|
|
2685
|
-
*
|
|
2715
|
+
* Warns unused class component state.
|
|
2686
2716
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
2687
2717
|
*/
|
|
2688
2718
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
2689
2719
|
/**
|
|
2690
|
-
*
|
|
2720
|
+
* Replaces usages of `useContext` with `use`.
|
|
2691
2721
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
2692
2722
|
*/
|
|
2693
2723
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
2694
2724
|
/**
|
|
2695
|
-
*
|
|
2725
|
+
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
2726
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2727
|
+
*/
|
|
2728
|
+
'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
|
|
2729
|
+
/**
|
|
2730
|
+
* Disallow useless fragment elements.
|
|
2696
2731
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
2697
2732
|
*/
|
|
2698
2733
|
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
2699
2734
|
/**
|
|
2700
|
-
*
|
|
2735
|
+
* Enforces destructuring assignment for component props and context.
|
|
2701
2736
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
2702
2737
|
*/
|
|
2703
2738
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2704
2739
|
/**
|
|
2705
|
-
*
|
|
2740
|
+
* Enforces React is imported via a namespace import.
|
|
2706
2741
|
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
2707
2742
|
*/
|
|
2708
2743
|
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
2709
2744
|
/**
|
|
2710
|
-
*
|
|
2745
|
+
* Enforces read-only props in components.
|
|
2711
2746
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2712
2747
|
*/
|
|
2713
2748
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2714
2749
|
/**
|
|
2715
|
-
*
|
|
2750
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
2716
2751
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2717
2752
|
*/
|
|
2718
2753
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2719
2754
|
/**
|
|
2720
|
-
*
|
|
2755
|
+
* Enforces shorthand syntax for fragments.
|
|
2721
2756
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2722
2757
|
*/
|
|
2723
2758
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2724
2759
|
/**
|
|
2725
|
-
*
|
|
2726
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2760
|
+
* Marks variables used in JSX elements as used.
|
|
2761
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2727
2762
|
*/
|
|
2728
2763
|
'react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
2729
2764
|
/**
|
|
@@ -4514,642 +4549,643 @@ interface RuleOptions {
|
|
|
4514
4549
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4515
4550
|
/**
|
|
4516
4551
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
|
|
4518
4553
|
*/
|
|
4519
4554
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4520
4555
|
/**
|
|
4521
4556
|
* Enforce a specific parameter name in catch clauses.
|
|
4522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
|
|
4523
4558
|
*/
|
|
4524
4559
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4525
4560
|
/**
|
|
4526
4561
|
* Enforce consistent assertion style with `node:assert`.
|
|
4527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
|
|
4528
4563
|
*/
|
|
4529
4564
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4530
4565
|
/**
|
|
4531
4566
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
|
|
4533
4568
|
*/
|
|
4534
4569
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4535
4570
|
/**
|
|
4536
4571
|
* Use destructured variables over properties.
|
|
4537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
|
|
4538
4573
|
*/
|
|
4539
4574
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4540
4575
|
/**
|
|
4541
4576
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4543
4578
|
*/
|
|
4544
4579
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4545
4580
|
/**
|
|
4546
4581
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
|
|
4548
4583
|
*/
|
|
4549
4584
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4550
4585
|
/**
|
|
4551
4586
|
* Move function definitions to the highest possible scope.
|
|
4552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
|
|
4553
4588
|
*/
|
|
4554
4589
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4555
4590
|
/**
|
|
4556
4591
|
* Enforce correct `Error` subclassing.
|
|
4557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
|
|
4558
4593
|
*/
|
|
4559
4594
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4560
4595
|
/**
|
|
4561
4596
|
* Enforce no spaces between braces.
|
|
4562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
|
|
4563
4598
|
*/
|
|
4564
4599
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4565
4600
|
/**
|
|
4566
4601
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
|
|
4568
4603
|
*/
|
|
4569
4604
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4570
4605
|
/**
|
|
4571
|
-
* Require escape sequences to use uppercase values.
|
|
4572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4606
|
+
* Require escape sequences to use uppercase or lowercase values.
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
|
|
4573
4608
|
*/
|
|
4574
|
-
'unicorn/escape-case'?: Linter.RuleEntry<
|
|
4609
|
+
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
4575
4610
|
/**
|
|
4576
4611
|
* Add expiration conditions to TODO comments.
|
|
4577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
|
|
4578
4613
|
*/
|
|
4579
4614
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4580
4615
|
/**
|
|
4581
4616
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
|
|
4583
4618
|
*/
|
|
4584
4619
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4585
4620
|
/**
|
|
4586
4621
|
* Enforce a case style for filenames.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
|
|
4588
4623
|
*/
|
|
4589
4624
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4590
4625
|
/**
|
|
4591
4626
|
* Enforce specific import styles per module.
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
|
|
4593
4628
|
*/
|
|
4594
4629
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4595
4630
|
/**
|
|
4596
4631
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
|
|
4598
4633
|
*/
|
|
4599
4634
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4600
4635
|
/**
|
|
4601
4636
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4603
4638
|
*/
|
|
4604
4639
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4605
4640
|
/**
|
|
4606
4641
|
* Disallow recursive access to `this` within getters and setters.
|
|
4607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
|
|
4608
4643
|
*/
|
|
4609
4644
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
4610
4645
|
/**
|
|
4611
4646
|
* Disallow anonymous functions and classes as the default export.
|
|
4612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
|
|
4613
4648
|
*/
|
|
4614
4649
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4615
4650
|
/**
|
|
4616
4651
|
* Prevent passing a function reference directly to iterator methods.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
|
|
4618
4653
|
*/
|
|
4619
4654
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4620
4655
|
/**
|
|
4621
4656
|
* Prefer `for…of` over the `forEach` method.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
|
|
4623
4658
|
*/
|
|
4624
4659
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4625
4660
|
/**
|
|
4626
4661
|
* Disallow using the `this` argument in array methods.
|
|
4627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
|
|
4628
4663
|
*/
|
|
4629
4664
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4630
4665
|
/**
|
|
4631
4666
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
|
|
4633
4668
|
*/
|
|
4634
4669
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4635
4670
|
/**
|
|
4636
4671
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
|
|
4638
4673
|
*/
|
|
4639
4674
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4640
4675
|
/**
|
|
4641
4676
|
* Disallow member access from await expression.
|
|
4642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
|
|
4643
4678
|
*/
|
|
4644
4679
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4645
4680
|
/**
|
|
4646
4681
|
* Disallow using `await` in `Promise` method parameters.
|
|
4647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4648
4683
|
*/
|
|
4649
4684
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4650
4685
|
/**
|
|
4651
4686
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
|
|
4653
4688
|
*/
|
|
4654
4689
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4655
4690
|
/**
|
|
4656
4691
|
* Do not use `document.cookie` directly.
|
|
4657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
|
|
4658
4693
|
*/
|
|
4659
4694
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4660
4695
|
/**
|
|
4661
4696
|
* Disallow empty files.
|
|
4662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
|
|
4663
4698
|
*/
|
|
4664
4699
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4665
4700
|
/**
|
|
4666
4701
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
|
|
4668
4703
|
*/
|
|
4669
4704
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4670
4705
|
/**
|
|
4671
4706
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
|
|
4673
4708
|
*/
|
|
4674
4709
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4675
4710
|
/**
|
|
4676
|
-
*
|
|
4711
|
+
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
4677
4713
|
* @deprecated
|
|
4678
4714
|
*/
|
|
4679
4715
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4680
4716
|
/**
|
|
4681
4717
|
* Disallow `instanceof` with built-in objects
|
|
4682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4718
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
|
|
4683
4719
|
*/
|
|
4684
4720
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
4685
4721
|
/**
|
|
4686
4722
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4723
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4688
4724
|
*/
|
|
4689
4725
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4690
4726
|
/**
|
|
4691
4727
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4728
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4693
4729
|
*/
|
|
4694
4730
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4695
4731
|
/**
|
|
4696
4732
|
* Disallow identifiers starting with `new` or `class`.
|
|
4697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4733
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
|
|
4698
4734
|
*/
|
|
4699
4735
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4700
4736
|
/**
|
|
4701
4737
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4738
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
|
|
4703
4739
|
*/
|
|
4704
4740
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4705
4741
|
/**
|
|
4706
4742
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4743
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
|
|
4708
4744
|
*/
|
|
4709
4745
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4710
4746
|
/**
|
|
4711
4747
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4748
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4713
4749
|
*/
|
|
4714
4750
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4715
4751
|
/**
|
|
4716
4752
|
* Disallow named usage of default import and export.
|
|
4717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4753
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
|
|
4718
4754
|
*/
|
|
4719
4755
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
4720
4756
|
/**
|
|
4721
4757
|
* Disallow negated conditions.
|
|
4722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4758
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
|
|
4723
4759
|
*/
|
|
4724
4760
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4725
4761
|
/**
|
|
4726
4762
|
* Disallow negated expression in equality check.
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4763
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4728
4764
|
*/
|
|
4729
4765
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4730
4766
|
/**
|
|
4731
4767
|
* Disallow nested ternary expressions.
|
|
4732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4768
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
|
|
4733
4769
|
*/
|
|
4734
4770
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4735
4771
|
/**
|
|
4736
4772
|
* Disallow `new Array()`.
|
|
4737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4773
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
|
|
4738
4774
|
*/
|
|
4739
4775
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4740
4776
|
/**
|
|
4741
4777
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4778
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
|
|
4743
4779
|
*/
|
|
4744
4780
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4745
4781
|
/**
|
|
4746
4782
|
* Disallow the use of the `null` literal.
|
|
4747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4783
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
|
|
4748
4784
|
*/
|
|
4749
4785
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4750
4786
|
/**
|
|
4751
4787
|
* Disallow the use of objects as default parameters.
|
|
4752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4788
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4753
4789
|
*/
|
|
4754
4790
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4755
4791
|
/**
|
|
4756
4792
|
* Disallow `process.exit()`.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4793
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
|
|
4758
4794
|
*/
|
|
4759
4795
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4760
4796
|
/**
|
|
4761
4797
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4798
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4763
4799
|
*/
|
|
4764
4800
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4765
4801
|
/**
|
|
4766
4802
|
* Disallow classes that only have static members.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4803
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
|
|
4768
4804
|
*/
|
|
4769
4805
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4770
4806
|
/**
|
|
4771
4807
|
* Disallow `then` property.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4808
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
|
|
4773
4809
|
*/
|
|
4774
4810
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4775
4811
|
/**
|
|
4776
4812
|
* Disallow assigning `this` to a variable.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4813
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
|
|
4778
4814
|
*/
|
|
4779
4815
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4780
4816
|
/**
|
|
4781
4817
|
* Disallow comparing `undefined` using `typeof`.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4818
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
|
|
4783
4819
|
*/
|
|
4784
4820
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4785
4821
|
/**
|
|
4786
4822
|
* Disallow awaiting non-promise values.
|
|
4787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4823
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
|
|
4788
4824
|
*/
|
|
4789
4825
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4790
4826
|
/**
|
|
4791
4827
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4828
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4793
4829
|
*/
|
|
4794
4830
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4795
4831
|
/**
|
|
4796
4832
|
* Disallow unreadable array destructuring.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4833
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4798
4834
|
*/
|
|
4799
4835
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4800
4836
|
/**
|
|
4801
4837
|
* Disallow unreadable IIFEs.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
|
|
4803
4839
|
*/
|
|
4804
4840
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4805
4841
|
/**
|
|
4806
4842
|
* Disallow unused object properties.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
|
|
4808
4844
|
*/
|
|
4809
4845
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4810
4846
|
/**
|
|
4811
4847
|
* Disallow useless fallback when spreading in object literals.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4813
4849
|
*/
|
|
4814
4850
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4815
4851
|
/**
|
|
4816
4852
|
* Disallow useless array length check.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
|
|
4818
4854
|
*/
|
|
4819
4855
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4820
4856
|
/**
|
|
4821
4857
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4858
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4823
4859
|
*/
|
|
4824
4860
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4825
4861
|
/**
|
|
4826
4862
|
* Disallow unnecessary spread.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4863
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
|
|
4828
4864
|
*/
|
|
4829
4865
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4830
4866
|
/**
|
|
4831
4867
|
* Disallow useless case in switch statements.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4868
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
|
|
4833
4869
|
*/
|
|
4834
4870
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4835
4871
|
/**
|
|
4836
4872
|
* Disallow useless `undefined`.
|
|
4837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4873
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
|
|
4838
4874
|
*/
|
|
4839
4875
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4840
4876
|
/**
|
|
4841
4877
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
|
|
4843
4879
|
*/
|
|
4844
4880
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4845
4881
|
/**
|
|
4846
4882
|
* Enforce proper case for numeric literals.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
|
|
4848
4884
|
*/
|
|
4849
|
-
'unicorn/number-literal-case'?: Linter.RuleEntry<
|
|
4885
|
+
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
4850
4886
|
/**
|
|
4851
4887
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
|
|
4853
4889
|
*/
|
|
4854
4890
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4855
4891
|
/**
|
|
4856
4892
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
|
|
4858
4894
|
*/
|
|
4859
4895
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4860
4896
|
/**
|
|
4861
4897
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
|
|
4863
4899
|
*/
|
|
4864
4900
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4865
4901
|
/**
|
|
4866
4902
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
|
|
4868
4904
|
*/
|
|
4869
4905
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4870
4906
|
/**
|
|
4871
4907
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
|
|
4873
4909
|
*/
|
|
4874
4910
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4875
4911
|
/**
|
|
4876
4912
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
|
|
4878
4914
|
*/
|
|
4879
4915
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4880
4916
|
/**
|
|
4881
4917
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
|
|
4883
4919
|
*/
|
|
4884
4920
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4885
4921
|
/**
|
|
4886
4922
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
|
|
4888
4924
|
*/
|
|
4889
4925
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4890
4926
|
/**
|
|
4891
4927
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4893
4929
|
*/
|
|
4894
4930
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4895
4931
|
/**
|
|
4896
4932
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
|
|
4898
4934
|
*/
|
|
4899
4935
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4900
4936
|
/**
|
|
4901
4937
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
|
|
4903
4939
|
*/
|
|
4904
4940
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4905
4941
|
/**
|
|
4906
4942
|
* Prefer default parameters over reassignment.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
|
|
4908
4944
|
*/
|
|
4909
4945
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4910
4946
|
/**
|
|
4911
4947
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
|
|
4913
4949
|
*/
|
|
4914
4950
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4915
4951
|
/**
|
|
4916
4952
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4918
4954
|
*/
|
|
4919
4955
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4920
4956
|
/**
|
|
4921
4957
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4923
4959
|
*/
|
|
4924
4960
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4925
4961
|
/**
|
|
4926
4962
|
* Prefer `.textContent` over `.innerText`.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4928
4964
|
*/
|
|
4929
4965
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4930
4966
|
/**
|
|
4931
4967
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
|
|
4933
4969
|
*/
|
|
4934
4970
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4935
4971
|
/**
|
|
4936
4972
|
* Prefer `export…from` when re-exporting.
|
|
4937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
|
|
4938
4974
|
*/
|
|
4939
4975
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4940
4976
|
/**
|
|
4941
4977
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
|
|
4943
4979
|
*/
|
|
4944
4980
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4945
4981
|
/**
|
|
4946
4982
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
|
|
4948
4984
|
*/
|
|
4949
4985
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4950
4986
|
/**
|
|
4951
4987
|
* Prefer reading a JSON file as a buffer.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4953
4989
|
*/
|
|
4954
4990
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4955
4991
|
/**
|
|
4956
4992
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4958
4994
|
*/
|
|
4959
4995
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4960
4996
|
/**
|
|
4961
4997
|
* Prefer using a logical operator over a ternary.
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4963
4999
|
*/
|
|
4964
5000
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4965
5001
|
/**
|
|
4966
5002
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
|
|
4968
5004
|
*/
|
|
4969
5005
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4970
5006
|
/**
|
|
4971
5007
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
|
|
4973
5009
|
*/
|
|
4974
5010
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4975
5011
|
/**
|
|
4976
5012
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4978
5014
|
*/
|
|
4979
5015
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4980
5016
|
/**
|
|
4981
5017
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5018
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4983
5019
|
*/
|
|
4984
5020
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4985
5021
|
/**
|
|
4986
5022
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5023
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
|
|
4988
5024
|
*/
|
|
4989
5025
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4990
5026
|
/**
|
|
4991
5027
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5028
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4993
5029
|
*/
|
|
4994
5030
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4995
5031
|
/**
|
|
4996
5032
|
* Prefer negative index over `.length - index` when possible.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5033
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
|
|
4998
5034
|
*/
|
|
4999
5035
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5000
5036
|
/**
|
|
5001
5037
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5038
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
|
|
5003
5039
|
*/
|
|
5004
5040
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5005
5041
|
/**
|
|
5006
5042
|
* Prefer `Number` static properties over global ones.
|
|
5007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5043
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
|
|
5008
5044
|
*/
|
|
5009
5045
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5010
5046
|
/**
|
|
5011
5047
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5048
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
|
|
5013
5049
|
*/
|
|
5014
5050
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5015
5051
|
/**
|
|
5016
5052
|
* Prefer omitting the `catch` binding parameter.
|
|
5017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5053
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5018
5054
|
*/
|
|
5019
5055
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5020
5056
|
/**
|
|
5021
5057
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5058
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
|
|
5023
5059
|
*/
|
|
5024
5060
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5025
5061
|
/**
|
|
5026
5062
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5063
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
|
|
5028
5064
|
*/
|
|
5029
5065
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5030
5066
|
/**
|
|
5031
5067
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
|
|
5033
5069
|
*/
|
|
5034
5070
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5035
5071
|
/**
|
|
5036
5072
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
|
|
5038
5074
|
*/
|
|
5039
5075
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5040
5076
|
/**
|
|
5041
5077
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5078
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
|
|
5043
5079
|
*/
|
|
5044
5080
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5045
5081
|
/**
|
|
5046
5082
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
|
|
5048
5084
|
*/
|
|
5049
5085
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5050
5086
|
/**
|
|
5051
5087
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5088
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
|
|
5053
5089
|
*/
|
|
5054
5090
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5055
5091
|
/**
|
|
5056
5092
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5093
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
|
|
5058
5094
|
*/
|
|
5059
5095
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5060
5096
|
/**
|
|
5061
5097
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5098
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
|
|
5063
5099
|
*/
|
|
5064
5100
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5065
5101
|
/**
|
|
5066
5102
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5103
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
|
|
5068
5104
|
*/
|
|
5069
5105
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5070
5106
|
/**
|
|
5071
5107
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5073
5109
|
*/
|
|
5074
5110
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5075
5111
|
/**
|
|
5076
5112
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5113
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5078
5114
|
*/
|
|
5079
5115
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5080
5116
|
/**
|
|
5081
5117
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
|
|
5083
5119
|
*/
|
|
5084
5120
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5085
5121
|
/**
|
|
5086
5122
|
* Prefer `switch` over multiple `else-if`.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
|
|
5088
5124
|
*/
|
|
5089
5125
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5090
5126
|
/**
|
|
5091
5127
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
|
|
5093
5129
|
*/
|
|
5094
5130
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5095
5131
|
/**
|
|
5096
5132
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5133
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
|
|
5098
5134
|
*/
|
|
5099
5135
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5100
5136
|
/**
|
|
5101
5137
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
|
|
5103
5139
|
*/
|
|
5104
5140
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5105
5141
|
/**
|
|
5106
5142
|
* Prevent abbreviations.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
|
|
5108
5144
|
*/
|
|
5109
5145
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5110
5146
|
/**
|
|
5111
5147
|
* Enforce consistent relative URL style.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5148
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
|
|
5113
5149
|
*/
|
|
5114
5150
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5115
5151
|
/**
|
|
5116
5152
|
* Enforce using the separator argument with `Array#join()`.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
|
|
5118
5154
|
*/
|
|
5119
5155
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5120
5156
|
/**
|
|
5121
5157
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5123
5159
|
*/
|
|
5124
5160
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5125
5161
|
/**
|
|
5126
5162
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
|
|
5128
5164
|
*/
|
|
5129
5165
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5130
5166
|
/**
|
|
5131
5167
|
* Enforce better string content.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
|
|
5133
5169
|
*/
|
|
5134
5170
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5135
5171
|
/**
|
|
5136
5172
|
* Enforce consistent brace style for `case` clauses.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
|
|
5138
5174
|
*/
|
|
5139
5175
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5140
5176
|
/**
|
|
5141
5177
|
* Fix whitespace-insensitive template indentation.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
|
|
5143
5179
|
*/
|
|
5144
5180
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5145
5181
|
/**
|
|
5146
5182
|
* Enforce consistent case for text encoding identifiers.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5148
5184
|
*/
|
|
5149
5185
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5150
5186
|
/**
|
|
5151
5187
|
* Require `new` when creating an error.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5188
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
|
|
5153
5189
|
*/
|
|
5154
5190
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5155
5191
|
/**
|
|
@@ -5640,7 +5676,7 @@ type IdMatch = []|[string]|[string, {
|
|
|
5640
5676
|
// ----- implicit-arrow-linebreak -----
|
|
5641
5677
|
type ImplicitArrowLinebreak = []|[("beside" | "below")]
|
|
5642
5678
|
// ----- import/consistent-type-specifier-style -----
|
|
5643
|
-
type ImportConsistentTypeSpecifierStyle = []|[("prefer-
|
|
5679
|
+
type ImportConsistentTypeSpecifierStyle = []|[("prefer-top-level" | "prefer-inline")]
|
|
5644
5680
|
// ----- import/dynamic-import-chunkname -----
|
|
5645
5681
|
type ImportDynamicImportChunkname = []|[{
|
|
5646
5682
|
importFunctions?: string[]
|
|
@@ -5860,6 +5896,17 @@ type ImportOrder = []|[{
|
|
|
5860
5896
|
position?: ("after" | "before")
|
|
5861
5897
|
}[]
|
|
5862
5898
|
"newlines-between"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
|
|
5899
|
+
"newlines-between-types"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
|
|
5900
|
+
consolidateIslands?: ("inside-groups" | "never")
|
|
5901
|
+
sortTypesGroup?: boolean
|
|
5902
|
+
named?: (boolean | {
|
|
5903
|
+
enabled?: boolean
|
|
5904
|
+
import?: boolean
|
|
5905
|
+
export?: boolean
|
|
5906
|
+
require?: boolean
|
|
5907
|
+
cjsExports?: boolean
|
|
5908
|
+
types?: ("mixed" | "types-first" | "types-last")
|
|
5909
|
+
})
|
|
5863
5910
|
alphabetize?: {
|
|
5864
5911
|
caseInsensitive?: boolean
|
|
5865
5912
|
order?: ("ignore" | "asc" | "desc")
|
|
@@ -7323,7 +7370,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
7323
7370
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7324
7371
|
version?: string
|
|
7325
7372
|
allowExperimental?: boolean
|
|
7326
|
-
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")[]
|
|
7373
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
7327
7374
|
}]
|
|
7328
7375
|
// ----- node/prefer-global/buffer -----
|
|
7329
7376
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -12112,6 +12159,8 @@ type UnicornCatchErrorName = []|[{
|
|
|
12112
12159
|
type UnicornConsistentFunctionScoping = []|[{
|
|
12113
12160
|
checkArrowFunctions?: boolean
|
|
12114
12161
|
}]
|
|
12162
|
+
// ----- unicorn/escape-case -----
|
|
12163
|
+
type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
|
|
12115
12164
|
// ----- unicorn/expiring-todo-comments -----
|
|
12116
12165
|
type UnicornExpiringTodoComments = []|[{
|
|
12117
12166
|
terms?: string[]
|
|
@@ -12196,6 +12245,10 @@ type UnicornNoUselessUndefined = []|[{
|
|
|
12196
12245
|
checkArguments?: boolean
|
|
12197
12246
|
checkArrowFunctionBody?: boolean
|
|
12198
12247
|
}]
|
|
12248
|
+
// ----- unicorn/number-literal-case -----
|
|
12249
|
+
type UnicornNumberLiteralCase = []|[{
|
|
12250
|
+
hexadecimalValue?: ("uppercase" | "lowercase")
|
|
12251
|
+
}]
|
|
12199
12252
|
// ----- unicorn/numeric-separators-style -----
|
|
12200
12253
|
type UnicornNumericSeparatorsStyle = []|[{
|
|
12201
12254
|
binary?: {
|
|
@@ -12708,7 +12761,8 @@ interface VendoredPrettierOptionsRequired {
|
|
|
12708
12761
|
}
|
|
12709
12762
|
|
|
12710
12763
|
type Awaitable<T> = T | Promise<T>;
|
|
12711
|
-
|
|
12764
|
+
interface Rules extends RuleOptions {
|
|
12765
|
+
}
|
|
12712
12766
|
|
|
12713
12767
|
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
|
|
12714
12768
|
/**
|