@lincy/eslint-config 5.2.6 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -10
- package/dist/index.cjs +132 -97
- package/dist/index.d.cts +746 -596
- package/dist/index.d.ts +746 -596
- package/dist/index.js +129 -96
- package/package.json +37 -35
package/dist/index.d.ts
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.3
|
|
390
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
395
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
400
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
405
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
410
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
415
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
420
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
425
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
430
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
436
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
441
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
446
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
451
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
456
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
511
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
516
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
521
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
526
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
531
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
536
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
541
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
546
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
551
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
556
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
561
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
566
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
571
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
576
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
581
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
586
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
591
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
596
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
601
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
606
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
611
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/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.3
|
|
616
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
|
|
736
617
|
*/
|
|
737
618
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
738
619
|
/**
|
|
@@ -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
|
|
@@ -4611,7 +4509,7 @@ interface RuleOptions {
|
|
|
4611
4509
|
*/
|
|
4612
4510
|
'ts/no-array-delete'?: Linter.RuleEntry<[]>
|
|
4613
4511
|
/**
|
|
4614
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
4512
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
4615
4513
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
4616
4514
|
*/
|
|
4617
4515
|
'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
|
|
@@ -5128,702 +5026,702 @@ interface RuleOptions {
|
|
|
5128
5026
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5129
5027
|
/**
|
|
5130
5028
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
5132
5030
|
*/
|
|
5133
5031
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5134
5032
|
/**
|
|
5135
5033
|
* Enforce a specific parameter name in catch clauses.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
5137
5035
|
*/
|
|
5138
5036
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5139
5037
|
/**
|
|
5140
5038
|
* Use destructured variables over properties.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
5142
5040
|
*/
|
|
5143
5041
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5144
5042
|
/**
|
|
5145
5043
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
5147
5045
|
*/
|
|
5148
5046
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5149
5047
|
/**
|
|
5150
5048
|
* 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.
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
5152
5050
|
*/
|
|
5153
5051
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5154
5052
|
/**
|
|
5155
5053
|
* Move function definitions to the highest possible scope.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
5157
5055
|
*/
|
|
5158
5056
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5159
5057
|
/**
|
|
5160
5058
|
* Enforce correct `Error` subclassing.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
5162
5060
|
*/
|
|
5163
5061
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5164
5062
|
/**
|
|
5165
5063
|
* Enforce no spaces between braces.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
5167
5065
|
*/
|
|
5168
5066
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5169
5067
|
/**
|
|
5170
5068
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
5172
5070
|
*/
|
|
5173
5071
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5174
5072
|
/**
|
|
5175
5073
|
* Require escape sequences to use uppercase values.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
5177
5075
|
*/
|
|
5178
5076
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5179
5077
|
/**
|
|
5180
5078
|
* Add expiration conditions to TODO comments.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
5182
5080
|
*/
|
|
5183
5081
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5184
5082
|
/**
|
|
5185
5083
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
5187
5085
|
*/
|
|
5188
5086
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5189
5087
|
/**
|
|
5190
5088
|
* Enforce a case style for filenames.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
5192
5090
|
*/
|
|
5193
5091
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5194
5092
|
/**
|
|
5195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5093
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
5196
5094
|
* @deprecated
|
|
5197
5095
|
*/
|
|
5198
5096
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5199
5097
|
/**
|
|
5200
5098
|
* Enforce specific import styles per module.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
5202
5100
|
*/
|
|
5203
5101
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5204
5102
|
/**
|
|
5205
5103
|
* 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.
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
5207
5105
|
*/
|
|
5208
5106
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5209
5107
|
/**
|
|
5210
5108
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
5212
5110
|
*/
|
|
5213
5111
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5214
5112
|
/**
|
|
5215
5113
|
* Disallow anonymous functions and classes as the default export.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
5217
5115
|
*/
|
|
5218
5116
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5219
5117
|
/**
|
|
5220
5118
|
* Prevent passing a function reference directly to iterator methods.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
5222
5120
|
*/
|
|
5223
5121
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5224
5122
|
/**
|
|
5225
5123
|
* Prefer `for…of` over the `forEach` method.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
5227
5125
|
*/
|
|
5228
5126
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5229
5127
|
/**
|
|
5230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
5231
5129
|
* @deprecated
|
|
5232
5130
|
*/
|
|
5233
5131
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5234
5132
|
/**
|
|
5235
5133
|
* Disallow using the `this` argument in array methods.
|
|
5236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
5237
5135
|
*/
|
|
5238
5136
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5239
5137
|
/**
|
|
5240
5138
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
5242
5140
|
*/
|
|
5243
5141
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5244
5142
|
/**
|
|
5245
5143
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
5247
5145
|
*/
|
|
5248
5146
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5249
5147
|
/**
|
|
5250
5148
|
* Disallow member access from await expression.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
5252
5150
|
*/
|
|
5253
5151
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5254
5152
|
/**
|
|
5255
5153
|
* Disallow using `await` in `Promise` method parameters.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
5257
5155
|
*/
|
|
5258
5156
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5259
5157
|
/**
|
|
5260
5158
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
5262
5160
|
*/
|
|
5263
5161
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5264
5162
|
/**
|
|
5265
5163
|
* Do not use `document.cookie` directly.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
5267
5165
|
*/
|
|
5268
5166
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5269
5167
|
/**
|
|
5270
5168
|
* Disallow empty files.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
5272
5170
|
*/
|
|
5273
5171
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5274
5172
|
/**
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5276
5174
|
* @deprecated
|
|
5277
5175
|
*/
|
|
5278
5176
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5279
5177
|
/**
|
|
5280
5178
|
* 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.
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
5282
5180
|
*/
|
|
5283
5181
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5284
5182
|
/**
|
|
5285
5183
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
5287
5185
|
*/
|
|
5288
5186
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5289
5187
|
/**
|
|
5290
5188
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
5292
5190
|
*/
|
|
5293
5191
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5294
5192
|
/**
|
|
5295
5193
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5297
5195
|
*/
|
|
5298
5196
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5299
5197
|
/**
|
|
5300
5198
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5302
5200
|
*/
|
|
5303
5201
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5304
5202
|
/**
|
|
5305
5203
|
* Disallow identifiers starting with `new` or `class`.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
5307
5205
|
*/
|
|
5308
5206
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5309
5207
|
/**
|
|
5310
5208
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
5312
5210
|
*/
|
|
5313
5211
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5314
5212
|
/**
|
|
5315
5213
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
5317
5215
|
*/
|
|
5318
5216
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5319
5217
|
/**
|
|
5320
5218
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5322
5220
|
*/
|
|
5323
5221
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5324
5222
|
/**
|
|
5325
5223
|
* Disallow negated conditions.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
5327
5225
|
*/
|
|
5328
5226
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5329
5227
|
/**
|
|
5330
5228
|
* Disallow negated expression in equality check.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5332
5230
|
*/
|
|
5333
5231
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5334
5232
|
/**
|
|
5335
5233
|
* Disallow nested ternary expressions.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
5337
5235
|
*/
|
|
5338
5236
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5339
5237
|
/**
|
|
5340
5238
|
* Disallow `new Array()`.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
5342
5240
|
*/
|
|
5343
5241
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5344
5242
|
/**
|
|
5345
5243
|
* 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.
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
5347
5245
|
*/
|
|
5348
5246
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5349
5247
|
/**
|
|
5350
5248
|
* Disallow the use of the `null` literal.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
5352
5250
|
*/
|
|
5353
5251
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5354
5252
|
/**
|
|
5355
5253
|
* Disallow the use of objects as default parameters.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
5357
5255
|
*/
|
|
5358
5256
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5359
5257
|
/**
|
|
5360
5258
|
* Disallow `process.exit()`.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
5362
5260
|
*/
|
|
5363
5261
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5364
5262
|
/**
|
|
5365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5263
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
5366
5264
|
* @deprecated
|
|
5367
5265
|
*/
|
|
5368
5266
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5369
5267
|
/**
|
|
5370
5268
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5372
5270
|
*/
|
|
5373
5271
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5374
5272
|
/**
|
|
5375
5273
|
* Disallow classes that only have static members.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
5377
5275
|
*/
|
|
5378
5276
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5379
5277
|
/**
|
|
5380
5278
|
* Disallow `then` property.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
5382
5280
|
*/
|
|
5383
5281
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5384
5282
|
/**
|
|
5385
5283
|
* Disallow assigning `this` to a variable.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
5387
5285
|
*/
|
|
5388
5286
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5389
5287
|
/**
|
|
5390
5288
|
* Disallow comparing `undefined` using `typeof`.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
5392
5290
|
*/
|
|
5393
5291
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5394
5292
|
/**
|
|
5395
5293
|
* Disallow awaiting non-promise values.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
5397
5295
|
*/
|
|
5398
5296
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5399
5297
|
/**
|
|
5400
5298
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5402
5300
|
*/
|
|
5403
5301
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5404
5302
|
/**
|
|
5405
5303
|
* Disallow unreadable array destructuring.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5407
5305
|
*/
|
|
5408
5306
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5409
5307
|
/**
|
|
5410
5308
|
* Disallow unreadable IIFEs.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
5412
5310
|
*/
|
|
5413
5311
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5414
5312
|
/**
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
5416
5314
|
* @deprecated
|
|
5417
5315
|
*/
|
|
5418
5316
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5419
5317
|
/**
|
|
5420
5318
|
* Disallow unused object properties.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
5422
5320
|
*/
|
|
5423
5321
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5424
5322
|
/**
|
|
5425
5323
|
* Disallow useless fallback when spreading in object literals.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5427
5325
|
*/
|
|
5428
5326
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5429
5327
|
/**
|
|
5430
5328
|
* Disallow useless array length check.
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
5432
5330
|
*/
|
|
5433
5331
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5434
5332
|
/**
|
|
5435
5333
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5437
5335
|
*/
|
|
5438
5336
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5439
5337
|
/**
|
|
5440
5338
|
* Disallow unnecessary spread.
|
|
5441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
5442
5340
|
*/
|
|
5443
5341
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5444
5342
|
/**
|
|
5445
5343
|
* Disallow useless case in switch statements.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
5447
5345
|
*/
|
|
5448
5346
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5449
5347
|
/**
|
|
5450
5348
|
* Disallow useless `undefined`.
|
|
5451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
5452
5350
|
*/
|
|
5453
5351
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5454
5352
|
/**
|
|
5455
5353
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
5457
5355
|
*/
|
|
5458
5356
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5459
5357
|
/**
|
|
5460
5358
|
* Enforce proper case for numeric literals.
|
|
5461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
5462
5360
|
*/
|
|
5463
5361
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5464
5362
|
/**
|
|
5465
5363
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
5467
5365
|
*/
|
|
5468
5366
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5469
5367
|
/**
|
|
5470
5368
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
5472
5370
|
*/
|
|
5473
5371
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5474
5372
|
/**
|
|
5475
5373
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
5477
5375
|
*/
|
|
5478
5376
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5479
5377
|
/**
|
|
5480
5378
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
5482
5380
|
*/
|
|
5483
5381
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5484
5382
|
/**
|
|
5485
5383
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
5487
5385
|
*/
|
|
5488
5386
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5489
5387
|
/**
|
|
5490
5388
|
* 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.
|
|
5389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
5492
5390
|
*/
|
|
5493
5391
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5494
5392
|
/**
|
|
5495
5393
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
5497
5395
|
*/
|
|
5498
5396
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5499
5397
|
/**
|
|
5500
5398
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
5502
5400
|
*/
|
|
5503
5401
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5504
5402
|
/**
|
|
5505
5403
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5507
5405
|
*/
|
|
5508
5406
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5509
5407
|
/**
|
|
5510
5408
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
5512
5410
|
*/
|
|
5513
5411
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5514
5412
|
/**
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
5516
5414
|
* @deprecated
|
|
5517
5415
|
*/
|
|
5518
5416
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5519
5417
|
/**
|
|
5520
5418
|
* 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.
|
|
5419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
5522
5420
|
*/
|
|
5523
5421
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5524
5422
|
/**
|
|
5525
5423
|
* Prefer default parameters over reassignment.
|
|
5526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
5527
5425
|
*/
|
|
5528
5426
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5529
5427
|
/**
|
|
5530
5428
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
5532
5430
|
*/
|
|
5533
5431
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5534
5432
|
/**
|
|
5535
5433
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5537
5435
|
*/
|
|
5538
5436
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5539
5437
|
/**
|
|
5540
5438
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5542
5440
|
*/
|
|
5543
5441
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5544
5442
|
/**
|
|
5545
5443
|
* Prefer `.textContent` over `.innerText`.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5547
5445
|
*/
|
|
5548
5446
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5549
5447
|
/**
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5448
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
5551
5449
|
* @deprecated
|
|
5552
5450
|
*/
|
|
5553
5451
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5554
5452
|
/**
|
|
5555
5453
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
5557
5455
|
*/
|
|
5558
5456
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5559
5457
|
/**
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5458
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5561
5459
|
* @deprecated
|
|
5562
5460
|
*/
|
|
5563
5461
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5564
5462
|
/**
|
|
5565
5463
|
* Prefer `export…from` when re-exporting.
|
|
5566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
5567
5465
|
*/
|
|
5568
5466
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5569
5467
|
/**
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5468
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
5571
5469
|
* @deprecated
|
|
5572
5470
|
*/
|
|
5573
5471
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5574
5472
|
/**
|
|
5575
5473
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
5577
5475
|
*/
|
|
5578
5476
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5579
5477
|
/**
|
|
5580
5478
|
* 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.
|
|
5479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
5582
5480
|
*/
|
|
5583
5481
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5584
5482
|
/**
|
|
5585
5483
|
* Prefer reading a JSON file as a buffer.
|
|
5586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5587
5485
|
*/
|
|
5588
5486
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5589
5487
|
/**
|
|
5590
5488
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5592
5490
|
*/
|
|
5593
5491
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5594
5492
|
/**
|
|
5595
5493
|
* Prefer using a logical operator over a ternary.
|
|
5596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5597
5495
|
*/
|
|
5598
5496
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5599
5497
|
/**
|
|
5600
5498
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
5602
5500
|
*/
|
|
5603
5501
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5604
5502
|
/**
|
|
5605
5503
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
5607
5505
|
*/
|
|
5608
5506
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5609
5507
|
/**
|
|
5610
5508
|
* 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.
|
|
5509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5612
5510
|
*/
|
|
5613
5511
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5614
5512
|
/**
|
|
5615
5513
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5617
5515
|
*/
|
|
5618
5516
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5619
5517
|
/**
|
|
5620
5518
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
5622
5520
|
*/
|
|
5623
5521
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5624
5522
|
/**
|
|
5625
5523
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5627
5525
|
*/
|
|
5628
5526
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5629
5527
|
/**
|
|
5630
5528
|
* Prefer negative index over `.length - index` when possible.
|
|
5631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
5632
5530
|
*/
|
|
5633
5531
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5634
5532
|
/**
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5533
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
5636
5534
|
* @deprecated
|
|
5637
5535
|
*/
|
|
5638
5536
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5639
5537
|
/**
|
|
5640
5538
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
5642
5540
|
*/
|
|
5643
5541
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5644
5542
|
/**
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5543
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
5646
5544
|
* @deprecated
|
|
5647
5545
|
*/
|
|
5648
5546
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5649
5547
|
/**
|
|
5650
5548
|
* Prefer `Number` static properties over global ones.
|
|
5651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
5652
5550
|
*/
|
|
5653
5551
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5654
5552
|
/**
|
|
5655
5553
|
* 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.
|
|
5554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
5657
5555
|
*/
|
|
5658
5556
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5659
5557
|
/**
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5558
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
5661
5559
|
* @deprecated
|
|
5662
5560
|
*/
|
|
5663
5561
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5664
5562
|
/**
|
|
5665
5563
|
* Prefer omitting the `catch` binding parameter.
|
|
5666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5667
5565
|
*/
|
|
5668
5566
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5669
5567
|
/**
|
|
5670
5568
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5569
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
5672
5570
|
*/
|
|
5673
5571
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5674
5572
|
/**
|
|
5675
5573
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
5677
5575
|
*/
|
|
5678
5576
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5679
5577
|
/**
|
|
5680
5578
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
5682
5580
|
*/
|
|
5683
5581
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5684
5582
|
/**
|
|
5685
5583
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
5687
5585
|
*/
|
|
5688
5586
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5689
5587
|
/**
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5588
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
5691
5589
|
* @deprecated
|
|
5692
5590
|
*/
|
|
5693
5591
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5694
5592
|
/**
|
|
5695
5593
|
* 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.
|
|
5594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
5697
5595
|
*/
|
|
5698
5596
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5699
5597
|
/**
|
|
5700
5598
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
5702
5600
|
*/
|
|
5703
5601
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5704
5602
|
/**
|
|
5705
5603
|
* 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.
|
|
5604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
5707
5605
|
*/
|
|
5708
5606
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5709
5607
|
/**
|
|
5710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5608
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5711
5609
|
* @deprecated
|
|
5712
5610
|
*/
|
|
5713
5611
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5714
5612
|
/**
|
|
5715
5613
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
5717
5615
|
*/
|
|
5718
5616
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5719
5617
|
/**
|
|
5720
5618
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
5722
5620
|
*/
|
|
5723
5621
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5724
5622
|
/**
|
|
5725
5623
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5726
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
5727
5625
|
*/
|
|
5728
5626
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5729
5627
|
/**
|
|
5730
5628
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5732
5630
|
*/
|
|
5733
5631
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5734
5632
|
/**
|
|
5735
5633
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5737
5635
|
*/
|
|
5738
5636
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5739
5637
|
/**
|
|
5740
5638
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
5742
5640
|
*/
|
|
5743
5641
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5744
5642
|
/**
|
|
5745
5643
|
* Prefer `switch` over multiple `else-if`.
|
|
5746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
5747
5645
|
*/
|
|
5748
5646
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5749
5647
|
/**
|
|
5750
5648
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5649
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
5752
5650
|
*/
|
|
5753
5651
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5754
5652
|
/**
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5653
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
5756
5654
|
* @deprecated
|
|
5757
5655
|
*/
|
|
5758
5656
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5759
5657
|
/**
|
|
5760
5658
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
5762
5660
|
*/
|
|
5763
5661
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5764
5662
|
/**
|
|
5765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5663
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5766
5664
|
* @deprecated
|
|
5767
5665
|
*/
|
|
5768
5666
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5769
5667
|
/**
|
|
5770
5668
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
5772
5670
|
*/
|
|
5773
5671
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5774
5672
|
/**
|
|
5775
5673
|
* Prevent abbreviations.
|
|
5776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
5777
5675
|
*/
|
|
5778
5676
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5779
5677
|
/**
|
|
5780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5678
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
5781
5679
|
* @deprecated
|
|
5782
5680
|
*/
|
|
5783
5681
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5784
5682
|
/**
|
|
5785
5683
|
* Enforce consistent relative URL style.
|
|
5786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
5787
5685
|
*/
|
|
5788
5686
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5789
5687
|
/**
|
|
5790
5688
|
* Enforce using the separator argument with `Array#join()`.
|
|
5791
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5689
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
5792
5690
|
*/
|
|
5793
5691
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5794
5692
|
/**
|
|
5795
5693
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5796
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5694
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5797
5695
|
*/
|
|
5798
5696
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5799
5697
|
/**
|
|
5800
5698
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
5802
5700
|
*/
|
|
5803
5701
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5804
5702
|
/**
|
|
5805
5703
|
* Enforce better string content.
|
|
5806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
5807
5705
|
*/
|
|
5808
5706
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5809
5707
|
/**
|
|
5810
5708
|
* Enforce consistent brace style for `case` clauses.
|
|
5811
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
5812
5710
|
*/
|
|
5813
5711
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5814
5712
|
/**
|
|
5815
5713
|
* Fix whitespace-insensitive template indentation.
|
|
5816
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
5817
5715
|
*/
|
|
5818
5716
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5819
5717
|
/**
|
|
5820
5718
|
* Enforce consistent case for text encoding identifiers.
|
|
5821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5822
5720
|
*/
|
|
5823
5721
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5824
5722
|
/**
|
|
5825
5723
|
* Require `new` when creating an error.
|
|
5826
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
5827
5725
|
*/
|
|
5828
5726
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5829
5727
|
/**
|
|
@@ -6765,6 +6663,11 @@ interface RuleOptions {
|
|
|
6765
6663
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
6766
6664
|
*/
|
|
6767
6665
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
6666
|
+
/**
|
|
6667
|
+
* require using `useTemplateRef` instead of `ref` for template refs
|
|
6668
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
6669
|
+
*/
|
|
6670
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
6768
6671
|
/**
|
|
6769
6672
|
* enforce specific casing for the Prop name in Vue components
|
|
6770
6673
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -7559,17 +7462,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7559
7462
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7560
7463
|
}
|
|
7561
7464
|
ignorePackages?: boolean
|
|
7465
|
+
checkTypeImports?: boolean
|
|
7562
7466
|
[k: string]: unknown | undefined
|
|
7563
7467
|
}] | []|[{
|
|
7564
7468
|
pattern?: {
|
|
7565
7469
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7566
7470
|
}
|
|
7567
7471
|
ignorePackages?: boolean
|
|
7472
|
+
checkTypeImports?: boolean
|
|
7568
7473
|
[k: string]: unknown | undefined
|
|
7569
|
-
}] | []|[{
|
|
7570
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7571
7474
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7572
7475
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7476
|
+
}] | []|[{
|
|
7477
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7573
7478
|
}])
|
|
7574
7479
|
// ----- import/first -----
|
|
7575
7480
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -9585,6 +9490,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9585
9490
|
// ----- node/no-sync -----
|
|
9586
9491
|
type NodeNoSync = []|[{
|
|
9587
9492
|
allowAtRootLevel?: boolean
|
|
9493
|
+
ignores?: string[]
|
|
9588
9494
|
}]
|
|
9589
9495
|
// ----- node/no-unpublished-bin -----
|
|
9590
9496
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9666,7 +9572,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9666
9572
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9667
9573
|
version?: string
|
|
9668
9574
|
allowExperimental?: boolean
|
|
9669
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
9575
|
+
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")[]
|
|
9670
9576
|
}]
|
|
9671
9577
|
// ----- node/prefer-global/buffer -----
|
|
9672
9578
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9809,61 +9715,26 @@ type PaddingLineBetweenStatements = {
|
|
|
9809
9715
|
// ----- perfectionist/sort-array-includes -----
|
|
9810
9716
|
type PerfectionistSortArrayIncludes = []|[{
|
|
9811
9717
|
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
order?: ("asc" | "desc")
|
|
9815
|
-
|
|
9816
|
-
matcher?: ("minimatch" | "regex")
|
|
9817
|
-
|
|
9818
|
-
ignoreCase?: boolean
|
|
9819
|
-
|
|
9820
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9718
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9821
9719
|
|
|
9822
9720
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9823
9721
|
|
|
9824
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9825
|
-
|
|
9826
9722
|
partitionByNewLine?: boolean
|
|
9827
|
-
}]
|
|
9828
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
9829
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
9830
|
-
|
|
9831
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9832
|
-
|
|
9833
|
-
order?: ("asc" | "desc")
|
|
9834
9723
|
|
|
9835
|
-
|
|
9724
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9836
9725
|
|
|
9837
9726
|
ignoreCase?: boolean
|
|
9838
9727
|
|
|
9839
|
-
|
|
9728
|
+
locales?: (string | string[])
|
|
9840
9729
|
|
|
9841
|
-
|
|
9730
|
+
order?: ("asc" | "desc")
|
|
9842
9731
|
|
|
9843
|
-
|
|
9844
|
-
[k: string]: (string | string[]) | undefined
|
|
9845
|
-
}
|
|
9732
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9846
9733
|
}]
|
|
9847
9734
|
// ----- perfectionist/sort-classes -----
|
|
9848
9735
|
type PerfectionistSortClasses = []|[{
|
|
9849
9736
|
|
|
9850
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9851
|
-
|
|
9852
|
-
order?: ("asc" | "desc")
|
|
9853
|
-
|
|
9854
|
-
matcher?: ("minimatch" | "regex")
|
|
9855
|
-
|
|
9856
|
-
ignoreCase?: boolean
|
|
9857
|
-
|
|
9858
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9859
|
-
|
|
9860
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9861
|
-
|
|
9862
|
-
groups?: (string | string[])[]
|
|
9863
|
-
|
|
9864
9737
|
customGroups?: ({
|
|
9865
|
-
[k: string]: (string | string[]) | undefined
|
|
9866
|
-
} | ({
|
|
9867
9738
|
|
|
9868
9739
|
groupName?: string
|
|
9869
9740
|
|
|
@@ -9872,15 +9743,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
9872
9743
|
order?: ("desc" | "asc")
|
|
9873
9744
|
anyOf?: {
|
|
9874
9745
|
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9878
|
-
|
|
9879
|
-
elementNamePattern?: string
|
|
9746
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9880
9747
|
|
|
9881
9748
|
elementValuePattern?: string
|
|
9882
9749
|
|
|
9883
9750
|
decoratorNamePattern?: string
|
|
9751
|
+
|
|
9752
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9753
|
+
|
|
9754
|
+
elementNamePattern?: string
|
|
9884
9755
|
}[]
|
|
9885
9756
|
} | {
|
|
9886
9757
|
|
|
@@ -9890,91 +9761,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
9890
9761
|
|
|
9891
9762
|
order?: ("desc" | "asc")
|
|
9892
9763
|
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9896
|
-
|
|
9897
|
-
elementNamePattern?: string
|
|
9764
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9898
9765
|
|
|
9899
9766
|
elementValuePattern?: string
|
|
9900
9767
|
|
|
9901
9768
|
decoratorNamePattern?: string
|
|
9902
|
-
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
|
|
9769
|
+
|
|
9770
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9771
|
+
|
|
9772
|
+
elementNamePattern?: string
|
|
9773
|
+
})[]
|
|
9906
9774
|
|
|
9907
|
-
|
|
9775
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
9908
9776
|
|
|
9909
|
-
|
|
9777
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9778
|
+
|
|
9779
|
+
partitionByNewLine?: boolean
|
|
9780
|
+
|
|
9781
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9910
9782
|
|
|
9911
|
-
|
|
9783
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9912
9784
|
|
|
9913
9785
|
ignoreCase?: boolean
|
|
9914
9786
|
|
|
9915
|
-
|
|
9787
|
+
locales?: (string | string[])
|
|
9916
9788
|
|
|
9917
|
-
|
|
9789
|
+
groups?: (string | string[])[]
|
|
9918
9790
|
|
|
9919
|
-
|
|
9791
|
+
order?: ("asc" | "desc")
|
|
9792
|
+
|
|
9793
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9794
|
+
}]
|
|
9795
|
+
// ----- perfectionist/sort-decorators -----
|
|
9796
|
+
type PerfectionistSortDecorators = []|[{
|
|
9920
9797
|
|
|
9921
9798
|
partitionByComment?: (string[] | boolean | string)
|
|
9922
9799
|
|
|
9923
|
-
|
|
9924
|
-
}]
|
|
9925
|
-
// ----- perfectionist/sort-exports -----
|
|
9926
|
-
type PerfectionistSortExports = []|[{
|
|
9800
|
+
sortOnParameters?: boolean
|
|
9927
9801
|
|
|
9928
|
-
|
|
9802
|
+
sortOnProperties?: boolean
|
|
9929
9803
|
|
|
9930
|
-
|
|
9804
|
+
sortOnAccessors?: boolean
|
|
9931
9805
|
|
|
9932
|
-
|
|
9806
|
+
sortOnMethods?: boolean
|
|
9933
9807
|
|
|
9934
|
-
|
|
9808
|
+
sortOnClasses?: boolean
|
|
9935
9809
|
|
|
9936
9810
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9937
9811
|
|
|
9938
|
-
|
|
9812
|
+
customGroups?: {
|
|
9813
|
+
[k: string]: (string | string[]) | undefined
|
|
9814
|
+
}
|
|
9939
9815
|
|
|
9940
|
-
|
|
9816
|
+
ignoreCase?: boolean
|
|
9941
9817
|
|
|
9942
|
-
|
|
9943
|
-
}]
|
|
9944
|
-
// ----- perfectionist/sort-imports -----
|
|
9945
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9946
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9818
|
+
locales?: (string | string[])
|
|
9947
9819
|
|
|
9948
|
-
|
|
9820
|
+
groups?: (string | string[])[]
|
|
9949
9821
|
|
|
9950
9822
|
order?: ("asc" | "desc")
|
|
9951
9823
|
|
|
9952
|
-
|
|
9824
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9825
|
+
}]
|
|
9826
|
+
// ----- perfectionist/sort-enums -----
|
|
9827
|
+
type PerfectionistSortEnums = []|[{
|
|
9953
9828
|
|
|
9954
|
-
|
|
9829
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9955
9830
|
|
|
9956
|
-
|
|
9831
|
+
forceNumericSort?: boolean
|
|
9957
9832
|
|
|
9958
|
-
|
|
9833
|
+
sortByValue?: boolean
|
|
9959
9834
|
|
|
9960
|
-
|
|
9835
|
+
partitionByNewLine?: boolean
|
|
9961
9836
|
|
|
9962
|
-
|
|
9837
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9963
9838
|
|
|
9964
|
-
|
|
9839
|
+
ignoreCase?: boolean
|
|
9840
|
+
|
|
9841
|
+
locales?: (string | string[])
|
|
9842
|
+
|
|
9843
|
+
order?: ("asc" | "desc")
|
|
9844
|
+
|
|
9845
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9846
|
+
}]
|
|
9847
|
+
// ----- perfectionist/sort-exports -----
|
|
9848
|
+
type PerfectionistSortExports = []|[{
|
|
9849
|
+
|
|
9850
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9851
|
+
|
|
9852
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
9853
|
+
|
|
9854
|
+
partitionByNewLine?: boolean
|
|
9855
|
+
|
|
9856
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9857
|
+
|
|
9858
|
+
ignoreCase?: boolean
|
|
9859
|
+
|
|
9860
|
+
locales?: (string | string[])
|
|
9861
|
+
|
|
9862
|
+
order?: ("asc" | "desc")
|
|
9863
|
+
|
|
9864
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9865
|
+
}]
|
|
9866
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
9867
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
9868
|
+
|
|
9869
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9870
|
+
|
|
9871
|
+
customGroups?: {
|
|
9872
|
+
[k: string]: (string | string[]) | undefined
|
|
9873
|
+
}
|
|
9874
|
+
|
|
9875
|
+
ignoreCase?: boolean
|
|
9876
|
+
|
|
9877
|
+
locales?: (string | string[])
|
|
9965
9878
|
|
|
9966
9879
|
groups?: (string | string[])[]
|
|
9967
9880
|
|
|
9881
|
+
order?: ("asc" | "desc")
|
|
9882
|
+
|
|
9883
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9884
|
+
}]
|
|
9885
|
+
// ----- perfectionist/sort-imports -----
|
|
9886
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9887
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9888
|
+
|
|
9968
9889
|
customGroups?: {
|
|
9969
|
-
|
|
9890
|
+
|
|
9891
|
+
value?: {
|
|
9970
9892
|
[k: string]: unknown | undefined
|
|
9971
9893
|
}
|
|
9972
|
-
|
|
9894
|
+
|
|
9895
|
+
type?: {
|
|
9973
9896
|
[k: string]: unknown | undefined
|
|
9974
9897
|
}
|
|
9975
9898
|
}
|
|
9976
9899
|
|
|
9900
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9901
|
+
|
|
9902
|
+
internalPattern?: string[]
|
|
9903
|
+
|
|
9904
|
+
maxLineLength?: number
|
|
9905
|
+
|
|
9906
|
+
sortSideEffects?: boolean
|
|
9907
|
+
|
|
9977
9908
|
environment?: ("node" | "bun")
|
|
9909
|
+
|
|
9910
|
+
tsconfigRootDir?: string
|
|
9911
|
+
|
|
9912
|
+
partitionByNewLine?: boolean
|
|
9913
|
+
|
|
9914
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9915
|
+
|
|
9916
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9917
|
+
|
|
9918
|
+
ignoreCase?: boolean
|
|
9919
|
+
|
|
9920
|
+
locales?: (string | string[])
|
|
9921
|
+
|
|
9922
|
+
groups?: (string | string[])[]
|
|
9923
|
+
|
|
9924
|
+
order?: ("asc" | "desc")
|
|
9925
|
+
|
|
9926
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9978
9927
|
})
|
|
9979
9928
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9980
9929
|
[k: string]: unknown | undefined
|
|
@@ -9986,284 +9935,317 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
9986
9935
|
// ----- perfectionist/sort-interfaces -----
|
|
9987
9936
|
type PerfectionistSortInterfaces = []|[{
|
|
9988
9937
|
|
|
9989
|
-
|
|
9938
|
+
ignorePattern?: string[]
|
|
9990
9939
|
|
|
9991
|
-
|
|
9940
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9992
9941
|
|
|
9993
|
-
|
|
9942
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
9994
9943
|
|
|
9995
|
-
|
|
9944
|
+
partitionByNewLine?: boolean
|
|
9996
9945
|
|
|
9997
9946
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9998
9947
|
|
|
9999
|
-
|
|
9948
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10000
9949
|
|
|
10001
|
-
|
|
9950
|
+
customGroups?: {
|
|
9951
|
+
[k: string]: (string | string[]) | undefined
|
|
9952
|
+
}
|
|
10002
9953
|
|
|
10003
|
-
|
|
9954
|
+
ignoreCase?: boolean
|
|
10004
9955
|
|
|
10005
|
-
|
|
9956
|
+
locales?: (string | string[])
|
|
10006
9957
|
|
|
10007
9958
|
groups?: (string | string[])[]
|
|
10008
9959
|
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
9960
|
+
order?: ("asc" | "desc")
|
|
9961
|
+
|
|
9962
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10012
9963
|
}]
|
|
10013
9964
|
// ----- perfectionist/sort-intersection-types -----
|
|
10014
9965
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10015
9966
|
|
|
10016
|
-
|
|
9967
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10017
9968
|
|
|
10018
|
-
|
|
9969
|
+
partitionByNewLine?: boolean
|
|
10019
9970
|
|
|
10020
|
-
|
|
9971
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9972
|
+
|
|
9973
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10021
9974
|
|
|
10022
9975
|
ignoreCase?: boolean
|
|
10023
9976
|
|
|
10024
|
-
|
|
9977
|
+
locales?: (string | string[])
|
|
10025
9978
|
|
|
10026
9979
|
groups?: (string | string[])[]
|
|
10027
9980
|
|
|
10028
|
-
|
|
9981
|
+
order?: ("asc" | "desc")
|
|
10029
9982
|
|
|
10030
|
-
|
|
9983
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10031
9984
|
}]
|
|
10032
9985
|
// ----- perfectionist/sort-jsx-props -----
|
|
10033
9986
|
type PerfectionistSortJsxProps = []|[{
|
|
10034
9987
|
|
|
10035
|
-
|
|
9988
|
+
ignorePattern?: string[]
|
|
10036
9989
|
|
|
10037
|
-
|
|
9990
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10038
9991
|
|
|
10039
|
-
|
|
9992
|
+
customGroups?: {
|
|
9993
|
+
[k: string]: (string | string[]) | undefined
|
|
9994
|
+
}
|
|
10040
9995
|
|
|
10041
9996
|
ignoreCase?: boolean
|
|
10042
9997
|
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
ignorePattern?: string[]
|
|
9998
|
+
locales?: (string | string[])
|
|
10046
9999
|
|
|
10047
10000
|
groups?: (string | string[])[]
|
|
10048
10001
|
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10002
|
+
order?: ("asc" | "desc")
|
|
10003
|
+
|
|
10004
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10052
10005
|
}]
|
|
10053
10006
|
// ----- perfectionist/sort-maps -----
|
|
10054
10007
|
type PerfectionistSortMaps = []|[{
|
|
10055
10008
|
|
|
10056
|
-
|
|
10009
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10057
10010
|
|
|
10058
|
-
|
|
10011
|
+
partitionByNewLine?: boolean
|
|
10059
10012
|
|
|
10060
|
-
|
|
10013
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10061
10014
|
|
|
10062
10015
|
ignoreCase?: boolean
|
|
10063
10016
|
|
|
10064
|
-
|
|
10017
|
+
locales?: (string | string[])
|
|
10018
|
+
|
|
10019
|
+
order?: ("asc" | "desc")
|
|
10020
|
+
|
|
10021
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10022
|
+
}]
|
|
10023
|
+
// ----- perfectionist/sort-modules -----
|
|
10024
|
+
type PerfectionistSortModules = []|[{
|
|
10025
|
+
|
|
10026
|
+
customGroups?: ({
|
|
10027
|
+
|
|
10028
|
+
groupName?: string
|
|
10029
|
+
|
|
10030
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10031
|
+
|
|
10032
|
+
order?: ("desc" | "asc")
|
|
10033
|
+
anyOf?: {
|
|
10034
|
+
|
|
10035
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10036
|
+
|
|
10037
|
+
elementValuePattern?: string
|
|
10038
|
+
|
|
10039
|
+
decoratorNamePattern?: string
|
|
10040
|
+
|
|
10041
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10042
|
+
|
|
10043
|
+
elementNamePattern?: string
|
|
10044
|
+
}[]
|
|
10045
|
+
} | {
|
|
10046
|
+
|
|
10047
|
+
groupName?: string
|
|
10048
|
+
|
|
10049
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10050
|
+
|
|
10051
|
+
order?: ("desc" | "asc")
|
|
10052
|
+
|
|
10053
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10054
|
+
|
|
10055
|
+
elementValuePattern?: string
|
|
10056
|
+
|
|
10057
|
+
decoratorNamePattern?: string
|
|
10058
|
+
|
|
10059
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10060
|
+
|
|
10061
|
+
elementNamePattern?: string
|
|
10062
|
+
})[]
|
|
10065
10063
|
|
|
10066
10064
|
partitionByComment?: (string[] | boolean | string)
|
|
10067
10065
|
|
|
10068
10066
|
partitionByNewLine?: boolean
|
|
10067
|
+
|
|
10068
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10069
|
+
|
|
10070
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10071
|
+
|
|
10072
|
+
ignoreCase?: boolean
|
|
10073
|
+
|
|
10074
|
+
locales?: (string | string[])
|
|
10075
|
+
|
|
10076
|
+
groups?: (string | string[])[]
|
|
10077
|
+
|
|
10078
|
+
order?: ("asc" | "desc")
|
|
10079
|
+
|
|
10080
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10069
10081
|
}]
|
|
10070
10082
|
// ----- perfectionist/sort-named-exports -----
|
|
10071
10083
|
type PerfectionistSortNamedExports = []|[{
|
|
10072
10084
|
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
order?: ("asc" | "desc")
|
|
10085
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10076
10086
|
|
|
10077
|
-
|
|
10087
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10078
10088
|
|
|
10079
|
-
|
|
10089
|
+
partitionByNewLine?: boolean
|
|
10080
10090
|
|
|
10081
10091
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10082
10092
|
|
|
10083
|
-
|
|
10093
|
+
ignoreCase?: boolean
|
|
10084
10094
|
|
|
10085
|
-
|
|
10095
|
+
locales?: (string | string[])
|
|
10086
10096
|
|
|
10087
|
-
|
|
10097
|
+
order?: ("asc" | "desc")
|
|
10098
|
+
|
|
10099
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10088
10100
|
}]
|
|
10089
10101
|
// ----- perfectionist/sort-named-imports -----
|
|
10090
10102
|
type PerfectionistSortNamedImports = []|[{
|
|
10091
10103
|
|
|
10092
|
-
|
|
10104
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10093
10105
|
|
|
10094
|
-
|
|
10106
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10095
10107
|
|
|
10096
|
-
|
|
10108
|
+
ignoreAlias?: boolean
|
|
10097
10109
|
|
|
10098
|
-
|
|
10110
|
+
partitionByNewLine?: boolean
|
|
10099
10111
|
|
|
10100
10112
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10101
10113
|
|
|
10102
|
-
|
|
10114
|
+
ignoreCase?: boolean
|
|
10103
10115
|
|
|
10104
|
-
|
|
10116
|
+
locales?: (string | string[])
|
|
10105
10117
|
|
|
10106
|
-
|
|
10118
|
+
order?: ("asc" | "desc")
|
|
10107
10119
|
|
|
10108
|
-
|
|
10120
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10109
10121
|
}]
|
|
10110
10122
|
// ----- perfectionist/sort-object-types -----
|
|
10111
10123
|
type PerfectionistSortObjectTypes = []|[{
|
|
10112
10124
|
|
|
10113
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10114
|
-
|
|
10115
|
-
order?: ("asc" | "desc")
|
|
10116
|
-
|
|
10117
|
-
matcher?: ("minimatch" | "regex")
|
|
10118
|
-
|
|
10119
|
-
ignoreCase?: boolean
|
|
10120
|
-
|
|
10121
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10122
|
-
|
|
10123
10125
|
partitionByComment?: (string[] | boolean | string)
|
|
10124
10126
|
|
|
10127
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10128
|
+
|
|
10125
10129
|
partitionByNewLine?: boolean
|
|
10126
10130
|
|
|
10127
|
-
|
|
10131
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10128
10132
|
|
|
10129
|
-
|
|
10133
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10130
10134
|
|
|
10131
10135
|
customGroups?: {
|
|
10132
10136
|
[k: string]: (string | string[]) | undefined
|
|
10133
10137
|
}
|
|
10134
|
-
}]
|
|
10135
|
-
// ----- perfectionist/sort-objects -----
|
|
10136
|
-
type PerfectionistSortObjects = []|[{
|
|
10137
10138
|
|
|
10138
|
-
|
|
10139
|
+
ignoreCase?: boolean
|
|
10139
10140
|
|
|
10140
|
-
|
|
10141
|
+
locales?: (string | string[])
|
|
10141
10142
|
|
|
10142
|
-
|
|
10143
|
+
groups?: (string | string[])[]
|
|
10143
10144
|
|
|
10144
|
-
|
|
10145
|
+
order?: ("asc" | "desc")
|
|
10145
10146
|
|
|
10146
|
-
|
|
10147
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10148
|
+
}]
|
|
10149
|
+
// ----- perfectionist/sort-objects -----
|
|
10150
|
+
type PerfectionistSortObjects = []|[{
|
|
10151
|
+
|
|
10152
|
+
ignorePattern?: string[]
|
|
10147
10153
|
|
|
10148
10154
|
partitionByComment?: (string[] | boolean | string)
|
|
10149
10155
|
|
|
10150
|
-
|
|
10156
|
+
destructureOnly?: boolean
|
|
10151
10157
|
|
|
10152
10158
|
styledComponents?: boolean
|
|
10153
10159
|
|
|
10154
|
-
|
|
10160
|
+
partitionByNewLine?: boolean
|
|
10155
10161
|
|
|
10156
|
-
|
|
10162
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10157
10163
|
|
|
10158
|
-
|
|
10164
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10159
10165
|
|
|
10160
10166
|
customGroups?: {
|
|
10161
10167
|
[k: string]: (string | string[]) | undefined
|
|
10162
10168
|
}
|
|
10163
|
-
}]
|
|
10164
|
-
// ----- perfectionist/sort-sets -----
|
|
10165
|
-
type PerfectionistSortSets = []|[{
|
|
10166
|
-
|
|
10167
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10168
|
-
|
|
10169
|
-
order?: ("asc" | "desc")
|
|
10170
|
-
|
|
10171
|
-
matcher?: ("minimatch" | "regex")
|
|
10172
10169
|
|
|
10173
10170
|
ignoreCase?: boolean
|
|
10174
10171
|
|
|
10175
|
-
|
|
10172
|
+
locales?: (string | string[])
|
|
10176
10173
|
|
|
10177
|
-
|
|
10174
|
+
groups?: (string | string[])[]
|
|
10178
10175
|
|
|
10179
|
-
|
|
10176
|
+
order?: ("asc" | "desc")
|
|
10180
10177
|
|
|
10181
|
-
|
|
10178
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10182
10179
|
}]
|
|
10183
|
-
// ----- perfectionist/sort-
|
|
10184
|
-
type
|
|
10180
|
+
// ----- perfectionist/sort-sets -----
|
|
10181
|
+
type PerfectionistSortSets = []|[{
|
|
10185
10182
|
|
|
10186
|
-
|
|
10183
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10187
10184
|
|
|
10188
|
-
|
|
10185
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10189
10186
|
|
|
10190
|
-
|
|
10187
|
+
partitionByNewLine?: boolean
|
|
10188
|
+
|
|
10189
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10191
10190
|
|
|
10192
10191
|
ignoreCase?: boolean
|
|
10193
10192
|
|
|
10194
|
-
|
|
10193
|
+
locales?: (string | string[])
|
|
10195
10194
|
|
|
10196
|
-
|
|
10195
|
+
order?: ("asc" | "desc")
|
|
10197
10196
|
|
|
10198
|
-
|
|
10199
|
-
[k: string]: (string | string[]) | undefined
|
|
10200
|
-
}
|
|
10197
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10201
10198
|
}]
|
|
10202
10199
|
// ----- perfectionist/sort-switch-case -----
|
|
10203
|
-
type PerfectionistSortSwitchCase = []|[{
|
|
10204
|
-
|
|
10205
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10200
|
+
type PerfectionistSortSwitchCase = []|[{
|
|
10206
10201
|
|
|
10207
|
-
|
|
10202
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10208
10203
|
|
|
10209
10204
|
ignoreCase?: boolean
|
|
10210
10205
|
|
|
10211
|
-
|
|
10206
|
+
locales?: (string | string[])
|
|
10207
|
+
|
|
10208
|
+
order?: ("asc" | "desc")
|
|
10209
|
+
|
|
10210
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10212
10211
|
}]
|
|
10213
10212
|
// ----- perfectionist/sort-union-types -----
|
|
10214
10213
|
type PerfectionistSortUnionTypes = []|[{
|
|
10215
10214
|
|
|
10216
|
-
|
|
10215
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10217
10216
|
|
|
10218
|
-
|
|
10217
|
+
partitionByNewLine?: boolean
|
|
10219
10218
|
|
|
10220
|
-
|
|
10219
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10220
|
+
|
|
10221
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10221
10222
|
|
|
10222
10223
|
ignoreCase?: boolean
|
|
10223
10224
|
|
|
10224
|
-
|
|
10225
|
+
locales?: (string | string[])
|
|
10225
10226
|
|
|
10226
10227
|
groups?: (string | string[])[]
|
|
10227
10228
|
|
|
10228
|
-
|
|
10229
|
+
order?: ("asc" | "desc")
|
|
10229
10230
|
|
|
10230
|
-
|
|
10231
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10231
10232
|
}]
|
|
10232
10233
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10233
10234
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10234
10235
|
|
|
10235
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10236
|
-
|
|
10237
|
-
order?: ("asc" | "desc")
|
|
10238
|
-
|
|
10239
|
-
matcher?: ("minimatch" | "regex")
|
|
10240
|
-
|
|
10241
|
-
ignoreCase?: boolean
|
|
10242
|
-
|
|
10243
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10244
|
-
|
|
10245
10236
|
partitionByComment?: (string[] | boolean | string)
|
|
10246
10237
|
|
|
10247
10238
|
partitionByNewLine?: boolean
|
|
10248
|
-
}]
|
|
10249
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
10250
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
10251
|
-
|
|
10252
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10253
10239
|
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
matcher?: ("minimatch" | "regex")
|
|
10240
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10257
10241
|
|
|
10258
10242
|
ignoreCase?: boolean
|
|
10259
10243
|
|
|
10260
|
-
|
|
10244
|
+
locales?: (string | string[])
|
|
10261
10245
|
|
|
10262
|
-
|
|
10246
|
+
order?: ("asc" | "desc")
|
|
10263
10247
|
|
|
10264
|
-
|
|
10265
|
-
[k: string]: (string | string[]) | undefined
|
|
10266
|
-
}
|
|
10248
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10267
10249
|
}]
|
|
10268
10250
|
// ----- prefer-arrow-callback -----
|
|
10269
10251
|
type PreferArrowCallback = []|[{
|
|
@@ -10328,6 +10310,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
10328
10310
|
})]
|
|
10329
10311
|
// ----- radix -----
|
|
10330
10312
|
type Radix = []|[("always" | "as-needed")]
|
|
10313
|
+
// ----- react-dom/no-unknown-property -----
|
|
10314
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
10315
|
+
ignore?: string[]
|
|
10316
|
+
requireDataLowercase?: boolean
|
|
10317
|
+
}]
|
|
10331
10318
|
// ----- react-hooks/exhaustive-deps -----
|
|
10332
10319
|
type ReactHooksExhaustiveDeps = []|[{
|
|
10333
10320
|
additionalHooks?: string
|
|
@@ -10351,6 +10338,7 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
10351
10338
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
10352
10339
|
allow?: ("always" | "as-needed")
|
|
10353
10340
|
extensions?: string[]
|
|
10341
|
+
ignoreFilesWithoutCode?: boolean
|
|
10354
10342
|
})]
|
|
10355
10343
|
// ----- react-refresh/only-export-components -----
|
|
10356
10344
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
@@ -10360,6 +10348,7 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
10360
10348
|
}]
|
|
10361
10349
|
// ----- react/no-useless-fragment -----
|
|
10362
10350
|
type ReactNoUselessFragment = []|[{
|
|
10351
|
+
|
|
10363
10352
|
allowExpressions?: boolean
|
|
10364
10353
|
}]
|
|
10365
10354
|
// ----- regexp/hexadecimal-escape -----
|
|
@@ -11417,6 +11406,7 @@ type StyleMaxLen = []|[({
|
|
|
11417
11406
|
// ----- style/max-statements-per-line -----
|
|
11418
11407
|
type StyleMaxStatementsPerLine = []|[{
|
|
11419
11408
|
max?: number
|
|
11409
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
11420
11410
|
}]
|
|
11421
11411
|
// ----- style/member-delimiter-style -----
|
|
11422
11412
|
type StyleMemberDelimiterStyle = []|[{
|
|
@@ -11586,7 +11576,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
11586
11576
|
}]
|
|
11587
11577
|
// ----- style/padding-line-between-statements -----
|
|
11588
11578
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
11589
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
11579
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
11590
11580
|
type StylePaddingLineBetweenStatements = {
|
|
11591
11581
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
11592
11582
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -11718,7 +11708,7 @@ type TestConsistentTestIt = []|[{
|
|
|
11718
11708
|
}]
|
|
11719
11709
|
// ----- test/expect-expect -----
|
|
11720
11710
|
type TestExpectExpect = []|[{
|
|
11721
|
-
assertFunctionNames?: []
|
|
11711
|
+
assertFunctionNames?: string[]
|
|
11722
11712
|
additionalTestBlockFunctions?: string[]
|
|
11723
11713
|
}]
|
|
11724
11714
|
// ----- test/max-expects -----
|
|
@@ -12759,6 +12749,19 @@ type TsNoVarRequires = []|[{
|
|
|
12759
12749
|
// ----- ts/only-throw-error -----
|
|
12760
12750
|
type TsOnlyThrowError = []|[{
|
|
12761
12751
|
|
|
12752
|
+
allow?: (string | {
|
|
12753
|
+
from: "file"
|
|
12754
|
+
name: (string | [string, ...(string)[]])
|
|
12755
|
+
path?: string
|
|
12756
|
+
} | {
|
|
12757
|
+
from: "lib"
|
|
12758
|
+
name: (string | [string, ...(string)[]])
|
|
12759
|
+
} | {
|
|
12760
|
+
from: "package"
|
|
12761
|
+
name: (string | [string, ...(string)[]])
|
|
12762
|
+
package: string
|
|
12763
|
+
})[]
|
|
12764
|
+
|
|
12762
12765
|
allowThrowingAny?: boolean
|
|
12763
12766
|
|
|
12764
12767
|
allowThrowingUnknown?: boolean
|
|
@@ -12812,6 +12815,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12812
12815
|
|
|
12813
12816
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12814
12817
|
|
|
12818
|
+
ignoreBooleanCoercion?: boolean
|
|
12819
|
+
|
|
12815
12820
|
ignoreConditionalTests?: boolean
|
|
12816
12821
|
|
|
12817
12822
|
ignoreMixedLogicalExpressions?: boolean
|
|
@@ -12990,6 +12995,8 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
12990
12995
|
|
|
12991
12996
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
12992
12997
|
|
|
12998
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
12999
|
+
|
|
12993
13000
|
requireDefaultForNonUnion?: boolean
|
|
12994
13001
|
}]
|
|
12995
13002
|
// ----- ts/triple-slash-reference -----
|
|
@@ -14131,6 +14138,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
14131
14138
|
type VueNoReservedComponentNames = []|[{
|
|
14132
14139
|
disallowVueBuiltInComponents?: boolean
|
|
14133
14140
|
disallowVue3BuiltInComponents?: boolean
|
|
14141
|
+
htmlElementCaseSensitive?: boolean
|
|
14134
14142
|
}]
|
|
14135
14143
|
// ----- vue/no-reserved-keys -----
|
|
14136
14144
|
type VueNoReservedKeys = []|[{
|
|
@@ -14600,6 +14608,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
14600
14608
|
// ----- yaml/plain-scalar -----
|
|
14601
14609
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
14602
14610
|
ignorePatterns?: string[]
|
|
14611
|
+
overrides?: {
|
|
14612
|
+
mappingKey?: ("always" | "never" | null)
|
|
14613
|
+
}
|
|
14603
14614
|
}]
|
|
14604
14615
|
// ----- yaml/quotes -----
|
|
14605
14616
|
type YamlQuotes = []|[{
|
|
@@ -14694,9 +14705,131 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14694
14705
|
exceptRange?: boolean
|
|
14695
14706
|
onlyEquality?: boolean
|
|
14696
14707
|
}]
|
|
14708
|
+
// Names of all the configs
|
|
14709
|
+
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'
|
|
14710
|
+
|
|
14711
|
+
/**
|
|
14712
|
+
* 来自 Prettier 的供应商类型,因此不依赖依赖项
|
|
14713
|
+
*/
|
|
14714
|
+
type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
|
|
14715
|
+
interface VendoredPrettierOptionsRequired {
|
|
14716
|
+
/**
|
|
14717
|
+
* 指定换行的行长度.
|
|
14718
|
+
* @default 200
|
|
14719
|
+
*/
|
|
14720
|
+
printWidth: number;
|
|
14721
|
+
/**
|
|
14722
|
+
* 指定每个缩进的空格数.
|
|
14723
|
+
*/
|
|
14724
|
+
tabWidth: number;
|
|
14725
|
+
/**
|
|
14726
|
+
* 使用制表符而不是空格来缩进行
|
|
14727
|
+
*/
|
|
14728
|
+
useTabs?: boolean;
|
|
14729
|
+
/**
|
|
14730
|
+
* 在语句末尾添加分号.
|
|
14731
|
+
*/
|
|
14732
|
+
semi: boolean;
|
|
14733
|
+
/**
|
|
14734
|
+
* 使用单引号代替双引号.
|
|
14735
|
+
*/
|
|
14736
|
+
singleQuote: boolean;
|
|
14737
|
+
/**
|
|
14738
|
+
* 在 JSX 中使用单引号.
|
|
14739
|
+
*/
|
|
14740
|
+
jsxSingleQuote: boolean;
|
|
14741
|
+
/**
|
|
14742
|
+
* 尽可能添加尾随逗号.
|
|
14743
|
+
*/
|
|
14744
|
+
trailingComma: 'none' | 'es5' | 'all';
|
|
14745
|
+
/**
|
|
14746
|
+
* 对象文字中括号之间的空格.
|
|
14747
|
+
*/
|
|
14748
|
+
bracketSpacing: boolean;
|
|
14749
|
+
/**
|
|
14750
|
+
* 将多行 HTML(HTML、JSX、Vue、Angular)元素的 `>` 放在最后一行的末尾,
|
|
14751
|
+
* 而不是单独放在下一行(不适用于自闭合元素)。
|
|
14752
|
+
*/
|
|
14753
|
+
bracketSameLine: boolean;
|
|
14754
|
+
/**
|
|
14755
|
+
* 将多行 JSX 元素的 `>` 放在最后一行的末尾,而不是单独放在下一行.
|
|
14756
|
+
* @deprecated 使用 bracketSameLine 代替
|
|
14757
|
+
*/
|
|
14758
|
+
jsxBracketSameLine: boolean;
|
|
14759
|
+
/**
|
|
14760
|
+
* 仅格式化文件的一部分.
|
|
14761
|
+
*/
|
|
14762
|
+
rangeStart: number;
|
|
14763
|
+
/**
|
|
14764
|
+
* 仅格式化文件的一部分.
|
|
14765
|
+
* @default Number.POSITIVE_INFINITY
|
|
14766
|
+
*/
|
|
14767
|
+
rangeEnd: number;
|
|
14768
|
+
/**
|
|
14769
|
+
* 默认情况下,Prettier 将按原样包装 Markdown 文本,因为某些服务使用换行敏感渲染器.
|
|
14770
|
+
* 在某些情况下,您可能希望依靠编辑器/查看器软包装,因此此选项允许您选择退出.
|
|
14771
|
+
* @default "preserve"
|
|
14772
|
+
*/
|
|
14773
|
+
proseWrap: 'always' | 'never' | 'preserve';
|
|
14774
|
+
/**
|
|
14775
|
+
* 箭头函数参数周围包含括号.
|
|
14776
|
+
* @default "always"
|
|
14777
|
+
*/
|
|
14778
|
+
arrowParens: 'avoid' | 'always';
|
|
14779
|
+
/**
|
|
14780
|
+
* 为 Prettier 提供支持新语言的能力.
|
|
14781
|
+
*/
|
|
14782
|
+
plugins: Array<string | any>;
|
|
14783
|
+
/**
|
|
14784
|
+
* 如何处理 HTML 中的空格.
|
|
14785
|
+
* @default "css"
|
|
14786
|
+
*/
|
|
14787
|
+
htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore';
|
|
14788
|
+
/**
|
|
14789
|
+
* 应用哪个换行符.
|
|
14790
|
+
* @default "lf"
|
|
14791
|
+
*/
|
|
14792
|
+
endOfLine: 'auto' | 'lf' | 'crlf' | 'cr';
|
|
14793
|
+
/**
|
|
14794
|
+
* 引用对象中的属性时发生更改.
|
|
14795
|
+
* @default "as-needed"
|
|
14796
|
+
*/
|
|
14797
|
+
quoteProps: 'as-needed' | 'consistent' | 'preserve';
|
|
14798
|
+
/**
|
|
14799
|
+
* 是否缩进Vue文件中<script>和<style>标签内的代码.
|
|
14800
|
+
* @default false
|
|
14801
|
+
*/
|
|
14802
|
+
vueIndentScriptAndStyle: boolean;
|
|
14803
|
+
/**
|
|
14804
|
+
* 在 HTML、Vue 和 JSX 中强制每行使用单一属性.
|
|
14805
|
+
* @default false
|
|
14806
|
+
*/
|
|
14807
|
+
singleAttributePerLine: boolean;
|
|
14808
|
+
/**
|
|
14809
|
+
* 如何处理 XML 中的空格
|
|
14810
|
+
* @default "preserve"
|
|
14811
|
+
*/
|
|
14812
|
+
xmlQuoteAttributes: 'single' | 'double' | 'preserve';
|
|
14813
|
+
/**
|
|
14814
|
+
* 是否在自闭合 XML 元素的括号内放置空格.
|
|
14815
|
+
* @default true
|
|
14816
|
+
*/
|
|
14817
|
+
xmlSelfClosingSpace: boolean;
|
|
14818
|
+
/**
|
|
14819
|
+
* 是否按 XML 元素中的键对属性进行排序.
|
|
14820
|
+
* @default false
|
|
14821
|
+
*/
|
|
14822
|
+
xmlSortAttributesByKey: boolean;
|
|
14823
|
+
/**
|
|
14824
|
+
* 如何处理 XML 中的空格
|
|
14825
|
+
* @default "ignore"
|
|
14826
|
+
*/
|
|
14827
|
+
xmlWhitespaceSensitivity: 'ignore' | 'strict' | 'preserve';
|
|
14828
|
+
}
|
|
14697
14829
|
|
|
14698
14830
|
type Awaitable<T> = T | Promise<T>;
|
|
14699
14831
|
type Rules = RuleOptions;
|
|
14832
|
+
|
|
14700
14833
|
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
|
|
14701
14834
|
/**
|
|
14702
14835
|
* 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.
|
|
@@ -14720,6 +14853,7 @@ interface OptionsVue {
|
|
|
14720
14853
|
*/
|
|
14721
14854
|
sfcBlocks?: boolean | Options;
|
|
14722
14855
|
}
|
|
14856
|
+
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
|
|
14723
14857
|
interface OptionsFormatters {
|
|
14724
14858
|
/**
|
|
14725
14859
|
* 启用对 CSS、Less、Sass 和 SCSS 的格式化支持.
|
|
@@ -14798,7 +14932,7 @@ interface OptionsTypeScriptParserOptions {
|
|
|
14798
14932
|
*/
|
|
14799
14933
|
filesTypeAware?: string[];
|
|
14800
14934
|
/**
|
|
14801
|
-
* Glob
|
|
14935
|
+
* 不应具有类型感知的文件的 Glob 模式。
|
|
14802
14936
|
* @default ['**\/*.md\/**']
|
|
14803
14937
|
*/
|
|
14804
14938
|
ignoresTypeAware?: string[];
|
|
@@ -14809,11 +14943,21 @@ interface OptionsTypeScriptWithTypes {
|
|
|
14809
14943
|
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
14810
14944
|
*/
|
|
14811
14945
|
tsconfigPath?: string;
|
|
14946
|
+
/**
|
|
14947
|
+
* 覆盖类型感知规则
|
|
14948
|
+
*/
|
|
14949
|
+
overridesTypeAware?: TypedFlatConfigItem['rules'];
|
|
14812
14950
|
}
|
|
14813
14951
|
interface OptionsHasTypeScript {
|
|
14952
|
+
/**
|
|
14953
|
+
* 是否开启 typescript
|
|
14954
|
+
*/
|
|
14814
14955
|
typescript?: boolean;
|
|
14815
14956
|
}
|
|
14816
14957
|
interface OptionsStylistic {
|
|
14958
|
+
/**
|
|
14959
|
+
* 是否开启 stylistic
|
|
14960
|
+
*/
|
|
14817
14961
|
stylistic?: boolean | StylisticConfig;
|
|
14818
14962
|
}
|
|
14819
14963
|
interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes' | 'jsx' | 'semi'> {
|
|
@@ -14852,12 +14996,6 @@ interface OptionsIgnores {
|
|
|
14852
14996
|
interface OptionsIsInEditor {
|
|
14853
14997
|
isInEditor?: boolean;
|
|
14854
14998
|
}
|
|
14855
|
-
interface OptionsReact {
|
|
14856
|
-
tsconfigPath?: string | string[];
|
|
14857
|
-
jsx?: boolean;
|
|
14858
|
-
/** react 版本 */
|
|
14859
|
-
version?: string;
|
|
14860
|
-
}
|
|
14861
14999
|
interface OptionsUnoCSS {
|
|
14862
15000
|
/**
|
|
14863
15001
|
* 启用 attributify 支持.
|
|
@@ -14880,6 +15018,10 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14880
15018
|
* @default true
|
|
14881
15019
|
*/
|
|
14882
15020
|
gitignore?: boolean | FlatGitignoreOptions;
|
|
15021
|
+
/**
|
|
15022
|
+
* Core rules. Can't be disabled.
|
|
15023
|
+
*/
|
|
15024
|
+
javascript?: boolean;
|
|
14883
15025
|
/**
|
|
14884
15026
|
* 启用 TypeScript 支持.
|
|
14885
15027
|
*
|
|
@@ -14914,45 +15056,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14914
15056
|
* @default 根据依赖关系自动检测
|
|
14915
15057
|
*/
|
|
14916
15058
|
vue?: boolean | OptionsFiles | OptionsVue;
|
|
14917
|
-
/**
|
|
14918
|
-
* 启用 React 支持.
|
|
14919
|
-
*
|
|
14920
|
-
* 需要安装:
|
|
14921
|
-
* - `@eslint-react/eslint-plugin`
|
|
14922
|
-
* - `eslint-plugin-react-hooks`
|
|
14923
|
-
* - `eslint-plugin-react-refresh`
|
|
14924
|
-
*
|
|
14925
|
-
* @default 根据依赖关系自动检测
|
|
14926
|
-
*/
|
|
14927
|
-
react?: boolean | OptionsReact | OptionsFiles;
|
|
14928
|
-
/**
|
|
14929
|
-
* 启用 svelte 支持.
|
|
14930
|
-
*
|
|
14931
|
-
* 需要安装:
|
|
14932
|
-
* - `eslint-plugin-svelte`
|
|
14933
|
-
* - `svelte-eslint-parser`
|
|
14934
|
-
*
|
|
14935
|
-
* @default false
|
|
14936
|
-
*/
|
|
14937
|
-
svelte?: boolean;
|
|
14938
|
-
/**
|
|
14939
|
-
* 启用 unocss rules.
|
|
14940
|
-
*
|
|
14941
|
-
* 需要安装:
|
|
14942
|
-
* - `@unocss/eslint-plugin`
|
|
14943
|
-
*
|
|
14944
|
-
* @default false
|
|
14945
|
-
*/
|
|
14946
|
-
unocss?: boolean | OptionsUnoCSS;
|
|
14947
|
-
/**
|
|
14948
|
-
* 使用外部格式化程序格式化文件.
|
|
14949
|
-
*
|
|
14950
|
-
* 需要安装:
|
|
14951
|
-
* - `eslint-plugin-format`
|
|
14952
|
-
*
|
|
14953
|
-
* @default false
|
|
14954
|
-
*/
|
|
14955
|
-
formatters?: boolean | OptionsFormatters;
|
|
14956
15059
|
/**
|
|
14957
15060
|
* 启用 JSONC 支持.
|
|
14958
15061
|
*
|
|
@@ -14984,19 +15087,56 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14984
15087
|
*/
|
|
14985
15088
|
stylistic?: boolean | StylisticConfig;
|
|
14986
15089
|
/**
|
|
14987
|
-
*
|
|
15090
|
+
* 启用 regexp 规则.
|
|
14988
15091
|
*
|
|
14989
15092
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
14990
15093
|
* @default true
|
|
14991
15094
|
*/
|
|
14992
|
-
regexp?: boolean | OptionsRegExp;
|
|
15095
|
+
regexp?: boolean | (OptionsRegExp & OptionsOverrides);
|
|
15096
|
+
/**
|
|
15097
|
+
* 启用 React 支持.
|
|
15098
|
+
*
|
|
15099
|
+
* 需要安装:
|
|
15100
|
+
* - `@eslint-react/eslint-plugin`
|
|
15101
|
+
* - `eslint-plugin-react-hooks`
|
|
15102
|
+
* - `eslint-plugin-react-refresh`
|
|
15103
|
+
*
|
|
15104
|
+
* @default 根据依赖关系自动检测
|
|
15105
|
+
*/
|
|
15106
|
+
react?: boolean | OptionsFiles;
|
|
15107
|
+
/**
|
|
15108
|
+
* 启用 unocss rules.
|
|
15109
|
+
*
|
|
15110
|
+
* 需要安装:
|
|
15111
|
+
* - `@unocss/eslint-plugin`
|
|
15112
|
+
*
|
|
15113
|
+
* @default false
|
|
15114
|
+
*/
|
|
15115
|
+
unocss?: boolean | OptionsUnoCSS;
|
|
15116
|
+
/**
|
|
15117
|
+
* 使用外部格式化程序格式化文件.
|
|
15118
|
+
*
|
|
15119
|
+
* 需要安装:
|
|
15120
|
+
* - `eslint-plugin-format`
|
|
15121
|
+
*
|
|
15122
|
+
* @default false
|
|
15123
|
+
*
|
|
15124
|
+
* 当设置为“true”时,默认值为
|
|
15125
|
+
* {
|
|
15126
|
+
* css: false,
|
|
15127
|
+
* graphql: true,
|
|
15128
|
+
* html: true,
|
|
15129
|
+
* markdown: true,
|
|
15130
|
+
* }
|
|
15131
|
+
*/
|
|
15132
|
+
formatters?: boolean | OptionsFormatters;
|
|
14993
15133
|
/**
|
|
14994
15134
|
* 控制再编辑器中禁用某些规则.
|
|
14995
15135
|
* @default 基于 process.env 自动检测
|
|
14996
15136
|
*/
|
|
14997
15137
|
isInEditor?: boolean;
|
|
14998
15138
|
/**
|
|
14999
|
-
*
|
|
15139
|
+
* 在配置中自动重命名插件.
|
|
15000
15140
|
*
|
|
15001
15141
|
* @default true
|
|
15002
15142
|
*/
|
|
@@ -15041,9 +15181,19 @@ declare const defaultPluginRenaming: {
|
|
|
15041
15181
|
yml: string;
|
|
15042
15182
|
};
|
|
15043
15183
|
/**
|
|
15044
|
-
*
|
|
15184
|
+
* 构建 ESLint 平面配置项数组
|
|
15185
|
+
*
|
|
15186
|
+
* @param {OptionsConfig & TypedFlatConfigItem} options
|
|
15187
|
+
* 生成 ESLint 配置的选项
|
|
15188
|
+
* @param {Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]} userConfigs
|
|
15189
|
+
* 要与生成的配置合并的用户配置
|
|
15190
|
+
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
15191
|
+
* 合并的 ESLint 配置
|
|
15045
15192
|
*/
|
|
15046
|
-
declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
|
|
15193
|
+
declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
15194
|
+
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
15195
|
+
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
15196
|
+
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
15047
15197
|
|
|
15048
15198
|
declare function comments(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15049
15199
|
|
|
@@ -15074,7 +15224,7 @@ declare function node(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]
|
|
|
15074
15224
|
*/
|
|
15075
15225
|
declare function perfectionist(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15076
15226
|
|
|
15077
|
-
declare function react(options?:
|
|
15227
|
+
declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15078
15228
|
|
|
15079
15229
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15080
15230
|
|
|
@@ -15106,7 +15256,7 @@ declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<Typ
|
|
|
15106
15256
|
|
|
15107
15257
|
declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
15108
15258
|
|
|
15109
|
-
declare function yaml(options?:
|
|
15259
|
+
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15110
15260
|
|
|
15111
15261
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15112
15262
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -15179,4 +15329,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
15179
15329
|
declare function isInEditorEnv(): boolean;
|
|
15180
15330
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
15181
15331
|
|
|
15182
|
-
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
|
|
15332
|
+
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 };
|