@lincy/eslint-config 5.2.7 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,129 +1,10 @@
1
+ import { Linter } from 'eslint';
1
2
  import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
2
3
  import { ParserOptions } from '@typescript-eslint/parser';
3
- import { Linter } from 'eslint';
4
4
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
5
5
  import { Options } from 'eslint-processor-vue-blocks';
6
6
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
7
7
 
8
- /**
9
- * 来自 Prettier 的供应商类型,因此不依赖依赖项
10
- */
11
- type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
12
- interface VendoredPrettierOptionsRequired {
13
- /**
14
- * 指定换行的行长度.
15
- * @default 200
16
- */
17
- printWidth: number;
18
- /**
19
- * 指定每个缩进的空格数.
20
- */
21
- tabWidth: number;
22
- /**
23
- * 使用制表符而不是空格来缩进行
24
- */
25
- useTabs?: boolean;
26
- /**
27
- * 在语句末尾添加分号.
28
- */
29
- semi: boolean;
30
- /**
31
- * 使用单引号代替双引号.
32
- */
33
- singleQuote: boolean;
34
- /**
35
- * 在 JSX 中使用单引号.
36
- */
37
- jsxSingleQuote: boolean;
38
- /**
39
- * 尽可能添加尾随逗号.
40
- */
41
- trailingComma: 'none' | 'es5' | 'all';
42
- /**
43
- * 对象文字中括号之间的空格.
44
- */
45
- bracketSpacing: boolean;
46
- /**
47
- * 将多行 HTML(HTML、JSX、Vue、Angular)元素的 `>` 放在最后一行的末尾,
48
- * 而不是单独放在下一行(不适用于自闭合元素)。
49
- */
50
- bracketSameLine: boolean;
51
- /**
52
- * 将多行 JSX 元素的 `>` 放在最后一行的末尾,而不是单独放在下一行.
53
- * @deprecated 使用 bracketSameLine 代替
54
- */
55
- jsxBracketSameLine: boolean;
56
- /**
57
- * 仅格式化文件的一部分.
58
- */
59
- rangeStart: number;
60
- /**
61
- * 仅格式化文件的一部分.
62
- * @default Number.POSITIVE_INFINITY
63
- */
64
- rangeEnd: number;
65
- /**
66
- * 默认情况下,Prettier 将按原样包装 Markdown 文本,因为某些服务使用换行敏感渲染器.
67
- * 在某些情况下,您可能希望依靠编辑器/查看器软包装,因此此选项允许您选择退出.
68
- * @default "preserve"
69
- */
70
- proseWrap: 'always' | 'never' | 'preserve';
71
- /**
72
- * 箭头函数参数周围包含括号.
73
- * @default "always"
74
- */
75
- arrowParens: 'avoid' | 'always';
76
- /**
77
- * 为 Prettier 提供支持新语言的能力.
78
- */
79
- plugins: Array<string | any>;
80
- /**
81
- * 如何处理 HTML 中的空格.
82
- * @default "css"
83
- */
84
- htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore';
85
- /**
86
- * 应用哪个换行符.
87
- * @default "lf"
88
- */
89
- endOfLine: 'auto' | 'lf' | 'crlf' | 'cr';
90
- /**
91
- * 引用对象中的属性时发生更改.
92
- * @default "as-needed"
93
- */
94
- quoteProps: 'as-needed' | 'consistent' | 'preserve';
95
- /**
96
- * 是否缩进Vue文件中<script>和<style>标签内的代码.
97
- * @default false
98
- */
99
- vueIndentScriptAndStyle: boolean;
100
- /**
101
- * 在 HTML、Vue 和 JSX 中强制每行使用单一属性.
102
- * @default false
103
- */
104
- singleAttributePerLine: boolean;
105
- /**
106
- * 如何处理 XML 中的空格
107
- * @default "preserve"
108
- */
109
- xmlQuoteAttributes: 'single' | 'double' | 'preserve';
110
- /**
111
- * 是否在自闭合 XML 元素的括号内放置空格.
112
- * @default true
113
- */
114
- xmlSelfClosingSpace: boolean;
115
- /**
116
- * 是否按 XML 元素中的键对属性进行排序.
117
- * @default false
118
- */
119
- xmlSortAttributesByKey: boolean;
120
- /**
121
- * 如何处理 XML 中的空格
122
- * @default "ignore"
123
- */
124
- xmlWhitespaceSensitivity: 'ignore' | 'strict' | 'preserve';
125
- }
126
-
127
8
  /* eslint-disable */
128
9
  /* prettier-ignore */
129
10
 
