@vinicunca/eslint-config 2.5.0 → 2.6.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.cjs +65 -30
- package/dist/index.d.cts +630 -93
- package/dist/index.d.ts +630 -93
- package/dist/index.js +64 -30
- package/package.json +17 -16
package/dist/index.d.cts
CHANGED
|
@@ -29,6 +29,11 @@ interface RuleOptions {
|
|
|
29
29
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
30
30
|
*/
|
|
31
31
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
32
|
+
/**
|
|
33
|
+
* Enforce Anthony's style of curly bracket
|
|
34
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
|
|
35
|
+
*/
|
|
36
|
+
'antfu/curly'?: Linter.RuleEntry<[]>
|
|
32
37
|
/**
|
|
33
38
|
* Newline after if
|
|
34
39
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
|
|
@@ -303,7 +308,7 @@ interface RuleOptions {
|
|
|
303
308
|
*/
|
|
304
309
|
'func-names'?: Linter.RuleEntry<FuncNames>
|
|
305
310
|
/**
|
|
306
|
-
* Enforce the consistent use of either `function` declarations or expressions
|
|
311
|
+
* Enforce the consistent use of either `function` declarations or expressions assigned to variables
|
|
307
312
|
* @see https://eslint.org/docs/latest/rules/func-style
|
|
308
313
|
*/
|
|
309
314
|
'func-style'?: Linter.RuleEntry<FuncStyle>
|
|
@@ -381,42 +386,42 @@ interface RuleOptions {
|
|
|
381
386
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
382
387
|
/**
|
|
383
388
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
384
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
389
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
|
|
385
390
|
*/
|
|
386
391
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
387
392
|
/**
|
|
388
393
|
* Ensure a default export is present, given a default import.
|
|
389
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
|
|
390
395
|
*/
|
|
391
396
|
'import/default'?: Linter.RuleEntry<[]>
|
|
392
397
|
/**
|
|
393
398
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
|
|
395
400
|
*/
|
|
396
401
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
397
402
|
/**
|
|
398
403
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
399
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
|
|
400
405
|
*/
|
|
401
406
|
'import/export'?: Linter.RuleEntry<[]>
|
|
402
407
|
/**
|
|
403
408
|
* Ensure all exports appear after other statements.
|
|
404
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
|
|
405
410
|
*/
|
|
406
411
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
407
412
|
/**
|
|
408
413
|
* Ensure consistent use of file extension within the import path.
|
|
409
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
|
|
410
415
|
*/
|
|
411
416
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
412
417
|
/**
|
|
413
418
|
* Ensure all imports appear before other statements.
|
|
414
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
|
|
415
420
|
*/
|
|
416
421
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
417
422
|
/**
|
|
418
423
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
419
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
|
|
420
425
|
*/
|
|
421
426
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
422
427
|
/**
|
|
@@ -427,182 +432,182 @@ interface RuleOptions {
|
|
|
427
432
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
428
433
|
/**
|
|
429
434
|
* Enforce the maximum number of dependencies a module can have.
|
|
430
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
435
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
|
|
431
436
|
*/
|
|
432
437
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
433
438
|
/**
|
|
434
439
|
* Ensure named imports correspond to a named export in the remote file.
|
|
435
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
440
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
|
|
436
441
|
*/
|
|
437
442
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
438
443
|
/**
|
|
439
444
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
440
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
445
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
|
|
441
446
|
*/
|
|
442
447
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
443
448
|
/**
|
|
444
449
|
* Enforce a newline after import statements.
|
|
445
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
450
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
|
|
446
451
|
*/
|
|
447
452
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
448
453
|
/**
|
|
449
454
|
* Forbid import of modules using absolute paths.
|
|
450
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
455
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
|
|
451
456
|
*/
|
|
452
457
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
453
458
|
/**
|
|
454
459
|
* Forbid AMD `require` and `define` calls.
|
|
455
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
460
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
|
|
456
461
|
*/
|
|
457
462
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
458
463
|
/**
|
|
459
464
|
* Forbid anonymous values as default exports.
|
|
460
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
465
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
|
|
461
466
|
*/
|
|
462
467
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
463
468
|
/**
|
|
464
469
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
465
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
470
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
|
|
466
471
|
*/
|
|
467
472
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
468
473
|
/**
|
|
469
474
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
470
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
475
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
|
|
471
476
|
*/
|
|
472
477
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
473
478
|
/**
|
|
474
479
|
* Forbid default exports.
|
|
475
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
480
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
|
|
476
481
|
*/
|
|
477
482
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
478
483
|
/**
|
|
479
484
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
480
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
485
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
|
|
481
486
|
*/
|
|
482
487
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
483
488
|
/**
|
|
484
489
|
* Forbid repeated import of the same module in multiple places.
|
|
485
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
490
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
|
|
486
491
|
*/
|
|
487
492
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
488
493
|
/**
|
|
489
494
|
* Forbid `require()` calls with expressions.
|
|
490
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
495
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
|
|
491
496
|
*/
|
|
492
497
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
493
498
|
/**
|
|
494
499
|
* Forbid empty named import blocks.
|
|
495
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
500
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
|
|
496
501
|
*/
|
|
497
502
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
498
503
|
/**
|
|
499
504
|
* Forbid the use of extraneous packages.
|
|
500
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
505
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
|
|
501
506
|
*/
|
|
502
507
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
503
508
|
/**
|
|
504
509
|
* Forbid import statements with CommonJS module.exports.
|
|
505
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
510
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
|
|
506
511
|
*/
|
|
507
512
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
508
513
|
/**
|
|
509
514
|
* Forbid importing the submodules of other modules.
|
|
510
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
515
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
|
|
511
516
|
*/
|
|
512
517
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
513
518
|
/**
|
|
514
519
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
520
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
|
|
516
521
|
*/
|
|
517
522
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
518
523
|
/**
|
|
519
524
|
* Forbid use of exported name as identifier of default export.
|
|
520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
525
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
|
|
521
526
|
*/
|
|
522
527
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
523
528
|
/**
|
|
524
529
|
* Forbid use of exported name as property of default export.
|
|
525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
530
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
|
|
526
531
|
*/
|
|
527
532
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
528
533
|
/**
|
|
529
534
|
* Forbid named default exports.
|
|
530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
535
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
|
|
531
536
|
*/
|
|
532
537
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
533
538
|
/**
|
|
534
539
|
* Forbid named exports.
|
|
535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
540
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
|
|
536
541
|
*/
|
|
537
542
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
538
543
|
/**
|
|
539
544
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
545
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
|
|
541
546
|
*/
|
|
542
547
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
543
548
|
/**
|
|
544
549
|
* Forbid Node.js builtin modules.
|
|
545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
550
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
|
|
546
551
|
*/
|
|
547
552
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
548
553
|
/**
|
|
549
554
|
* Forbid importing packages through relative paths.
|
|
550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
555
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
|
|
551
556
|
*/
|
|
552
557
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
553
558
|
/**
|
|
554
559
|
* Forbid importing modules from parent directories.
|
|
555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
560
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
|
|
556
561
|
*/
|
|
557
562
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
558
563
|
/**
|
|
559
564
|
* Enforce which files can be imported in a given folder.
|
|
560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
565
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
|
|
561
566
|
*/
|
|
562
567
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
563
568
|
/**
|
|
564
569
|
* Forbid a module from importing itself.
|
|
565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
|
|
566
571
|
*/
|
|
567
572
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
568
573
|
/**
|
|
569
574
|
* Forbid unassigned imports.
|
|
570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
|
|
571
576
|
*/
|
|
572
577
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
573
578
|
/**
|
|
574
579
|
* Ensure imports point to a file/module that can be resolved.
|
|
575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
|
|
576
581
|
*/
|
|
577
582
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
578
583
|
/**
|
|
579
584
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
|
|
581
586
|
*/
|
|
582
587
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
583
588
|
/**
|
|
584
589
|
* Forbid unnecessary path segments in import and require statements.
|
|
585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
|
|
586
591
|
*/
|
|
587
592
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
588
593
|
/**
|
|
589
594
|
* Forbid webpack loader syntax in imports.
|
|
590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
|
|
591
596
|
*/
|
|
592
597
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
593
598
|
/**
|
|
594
599
|
* Enforce a convention in module import order.
|
|
595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
|
|
596
601
|
*/
|
|
597
602
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
598
603
|
/**
|
|
599
604
|
* Prefer a default export if module exports a single name or multiple names.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
|
|
601
606
|
*/
|
|
602
607
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
603
608
|
/**
|
|
604
609
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
|
|
606
611
|
*/
|
|
607
612
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
608
613
|
/**
|
|
@@ -1126,6 +1131,7 @@ interface RuleOptions {
|
|
|
1126
1131
|
/**
|
|
1127
1132
|
* Enforce position of line comments
|
|
1128
1133
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
1134
|
+
* @deprecated
|
|
1129
1135
|
*/
|
|
1130
1136
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
1131
1137
|
/**
|
|
@@ -1207,6 +1213,7 @@ interface RuleOptions {
|
|
|
1207
1213
|
/**
|
|
1208
1214
|
* Enforce a particular style for multiline comments
|
|
1209
1215
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
1216
|
+
* @deprecated
|
|
1210
1217
|
*/
|
|
1211
1218
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
1212
1219
|
/**
|
|
@@ -1579,7 +1586,7 @@ interface RuleOptions {
|
|
|
1579
1586
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1580
1587
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1581
1588
|
*/
|
|
1582
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1589
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1583
1590
|
/**
|
|
1584
1591
|
* Disallow mixed binary operators
|
|
1585
1592
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2667,7 +2674,7 @@ interface RuleOptions {
|
|
|
2667
2674
|
* Disallows JSX context provider values from taking values that will cause needless rerenders
|
|
2668
2675
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-constructed-context-values.md
|
|
2669
2676
|
*/
|
|
2670
|
-
'react/jsx-no-constructed-context-values'?: Linter.RuleEntry<
|
|
2677
|
+
'react/jsx-no-constructed-context-values'?: Linter.RuleEntry<[]>
|
|
2671
2678
|
/**
|
|
2672
2679
|
* Disallow duplicate properties in JSX
|
|
2673
2680
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-duplicate-props.md
|
|
@@ -3000,6 +3007,416 @@ interface RuleOptions {
|
|
|
3000
3007
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
|
|
3001
3008
|
*/
|
|
3002
3009
|
'react/void-dom-elements-no-children'?: Linter.RuleEntry<[]>
|
|
3010
|
+
/**
|
|
3011
|
+
* disallow confusing quantifiers
|
|
3012
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
3013
|
+
*/
|
|
3014
|
+
'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
|
|
3015
|
+
/**
|
|
3016
|
+
* enforce consistent escaping of control characters
|
|
3017
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
|
|
3018
|
+
*/
|
|
3019
|
+
'regexp/control-character-escape'?: Linter.RuleEntry<[]>
|
|
3020
|
+
/**
|
|
3021
|
+
* enforce single grapheme in string literal
|
|
3022
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
|
|
3023
|
+
*/
|
|
3024
|
+
'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
|
|
3025
|
+
/**
|
|
3026
|
+
* enforce consistent usage of hexadecimal escape
|
|
3027
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
|
|
3028
|
+
*/
|
|
3029
|
+
'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
|
|
3030
|
+
/**
|
|
3031
|
+
* enforce into your favorite case
|
|
3032
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
|
|
3033
|
+
*/
|
|
3034
|
+
'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
|
|
3035
|
+
/**
|
|
3036
|
+
* enforce match any character style
|
|
3037
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
|
|
3038
|
+
*/
|
|
3039
|
+
'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
|
|
3040
|
+
/**
|
|
3041
|
+
* enforce use of escapes on negation
|
|
3042
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
|
|
3043
|
+
*/
|
|
3044
|
+
'regexp/negation'?: Linter.RuleEntry<[]>
|
|
3045
|
+
/**
|
|
3046
|
+
* disallow elements that contradict assertions
|
|
3047
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
|
|
3048
|
+
*/
|
|
3049
|
+
'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
|
|
3050
|
+
/**
|
|
3051
|
+
* disallow control characters
|
|
3052
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
|
|
3053
|
+
*/
|
|
3054
|
+
'regexp/no-control-character'?: Linter.RuleEntry<[]>
|
|
3055
|
+
/**
|
|
3056
|
+
* disallow duplicate characters in the RegExp character class
|
|
3057
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
|
|
3058
|
+
*/
|
|
3059
|
+
'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
|
|
3060
|
+
/**
|
|
3061
|
+
* disallow duplicate disjunctions
|
|
3062
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
|
|
3063
|
+
*/
|
|
3064
|
+
'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
|
|
3065
|
+
/**
|
|
3066
|
+
* disallow alternatives without elements
|
|
3067
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
|
|
3068
|
+
*/
|
|
3069
|
+
'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
|
|
3070
|
+
/**
|
|
3071
|
+
* disallow capturing group that captures empty.
|
|
3072
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
|
|
3073
|
+
*/
|
|
3074
|
+
'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
|
|
3075
|
+
/**
|
|
3076
|
+
* disallow character classes that match no characters
|
|
3077
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
|
|
3078
|
+
*/
|
|
3079
|
+
'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
|
|
3080
|
+
/**
|
|
3081
|
+
* disallow empty group
|
|
3082
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
|
|
3083
|
+
*/
|
|
3084
|
+
'regexp/no-empty-group'?: Linter.RuleEntry<[]>
|
|
3085
|
+
/**
|
|
3086
|
+
* disallow empty lookahead assertion or empty lookbehind assertion
|
|
3087
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
|
|
3088
|
+
*/
|
|
3089
|
+
'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
|
|
3090
|
+
/**
|
|
3091
|
+
* disallow empty string literals in character classes
|
|
3092
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
|
|
3093
|
+
*/
|
|
3094
|
+
'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
|
|
3095
|
+
/**
|
|
3096
|
+
* disallow escape backspace (`[\b]`)
|
|
3097
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
|
|
3098
|
+
*/
|
|
3099
|
+
'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
|
|
3100
|
+
/**
|
|
3101
|
+
* disallow unnecessary nested lookaround assertions
|
|
3102
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
|
|
3103
|
+
*/
|
|
3104
|
+
'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
|
|
3105
|
+
/**
|
|
3106
|
+
* disallow invalid regular expression strings in `RegExp` constructors
|
|
3107
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
|
|
3108
|
+
*/
|
|
3109
|
+
'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
|
|
3110
|
+
/**
|
|
3111
|
+
* disallow invisible raw character
|
|
3112
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
|
|
3113
|
+
*/
|
|
3114
|
+
'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
|
|
3115
|
+
/**
|
|
3116
|
+
* disallow lazy quantifiers at the end of an expression
|
|
3117
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
|
|
3118
|
+
*/
|
|
3119
|
+
'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
|
|
3120
|
+
/**
|
|
3121
|
+
* disallow legacy RegExp features
|
|
3122
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
|
|
3123
|
+
*/
|
|
3124
|
+
'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
|
|
3125
|
+
/**
|
|
3126
|
+
* disallow capturing groups that do not behave as one would expect
|
|
3127
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
|
|
3128
|
+
*/
|
|
3129
|
+
'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
|
|
3130
|
+
/**
|
|
3131
|
+
* disallow multi-code-point characters in character classes and quantifiers
|
|
3132
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
|
|
3133
|
+
*/
|
|
3134
|
+
'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
|
|
3135
|
+
/**
|
|
3136
|
+
* disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
|
|
3137
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
|
|
3138
|
+
*/
|
|
3139
|
+
'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
|
|
3140
|
+
/**
|
|
3141
|
+
* disallow non-standard flags
|
|
3142
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
|
|
3143
|
+
*/
|
|
3144
|
+
'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
|
|
3145
|
+
/**
|
|
3146
|
+
* disallow obscure character ranges
|
|
3147
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
|
|
3148
|
+
*/
|
|
3149
|
+
'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
|
|
3150
|
+
/**
|
|
3151
|
+
* disallow octal escape sequence
|
|
3152
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
|
|
3153
|
+
*/
|
|
3154
|
+
'regexp/no-octal'?: Linter.RuleEntry<[]>
|
|
3155
|
+
/**
|
|
3156
|
+
* disallow optional assertions
|
|
3157
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
|
|
3158
|
+
*/
|
|
3159
|
+
'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
|
|
3160
|
+
/**
|
|
3161
|
+
* disallow backreferences that reference a group that might not be matched
|
|
3162
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
|
|
3163
|
+
*/
|
|
3164
|
+
'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3165
|
+
/**
|
|
3166
|
+
* disallow standalone backslashes (`\`)
|
|
3167
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
|
|
3168
|
+
*/
|
|
3169
|
+
'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
|
|
3170
|
+
/**
|
|
3171
|
+
* disallow exponential and polynomial backtracking
|
|
3172
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
|
|
3173
|
+
*/
|
|
3174
|
+
'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
|
|
3175
|
+
/**
|
|
3176
|
+
* disallow quantifiers that cause quadratic moves
|
|
3177
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
|
|
3178
|
+
*/
|
|
3179
|
+
'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
|
|
3180
|
+
/**
|
|
3181
|
+
* disallow trivially nested assertions
|
|
3182
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
|
|
3183
|
+
*/
|
|
3184
|
+
'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
|
|
3185
|
+
/**
|
|
3186
|
+
* disallow nested quantifiers that can be rewritten as one quantifier
|
|
3187
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
|
|
3188
|
+
*/
|
|
3189
|
+
'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
|
|
3190
|
+
/**
|
|
3191
|
+
* disallow unused capturing group
|
|
3192
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
|
|
3193
|
+
*/
|
|
3194
|
+
'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
|
|
3195
|
+
/**
|
|
3196
|
+
* disallow assertions that are known to always accept (or reject)
|
|
3197
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
|
|
3198
|
+
*/
|
|
3199
|
+
'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
|
|
3200
|
+
/**
|
|
3201
|
+
* disallow useless backreferences in regular expressions
|
|
3202
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
|
|
3203
|
+
*/
|
|
3204
|
+
'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3205
|
+
/**
|
|
3206
|
+
* disallow character class with one character
|
|
3207
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
|
|
3208
|
+
*/
|
|
3209
|
+
'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
|
|
3210
|
+
/**
|
|
3211
|
+
* disallow useless `$` replacements in replacement string
|
|
3212
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
|
|
3213
|
+
*/
|
|
3214
|
+
'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
|
|
3215
|
+
/**
|
|
3216
|
+
* disallow unnecessary escape characters in RegExp
|
|
3217
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
|
|
3218
|
+
*/
|
|
3219
|
+
'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
|
|
3220
|
+
/**
|
|
3221
|
+
* disallow unnecessary regex flags
|
|
3222
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
|
|
3223
|
+
*/
|
|
3224
|
+
'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
|
|
3225
|
+
/**
|
|
3226
|
+
* disallow unnecessarily non-greedy quantifiers
|
|
3227
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
|
|
3228
|
+
*/
|
|
3229
|
+
'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
|
|
3230
|
+
/**
|
|
3231
|
+
* disallow unnecessary non-capturing group
|
|
3232
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
|
|
3233
|
+
*/
|
|
3234
|
+
'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
|
|
3235
|
+
/**
|
|
3236
|
+
* disallow quantifiers that can be removed
|
|
3237
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
|
|
3238
|
+
*/
|
|
3239
|
+
'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
|
|
3240
|
+
/**
|
|
3241
|
+
* disallow unnecessary character ranges
|
|
3242
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
|
|
3243
|
+
*/
|
|
3244
|
+
'regexp/no-useless-range'?: Linter.RuleEntry<[]>
|
|
3245
|
+
/**
|
|
3246
|
+
* disallow unnecessary elements in expression character classes
|
|
3247
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
|
|
3248
|
+
*/
|
|
3249
|
+
'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
|
|
3250
|
+
/**
|
|
3251
|
+
* disallow string disjunction of single characters in `\q{...}`
|
|
3252
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
|
|
3253
|
+
*/
|
|
3254
|
+
'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
|
|
3255
|
+
/**
|
|
3256
|
+
* disallow unnecessary `{n,m}` quantifier
|
|
3257
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
|
|
3258
|
+
*/
|
|
3259
|
+
'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
|
|
3260
|
+
/**
|
|
3261
|
+
* disallow quantifiers with a maximum of zero
|
|
3262
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
|
|
3263
|
+
*/
|
|
3264
|
+
'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
|
|
3265
|
+
/**
|
|
3266
|
+
* disallow the alternatives of lookarounds that end with a non-constant quantifier
|
|
3267
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
|
|
3268
|
+
*/
|
|
3269
|
+
'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
|
|
3270
|
+
/**
|
|
3271
|
+
* require optimal quantifiers for concatenated quantifiers
|
|
3272
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
|
|
3273
|
+
*/
|
|
3274
|
+
'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
|
|
3275
|
+
/**
|
|
3276
|
+
* enforce using character class
|
|
3277
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
|
|
3278
|
+
*/
|
|
3279
|
+
'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
|
|
3280
|
+
/**
|
|
3281
|
+
* enforce using `\d`
|
|
3282
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
|
|
3283
|
+
*/
|
|
3284
|
+
'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
|
|
3285
|
+
/**
|
|
3286
|
+
* enforces escape of replacement `$` character (`$$`).
|
|
3287
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
|
|
3288
|
+
*/
|
|
3289
|
+
'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
|
|
3290
|
+
/**
|
|
3291
|
+
* prefer lookarounds over capturing group that do not replace
|
|
3292
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
|
|
3293
|
+
*/
|
|
3294
|
+
'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
|
|
3295
|
+
/**
|
|
3296
|
+
* enforce using named backreferences
|
|
3297
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
|
|
3298
|
+
*/
|
|
3299
|
+
'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
|
|
3300
|
+
/**
|
|
3301
|
+
* enforce using named capture groups
|
|
3302
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
|
|
3303
|
+
*/
|
|
3304
|
+
'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
|
|
3305
|
+
/**
|
|
3306
|
+
* enforce using named replacement
|
|
3307
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
|
|
3308
|
+
*/
|
|
3309
|
+
'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
|
|
3310
|
+
/**
|
|
3311
|
+
* enforce using `+` quantifier
|
|
3312
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
|
|
3313
|
+
*/
|
|
3314
|
+
'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
|
|
3315
|
+
/**
|
|
3316
|
+
* prefer predefined assertion over equivalent lookarounds
|
|
3317
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
|
|
3318
|
+
*/
|
|
3319
|
+
'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
|
|
3320
|
+
/**
|
|
3321
|
+
* enforce using quantifier
|
|
3322
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
3323
|
+
*/
|
|
3324
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
|
|
3325
|
+
/**
|
|
3326
|
+
* enforce using `?` quantifier
|
|
3327
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
3328
|
+
*/
|
|
3329
|
+
'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
|
|
3330
|
+
/**
|
|
3331
|
+
* enforce using character class range
|
|
3332
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
|
|
3333
|
+
*/
|
|
3334
|
+
'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
|
|
3335
|
+
/**
|
|
3336
|
+
* enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
|
|
3337
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
|
|
3338
|
+
*/
|
|
3339
|
+
'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
|
|
3340
|
+
/**
|
|
3341
|
+
* enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
|
|
3342
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
|
|
3343
|
+
*/
|
|
3344
|
+
'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
3345
|
+
/**
|
|
3346
|
+
* enforce using result array `groups`
|
|
3347
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
|
|
3348
|
+
*/
|
|
3349
|
+
'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
|
|
3350
|
+
/**
|
|
3351
|
+
* prefer character class set operations instead of lookarounds
|
|
3352
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
|
|
3353
|
+
*/
|
|
3354
|
+
'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
|
|
3355
|
+
/**
|
|
3356
|
+
* enforce using `*` quantifier
|
|
3357
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
|
|
3358
|
+
*/
|
|
3359
|
+
'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
|
|
3360
|
+
/**
|
|
3361
|
+
* enforce use of unicode codepoint escapes
|
|
3362
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
|
|
3363
|
+
*/
|
|
3364
|
+
'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
|
|
3365
|
+
/**
|
|
3366
|
+
* enforce using `\w`
|
|
3367
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
|
|
3368
|
+
*/
|
|
3369
|
+
'regexp/prefer-w'?: Linter.RuleEntry<[]>
|
|
3370
|
+
/**
|
|
3371
|
+
* enforce the use of the `u` flag
|
|
3372
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
|
|
3373
|
+
*/
|
|
3374
|
+
'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
|
|
3375
|
+
/**
|
|
3376
|
+
* enforce the use of the `v` flag
|
|
3377
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
|
|
3378
|
+
*/
|
|
3379
|
+
'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
|
|
3380
|
+
/**
|
|
3381
|
+
* require simplify set operations
|
|
3382
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
|
|
3383
|
+
*/
|
|
3384
|
+
'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
|
|
3385
|
+
/**
|
|
3386
|
+
* sort alternatives if order doesn't matter
|
|
3387
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
|
|
3388
|
+
*/
|
|
3389
|
+
'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
|
|
3390
|
+
/**
|
|
3391
|
+
* enforces elements order in character class
|
|
3392
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
|
|
3393
|
+
*/
|
|
3394
|
+
'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
|
|
3395
|
+
/**
|
|
3396
|
+
* require regex flags to be sorted
|
|
3397
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
|
|
3398
|
+
*/
|
|
3399
|
+
'regexp/sort-flags'?: Linter.RuleEntry<[]>
|
|
3400
|
+
/**
|
|
3401
|
+
* disallow not strictly valid regular expressions
|
|
3402
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
|
|
3403
|
+
*/
|
|
3404
|
+
'regexp/strict'?: Linter.RuleEntry<[]>
|
|
3405
|
+
/**
|
|
3406
|
+
* enforce consistent usage of unicode escape or unicode codepoint escape
|
|
3407
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
|
|
3408
|
+
*/
|
|
3409
|
+
'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
|
|
3410
|
+
/**
|
|
3411
|
+
* enforce consistent naming of unicode properties
|
|
3412
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
|
|
3413
|
+
*/
|
|
3414
|
+
'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
|
|
3415
|
+
/**
|
|
3416
|
+
* use the `i` flag if it simplifies the pattern
|
|
3417
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
3418
|
+
*/
|
|
3419
|
+
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
3003
3420
|
/**
|
|
3004
3421
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
3005
3422
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -4494,6 +4911,7 @@ interface RuleOptions {
|
|
|
4494
4911
|
/**
|
|
4495
4912
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
4496
4913
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
4914
|
+
* @deprecated
|
|
4497
4915
|
*/
|
|
4498
4916
|
'ts/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
4499
4917
|
/**
|
|
@@ -5307,21 +5725,11 @@ interface RuleOptions {
|
|
|
5307
5725
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5308
5726
|
*/
|
|
5309
5727
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5310
|
-
/**
|
|
5311
|
-
* Disallow unused variables
|
|
5312
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5313
|
-
*/
|
|
5314
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5315
5728
|
/**
|
|
5316
5729
|
* Disallow unused variables
|
|
5317
5730
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5318
5731
|
*/
|
|
5319
5732
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5320
|
-
/**
|
|
5321
|
-
* Disallow unused variables
|
|
5322
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5323
|
-
*/
|
|
5324
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5325
5733
|
/**
|
|
5326
5734
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5327
5735
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -6739,6 +7147,8 @@ type AntfuConsistentListNewline = []|[{
|
|
|
6739
7147
|
ObjectPattern?: boolean
|
|
6740
7148
|
ArrayPattern?: boolean
|
|
6741
7149
|
JSXOpeningElement?: boolean
|
|
7150
|
+
JSONArrayExpression?: boolean
|
|
7151
|
+
JSONObjectExpression?: boolean
|
|
6742
7152
|
}]
|
|
6743
7153
|
// ----- antfu/indent-unindent -----
|
|
6744
7154
|
type AntfuIndentUnindent = []|[{
|
|
@@ -6925,6 +7335,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
6925
7335
|
// ----- func-style -----
|
|
6926
7336
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
6927
7337
|
allowArrowFunctions?: boolean
|
|
7338
|
+
overrides?: {
|
|
7339
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7340
|
+
}
|
|
6928
7341
|
}]
|
|
6929
7342
|
// ----- function-call-argument-newline -----
|
|
6930
7343
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -8534,9 +8947,11 @@ type NoExtendNative = []|[{
|
|
|
8534
8947
|
exceptions?: string[]
|
|
8535
8948
|
}]
|
|
8536
8949
|
// ----- no-extra-boolean-cast -----
|
|
8537
|
-
type NoExtraBooleanCast = []|[{
|
|
8950
|
+
type NoExtraBooleanCast = []|[({
|
|
8951
|
+
enforceForInnerExpressions?: boolean
|
|
8952
|
+
} | {
|
|
8538
8953
|
enforceForLogicalOperands?: boolean
|
|
8539
|
-
}]
|
|
8954
|
+
})]
|
|
8540
8955
|
// ----- no-extra-parens -----
|
|
8541
8956
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
8542
8957
|
conditionalAssign?: boolean
|
|
@@ -8610,6 +9025,10 @@ type NoMagicNumbers = []|[{
|
|
|
8610
9025
|
ignoreDefaultValues?: boolean
|
|
8611
9026
|
ignoreClassFieldInitialValues?: boolean
|
|
8612
9027
|
}]
|
|
9028
|
+
// ----- no-misleading-character-class -----
|
|
9029
|
+
type NoMisleadingCharacterClass = []|[{
|
|
9030
|
+
allowEscape?: boolean
|
|
9031
|
+
}]
|
|
8613
9032
|
// ----- no-mixed-operators -----
|
|
8614
9033
|
type NoMixedOperators = []|[{
|
|
8615
9034
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -8666,8 +9085,10 @@ type NoRedeclare = []|[{
|
|
|
8666
9085
|
// ----- no-restricted-exports -----
|
|
8667
9086
|
type NoRestrictedExports = []|[({
|
|
8668
9087
|
restrictedNamedExports?: string[]
|
|
9088
|
+
restrictedNamedExportsPattern?: string
|
|
8669
9089
|
} | {
|
|
8670
9090
|
restrictedNamedExports?: string[]
|
|
9091
|
+
restrictedNamedExportsPattern?: string
|
|
8671
9092
|
restrictDefaultExports?: {
|
|
8672
9093
|
direct?: boolean
|
|
8673
9094
|
named?: boolean
|
|
@@ -8875,6 +9296,9 @@ type NodeHashbang = []|[{
|
|
|
8875
9296
|
})[]])
|
|
8876
9297
|
ignoreUnpublished?: boolean
|
|
8877
9298
|
additionalExecutables?: string[]
|
|
9299
|
+
executableMap?: {
|
|
9300
|
+
[k: string]: string
|
|
9301
|
+
}
|
|
8878
9302
|
}]
|
|
8879
9303
|
// ----- node/no-deprecated-api -----
|
|
8880
9304
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -9045,7 +9469,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9045
9469
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9046
9470
|
version?: string
|
|
9047
9471
|
allowExperimental?: boolean
|
|
9048
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "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.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "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.promises.FileHandle" | "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.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "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.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "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.statSync" | "fs.statfsSync" | "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" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "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/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9472
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9049
9473
|
}]
|
|
9050
9474
|
// ----- node/prefer-global/buffer -----
|
|
9051
9475
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9085,6 +9509,9 @@ type NodeShebang = []|[{
|
|
|
9085
9509
|
})[]])
|
|
9086
9510
|
ignoreUnpublished?: boolean
|
|
9087
9511
|
additionalExecutables?: string[]
|
|
9512
|
+
executableMap?: {
|
|
9513
|
+
[k: string]: string
|
|
9514
|
+
}
|
|
9088
9515
|
}]
|
|
9089
9516
|
// ----- nonblock-statement-body-position -----
|
|
9090
9517
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -9629,10 +10056,6 @@ type ReactJsxNoBind = []|[{
|
|
|
9629
10056
|
ignoreRefs?: boolean
|
|
9630
10057
|
ignoreDOMComponents?: boolean
|
|
9631
10058
|
}]
|
|
9632
|
-
// ----- react/jsx-no-constructed-context-values -----
|
|
9633
|
-
interface ReactJsxNoConstructedContextValues {
|
|
9634
|
-
[k: string]: unknown | undefined
|
|
9635
|
-
}
|
|
9636
10059
|
// ----- react/jsx-no-duplicate-props -----
|
|
9637
10060
|
type ReactJsxNoDuplicateProps = []|[{
|
|
9638
10061
|
ignoreCase?: boolean
|
|
@@ -9846,6 +10269,124 @@ type ReactStylePropObject = []|[{
|
|
|
9846
10269
|
allow?: string[]
|
|
9847
10270
|
[k: string]: unknown | undefined
|
|
9848
10271
|
}]
|
|
10272
|
+
// ----- regexp/hexadecimal-escape -----
|
|
10273
|
+
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
10274
|
+
// ----- regexp/letter-case -----
|
|
10275
|
+
type RegexpLetterCase = []|[{
|
|
10276
|
+
caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
|
|
10277
|
+
unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
10278
|
+
hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
10279
|
+
controlEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
10280
|
+
}]
|
|
10281
|
+
// ----- regexp/match-any -----
|
|
10282
|
+
type RegexpMatchAny = []|[{
|
|
10283
|
+
|
|
10284
|
+
allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
|
|
10285
|
+
}]
|
|
10286
|
+
// ----- regexp/no-dupe-disjunctions -----
|
|
10287
|
+
type RegexpNoDupeDisjunctions = []|[{
|
|
10288
|
+
report?: ("all" | "trivial" | "interesting")
|
|
10289
|
+
reportExponentialBacktracking?: ("none" | "certain" | "potential")
|
|
10290
|
+
reportUnreachable?: ("certain" | "potential")
|
|
10291
|
+
}]
|
|
10292
|
+
// ----- regexp/no-lazy-ends -----
|
|
10293
|
+
type RegexpNoLazyEnds = []|[{
|
|
10294
|
+
ignorePartial?: boolean
|
|
10295
|
+
}]
|
|
10296
|
+
// ----- regexp/no-legacy-features -----
|
|
10297
|
+
type RegexpNoLegacyFeatures = []|[{
|
|
10298
|
+
staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
|
|
10299
|
+
prototypeMethods?: ("compile")[]
|
|
10300
|
+
}]
|
|
10301
|
+
// ----- regexp/no-misleading-capturing-group -----
|
|
10302
|
+
type RegexpNoMisleadingCapturingGroup = []|[{
|
|
10303
|
+
reportBacktrackingEnds?: boolean
|
|
10304
|
+
}]
|
|
10305
|
+
// ----- regexp/no-misleading-unicode-character -----
|
|
10306
|
+
type RegexpNoMisleadingUnicodeCharacter = []|[{
|
|
10307
|
+
fixable?: boolean
|
|
10308
|
+
}]
|
|
10309
|
+
// ----- regexp/no-missing-g-flag -----
|
|
10310
|
+
type RegexpNoMissingGFlag = []|[{
|
|
10311
|
+
strictTypes?: boolean
|
|
10312
|
+
}]
|
|
10313
|
+
// ----- regexp/no-obscure-range -----
|
|
10314
|
+
type RegexpNoObscureRange = []|[{
|
|
10315
|
+
allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
10316
|
+
}]
|
|
10317
|
+
// ----- regexp/no-super-linear-backtracking -----
|
|
10318
|
+
type RegexpNoSuperLinearBacktracking = []|[{
|
|
10319
|
+
report?: ("certain" | "potential")
|
|
10320
|
+
}]
|
|
10321
|
+
// ----- regexp/no-super-linear-move -----
|
|
10322
|
+
type RegexpNoSuperLinearMove = []|[{
|
|
10323
|
+
report?: ("certain" | "potential")
|
|
10324
|
+
ignoreSticky?: boolean
|
|
10325
|
+
ignorePartial?: boolean
|
|
10326
|
+
}]
|
|
10327
|
+
// ----- regexp/no-unused-capturing-group -----
|
|
10328
|
+
type RegexpNoUnusedCapturingGroup = []|[{
|
|
10329
|
+
fixable?: boolean
|
|
10330
|
+
allowNamed?: boolean
|
|
10331
|
+
}]
|
|
10332
|
+
// ----- regexp/no-useless-character-class -----
|
|
10333
|
+
type RegexpNoUselessCharacterClass = []|[{
|
|
10334
|
+
ignores?: string[]
|
|
10335
|
+
}]
|
|
10336
|
+
// ----- regexp/no-useless-flag -----
|
|
10337
|
+
type RegexpNoUselessFlag = []|[{
|
|
10338
|
+
ignore?: ("i" | "m" | "s" | "g" | "y")[]
|
|
10339
|
+
strictTypes?: boolean
|
|
10340
|
+
}]
|
|
10341
|
+
// ----- regexp/no-useless-non-capturing-group -----
|
|
10342
|
+
type RegexpNoUselessNonCapturingGroup = []|[{
|
|
10343
|
+
allowTop?: (boolean | ("always" | "never" | "partial"))
|
|
10344
|
+
}]
|
|
10345
|
+
// ----- regexp/optimal-quantifier-concatenation -----
|
|
10346
|
+
type RegexpOptimalQuantifierConcatenation = []|[{
|
|
10347
|
+
capturingGroups?: ("ignore" | "report")
|
|
10348
|
+
}]
|
|
10349
|
+
// ----- regexp/prefer-character-class -----
|
|
10350
|
+
type RegexpPreferCharacterClass = []|[{
|
|
10351
|
+
minAlternatives?: number
|
|
10352
|
+
}]
|
|
10353
|
+
// ----- regexp/prefer-d -----
|
|
10354
|
+
type RegexpPreferD = []|[{
|
|
10355
|
+
insideCharacterClass?: ("ignore" | "range" | "d")
|
|
10356
|
+
}]
|
|
10357
|
+
// ----- regexp/prefer-lookaround -----
|
|
10358
|
+
type RegexpPreferLookaround = []|[{
|
|
10359
|
+
lookbehind?: boolean
|
|
10360
|
+
strictTypes?: boolean
|
|
10361
|
+
}]
|
|
10362
|
+
// ----- regexp/prefer-named-replacement -----
|
|
10363
|
+
type RegexpPreferNamedReplacement = []|[{
|
|
10364
|
+
strictTypes?: boolean
|
|
10365
|
+
}]
|
|
10366
|
+
// ----- regexp/prefer-range -----
|
|
10367
|
+
type RegexpPreferRange = []|[{
|
|
10368
|
+
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
10369
|
+
}]
|
|
10370
|
+
// ----- regexp/prefer-result-array-groups -----
|
|
10371
|
+
type RegexpPreferResultArrayGroups = []|[{
|
|
10372
|
+
strictTypes?: boolean
|
|
10373
|
+
}]
|
|
10374
|
+
// ----- regexp/sort-character-class-elements -----
|
|
10375
|
+
type RegexpSortCharacterClassElements = []|[{
|
|
10376
|
+
order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
|
|
10377
|
+
}]
|
|
10378
|
+
// ----- regexp/unicode-escape -----
|
|
10379
|
+
type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
|
|
10380
|
+
// ----- regexp/unicode-property -----
|
|
10381
|
+
type RegexpUnicodeProperty = []|[{
|
|
10382
|
+
generalCategory?: ("always" | "never" | "ignore")
|
|
10383
|
+
key?: ("short" | "long" | "ignore")
|
|
10384
|
+
property?: (("short" | "long" | "ignore") | {
|
|
10385
|
+
binary?: ("short" | "long" | "ignore")
|
|
10386
|
+
generalCategory?: ("short" | "long" | "ignore")
|
|
10387
|
+
script?: ("short" | "long" | "ignore")
|
|
10388
|
+
})
|
|
10389
|
+
}]
|
|
9849
10390
|
// ----- require-atomic-updates -----
|
|
9850
10391
|
type RequireAtomicUpdates = []|[{
|
|
9851
10392
|
allowProperties?: boolean
|
|
@@ -12413,6 +12954,8 @@ type TsSortTypeConstituents = []|[{
|
|
|
12413
12954
|
|
|
12414
12955
|
checkUnions?: boolean
|
|
12415
12956
|
|
|
12957
|
+
caseSensitive?: boolean
|
|
12958
|
+
|
|
12416
12959
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12417
12960
|
}]
|
|
12418
12961
|
// ----- ts/space-before-blocks -----
|
|
@@ -12710,17 +13253,6 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
12710
13253
|
caughtErrorsIgnorePattern?: string
|
|
12711
13254
|
destructuredArrayIgnorePattern?: string
|
|
12712
13255
|
})]
|
|
12713
|
-
// ----- unused-imports/no-unused-imports-ts -----
|
|
12714
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
12715
|
-
vars?: ("all" | "local")
|
|
12716
|
-
varsIgnorePattern?: string
|
|
12717
|
-
args?: ("all" | "after-used" | "none")
|
|
12718
|
-
ignoreRestSiblings?: boolean
|
|
12719
|
-
argsIgnorePattern?: string
|
|
12720
|
-
caughtErrors?: ("all" | "none")
|
|
12721
|
-
caughtErrorsIgnorePattern?: string
|
|
12722
|
-
destructuredArrayIgnorePattern?: string
|
|
12723
|
-
})]
|
|
12724
13256
|
// ----- unused-imports/no-unused-vars -----
|
|
12725
13257
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
12726
13258
|
vars?: ("all" | "local")
|
|
@@ -12732,17 +13264,6 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12732
13264
|
caughtErrorsIgnorePattern?: string
|
|
12733
13265
|
destructuredArrayIgnorePattern?: string
|
|
12734
13266
|
})]
|
|
12735
|
-
// ----- unused-imports/no-unused-vars-ts -----
|
|
12736
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
12737
|
-
vars?: ("all" | "local")
|
|
12738
|
-
varsIgnorePattern?: string
|
|
12739
|
-
args?: ("all" | "after-used" | "none")
|
|
12740
|
-
ignoreRestSiblings?: boolean
|
|
12741
|
-
argsIgnorePattern?: string
|
|
12742
|
-
caughtErrors?: ("all" | "none")
|
|
12743
|
-
caughtErrorsIgnorePattern?: string
|
|
12744
|
-
destructuredArrayIgnorePattern?: string
|
|
12745
|
-
})]
|
|
12746
13267
|
// ----- use-isnan -----
|
|
12747
13268
|
type UseIsnan = []|[{
|
|
12748
13269
|
enforceForSwitchCase?: boolean
|
|
@@ -14130,7 +14651,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14130
14651
|
onlyEquality?: boolean
|
|
14131
14652
|
}]
|
|
14132
14653
|
// Names of all the configs
|
|
14133
|
-
type ConfigNames = 'vinicunca/eslint-comments' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules'
|
|
14654
|
+
type ConfigNames = 'vinicunca/eslint-comments' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules'
|
|
14134
14655
|
|
|
14135
14656
|
/**
|
|
14136
14657
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
@@ -14234,14 +14755,14 @@ interface VendoredPrettierOptionsRequired {
|
|
|
14234
14755
|
type Awaitable<T> = Promise<T> | T;
|
|
14235
14756
|
type Rules = RuleOptions;
|
|
14236
14757
|
|
|
14237
|
-
type TypedFlatConfigItem =
|
|
14758
|
+
type TypedFlatConfigItem = {
|
|
14238
14759
|
/**
|
|
14239
14760
|
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
|
|
14240
14761
|
*
|
|
14241
14762
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
14242
14763
|
*/
|
|
14243
14764
|
plugins?: Record<string, any>;
|
|
14244
|
-
}
|
|
14765
|
+
} & Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, 'plugins'>;
|
|
14245
14766
|
interface OptionsFiles {
|
|
14246
14767
|
/**
|
|
14247
14768
|
* Override the `files` option to provide custom globs.
|
|
@@ -14263,7 +14784,7 @@ interface OptionsVue extends OptionsOverrides {
|
|
|
14263
14784
|
*/
|
|
14264
14785
|
vueVersion?: 2 | 3;
|
|
14265
14786
|
}
|
|
14266
|
-
type OptionsTypescript = (
|
|
14787
|
+
type OptionsTypescript = (OptionsOverrides & OptionsTypeScriptParserOptions) | (OptionsOverrides & OptionsTypeScriptWithTypes);
|
|
14267
14788
|
interface OptionsFormatters {
|
|
14268
14789
|
/**
|
|
14269
14790
|
* Enable formatting support for CSS, Less, Sass, and SCSS.
|
|
@@ -14340,6 +14861,12 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'js
|
|
|
14340
14861
|
interface OptionsOverrides {
|
|
14341
14862
|
overrides?: TypedFlatConfigItem['rules'];
|
|
14342
14863
|
}
|
|
14864
|
+
interface OptionsRegExp {
|
|
14865
|
+
/**
|
|
14866
|
+
* Override rulelevels
|
|
14867
|
+
*/
|
|
14868
|
+
level?: 'error' | 'warn';
|
|
14869
|
+
}
|
|
14343
14870
|
interface OptionsIsInEditor {
|
|
14344
14871
|
isInEditor?: boolean;
|
|
14345
14872
|
}
|
|
@@ -14420,12 +14947,20 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14420
14947
|
* @default false
|
|
14421
14948
|
*/
|
|
14422
14949
|
react?: OptionsOverrides | boolean;
|
|
14950
|
+
/**
|
|
14951
|
+
* Enable regexp rules.
|
|
14952
|
+
*
|
|
14953
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
14954
|
+
* @default true
|
|
14955
|
+
*/
|
|
14956
|
+
regexp?: (OptionsOverrides & OptionsRegExp) | boolean;
|
|
14423
14957
|
/**
|
|
14424
14958
|
* Enable stylistic rules.
|
|
14425
14959
|
*
|
|
14960
|
+
* @see https://eslint.style/
|
|
14426
14961
|
* @default true
|
|
14427
14962
|
*/
|
|
14428
|
-
stylistic?: (
|
|
14963
|
+
stylistic?: (OptionsOverrides & StylisticConfig) | boolean;
|
|
14429
14964
|
/**
|
|
14430
14965
|
* Enable test support.
|
|
14431
14966
|
*
|
|
@@ -14509,7 +15044,9 @@ declare function node(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
14509
15044
|
*/
|
|
14510
15045
|
declare function perfectionist(): Promise<Array<TypedFlatConfigItem>>;
|
|
14511
15046
|
|
|
14512
|
-
declare function react(options?:
|
|
15047
|
+
declare function react(options?: OptionsFiles & OptionsOverrides & OptionsTypeScriptWithTypes): Promise<Array<TypedFlatConfigItem>>;
|
|
15048
|
+
|
|
15049
|
+
declare function regexp(options?: OptionsOverrides & OptionsRegExp): Promise<Array<TypedFlatConfigItem>>;
|
|
14513
15050
|
|
|
14514
15051
|
declare function sonar(): Promise<Array<TypedFlatConfigItem>>;
|
|
14515
15052
|
|
|
@@ -14635,4 +15172,4 @@ declare const GLOB_TESTS: string[];
|
|
|
14635
15172
|
declare const GLOB_ALL_SRC: string[];
|
|
14636
15173
|
declare const GLOB_EXCLUDE: string[];
|
|
14637
15174
|
|
|
14638
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|
|
15175
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|