@@ -506,233 +387,233 @@ interface RuleOptions {
506
387
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
507
388
  /**
508
389
  * Enforce or ban the use of inline type-only markers for named imports.
509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
390
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
510
391
  */
511
392
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
512
393
  /**
513
394
  * Ensure a default export is present, given a default import.
514
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
395
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
515
396
  */
516
397
  'import/default'?: Linter.RuleEntry<[]>
517
398
  /**
518
399
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
519
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
400
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
520
401
  */
521
402
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
522
403
  /**
523
404
  * Forbid any invalid exports, i.e. re-export of the same name.
524
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
405
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
525
406
  */
526
407
  'import/export'?: Linter.RuleEntry<[]>
527
408
  /**
528
409
  * Ensure all exports appear after other statements.
529
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
410
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
530
411
  */
531
412
  'import/exports-last'?: Linter.RuleEntry<[]>
532
413
  /**
533
414
  * Ensure consistent use of file extension within the import path.
534
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
415
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
535
416
  */
536
417
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
537
418
  /**
538
419
  * Ensure all imports appear before other statements.
539
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
420
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
540
421
  */
541
422
  'import/first'?: Linter.RuleEntry<ImportFirst>
542
423
  /**
543
424
  * Prefer named exports to be grouped together in a single export declaration.
544
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
425
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
545
426
  */
546
427
  'import/group-exports'?: Linter.RuleEntry<[]>
547
428
  /**
548
429
  * Replaced by `import-x/first`.
549
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
430
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
550
431
  * @deprecated
551
432
  */
552
433
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
553
434
  /**
554
435
  * Enforce the maximum number of dependencies a module can have.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
436
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
556
437
  */
557
438
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
558
439
  /**
559
440
  * Ensure named imports correspond to a named export in the remote file.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
441
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
561
442
  */
562
443
  'import/named'?: Linter.RuleEntry<ImportNamed>
563
444
  /**
564
445
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
446
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
566
447
  */
567
448
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
568
449
  /**
569
450
  * Enforce a newline after import statements.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
451
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
571
452
  */
572
453
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
573
454
  /**
574
455
  * Forbid import of modules using absolute paths.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
456
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
576
457
  */
577
458
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
578
459
  /**
579
460
  * Forbid AMD `require` and `define` calls.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
461
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
581
462
  */
582
463
  'import/no-amd'?: Linter.RuleEntry<[]>
583
464
  /**
584
465
  * Forbid anonymous values as default exports.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
466
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
586
467
  */
587
468
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
588
469
  /**
589
470
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
471
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
591
472
  */
592
473
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
593
474
  /**
594
475
  * Forbid a module from importing a module with a dependency path back to itself.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
476
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
596
477
  */
597
478
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
598
479
  /**
599
480
  * Forbid default exports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
481
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
601
482
  */
602
483
  'import/no-default-export'?: Linter.RuleEntry<[]>
603
484
  /**
604
485
  * Forbid imported names marked with `@deprecated` documentation tag.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
486
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
606
487
  */
607
488
  'import/no-deprecated'?: Linter.RuleEntry<[]>
608
489
  /**
609
490
  * Forbid repeated import of the same module in multiple places.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
491
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
611
492
  */
612
493
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
613
494
  /**
614
495
  * Forbid `require()` calls with expressions.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
496
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
616
497
  */
617
498
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
618
499
  /**
619
500
  * Forbid empty named import blocks.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
501
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
621
502
  */
622
503
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
623
504
  /**
624
505
  * Forbid the use of extraneous packages.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
506
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
626
507
  */
627
508
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
628
509
  /**
629
510
  * Forbid import statements with CommonJS module.exports.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
511
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
631
512
  */
632
513
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
633
514
  /**
634
515
  * Forbid importing the submodules of other modules.
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
516
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
636
517
  */
637
518
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
638
519
  /**
639
520
  * Forbid the use of mutable exports with `var` or `let`.
640
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
521
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
641
522
  */
642
523
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
643
524
  /**
644
525
  * Forbid use of exported name as identifier of default export.
645
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
526
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
646
527
  */
647
528
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
648
529
  /**
649
530
  * Forbid use of exported name as property of default export.
650
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
531
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
651
532
  */
652
533
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
653
534
  /**
654
535
  * Forbid named default exports.
655
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
536
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
656
537
  */
657
538
  'import/no-named-default'?: Linter.RuleEntry<[]>
658
539
  /**
659
540
  * Forbid named exports.
660
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
541
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
661
542
  */
662
543
  'import/no-named-export'?: Linter.RuleEntry<[]>
663
544
  /**
664
545
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
665
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
546
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
666
547
  */
667
548
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
668
549
  /**
669
550
  * Forbid Node.js builtin modules.
670
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
551
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
671
552
  */
672
553
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
673
554
  /**
674
555
  * Forbid importing packages through relative paths.
675
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
556
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
676
557
  */
677
558
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
678
559
  /**
679
560
  * Forbid importing modules from parent directories.
680
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
561
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
681
562
  */
682
563
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
683
564
  /**
684
565
  * Forbid importing a default export by a different name.
685
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
566
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
686
567
  */
687
568
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
688
569
  /**
689
570
  * Enforce which files can be imported in a given folder.
690
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
571
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
691
572
  */
692
573
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
693
574
  /**
694
575
  * Forbid a module from importing itself.
695
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
576
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
696
577
  */
697
578
  'import/no-self-import'?: Linter.RuleEntry<[]>
698
579
  /**
699
580
  * Forbid unassigned imports.
700
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
581
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
701
582
  */
702
583
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
703
584
  /**
704
585
  * Ensure imports point to a file/module that can be resolved.
705
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
586
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
706
587
  */
707
588
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
708
589
  /**
709
590
  * Forbid modules without exports, or exports without matching import in another module.
710
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
591
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
711
592
  */
712
593
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
713
594
  /**
714
595
  * Forbid unnecessary path segments in import and require statements.
715
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
596
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
716
597
  */
717
598
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
718
599
  /**
719
600
  * Forbid webpack loader syntax in imports.
720
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
601
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
721
602
  */
722
603
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
723
604
  /**
724
605
  * Enforce a convention in module import order.
725
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
606
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
726
607
  */
727
608
  'import/order'?: Linter.RuleEntry<ImportOrder>
728
609
  /**
729
610
  * Prefer a default export if module exports a single name or multiple names.
730
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
611
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
731
612
  */
732
613
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
733
614
  /**
734
615
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
735
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
616
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
736
617
  */
737
618
  'import/unambiguous'?: Linter.RuleEntry<[]>
738
619
  /**
@@ -1479,7 +1360,7 @@ interface RuleOptions {
1479
1360
  */
1480
1361
  'no-class-assign'?: Linter.RuleEntry<[]>
1481
1362
  /**
1482
- * Disallow comparing against -0
1363
+ * Disallow comparing against `-0`
1483
1364
  * @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
1484
1365
  */
1485
1366
  'no-compare-neg-zero'?: Linter.RuleEntry<[]>
@@ -2497,17 +2378,16 @@ interface RuleOptions {
2497
2378
  * @see https://perfectionist.dev/rules/sort-array-includes
2498
2379
  */
2499
2380
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2500
- /**
2501
- * Enforce sorted Astro attributes.
2502
- * @see https://perfectionist.dev/rules/sort-astro-attributes
2503
- * @deprecated
2504
- */
2505
- 'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2506
2381
  /**
2507
2382
  * Enforce sorted classes.
2508
2383
  * @see https://perfectionist.dev/rules/sort-classes
2509
2384
  */
2510
2385
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2386
+ /**
2387
+ * Enforce sorted decorators.
2388
+ * @see https://perfectionist.dev/rules/sort-decorators
2389
+ */
2390
+ 'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
2511
2391
  /**
2512
2392
  * Enforce sorted TypeScript enums.
2513
2393
  * @see https://perfectionist.dev/rules/sort-enums
@@ -2518,6 +2398,11 @@ interface RuleOptions {
2518
2398
  * @see https://perfectionist.dev/rules/sort-exports
2519
2399
  */
2520
2400
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2401
+ /**
2402
+ * Enforce sorted heritage clauses.
2403
+ * @see https://perfectionist.dev/rules/sort-heritage-clauses
2404
+ */
2405
+ 'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
2521
2406
  /**
2522
2407
  * Enforce sorted imports.
2523
2408
  * @see https://perfectionist.dev/rules/sort-imports
@@ -2543,6 +2428,11 @@ interface RuleOptions {
2543
2428
  * @see https://perfectionist.dev/rules/sort-maps
2544
2429
  */
2545
2430
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2431
+ /**
2432
+ * Enforce sorted modules.
2433
+ * @see https://perfectionist.dev/rules/sort-modules
2434
+ */
2435
+ 'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
2546
2436
  /**
2547
2437
  * Enforce sorted named exports.
2548
2438
  * @see https://perfectionist.dev/rules/sort-named-exports
@@ -2568,12 +2458,6 @@ interface RuleOptions {
2568
2458
  * @see https://perfectionist.dev/rules/sort-sets
2569
2459
  */
2570
2460
  'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
2571
- /**
2572
- * Enforce sorted Svelte attributes.
2573
- * @see https://perfectionist.dev/rules/sort-svelte-attributes
2574
- * @deprecated
2575
- */
2576
- 'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2577
2461
  /**
2578
2462
  * Enforce sorted switch cases.
2579
2463
  * @see https://perfectionist.dev/rules/sort-switch-case
@@ -2589,12 +2473,6 @@ interface RuleOptions {
2589
2473
  * @see https://perfectionist.dev/rules/sort-variable-declarations
2590
2474
  */
2591
2475
  'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2592
- /**
2593
- * Enforce sorted Vue attributes.
2594
- * @see https://perfectionist.dev/rules/sort-vue-attributes
2595
- * @deprecated
2596
- */
2597
- 'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2598
2476
  /**
2599
2477
  * Require using arrow functions for callbacks
2600
2478
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -2728,6 +2606,11 @@ interface RuleOptions {
2728
2606
  * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2729
2607
  */
2730
2608
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
2609
+ /**
2610
+ * disallow usage of unknown DOM property
2611
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
2612
+ */
2613
+ 'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
2731
2614
  /**
2732
2615
  * disallow unsafe iframe 'sandbox' attribute combinations
2733
2616
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
@@ -2824,6 +2707,16 @@ interface RuleOptions {
2824
2707
  * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2825
2708
  */
2826
2709
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2710
+ /**
2711
+ * disallow duplicate props
2712
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
2713
+ */
2714
+ 'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
2715
+ /**
2716
+ * a helper rule to mark variables as used
2717
+ * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
2718
+ */
2719
+ 'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
2827
2720
  /**
2828
2721
  * disallow accessing 'this.state' within 'setState'
2829
2722
  * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
@@ -4364,6 +4257,11 @@ interface RuleOptions {
4364
4257
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4365
4258
  */
4366
4259
  'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
4260
+ /**
4261
+ * Require promises that have expectations in their chain to be valid
4262
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
4263
+ */
4264
+ 'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
4367
4265
  /**
4368
4266
  * enforce valid titles
4369
4267
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
@@ -4898,6 +4796,11 @@ interface RuleOptions {
4898
4796
  * @see https://typescript-eslint.io/rules/no-unsafe-return
4899
4797
  */
4900
4798
  'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
4799
+ /**
4800
+ * Disallow type assertions that narrow a type
4801
+ * @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
4802
+ */
4803
+ 'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
4901
4804
  /**
4902
4805
  * Require unary negation to take a number
4903
4806
  * @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
@@ -5055,6 +4958,11 @@ interface RuleOptions {
5055
4958
  * @see https://typescript-eslint.io/rules/promise-function-async
5056
4959
  */
5057
4960
  'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
4961
+ /**
4962
+ * Enforce that `get()` types should be assignable to their equivalent `set()` type
4963
+ * @see https://typescript-eslint.io/rules/related-getter-setter-pairs
4964
+ */
4965
+ 'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
5058
4966
  /**
5059
4967
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
5060
4968
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
@@ -5128,702 +5036,702 @@ interface RuleOptions {
5128
5036
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5129
5037
  /**
5130
5038
  * Improve regexes by making them shorter, consistent, and safer.
5131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
5039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
5132
5040
  */
5133
5041
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5134
5042
  /**
5135
5043
  * Enforce a specific parameter name in catch clauses.
5136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
5044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
5137
5045
  */
5138
5046
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5139
5047
  /**
5140
5048
  * Use destructured variables over properties.
5141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
5049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
5142
5050
  */
5143
5051
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5144
5052
  /**
5145
5053
  * Prefer consistent types when spreading a ternary in an array literal.
5146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
5054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
5147
5055
  */
5148
5056
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5149
5057
  /**
5150
5058
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
5059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
5152
5060
  */
5153
5061
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
5154
5062
  /**
5155
5063
  * Move function definitions to the highest possible scope.
5156
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
5064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
5157
5065
  */
5158
5066
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5159
5067
  /**
5160
5068
  * Enforce correct `Error` subclassing.
5161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
5069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
5162
5070
  */
5163
5071
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5164
5072
  /**
5165
5073
  * Enforce no spaces between braces.
5166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
5074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
5167
5075
  */
5168
5076
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5169
5077
  /**
5170
5078
  * Enforce passing a `message` value when creating a built-in error.
5171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
5079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
5172
5080
  */
5173
5081
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5174
5082
  /**
5175
5083
  * Require escape sequences to use uppercase values.
5176
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
5084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
5177
5085
  */
5178
5086
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
5179
5087
  /**
5180
5088
  * Add expiration conditions to TODO comments.
5181
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
5089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
5182
5090
  */
5183
5091
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5184
5092
  /**
5185
5093
  * Enforce explicitly comparing the `length` or `size` property of a value.
5186
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
5094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
5187
5095
  */
5188
5096
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5189
5097
  /**
5190
5098
  * Enforce a case style for filenames.
5191
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
5099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
5192
5100
  */
5193
5101
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5194
5102
  /**
5195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
5103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
5196
5104
  * @deprecated
5197
5105
  */
5198
5106
  'unicorn/import-index'?: Linter.RuleEntry<[]>
5199
5107
  /**
5200
5108
  * Enforce specific import styles per module.
5201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
5109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
5202
5110
  */
5203
5111
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5204
5112
  /**
5205
5113
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
5114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
5207
5115
  */
5208
5116
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5209
5117
  /**
5210
5118
  * Enforce specifying rules to disable in `eslint-disable` comments.
5211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
5119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
5212
5120
  */
5213
5121
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5214
5122
  /**
5215
5123
  * Disallow anonymous functions and classes as the default export.
5216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
5124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
5217
5125
  */
5218
5126
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5219
5127
  /**
5220
5128
  * Prevent passing a function reference directly to iterator methods.
5221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
5129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
5222
5130
  */
5223
5131
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5224
5132
  /**
5225
5133
  * Prefer `for…of` over the `forEach` method.
5226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
5134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
5227
5135
  */
5228
5136
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5229
5137
  /**
5230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
5138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
5231
5139
  * @deprecated
5232
5140
  */
5233
5141
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
5234
5142
  /**
5235
5143
  * Disallow using the `this` argument in array methods.
5236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
5144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
5237
5145
  */
5238
5146
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5239
5147
  /**
5240
5148
  * Enforce combining multiple `Array#push()` into one call.
5241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
5149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
5242
5150
  */
5243
5151
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
5244
5152
  /**
5245
5153
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
5154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
5247
5155
  */
5248
5156
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5249
5157
  /**
5250
5158
  * Disallow member access from await expression.
5251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
5159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
5252
5160
  */
5253
5161
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5254
5162
  /**
5255
5163
  * Disallow using `await` in `Promise` method parameters.
5256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
5164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
5257
5165
  */
5258
5166
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5259
5167
  /**
5260
5168
  * Do not use leading/trailing space between `console.log` parameters.
5261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
5169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
5262
5170
  */
5263
5171
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5264
5172
  /**
5265
5173
  * Do not use `document.cookie` directly.
5266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
5174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
5267
5175
  */
5268
5176
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5269
5177
  /**
5270
5178
  * Disallow empty files.
5271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
5179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
5272
5180
  */
5273
5181
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5274
5182
  /**
5275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
5276
5184
  * @deprecated
5277
5185
  */
5278
5186
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
5279
5187
  /**
5280
5188
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
5189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
5282
5190
  */
5283
5191
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5284
5192
  /**
5285
5193
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
5194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
5287
5195
  */
5288
5196
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5289
5197
  /**
5290
5198
  * Require `Array.isArray()` instead of `instanceof Array`.
5291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
5199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
5292
5200
  */
5293
5201
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5294
5202
  /**
5295
5203
  * Disallow invalid options in `fetch()` and `new Request()`.
5296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
5204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
5297
5205
  */
5298
5206
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
5299
5207
  /**
5300
5208
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
5209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
5302
5210
  */
5303
5211
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
5304
5212
  /**
5305
5213
  * Disallow identifiers starting with `new` or `class`.
5306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
5214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
5307
5215
  */
5308
5216
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
5309
5217
  /**
5310
5218
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
5219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
5312
5220
  */
5313
5221
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
5314
5222
  /**
5315
5223
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
5224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
5317
5225
  */
5318
5226
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5319
5227
  /**
5320
5228
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
5229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
5322
5230
  */
5323
5231
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
5324
5232
  /**
5325
5233
  * Disallow negated conditions.
5326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
5234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
5327
5235
  */
5328
5236
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
5329
5237
  /**
5330
5238
  * Disallow negated expression in equality check.
5331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
5239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
5332
5240
  */
5333
5241
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
5334
5242
  /**
5335
5243
  * Disallow nested ternary expressions.
5336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
5244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
5337
5245
  */
5338
5246
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
5339
5247
  /**
5340
5248
  * Disallow `new Array()`.
5341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
5249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
5342
5250
  */
5343
5251
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
5344
5252
  /**
5345
5253
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
5254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
5347
5255
  */
5348
5256
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
5349
5257
  /**
5350
5258
  * Disallow the use of the `null` literal.
5351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
5259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
5352
5260
  */
5353
5261
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
5354
5262
  /**
5355
5263
  * Disallow the use of objects as default parameters.
5356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
5264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
5357
5265
  */
5358
5266
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
5359
5267
  /**
5360
5268
  * Disallow `process.exit()`.
5361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
5269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
5362
5270
  */
5363
5271
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
5364
5272
  /**
5365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
5273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
5366
5274
  * @deprecated
5367
5275
  */
5368
5276
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
5369
5277
  /**
5370
5278
  * Disallow passing single-element arrays to `Promise` methods.
5371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
5279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
5372
5280
  */
5373
5281
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
5374
5282
  /**
5375
5283
  * Disallow classes that only have static members.
5376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
5284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
5377
5285
  */
5378
5286
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
5379
5287
  /**
5380
5288
  * Disallow `then` property.
5381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
5289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
5382
5290
  */
5383
5291
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
5384
5292
  /**
5385
5293
  * Disallow assigning `this` to a variable.
5386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
5294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
5387
5295
  */
5388
5296
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
5389
5297
  /**
5390
5298
  * Disallow comparing `undefined` using `typeof`.
5391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
5299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
5392
5300
  */
5393
5301
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
5394
5302
  /**
5395
5303
  * Disallow awaiting non-promise values.
5396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
5304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
5397
5305
  */
5398
5306
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
5399
5307
  /**
5400
5308
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
5309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
5402
5310
  */
5403
5311
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
5404
5312
  /**
5405
5313
  * Disallow unreadable array destructuring.
5406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
5314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
5407
5315
  */
5408
5316
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
5409
5317
  /**
5410
5318
  * Disallow unreadable IIFEs.
5411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
5319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
5412
5320
  */
5413
5321
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
5414
5322
  /**
5415
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
5323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
5416
5324
  * @deprecated
5417
5325
  */
5418
5326
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
5419
5327
  /**
5420
5328
  * Disallow unused object properties.
5421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
5329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
5422
5330
  */
5423
5331
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
5424
5332
  /**
5425
5333
  * Disallow useless fallback when spreading in object literals.
5426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
5334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
5427
5335
  */
5428
5336
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
5429
5337
  /**
5430
5338
  * Disallow useless array length check.
5431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
5339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
5432
5340
  */
5433
5341
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
5434
5342
  /**
5435
5343
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
5344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
5437
5345
  */
5438
5346
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
5439
5347
  /**
5440
5348
  * Disallow unnecessary spread.
5441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
5349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
5442
5350
  */
5443
5351
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
5444
5352
  /**
5445
5353
  * Disallow useless case in switch statements.
5446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
5354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
5447
5355
  */
5448
5356
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
5449
5357
  /**
5450
5358
  * Disallow useless `undefined`.
5451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
5359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
5452
5360
  */
5453
5361
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
5454
5362
  /**
5455
5363
  * Disallow number literals with zero fractions or dangling dots.
5456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
5364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
5457
5365
  */
5458
5366
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
5459
5367
  /**
5460
5368
  * Enforce proper case for numeric literals.
5461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
5369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
5462
5370
  */
5463
5371
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
5464
5372
  /**
5465
5373
  * Enforce the style of numeric separators by correctly grouping digits.
5466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
5374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
5467
5375
  */
5468
5376
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
5469
5377
  /**
5470
5378
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
5379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
5472
5380
  */
5473
5381
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
5474
5382
  /**
5475
5383
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
5384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
5477
5385
  */
5478
5386
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
5479
5387
  /**
5480
5388
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
5389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
5482
5390
  */
5483
5391
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
5484
5392
  /**
5485
5393
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
5394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
5487
5395
  */
5488
5396
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
5489
5397
  /**
5490
5398
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
5399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
5492
5400
  */
5493
5401
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
5494
5402
  /**
5495
5403
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
5404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
5497
5405
  */
5498
5406
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
5499
5407
  /**
5500
5408
  * Prefer `.at()` method for index access and `String#charAt()`.
5501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
5409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
5502
5410
  */
5503
5411
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
5504
5412
  /**
5505
5413
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
5414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
5507
5415
  */
5508
5416
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
5509
5417
  /**
5510
5418
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
5419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
5512
5420
  */
5513
5421
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
5514
5422
  /**
5515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
5423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
5516
5424
  * @deprecated
5517
5425
  */
5518
5426
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
5519
5427
  /**
5520
5428
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
5429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
5522
5430
  */
5523
5431
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
5524
5432
  /**
5525
5433
  * Prefer default parameters over reassignment.
5526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
5434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
5527
5435
  */
5528
5436
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
5529
5437
  /**
5530
5438
  * Prefer `Node#append()` over `Node#appendChild()`.
5531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
5439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
5532
5440
  */
5533
5441
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
5534
5442
  /**
5535
5443
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
5444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
5537
5445
  */
5538
5446
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
5539
5447
  /**
5540
5448
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
5449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
5542
5450
  */
5543
5451
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
5544
5452
  /**
5545
5453
  * Prefer `.textContent` over `.innerText`.
5546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
5454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
5547
5455
  */
5548
5456
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
5549
5457
  /**
5550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
5458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
5551
5459
  * @deprecated
5552
5460
  */
5553
5461
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
5554
5462
  /**
5555
5463
  * Prefer `EventTarget` over `EventEmitter`.
5556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
5464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
5557
5465
  */
5558
5466
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
5559
5467
  /**
5560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
5561
5469
  * @deprecated
5562
5470
  */
5563
5471
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
5564
5472
  /**
5565
5473
  * Prefer `export…from` when re-exporting.
5566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
5474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
5567
5475
  */
5568
5476
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
5569
5477
  /**
5570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
5478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
5571
5479
  * @deprecated
5572
5480
  */
5573
5481
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
5574
5482
  /**
5575
5483
  * Prefer `globalThis` over `window`, `self`, and `global`.
5576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
5484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
5577
5485
  */
5578
5486
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
5579
5487
  /**
5580
5488
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
5489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
5582
5490
  */
5583
5491
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
5584
5492
  /**
5585
5493
  * Prefer reading a JSON file as a buffer.
5586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
5494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
5587
5495
  */
5588
5496
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
5589
5497
  /**
5590
5498
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
5499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
5592
5500
  */
5593
5501
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
5594
5502
  /**
5595
5503
  * Prefer using a logical operator over a ternary.
5596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
5597
5505
  */
5598
5506
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5599
5507
  /**
5600
5508
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
5601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
5509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
5602
5510
  */
5603
5511
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
5604
5512
  /**
5605
5513
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
5514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
5607
5515
  */
5608
5516
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5609
5517
  /**
5610
5518
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
5519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
5612
5520
  */
5613
5521
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5614
5522
  /**
5615
5523
  * Prefer modern `Math` APIs over legacy patterns.
5616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
5524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
5617
5525
  */
5618
5526
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5619
5527
  /**
5620
5528
  * Prefer JavaScript modules (ESM) over CommonJS.
5621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
5529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
5622
5530
  */
5623
5531
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5624
5532
  /**
5625
5533
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
5534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
5627
5535
  */
5628
5536
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5629
5537
  /**
5630
5538
  * Prefer negative index over `.length - index` when possible.
5631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
5539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
5632
5540
  */
5633
5541
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5634
5542
  /**
5635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
5543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
5636
5544
  * @deprecated
5637
5545
  */
5638
5546
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
5639
5547
  /**
5640
5548
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
5549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
5642
5550
  */
5643
5551
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5644
5552
  /**
5645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
5553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
5646
5554
  * @deprecated
5647
5555
  */
5648
5556
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
5649
5557
  /**
5650
5558
  * Prefer `Number` static properties over global ones.
5651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
5559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
5652
5560
  */
5653
5561
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5654
5562
  /**
5655
5563
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
5564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
5657
5565
  */
5658
5566
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5659
5567
  /**
5660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
5568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
5661
5569
  * @deprecated
5662
5570
  */
5663
5571
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
5664
5572
  /**
5665
5573
  * Prefer omitting the `catch` binding parameter.
5666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
5574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
5667
5575
  */
5668
5576
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5669
5577
  /**
5670
5578
  * Prefer borrowing methods from the prototype instead of the instance.
5671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
5579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
5672
5580
  */
5673
5581
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5674
5582
  /**
5675
5583
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
5676
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
5584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
5677
5585
  */
5678
5586
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5679
5587
  /**
5680
5588
  * Prefer `Reflect.apply()` over `Function#apply()`.
5681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
5589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
5682
5590
  */
5683
5591
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5684
5592
  /**
5685
5593
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
5594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
5687
5595
  */
5688
5596
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5689
5597
  /**
5690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
5598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
5691
5599
  * @deprecated
5692
5600
  */
5693
5601
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
5694
5602
  /**
5695
5603
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
5604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
5697
5605
  */
5698
5606
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5699
5607
  /**
5700
5608
  * Prefer using `Set#size` instead of `Array#length`.
5701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
5609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
5702
5610
  */
5703
5611
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5704
5612
  /**
5705
5613
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
5614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
5707
5615
  */
5708
5616
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5709
5617
  /**
5710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
5711
5619
  * @deprecated
5712
5620
  */
5713
5621
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
5714
5622
  /**
5715
5623
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
5624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
5717
5625
  */
5718
5626
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5719
5627
  /**
5720
5628
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
5629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
5722
5630
  */
5723
5631
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5724
5632
  /**
5725
5633
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
5634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
5727
5635
  */
5728
5636
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5729
5637
  /**
5730
5638
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
5639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
5732
5640
  */
5733
5641
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5734
5642
  /**
5735
5643
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
5644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
5737
5645
  */
5738
5646
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5739
5647
  /**
5740
5648
  * Prefer using `structuredClone` to create a deep clone.
5741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
5649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
5742
5650
  */
5743
5651
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5744
5652
  /**
5745
5653
  * Prefer `switch` over multiple `else-if`.
5746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
5654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
5747
5655
  */
5748
5656
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5749
5657
  /**
5750
5658
  * Prefer ternary expressions over simple `if-else` statements.
5751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
5659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
5752
5660
  */
5753
5661
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5754
5662
  /**
5755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
5663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
5756
5664
  * @deprecated
5757
5665
  */
5758
5666
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5759
5667
  /**
5760
5668
  * Prefer top-level await over top-level promises and async function calls.
5761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
5669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
5762
5670
  */
5763
5671
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5764
5672
  /**
5765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
5766
5674
  * @deprecated
5767
5675
  */
5768
5676
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5769
5677
  /**
5770
5678
  * Enforce throwing `TypeError` in type checking conditions.
5771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
5679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
5772
5680
  */
5773
5681
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5774
5682
  /**
5775
5683
  * Prevent abbreviations.
5776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
5684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
5777
5685
  */
5778
5686
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5779
5687
  /**
5780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
5688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
5781
5689
  * @deprecated
5782
5690
  */
5783
5691
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5784
5692
  /**
5785
5693
  * Enforce consistent relative URL style.
5786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
5694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
5787
5695
  */
5788
5696
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5789
5697
  /**
5790
5698
  * Enforce using the separator argument with `Array#join()`.
5791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
5699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
5792
5700
  */
5793
5701
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5794
5702
  /**
5795
5703
  * Enforce using the digits argument with `Number#toFixed()`.
5796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
5797
5705
  */
5798
5706
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5799
5707
  /**
5800
5708
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
5709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
5802
5710
  */
5803
5711
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5804
5712
  /**
5805
5713
  * Enforce better string content.
5806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
5714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
5807
5715
  */
5808
5716
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5809
5717
  /**
5810
5718
  * Enforce consistent brace style for `case` clauses.
5811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
5719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
5812
5720
  */
5813
5721
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5814
5722
  /**
5815
5723
  * Fix whitespace-insensitive template indentation.
5816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
5724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
5817
5725
  */
5818
5726
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5819
5727
  /**
5820
5728
  * Enforce consistent case for text encoding identifiers.
5821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
5729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
5822
5730
  */
5823
5731
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5824
5732
  /**
5825
5733
  * Require `new` when creating an error.
5826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
5734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
5827
5735
  */
5828
5736
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5829
5737
  /**
@@ -6321,7 +6229,7 @@ interface RuleOptions {
6321
6229
  * enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
6322
6230
  * @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
6323
6231
  */
6324
- 'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<[]>
6232
+ 'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
6325
6233
  /**
6326
6234
  * disallow duplication of attributes
6327
6235
  * @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
@@ -6765,6 +6673,11 @@ interface RuleOptions {
6765
6673
  * @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
6766
6674
  */
6767
6675
  'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
6676
+ /**
6677
+ * require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
6678
+ * @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
6679
+ */
6680
+ 'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
6768
6681
  /**
6769
6682
  * enforce specific casing for the Prop name in Vue components
6770
6683
  * @see https://eslint.vuejs.org/rules/prop-name-casing.html
@@ -6875,6 +6788,11 @@ interface RuleOptions {
6875
6788
  * @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
6876
6789
  */
6877
6790
  'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
6791
+ /**
6792
+ * enforce using only specific component names
6793
+ * @see https://eslint.vuejs.org/rules/restricted-component-names.html
6794
+ */
6795
+ 'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
6878
6796
  /**
6879
6797
  * enforce that a return statement is present in computed property
6880
6798
  * @see https://eslint.vuejs.org/rules/return-in-computed-property.html
@@ -6901,6 +6819,11 @@ interface RuleOptions {
6901
6819
  * @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
6902
6820
  */
6903
6821
  'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
6822
+ /**
6823
+ * enforce specific casing for slot names
6824
+ * @see https://eslint.vuejs.org/rules/slot-name-casing.html
6825
+ */
6826
+ 'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
6904
6827
  /**
6905
6828
  * enforce sort-keys in a manner that is compatible with order-in-components
6906
6829
  * @see https://eslint.vuejs.org/rules/sort-keys.html
@@ -7568,10 +7491,10 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
7568
7491
  ignorePackages?: boolean
7569
7492
  checkTypeImports?: boolean
7570
7493
  [k: string]: unknown | undefined
7571
- }] | []|[{
7572
- [k: string]: ("always" | "ignorePackages" | "never")
7573
7494
  }] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
7574
7495
  [k: string]: ("always" | "ignorePackages" | "never")
7496
+ }] | []|[{
7497
+ [k: string]: ("always" | "ignorePackages" | "never")
7575
7498
  }])
7576
7499
  // ----- import/first -----
7577
7500
  type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
@@ -7958,6 +7881,7 @@ type JsdocInformativeDocs = []|[{
7958
7881
  }]
7959
7882
  // ----- jsdoc/lines-before-block -----
7960
7883
  type JsdocLinesBeforeBlock = []|[{
7884
+ checkBlockStarts?: boolean
7961
7885
  excludedTags?: string[]
7962
7886
  ignoreSameLine?: boolean
7963
7887
  lines?: number
@@ -9587,6 +9511,7 @@ type NodeNoRestrictedRequire = []|[(string | {
9587
9511
  // ----- node/no-sync -----
9588
9512
  type NodeNoSync = []|[{
9589
9513
  allowAtRootLevel?: boolean
9514
+ ignores?: string[]
9590
9515
  }]
9591
9516
  // ----- node/no-unpublished-bin -----
9592
9517
  type NodeNoUnpublishedBin = []|[{
@@ -9668,7 +9593,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
9668
9593
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
9669
9594
  version?: string
9670
9595
  allowExperimental?: boolean
9671
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
9596
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
9672
9597
  }]
9673
9598
  // ----- node/prefer-global/buffer -----
9674
9599
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -9811,61 +9736,26 @@ type PaddingLineBetweenStatements = {
9811
9736
  // ----- perfectionist/sort-array-includes -----
9812
9737
  type PerfectionistSortArrayIncludes = []|[{
9813
9738
 
9814
- type?: ("alphabetical" | "natural" | "line-length")
9815
-
9816
- order?: ("asc" | "desc")
9817
-
9818
- matcher?: ("minimatch" | "regex")
9819
-
9820
- ignoreCase?: boolean
9821
-
9822
- specialCharacters?: ("remove" | "trim" | "keep")
9739
+ partitionByComment?: (string[] | boolean | string)
9823
9740
 
9824
9741
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9825
9742
 
9826
- partitionByComment?: (string[] | boolean | string)
9827
-
9828
9743
  partitionByNewLine?: boolean
9829
- }]
9830
- // ----- perfectionist/sort-astro-attributes -----
9831
- type PerfectionistSortAstroAttributes = []|[{
9832
-
9833
- type?: ("alphabetical" | "natural" | "line-length")
9834
-
9835
- order?: ("asc" | "desc")
9836
9744
 
9837
- matcher?: ("minimatch" | "regex")
9745
+ specialCharacters?: ("remove" | "trim" | "keep")
9838
9746
 
9839
9747
  ignoreCase?: boolean
9840
9748
 
9841
- specialCharacters?: ("remove" | "trim" | "keep")
9749
+ locales?: (string | string[])
9842
9750
 
9843
- groups?: (string | string[])[]
9751
+ order?: ("asc" | "desc")
9844
9752
 
9845
- customGroups?: {
9846
- [k: string]: (string | string[]) | undefined
9847
- }
9753
+ type?: ("alphabetical" | "natural" | "line-length")
9848
9754
  }]
9849
9755
  // ----- perfectionist/sort-classes -----
9850
9756
  type PerfectionistSortClasses = []|[{
9851
9757
 
9852
- type?: ("alphabetical" | "natural" | "line-length")
9853
-
9854
- order?: ("asc" | "desc")
9855
-
9856
- matcher?: ("minimatch" | "regex")
9857
-
9858
- ignoreCase?: boolean
9859
-
9860
- specialCharacters?: ("remove" | "trim" | "keep")
9861
-
9862
- partitionByComment?: (string[] | boolean | string)
9863
-
9864
- groups?: (string | string[])[]
9865
-
9866
9758
  customGroups?: ({
9867
- [k: string]: (string | string[]) | undefined
9868
- } | ({
9869
9759
 
9870
9760
  groupName?: string
9871
9761
 
@@ -9874,15 +9764,15 @@ type PerfectionistSortClasses = []|[{
9874
9764
  order?: ("desc" | "asc")
9875
9765
  anyOf?: {
9876
9766
 
9877
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9878
-
9879
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9880
-
9881
- elementNamePattern?: string
9767
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9882
9768
 
9883
9769
  elementValuePattern?: string
9884
9770
 
9885
9771
  decoratorNamePattern?: string
9772
+
9773
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9774
+
9775
+ elementNamePattern?: string
9886
9776
  }[]
9887
9777
  } | {
9888
9778
 
@@ -9892,91 +9782,169 @@ type PerfectionistSortClasses = []|[{
9892
9782
 
9893
9783
  order?: ("desc" | "asc")
9894
9784
 
9895
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9896
-
9897
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9898
-
9899
- elementNamePattern?: string
9785
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9900
9786
 
9901
9787
  elementValuePattern?: string
9902
9788
 
9903
9789
  decoratorNamePattern?: string
9904
- })[])
9905
- }]
9906
- // ----- perfectionist/sort-enums -----
9907
- type PerfectionistSortEnums = []|[{
9908
-
9909
- type?: ("alphabetical" | "natural" | "line-length")
9790
+
9791
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9792
+
9793
+ elementNamePattern?: string
9794
+ })[]
9910
9795
 
9911
- order?: ("asc" | "desc")
9796
+ ignoreCallbackDependenciesPatterns?: string[]
9912
9797
 
9913
- matcher?: ("minimatch" | "regex")
9798
+ partitionByComment?: (string[] | boolean | string)
9914
9799
 
9915
- ignoreCase?: boolean
9800
+ partitionByNewLine?: boolean
9916
9801
 
9917
9802
  specialCharacters?: ("remove" | "trim" | "keep")
9918
9803
 
9919
- sortByValue?: boolean
9920
-
9921
- forceNumericSort?: boolean
9804
+ newlinesBetween?: ("ignore" | "always" | "never")
9922
9805
 
9923
- partitionByComment?: (string[] | boolean | string)
9806
+ ignoreCase?: boolean
9924
9807
 
9925
- partitionByNewLine?: boolean
9926
- }]
9927
- // ----- perfectionist/sort-exports -----
9928
- type PerfectionistSortExports = []|[{
9808
+ locales?: (string | string[])
9929
9809
 
9930
- type?: ("alphabetical" | "natural" | "line-length")
9810
+ groups?: (string | string[])[]
9931
9811
 
9932
9812
  order?: ("asc" | "desc")
9933
9813
 
9934
- matcher?: ("minimatch" | "regex")
9814
+ type?: ("alphabetical" | "natural" | "line-length")
9815
+ }]
9816
+ // ----- perfectionist/sort-decorators -----
9817
+ type PerfectionistSortDecorators = []|[{
9935
9818
 
9936
- ignoreCase?: boolean
9819
+ partitionByComment?: (string[] | boolean | string)
9937
9820
 
9938
- specialCharacters?: ("remove" | "trim" | "keep")
9821
+ sortOnParameters?: boolean
9939
9822
 
9940
- partitionByComment?: (string[] | boolean | string)
9823
+ sortOnProperties?: boolean
9941
9824
 
9942
- partitionByNewLine?: boolean
9825
+ sortOnAccessors?: boolean
9943
9826
 
9944
- groupKind?: ("mixed" | "values-first" | "types-first")
9945
- }]
9946
- // ----- perfectionist/sort-imports -----
9947
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9948
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9827
+ sortOnMethods?: boolean
9949
9828
 
9950
- type?: ("alphabetical" | "natural" | "line-length")
9829
+ sortOnClasses?: boolean
9951
9830
 
9952
- order?: ("asc" | "desc")
9831
+ specialCharacters?: ("remove" | "trim" | "keep")
9953
9832
 
9954
- matcher?: ("minimatch" | "regex")
9833
+ customGroups?: {
9834
+ [k: string]: (string | string[]) | undefined
9835
+ }
9955
9836
 
9956
9837
  ignoreCase?: boolean
9957
9838
 
9958
- specialCharacters?: ("remove" | "trim" | "keep")
9839
+ locales?: (string | string[])
9959
9840
 
9960
- internalPattern?: string[]
9841
+ groups?: (string | string[])[]
9961
9842
 
9962
- sortSideEffects?: boolean
9843
+ order?: ("asc" | "desc")
9963
9844
 
9964
- newlinesBetween?: ("ignore" | "always" | "never")
9845
+ type?: ("alphabetical" | "natural" | "line-length")
9846
+ }]
9847
+ // ----- perfectionist/sort-enums -----
9848
+ type PerfectionistSortEnums = []|[{
9965
9849
 
9966
- maxLineLength?: number
9850
+ partitionByComment?: (string[] | boolean | string)
9851
+
9852
+ forceNumericSort?: boolean
9853
+
9854
+ sortByValue?: boolean
9855
+
9856
+ partitionByNewLine?: boolean
9857
+
9858
+ specialCharacters?: ("remove" | "trim" | "keep")
9859
+
9860
+ ignoreCase?: boolean
9861
+
9862
+ locales?: (string | string[])
9863
+
9864
+ order?: ("asc" | "desc")
9865
+
9866
+ type?: ("alphabetical" | "natural" | "line-length")
9867
+ }]
9868
+ // ----- perfectionist/sort-exports -----
9869
+ type PerfectionistSortExports = []|[{
9870
+
9871
+ partitionByComment?: (string[] | boolean | string)
9872
+
9873
+ groupKind?: ("mixed" | "values-first" | "types-first")
9874
+
9875
+ partitionByNewLine?: boolean
9876
+
9877
+ specialCharacters?: ("remove" | "trim" | "keep")
9878
+
9879
+ ignoreCase?: boolean
9880
+
9881
+ locales?: (string | string[])
9882
+
9883
+ order?: ("asc" | "desc")
9884
+
9885
+ type?: ("alphabetical" | "natural" | "line-length")
9886
+ }]
9887
+ // ----- perfectionist/sort-heritage-clauses -----
9888
+ type PerfectionistSortHeritageClauses = []|[{
9889
+
9890
+ specialCharacters?: ("remove" | "trim" | "keep")
9891
+
9892
+ customGroups?: {
9893
+ [k: string]: (string | string[]) | undefined
9894
+ }
9895
+
9896
+ ignoreCase?: boolean
9897
+
9898
+ locales?: (string | string[])
9967
9899
 
9968
9900
  groups?: (string | string[])[]
9969
9901
 
9902
+ order?: ("asc" | "desc")
9903
+
9904
+ type?: ("alphabetical" | "natural" | "line-length")
9905
+ }]
9906
+ // ----- perfectionist/sort-imports -----
9907
+ type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9908
+ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9909
+
9970
9910
  customGroups?: {
9971
- type?: {
9911
+
9912
+ value?: {
9972
9913
  [k: string]: unknown | undefined
9973
9914
  }
9974
- value?: {
9915
+
9916
+ type?: {
9975
9917
  [k: string]: unknown | undefined
9976
9918
  }
9977
9919
  }
9978
9920
 
9921
+ partitionByComment?: (string[] | boolean | string)
9922
+
9923
+ internalPattern?: string[]
9924
+
9925
+ maxLineLength?: number
9926
+
9927
+ sortSideEffects?: boolean
9928
+
9979
9929
  environment?: ("node" | "bun")
9930
+
9931
+ tsconfigRootDir?: string
9932
+
9933
+ partitionByNewLine?: boolean
9934
+
9935
+ specialCharacters?: ("remove" | "trim" | "keep")
9936
+
9937
+ newlinesBetween?: ("ignore" | "always" | "never")
9938
+
9939
+ ignoreCase?: boolean
9940
+
9941
+ locales?: (string | string[])
9942
+
9943
+ groups?: (string | string[])[]
9944
+
9945
+ order?: ("asc" | "desc")
9946
+
9947
+ type?: ("alphabetical" | "natural" | "line-length")
9980
9948
  })
9981
9949
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9982
9950
  [k: string]: unknown | undefined
@@ -9988,284 +9956,324 @@ interface _PerfectionistSortImports_IsLineLength {
9988
9956
  // ----- perfectionist/sort-interfaces -----
9989
9957
  type PerfectionistSortInterfaces = []|[{
9990
9958
 
9991
- type?: ("alphabetical" | "natural" | "line-length")
9959
+ ignorePattern?: string[]
9992
9960
 
9993
- order?: ("asc" | "desc")
9961
+ partitionByComment?: (string[] | boolean | string)
9994
9962
 
9995
- matcher?: ("minimatch" | "regex")
9963
+ groupKind?: ("mixed" | "optional-first" | "required-first")
9996
9964
 
9997
- ignoreCase?: boolean
9965
+ partitionByNewLine?: boolean
9998
9966
 
9999
9967
  specialCharacters?: ("remove" | "trim" | "keep")
10000
9968
 
10001
- ignorePattern?: string[]
9969
+ newlinesBetween?: ("ignore" | "always" | "never")
10002
9970
 
10003
- partitionByComment?: (boolean | string | string[])
9971
+ customGroups?: {
9972
+ [k: string]: (string | string[]) | undefined
9973
+ }
10004
9974
 
10005
- partitionByNewLine?: boolean
9975
+ ignoreCase?: boolean
10006
9976
 
10007
- groupKind?: ("mixed" | "optional-first" | "required-first")
9977
+ locales?: (string | string[])
10008
9978
 
10009
9979
  groups?: (string | string[])[]
10010
9980
 
10011
- customGroups?: {
10012
- [k: string]: (string | string[]) | undefined
10013
- }
9981
+ order?: ("asc" | "desc")
9982
+
9983
+ type?: ("alphabetical" | "natural" | "line-length")
10014
9984
  }]
10015
9985
  // ----- perfectionist/sort-intersection-types -----
10016
9986
  type PerfectionistSortIntersectionTypes = []|[{
10017
9987
 
10018
- type?: ("alphabetical" | "natural" | "line-length")
9988
+ partitionByComment?: (string[] | boolean | string)
10019
9989
 
10020
- order?: ("asc" | "desc")
9990
+ partitionByNewLine?: boolean
9991
+
9992
+ specialCharacters?: ("remove" | "trim" | "keep")
10021
9993
 
10022
- matcher?: ("minimatch" | "regex")
9994
+ newlinesBetween?: ("ignore" | "always" | "never")
10023
9995
 
10024
9996
  ignoreCase?: boolean
10025
9997
 
10026
- specialCharacters?: ("remove" | "trim" | "keep")
9998
+ locales?: (string | string[])
10027
9999
 
10028
10000
  groups?: (string | string[])[]
10029
10001
 
10030
- partitionByComment?: (string[] | boolean | string)
10002
+ order?: ("asc" | "desc")
10031
10003
 
10032
- partitionByNewLine?: boolean
10004
+ type?: ("alphabetical" | "natural" | "line-length")
10033
10005
  }]
10034
10006
  // ----- perfectionist/sort-jsx-props -----
10035
10007
  type PerfectionistSortJsxProps = []|[{
10036
10008
 
10037
- type?: ("alphabetical" | "natural" | "line-length")
10009
+ ignorePattern?: string[]
10038
10010
 
10039
- order?: ("asc" | "desc")
10011
+ specialCharacters?: ("remove" | "trim" | "keep")
10040
10012
 
10041
- matcher?: ("minimatch" | "regex")
10013
+ customGroups?: {
10014
+ [k: string]: (string | string[]) | undefined
10015
+ }
10042
10016
 
10043
10017
  ignoreCase?: boolean
10044
10018
 
10045
- specialCharacters?: ("remove" | "trim" | "keep")
10046
-
10047
- ignorePattern?: string[]
10019
+ locales?: (string | string[])
10048
10020
 
10049
10021
  groups?: (string | string[])[]
10050
10022
 
10051
- customGroups?: {
10052
- [k: string]: (string | string[]) | undefined
10053
- }
10023
+ order?: ("asc" | "desc")
10024
+
10025
+ type?: ("alphabetical" | "natural" | "line-length")
10054
10026
  }]
10055
10027
  // ----- perfectionist/sort-maps -----
10056
10028
  type PerfectionistSortMaps = []|[{
10057
10029
 
10058
- type?: ("alphabetical" | "natural" | "line-length")
10030
+ partitionByComment?: (string[] | boolean | string)
10059
10031
 
10060
- order?: ("asc" | "desc")
10032
+ partitionByNewLine?: boolean
10061
10033
 
10062
- matcher?: ("minimatch" | "regex")
10034
+ specialCharacters?: ("remove" | "trim" | "keep")
10063
10035
 
10064
10036
  ignoreCase?: boolean
10065
10037
 
10066
- specialCharacters?: ("remove" | "trim" | "keep")
10038
+ locales?: (string | string[])
10039
+
10040
+ order?: ("asc" | "desc")
10041
+
10042
+ type?: ("alphabetical" | "natural" | "line-length")
10043
+ }]
10044
+ // ----- perfectionist/sort-modules -----
10045
+ type PerfectionistSortModules = []|[{
10046
+
10047
+ customGroups?: ({
10048
+
10049
+ groupName?: string
10050
+
10051
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10052
+
10053
+ order?: ("desc" | "asc")
10054
+ anyOf?: {
10055
+
10056
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10057
+
10058
+ elementValuePattern?: string
10059
+
10060
+ decoratorNamePattern?: string
10061
+
10062
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
10063
+
10064
+ elementNamePattern?: string
10065
+ }[]
10066
+ } | {
10067
+
10068
+ groupName?: string
10069
+
10070
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10071
+
10072
+ order?: ("desc" | "asc")
10073
+
10074
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10075
+
10076
+ elementValuePattern?: string
10077
+
10078
+ decoratorNamePattern?: string
10079
+
10080
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
10081
+
10082
+ elementNamePattern?: string
10083
+ })[]
10067
10084
 
10068
10085
  partitionByComment?: (string[] | boolean | string)
10069
10086
 
10070
10087
  partitionByNewLine?: boolean
10088
+
10089
+ specialCharacters?: ("remove" | "trim" | "keep")
10090
+
10091
+ newlinesBetween?: ("ignore" | "always" | "never")
10092
+
10093
+ ignoreCase?: boolean
10094
+
10095
+ locales?: (string | string[])
10096
+
10097
+ groups?: (string | string[])[]
10098
+
10099
+ order?: ("asc" | "desc")
10100
+
10101
+ type?: ("alphabetical" | "natural" | "line-length")
10071
10102
  }]
10072
10103
  // ----- perfectionist/sort-named-exports -----
10073
10104
  type PerfectionistSortNamedExports = []|[{
10074
10105
 
10075
- type?: ("alphabetical" | "natural" | "line-length")
10076
-
10077
- order?: ("asc" | "desc")
10106
+ partitionByComment?: (string[] | boolean | string)
10078
10107
 
10079
- matcher?: ("minimatch" | "regex")
10108
+ groupKind?: ("mixed" | "values-first" | "types-first")
10080
10109
 
10081
- ignoreCase?: boolean
10110
+ partitionByNewLine?: boolean
10082
10111
 
10083
10112
  specialCharacters?: ("remove" | "trim" | "keep")
10084
10113
 
10085
- groupKind?: ("mixed" | "values-first" | "types-first")
10114
+ ignoreCase?: boolean
10086
10115
 
10087
- partitionByComment?: (string[] | boolean | string)
10116
+ locales?: (string | string[])
10088
10117
 
10089
- partitionByNewLine?: boolean
10118
+ order?: ("asc" | "desc")
10119
+
10120
+ type?: ("alphabetical" | "natural" | "line-length")
10090
10121
  }]
10091
10122
  // ----- perfectionist/sort-named-imports -----
10092
10123
  type PerfectionistSortNamedImports = []|[{
10093
10124
 
10094
- type?: ("alphabetical" | "natural" | "line-length")
10125
+ partitionByComment?: (string[] | boolean | string)
10095
10126
 
10096
- order?: ("asc" | "desc")
10127
+ groupKind?: ("mixed" | "values-first" | "types-first")
10097
10128
 
10098
- matcher?: ("minimatch" | "regex")
10129
+ ignoreAlias?: boolean
10099
10130
 
10100
- ignoreCase?: boolean
10131
+ partitionByNewLine?: boolean
10101
10132
 
10102
10133
  specialCharacters?: ("remove" | "trim" | "keep")
10103
10134
 
10104
- ignoreAlias?: boolean
10135
+ ignoreCase?: boolean
10105
10136
 
10106
- groupKind?: ("mixed" | "values-first" | "types-first")
10137
+ locales?: (string | string[])
10107
10138
 
10108
- partitionByComment?: (string[] | boolean | string)
10139
+ order?: ("asc" | "desc")
10109
10140
 
10110
- partitionByNewLine?: boolean
10141
+ type?: ("alphabetical" | "natural" | "line-length")
10111
10142
  }]
10112
10143
  // ----- perfectionist/sort-object-types -----
10113
10144
  type PerfectionistSortObjectTypes = []|[{
10114
10145
 
10115
- type?: ("alphabetical" | "natural" | "line-length")
10116
-
10117
- order?: ("asc" | "desc")
10118
-
10119
- matcher?: ("minimatch" | "regex")
10120
-
10121
- ignoreCase?: boolean
10122
-
10123
- specialCharacters?: ("remove" | "trim" | "keep")
10124
-
10125
10146
  partitionByComment?: (string[] | boolean | string)
10126
10147
 
10148
+ groupKind?: ("mixed" | "required-first" | "optional-first")
10149
+
10127
10150
  partitionByNewLine?: boolean
10128
10151
 
10129
- groupKind?: ("mixed" | "required-first" | "optional-first")
10152
+ specialCharacters?: ("remove" | "trim" | "keep")
10130
10153
 
10131
- groups?: (string | string[])[]
10154
+ newlinesBetween?: ("ignore" | "always" | "never")
10132
10155
 
10133
10156
  customGroups?: {
10134
10157
  [k: string]: (string | string[]) | undefined
10135
10158
  }
10136
- }]
10137
- // ----- perfectionist/sort-objects -----
10138
- type PerfectionistSortObjects = []|[{
10139
10159
 
10140
- type?: ("alphabetical" | "natural" | "line-length")
10160
+ ignoreCase?: boolean
10161
+
10162
+ locales?: (string | string[])
10163
+
10164
+ groups?: (string | string[])[]
10141
10165
 
10142
10166
  order?: ("asc" | "desc")
10143
10167
 
10144
- matcher?: ("minimatch" | "regex")
10168
+ type?: ("alphabetical" | "natural" | "line-length")
10169
+ }]
10170
+ // ----- perfectionist/sort-objects -----
10171
+ type PerfectionistSortObjects = []|[{
10145
10172
 
10146
- ignoreCase?: boolean
10173
+ destructuredObjects?: (boolean | {
10174
+
10175
+ groups?: boolean
10176
+ })
10147
10177
 
10148
- specialCharacters?: ("remove" | "trim" | "keep")
10178
+ ignorePattern?: string[]
10149
10179
 
10150
10180
  partitionByComment?: (string[] | boolean | string)
10151
10181
 
10152
- partitionByNewLine?: boolean
10182
+ destructureOnly?: boolean
10183
+
10184
+ objectDeclarations?: boolean
10153
10185
 
10154
10186
  styledComponents?: boolean
10155
10187
 
10156
- destructureOnly?: boolean
10188
+ partitionByNewLine?: boolean
10157
10189
 
10158
- ignorePattern?: string[]
10190
+ specialCharacters?: ("remove" | "trim" | "keep")
10159
10191
 
10160
- groups?: (string | string[])[]
10192
+ newlinesBetween?: ("ignore" | "always" | "never")
10161
10193
 
10162
10194
  customGroups?: {
10163
10195
  [k: string]: (string | string[]) | undefined
10164
10196
  }
10165
- }]
10166
- // ----- perfectionist/sort-sets -----
10167
- type PerfectionistSortSets = []|[{
10168
-
10169
- type?: ("alphabetical" | "natural" | "line-length")
10170
-
10171
- order?: ("asc" | "desc")
10172
-
10173
- matcher?: ("minimatch" | "regex")
10174
10197
 
10175
10198
  ignoreCase?: boolean
10176
10199
 
10177
- specialCharacters?: ("remove" | "trim" | "keep")
10200
+ locales?: (string | string[])
10178
10201
 
10179
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
10202
+ groups?: (string | string[])[]
10180
10203
 
10181
- partitionByComment?: (string[] | boolean | string)
10204
+ order?: ("asc" | "desc")
10182
10205
 
10183
- partitionByNewLine?: boolean
10206
+ type?: ("alphabetical" | "natural" | "line-length")
10184
10207
  }]
10185
- // ----- perfectionist/sort-svelte-attributes -----
10186
- type PerfectionistSortSvelteAttributes = []|[{
10208
+ // ----- perfectionist/sort-sets -----
10209
+ type PerfectionistSortSets = []|[{
10187
10210
 
10188
- type?: ("alphabetical" | "natural" | "line-length")
10211
+ partitionByComment?: (string[] | boolean | string)
10189
10212
 
10190
- order?: ("asc" | "desc")
10213
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
10214
+
10215
+ partitionByNewLine?: boolean
10191
10216
 
10192
- matcher?: ("minimatch" | "regex")
10217
+ specialCharacters?: ("remove" | "trim" | "keep")
10193
10218
 
10194
10219
  ignoreCase?: boolean
10195
10220
 
10196
- specialCharacters?: ("remove" | "trim" | "keep")
10221
+ locales?: (string | string[])
10197
10222
 
10198
- groups?: (string | string[])[]
10223
+ order?: ("asc" | "desc")
10199
10224
 
10200
- customGroups?: {
10201
- [k: string]: (string | string[]) | undefined
10202
- }
10225
+ type?: ("alphabetical" | "natural" | "line-length")
10203
10226
  }]
10204
10227
  // ----- perfectionist/sort-switch-case -----
10205
10228
  type PerfectionistSortSwitchCase = []|[{
10206
10229
 
10207
- type?: ("alphabetical" | "natural" | "line-length")
10208
-
10209
- order?: ("asc" | "desc")
10230
+ specialCharacters?: ("remove" | "trim" | "keep")
10210
10231
 
10211
10232
  ignoreCase?: boolean
10212
10233
 
10213
- specialCharacters?: ("remove" | "trim" | "keep")
10234
+ locales?: (string | string[])
10235
+
10236
+ order?: ("asc" | "desc")
10237
+
10238
+ type?: ("alphabetical" | "natural" | "line-length")
10214
10239
  }]
10215
10240
  // ----- perfectionist/sort-union-types -----
10216
10241
  type PerfectionistSortUnionTypes = []|[{
10217
10242
 
10218
- type?: ("alphabetical" | "natural" | "line-length")
10243
+ partitionByComment?: (string[] | boolean | string)
10219
10244
 
10220
- order?: ("asc" | "desc")
10245
+ partitionByNewLine?: boolean
10246
+
10247
+ specialCharacters?: ("remove" | "trim" | "keep")
10221
10248
 
10222
- matcher?: ("minimatch" | "regex")
10249
+ newlinesBetween?: ("ignore" | "always" | "never")
10223
10250
 
10224
10251
  ignoreCase?: boolean
10225
10252
 
10226
- specialCharacters?: ("remove" | "trim" | "keep")
10253
+ locales?: (string | string[])
10227
10254
 
10228
10255
  groups?: (string | string[])[]
10229
10256
 
10230
- partitionByComment?: (string[] | boolean | string)
10257
+ order?: ("asc" | "desc")
10231
10258
 
10232
- partitionByNewLine?: boolean
10259
+ type?: ("alphabetical" | "natural" | "line-length")
10233
10260
  }]
10234
10261
  // ----- perfectionist/sort-variable-declarations -----
10235
10262
  type PerfectionistSortVariableDeclarations = []|[{
10236
10263
 
10237
- type?: ("alphabetical" | "natural" | "line-length")
10238
-
10239
- order?: ("asc" | "desc")
10240
-
10241
- matcher?: ("minimatch" | "regex")
10242
-
10243
- ignoreCase?: boolean
10244
-
10245
- specialCharacters?: ("remove" | "trim" | "keep")
10246
-
10247
10264
  partitionByComment?: (string[] | boolean | string)
10248
10265
 
10249
10266
  partitionByNewLine?: boolean
10250
- }]
10251
- // ----- perfectionist/sort-vue-attributes -----
10252
- type PerfectionistSortVueAttributes = []|[{
10253
10267
 
10254
- type?: ("alphabetical" | "natural" | "line-length")
10255
-
10256
- order?: ("asc" | "desc")
10257
-
10258
- matcher?: ("minimatch" | "regex")
10268
+ specialCharacters?: ("remove" | "trim" | "keep")
10259
10269
 
10260
10270
  ignoreCase?: boolean
10261
10271
 
10262
- specialCharacters?: ("remove" | "trim" | "keep")
10272
+ locales?: (string | string[])
10263
10273
 
10264
- groups?: (string | string[])[]
10274
+ order?: ("asc" | "desc")
10265
10275
 
10266
- customGroups?: {
10267
- [k: string]: (string | string[]) | undefined
10268
- }
10276
+ type?: ("alphabetical" | "natural" | "line-length")
10269
10277
  }]
10270
10278
  // ----- prefer-arrow-callback -----
10271
10279
  type PreferArrowCallback = []|[{
@@ -10330,6 +10338,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
10330
10338
  })]
10331
10339
  // ----- radix -----
10332
10340
  type Radix = []|[("always" | "as-needed")]
10341
+ // ----- react-dom/no-unknown-property -----
10342
+ type ReactDomNoUnknownProperty = []|[{
10343
+ ignore?: string[]
10344
+ requireDataLowercase?: boolean
10345
+ }]
10333
10346
  // ----- react-hooks/exhaustive-deps -----
10334
10347
  type ReactHooksExhaustiveDeps = []|[{
10335
10348
  additionalHooks?: string
@@ -10353,12 +10366,14 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
10353
10366
  type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
10354
10367
  allow?: ("always" | "as-needed")
10355
10368
  extensions?: string[]
10369
+ ignoreFilesWithoutCode?: boolean
10356
10370
  })]
10357
10371
  // ----- react-refresh/only-export-components -----
10358
10372
  type ReactRefreshOnlyExportComponents = []|[{
10373
+ allowExportNames?: string[]
10359
10374
  allowConstantExport?: boolean
10375
+ customHOCs?: string[]
10360
10376
  checkJS?: boolean
10361
- allowExportNames?: string[]
10362
10377
  }]
10363
10378
  // ----- react/no-useless-fragment -----
10364
10379
  type ReactNoUselessFragment = []|[{
@@ -10522,6 +10537,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
10522
10537
  natural?: boolean
10523
10538
  minKeys?: number
10524
10539
  allowLineSeparatedGroups?: boolean
10540
+ ignoreComputedKeys?: boolean
10525
10541
  }]
10526
10542
  // ----- sort-vars -----
10527
10543
  type SortVars = []|[{
@@ -10614,6 +10630,8 @@ type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
10614
10630
  imports?: _StyleCommaDangleValueWithIgnore
10615
10631
  exports?: _StyleCommaDangleValueWithIgnore
10616
10632
  functions?: _StyleCommaDangleValueWithIgnore
10633
+ importAttributes?: _StyleCommaDangleValueWithIgnore
10634
+ dynamicImports?: _StyleCommaDangleValueWithIgnore
10617
10635
  enums?: _StyleCommaDangleValueWithIgnore
10618
10636
  generics?: _StyleCommaDangleValueWithIgnore
10619
10637
  tuples?: _StyleCommaDangleValueWithIgnore
@@ -10763,12 +10781,20 @@ type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
10763
10781
  // ----- style/func-call-spacing -----
10764
10782
  type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
10765
10783
  allowNewlines?: boolean
10784
+ optionalChain?: {
10785
+ before?: boolean
10786
+ after?: boolean
10787
+ }
10766
10788
  }])
10767
10789
  // ----- style/function-call-argument-newline -----
10768
10790
  type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
10769
10791
  // ----- style/function-call-spacing -----
10770
10792
  type StyleFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
10771
10793
  allowNewlines?: boolean
10794
+ optionalChain?: {
10795
+ before?: boolean
10796
+ after?: boolean
10797
+ }
10772
10798
  }])
10773
10799
  // ----- style/function-paren-newline -----
10774
10800
  type StyleFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
@@ -11722,7 +11748,7 @@ type TestConsistentTestIt = []|[{
11722
11748
  }]
11723
11749
  // ----- test/expect-expect -----
11724
11750
  type TestExpectExpect = []|[{
11725
- assertFunctionNames?: []|[string]
11751
+ assertFunctionNames?: string[]
11726
11752
  additionalTestBlockFunctions?: string[]
11727
11753
  }]
11728
11754
  // ----- test/max-expects -----
@@ -12436,6 +12462,8 @@ type TsNoConfusingVoidExpression = []|[{
12436
12462
  ignoreArrowShorthand?: boolean
12437
12463
 
12438
12464
  ignoreVoidOperator?: boolean
12465
+
12466
+ ignoreVoidReturningFunctions?: boolean
12439
12467
  }]
12440
12468
  // ----- ts/no-duplicate-type-constituents -----
12441
12469
  type TsNoDuplicateTypeConstituents = []|[{
@@ -12872,6 +12900,10 @@ type TsPreferOptionalChain = []|[{
12872
12900
  type TsPreferPromiseRejectErrors = []|[{
12873
12901
 
12874
12902
  allowEmptyReject?: boolean
12903
+
12904
+ allowThrowingAny?: boolean
12905
+
12906
+ allowThrowingUnknown?: boolean
12875
12907
  }]
12876
12908
  // ----- ts/prefer-readonly -----
12877
12909
  type TsPreferReadonly = []|[{
@@ -13344,6 +13376,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
13344
13376
  } & {
13345
13377
  [k: string]: unknown | undefined
13346
13378
  })[]
13379
+ ignoreTags?: string[]
13347
13380
  }]
13348
13381
  // ----- vue/attributes-order -----
13349
13382
  type VueAttributesOrder = []|[{
@@ -13396,6 +13429,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
13396
13429
  imports?: _VueCommaDangleValueWithIgnore
13397
13430
  exports?: _VueCommaDangleValueWithIgnore
13398
13431
  functions?: _VueCommaDangleValueWithIgnore
13432
+ importAttributes?: _VueCommaDangleValueWithIgnore
13433
+ dynamicImports?: _VueCommaDangleValueWithIgnore
13399
13434
  enums?: _VueCommaDangleValueWithIgnore
13400
13435
  generics?: _VueCommaDangleValueWithIgnore
13401
13436
  tuples?: _VueCommaDangleValueWithIgnore
@@ -13472,6 +13507,10 @@ type VueFirstAttributeLinebreak = []|[{
13472
13507
  // ----- vue/func-call-spacing -----
13473
13508
  type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
13474
13509
  allowNewlines?: boolean
13510
+ optionalChain?: {
13511
+ before?: boolean
13512
+ after?: boolean
13513
+ }
13475
13514
  }])
13476
13515
  // ----- vue/html-button-has-type -----
13477
13516
  type VueHtmlButtonHasType = []|[{
@@ -14054,6 +14093,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
14054
14093
  type VueNoDupeKeys = []|[{
14055
14094
  groups?: unknown[]
14056
14095
  }]
14096
+ // ----- vue/no-duplicate-attr-inheritance -----
14097
+ type VueNoDuplicateAttrInheritance = []|[{
14098
+ checkMultiRootNodes?: boolean
14099
+ }]
14057
14100
  // ----- vue/no-duplicate-attributes -----
14058
14101
  type VueNoDuplicateAttributes = []|[{
14059
14102
  allowCoexistClass?: boolean
@@ -14152,6 +14195,7 @@ type VueNoRequiredPropWithDefault = []|[{
14152
14195
  type VueNoReservedComponentNames = []|[{
14153
14196
  disallowVueBuiltInComponents?: boolean
14154
14197
  disallowVue3BuiltInComponents?: boolean
14198
+ htmlElementCaseSensitive?: boolean
14155
14199
  }]
14156
14200
  // ----- vue/no-reserved-keys -----
14157
14201
  type VueNoReservedKeys = []|[{
@@ -14288,6 +14332,7 @@ type VueNoUselessVBind = []|[{
14288
14332
  // ----- vue/no-v-text-v-html-on-component -----
14289
14333
  type VueNoVTextVHtmlOnComponent = []|[{
14290
14334
  allow?: string[]
14335
+ ignoreElementNamespaces?: boolean
14291
14336
  }]
14292
14337
  // ----- vue/object-curly-newline -----
14293
14338
  type VueObjectCurlyNewline = []|[((("always" | "never") | {
@@ -14408,6 +14453,10 @@ type VueRequirePropComment = []|[{
14408
14453
  type VueRequireToggleInsideTransition = []|[{
14409
14454
  additionalDirectives?: string[]
14410
14455
  }]
14456
+ // ----- vue/restricted-component-names -----
14457
+ type VueRestrictedComponentNames = []|[{
14458
+ allow?: string[]
14459
+ }]
14411
14460
  // ----- vue/return-in-computed-property -----
14412
14461
  type VueReturnInComputedProperty = []|[{
14413
14462
  treatUndefinedAsUnspecified?: boolean
@@ -14429,6 +14478,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
14429
14478
  ignores?: string[]
14430
14479
  externalIgnores?: string[]
14431
14480
  }]
14481
+ // ----- vue/slot-name-casing -----
14482
+ type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
14432
14483
  // ----- vue/sort-keys -----
14433
14484
  type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
14434
14485
  caseSensitive?: boolean
@@ -14472,6 +14523,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
14472
14523
  } & {
14473
14524
  [k: string]: unknown | undefined
14474
14525
  })[]
14526
+ ignoreTags?: string[]
14475
14527
  }]
14476
14528
  // ----- vue/v-on-function-call -----
14477
14529
  type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
@@ -14718,9 +14770,131 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
14718
14770
  exceptRange?: boolean
14719
14771
  onlyEquality?: boolean
14720
14772
  }]
14773
+ // Names of all the configs
14774
+ type ConfigNames = 'eslint/comments/rules' | 'eslint/formatter/setup' | 'eslint/formatter/html' | 'eslint/formatter/xml' | 'eslint/formatter/svg' | 'eslint/formatter/markdown' | 'eslint/formatter/graphql' | 'eslint/imports/rules' | 'eslint/javascript/setup' | 'eslint/javascript/rules' | 'eslint/jsdoc/rules' | 'eslint/jsonc/setup' | 'eslint/jsonc/rules' | 'eslint/markdown/setup' | 'eslint/markdown/processor' | 'eslint/markdown/parser' | 'eslint/markdown/disables' | 'eslint/node/rules' | 'eslint/perfectionist/setup' | 'eslint/react/setup' | 'eslint/react/rules' | 'eslint/regexp/rules' | 'eslint/sort/package-json' | 'eslint/stylistic/rules' | 'eslint/test/setup' | 'eslint/test/rules' | 'eslint/toml/setup' | 'eslint/toml/rules' | 'eslint/typescript/setup' | 'eslint/typescript/parser' | 'eslint/typescript/rules' | 'eslint/unicorn/rules' | 'eslint/unocss/rules' | 'eslint/vue/setup' | 'eslint/vue/rules' | 'eslint/yaml/setup' | 'eslint/yaml/rules'
14775
+
14776
+ /**
14777
+ * 来自 Prettier 的供应商类型,因此不依赖依赖项
14778
+ */
14779
+ type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
14780
+ interface VendoredPrettierOptionsRequired {
14781
+ /**
14782
+ * 指定换行的行长度.
14783
+ * @default 200
14784
+ */
14785
+ printWidth: number;
14786
+ /**
14787
+ * 指定每个缩进的空格数.
14788
+ */
14789
+ tabWidth: number;
14790
+ /**
14791
+ * 使用制表符而不是空格来缩进行
14792
+ */
14793
+ useTabs?: boolean;
14794
+ /**
14795
+ * 在语句末尾添加分号.
14796
+ */
14797
+ semi: boolean;
14798
+ /**
14799
+ * 使用单引号代替双引号.
14800
+ */
14801
+ singleQuote: boolean;
14802
+ /**
14803
+ * 在 JSX 中使用单引号.
14804
+ */
14805
+ jsxSingleQuote: boolean;
14806
+ /**
14807
+ * 尽可能添加尾随逗号.
14808
+ */
14809
+ trailingComma: 'none' | 'es5' | 'all';
14810
+ /**
14811
+ * 对象文字中括号之间的空格.
14812
+ */
14813
+ bracketSpacing: boolean;
14814
+ /**
14815
+ * 将多行 HTML(HTML、JSX、Vue、Angular)元素的 `>` 放在最后一行的末尾,
14816
+ * 而不是单独放在下一行(不适用于自闭合元素)。
14817
+ */
14818
+ bracketSameLine: boolean;
14819
+ /**
14820
+ * 将多行 JSX 元素的 `>` 放在最后一行的末尾,而不是单独放在下一行.
14821
+ * @deprecated 使用 bracketSameLine 代替
14822
+ */
14823
+ jsxBracketSameLine: boolean;
14824
+ /**
14825
+ * 仅格式化文件的一部分.
14826
+ */
14827
+ rangeStart: number;
14828
+ /**
14829
+ * 仅格式化文件的一部分.
14830
+ * @default Number.POSITIVE_INFINITY
14831
+ */
14832
+ rangeEnd: number;
14833
+ /**
14834
+ * 默认情况下,Prettier 将按原样包装 Markdown 文本,因为某些服务使用换行敏感渲染器.
14835
+ * 在某些情况下,您可能希望依靠编辑器/查看器软包装,因此此选项允许您选择退出.
14836
+ * @default "preserve"
14837
+ */
14838
+ proseWrap: 'always' | 'never' | 'preserve';
14839
+ /**
14840
+ * 箭头函数参数周围包含括号.
14841
+ * @default "always"
14842
+ */
14843
+ arrowParens: 'avoid' | 'always';
14844
+ /**
14845
+ * 为 Prettier 提供支持新语言的能力.
14846
+ */
14847
+ plugins: Array<string | any>;
14848
+ /**
14849
+ * 如何处理 HTML 中的空格.
14850
+ * @default "css"
14851
+ */
14852
+ htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore';
14853
+ /**
14854
+ * 应用哪个换行符.
14855
+ * @default "lf"
14856
+ */
14857
+ endOfLine: 'auto' | 'lf' | 'crlf' | 'cr';
14858
+ /**
14859
+ * 引用对象中的属性时发生更改.
14860
+ * @default "as-needed"
14861
+ */
14862
+ quoteProps: 'as-needed' | 'consistent' | 'preserve';
14863
+ /**
14864
+ * 是否缩进Vue文件中<script>和<style>标签内的代码.
14865
+ * @default false
14866
+ */
14867
+ vueIndentScriptAndStyle: boolean;
14868
+ /**
14869
+ * 在 HTML、Vue 和 JSX 中强制每行使用单一属性.
14870
+ * @default false
14871
+ */
14872
+ singleAttributePerLine: boolean;
14873
+ /**
14874
+ * 如何处理 XML 中的空格
14875
+ * @default "preserve"
14876
+ */
14877
+ xmlQuoteAttributes: 'single' | 'double' | 'preserve';
14878
+ /**
14879
+ * 是否在自闭合 XML 元素的括号内放置空格.
14880
+ * @default true
14881
+ */
14882
+ xmlSelfClosingSpace: boolean;
14883
+ /**
14884
+ * 是否按 XML 元素中的键对属性进行排序.
14885
+ * @default false
14886
+ */
14887
+ xmlSortAttributesByKey: boolean;
14888
+ /**
14889
+ * 如何处理 XML 中的空格
14890
+ * @default "ignore"
14891
+ */
14892
+ xmlWhitespaceSensitivity: 'ignore' | 'strict' | 'preserve';
14893
+ }
14721
14894
 
14722
14895
  type Awaitable<T> = T | Promise<T>;
14723
14896
  type Rules = RuleOptions;
14897
+
14724
14898
  type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
14725
14899
  /**
14726
14900
  * 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.
@@ -14744,6 +14918,7 @@ interface OptionsVue {
14744
14918
  */
14745
14919
  sfcBlocks?: boolean | Options;
14746
14920
  }
14921
+ type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
14747
14922
  interface OptionsFormatters {
14748
14923
  /**
14749
14924
  * 启用对 CSS、Less、Sass 和 SCSS 的格式化支持.
@@ -14822,7 +14997,7 @@ interface OptionsTypeScriptParserOptions {
14822
14997
  */
14823
14998
  filesTypeAware?: string[];
14824
14999
  /**
14825
- * Glob patterns for files that should not be type aware.
15000
+ * 不应具有类型感知的文件的 Glob 模式。
14826
15001
  * @default ['**\/*.md\/**']
14827
15002
  */
14828
15003
  ignoresTypeAware?: string[];
@@ -14833,11 +15008,21 @@ interface OptionsTypeScriptWithTypes {
14833
15008
  * @see https://typescript-eslint.io/linting/typed-linting/
14834
15009
  */
14835
15010
  tsconfigPath?: string;
15011
+ /**
15012
+ * 覆盖类型感知规则
15013
+ */
15014
+ overridesTypeAware?: TypedFlatConfigItem['rules'];
14836
15015
  }
14837
15016
  interface OptionsHasTypeScript {
15017
+ /**
15018
+ * 是否开启 typescript
15019
+ */
14838
15020
  typescript?: boolean;
14839
15021
  }
14840
15022
  interface OptionsStylistic {
15023
+ /**
15024
+ * 是否开启 stylistic
15025
+ */
14841
15026
  stylistic?: boolean | StylisticConfig;
14842
15027
  }
14843
15028
  interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes' | 'jsx' | 'semi'> {
@@ -14876,12 +15061,6 @@ interface OptionsIgnores {
14876
15061
  interface OptionsIsInEditor {
14877
15062
  isInEditor?: boolean;
14878
15063
  }
14879
- interface OptionsReact {
14880
- tsconfigPath?: string | string[];
14881
- jsx?: boolean;
14882
- /** react 版本 */
14883
- version?: string;
14884
- }
14885
15064
  interface OptionsUnoCSS {
14886
15065
  /**
14887
15066
  * 启用 attributify 支持.
@@ -14904,6 +15083,10 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14904
15083
  * @default true
14905
15084
  */
14906
15085
  gitignore?: boolean | FlatGitignoreOptions;
15086
+ /**
15087
+ * Core rules. Can't be disabled.
15088
+ */
15089
+ javascript?: boolean;
14907
15090
  /**
14908
15091
  * 启用 TypeScript 支持.
14909
15092
  *
@@ -14938,6 +15121,43 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14938
15121
  * @default 根据依赖关系自动检测
14939
15122
  */
14940
15123
  vue?: boolean | OptionsFiles | OptionsVue;
15124
+ /**
15125
+ * 启用 JSONC 支持.
15126
+ *
15127
+ * @default true
15128
+ */
15129
+ jsonc?: boolean | OptionsFiles;
15130
+ /**
15131
+ * 启用 YAML 支持.
15132
+ *
15133
+ * @default true
15134
+ */
15135
+ yaml?: boolean | OptionsFiles;
15136
+ /**
15137
+ * 启用 TOML 支持.
15138
+ *
15139
+ * @default false
15140
+ */
15141
+ toml?: boolean;
15142
+ /**
15143
+ * 启用 Markdown 支持.
15144
+ *
15145
+ * @default true
15146
+ */
15147
+ markdown?: boolean | OptionsFiles;
15148
+ /**
15149
+ * 启用 stylistic 规则.
15150
+ *
15151
+ * @default true
15152
+ */
15153
+ stylistic?: boolean | StylisticConfig;
15154
+ /**
15155
+ * 启用 regexp 规则.
15156
+ *
15157
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/
15158
+ * @default true
15159
+ */
15160
+ regexp?: boolean | (OptionsRegExp & OptionsOverrides);
14941
15161
  /**
14942
15162
  * 启用 React 支持.
14943
15163
  *
@@ -14948,17 +15168,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14948
15168
  *
14949
15169
  * @default 根据依赖关系自动检测
14950
15170
  */
14951
- react?: boolean | OptionsReact | OptionsFiles;
14952
- /**
14953
- * 启用 svelte 支持.
14954
- *
14955
- * 需要安装:
14956
- * - `eslint-plugin-svelte`
14957
- * - `svelte-eslint-parser`
14958
- *
14959
- * @default false
14960
- */
14961
- svelte?: boolean;
15171
+ react?: boolean | OptionsFiles;
14962
15172
  /**
14963
15173
  * 启用 unocss rules.
14964
15174
  *
@@ -14985,50 +15195,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14985
15195
  * }
14986
15196
  */
14987
15197
  formatters?: boolean | OptionsFormatters;
14988
- /**
14989
- * 启用 JSONC 支持.
14990
- *
14991
- * @default true
14992
- */
14993
- jsonc?: boolean | OptionsFiles;
14994
- /**
14995
- * 启用 YAML 支持.
14996
- *
14997
- * @default true
14998
- */
14999
- yaml?: boolean | OptionsFiles;
15000
- /**
15001
- * 启用 TOML 支持.
15002
- *
15003
- * @default false
15004
- */
15005
- toml?: boolean;
15006
- /**
15007
- * 启用 Markdown 支持.
15008
- *
15009
- * @default true
15010
- */
15011
- markdown?: boolean | OptionsFiles;
15012
- /**
15013
- * 启用 stylistic 规则.
15014
- *
15015
- * @default true
15016
- */
15017
- stylistic?: boolean | StylisticConfig;
15018
- /**
15019
- * Enable regexp rules.
15020
- *
15021
- * @see https://ota-meshi.github.io/eslint-plugin-regexp/
15022
- * @default true
15023
- */
15024
- regexp?: boolean | OptionsRegExp;
15025
15198
  /**
15026
15199
  * 控制再编辑器中禁用某些规则.
15027
15200
  * @default 基于 process.env 自动检测
15028
15201
  */
15029
15202
  isInEditor?: boolean;
15030
15203
  /**
15031
- * Automatically rename plugins in the config.
15204
+ * 在配置中自动重命名插件.
15032
15205
  *
15033
15206
  * @default true
15034
15207
  */
@@ -15073,9 +15246,19 @@ declare const defaultPluginRenaming: {
15073
15246
  yml: string;
15074
15247
  };
15075
15248
  /**
15076
- * 构造一个ESLint扁平化配置项数组。
15249
+ * 构建 ESLint 平面配置项数组
15250
+ *
15251
+ * @param {OptionsConfig & TypedFlatConfigItem} options
15252
+ * 生成 ESLint 配置的选项
15253
+ * @param {Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]} userConfigs
15254
+ * 要与生成的配置合并的用户配置
15255
+ * @returns {Promise<TypedFlatConfigItem[]>}
15256
+ * 合并的 ESLint 配置
15077
15257
  */
15078
- declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
15258
+ declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
15259
+ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
15260
+ declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
15261
+ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
15079
15262
 
15080
15263
  declare function comments(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15081
15264
 
@@ -15106,7 +15289,7 @@ declare function node(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]
15106
15289
  */
15107
15290
  declare function perfectionist(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15108
15291
 
15109
- declare function react(options?: OptionsFiles & OptionsReact & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15292
+ declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15110
15293
 
15111
15294
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15112
15295
 
@@ -15138,7 +15321,7 @@ declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<Typ
15138
15321
 
15139
15322
  declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles & OptionsVue): Promise<TypedFlatConfigItem[]>;
15140
15323
 
15141
- declare function yaml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
15324
+ declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15142
15325
 
15143
15326
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15144
15327
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
@@ -15211,4 +15394,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
15211
15394
  declare function isInEditorEnv(): boolean;
15212
15395
  declare function isInGitHooksOrLintStaged(): boolean;
15213
15396
 
15214
- export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, 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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
15397
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, 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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };