@lincy/eslint-config 5.2.7 → 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 +123 -97
- package/dist/index.d.cts +718 -600
- package/dist/index.d.ts +718 -600
- package/dist/index.js +121 -97
- package/package.json +25 -23
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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.4.
|
|
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
|
|
@@ -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
|
|
@@ -7568,10 +7471,10 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7568
7471
|
ignorePackages?: boolean
|
|
7569
7472
|
checkTypeImports?: boolean
|
|
7570
7473
|
[k: string]: unknown | undefined
|
|
7571
|
-
}] | []|[{
|
|
7572
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7573
7474
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7574
7475
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7476
|
+
}] | []|[{
|
|
7477
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7575
7478
|
}])
|
|
7576
7479
|
// ----- import/first -----
|
|
7577
7480
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -9587,6 +9490,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9587
9490
|
// ----- node/no-sync -----
|
|
9588
9491
|
type NodeNoSync = []|[{
|
|
9589
9492
|
allowAtRootLevel?: boolean
|
|
9493
|
+
ignores?: string[]
|
|
9590
9494
|
}]
|
|
9591
9495
|
// ----- node/no-unpublished-bin -----
|
|
9592
9496
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9668,7 +9572,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9668
9572
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9669
9573
|
version?: string
|
|
9670
9574
|
allowExperimental?: boolean
|
|
9671
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
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")[]
|
|
9672
9576
|
}]
|
|
9673
9577
|
// ----- node/prefer-global/buffer -----
|
|
9674
9578
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9811,61 +9715,26 @@ type PaddingLineBetweenStatements = {
|
|
|
9811
9715
|
// ----- perfectionist/sort-array-includes -----
|
|
9812
9716
|
type PerfectionistSortArrayIncludes = []|[{
|
|
9813
9717
|
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
order?: ("asc" | "desc")
|
|
9817
|
-
|
|
9818
|
-
matcher?: ("minimatch" | "regex")
|
|
9819
|
-
|
|
9820
|
-
ignoreCase?: boolean
|
|
9821
|
-
|
|
9822
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9718
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9823
9719
|
|
|
9824
9720
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9825
9721
|
|
|
9826
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9827
|
-
|
|
9828
9722
|
partitionByNewLine?: boolean
|
|
9829
|
-
}]
|
|
9830
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
9831
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
9832
|
-
|
|
9833
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9834
|
-
|
|
9835
|
-
order?: ("asc" | "desc")
|
|
9836
9723
|
|
|
9837
|
-
|
|
9724
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9838
9725
|
|
|
9839
9726
|
ignoreCase?: boolean
|
|
9840
9727
|
|
|
9841
|
-
|
|
9728
|
+
locales?: (string | string[])
|
|
9842
9729
|
|
|
9843
|
-
|
|
9730
|
+
order?: ("asc" | "desc")
|
|
9844
9731
|
|
|
9845
|
-
|
|
9846
|
-
[k: string]: (string | string[]) | undefined
|
|
9847
|
-
}
|
|
9732
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9848
9733
|
}]
|
|
9849
9734
|
// ----- perfectionist/sort-classes -----
|
|
9850
9735
|
type PerfectionistSortClasses = []|[{
|
|
9851
9736
|
|
|
9852
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
9853
|
-
|
|
9854
|
-
order?: ("asc" | "desc")
|
|
9855
|
-
|
|
9856
|
-
matcher?: ("minimatch" | "regex")
|
|
9857
|
-
|
|
9858
|
-
ignoreCase?: boolean
|
|
9859
|
-
|
|
9860
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9861
|
-
|
|
9862
|
-
partitionByComment?: (string[] | boolean | string)
|
|
9863
|
-
|
|
9864
|
-
groups?: (string | string[])[]
|
|
9865
|
-
|
|
9866
9737
|
customGroups?: ({
|
|
9867
|
-
[k: string]: (string | string[]) | undefined
|
|
9868
|
-
} | ({
|
|
9869
9738
|
|
|
9870
9739
|
groupName?: string
|
|
9871
9740
|
|
|
@@ -9874,15 +9743,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
9874
9743
|
order?: ("desc" | "asc")
|
|
9875
9744
|
anyOf?: {
|
|
9876
9745
|
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9880
|
-
|
|
9881
|
-
elementNamePattern?: string
|
|
9746
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9882
9747
|
|
|
9883
9748
|
elementValuePattern?: string
|
|
9884
9749
|
|
|
9885
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
|
|
9886
9755
|
}[]
|
|
9887
9756
|
} | {
|
|
9888
9757
|
|
|
@@ -9892,91 +9761,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
9892
9761
|
|
|
9893
9762
|
order?: ("desc" | "asc")
|
|
9894
9763
|
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9898
|
-
|
|
9899
|
-
elementNamePattern?: string
|
|
9764
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9900
9765
|
|
|
9901
9766
|
elementValuePattern?: string
|
|
9902
9767
|
|
|
9903
9768
|
decoratorNamePattern?: string
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
|
|
9769
|
+
|
|
9770
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9771
|
+
|
|
9772
|
+
elementNamePattern?: string
|
|
9773
|
+
})[]
|
|
9908
9774
|
|
|
9909
|
-
|
|
9775
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
9910
9776
|
|
|
9911
|
-
|
|
9777
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9778
|
+
|
|
9779
|
+
partitionByNewLine?: boolean
|
|
9780
|
+
|
|
9781
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9912
9782
|
|
|
9913
|
-
|
|
9783
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9914
9784
|
|
|
9915
9785
|
ignoreCase?: boolean
|
|
9916
9786
|
|
|
9917
|
-
|
|
9787
|
+
locales?: (string | string[])
|
|
9918
9788
|
|
|
9919
|
-
|
|
9789
|
+
groups?: (string | string[])[]
|
|
9920
9790
|
|
|
9921
|
-
|
|
9791
|
+
order?: ("asc" | "desc")
|
|
9792
|
+
|
|
9793
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9794
|
+
}]
|
|
9795
|
+
// ----- perfectionist/sort-decorators -----
|
|
9796
|
+
type PerfectionistSortDecorators = []|[{
|
|
9922
9797
|
|
|
9923
9798
|
partitionByComment?: (string[] | boolean | string)
|
|
9924
9799
|
|
|
9925
|
-
|
|
9926
|
-
}]
|
|
9927
|
-
// ----- perfectionist/sort-exports -----
|
|
9928
|
-
type PerfectionistSortExports = []|[{
|
|
9800
|
+
sortOnParameters?: boolean
|
|
9929
9801
|
|
|
9930
|
-
|
|
9802
|
+
sortOnProperties?: boolean
|
|
9931
9803
|
|
|
9932
|
-
|
|
9804
|
+
sortOnAccessors?: boolean
|
|
9933
9805
|
|
|
9934
|
-
|
|
9806
|
+
sortOnMethods?: boolean
|
|
9935
9807
|
|
|
9936
|
-
|
|
9808
|
+
sortOnClasses?: boolean
|
|
9937
9809
|
|
|
9938
9810
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9939
9811
|
|
|
9940
|
-
|
|
9812
|
+
customGroups?: {
|
|
9813
|
+
[k: string]: (string | string[]) | undefined
|
|
9814
|
+
}
|
|
9941
9815
|
|
|
9942
|
-
|
|
9816
|
+
ignoreCase?: boolean
|
|
9943
9817
|
|
|
9944
|
-
|
|
9945
|
-
}]
|
|
9946
|
-
// ----- perfectionist/sort-imports -----
|
|
9947
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9948
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9818
|
+
locales?: (string | string[])
|
|
9949
9819
|
|
|
9950
|
-
|
|
9820
|
+
groups?: (string | string[])[]
|
|
9951
9821
|
|
|
9952
9822
|
order?: ("asc" | "desc")
|
|
9953
9823
|
|
|
9954
|
-
|
|
9824
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9825
|
+
}]
|
|
9826
|
+
// ----- perfectionist/sort-enums -----
|
|
9827
|
+
type PerfectionistSortEnums = []|[{
|
|
9955
9828
|
|
|
9956
|
-
|
|
9829
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9957
9830
|
|
|
9958
|
-
|
|
9831
|
+
forceNumericSort?: boolean
|
|
9959
9832
|
|
|
9960
|
-
|
|
9833
|
+
sortByValue?: boolean
|
|
9961
9834
|
|
|
9962
|
-
|
|
9835
|
+
partitionByNewLine?: boolean
|
|
9963
9836
|
|
|
9964
|
-
|
|
9837
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9965
9838
|
|
|
9966
|
-
|
|
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[])
|
|
9967
9878
|
|
|
9968
9879
|
groups?: (string | string[])[]
|
|
9969
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
|
+
|
|
9970
9889
|
customGroups?: {
|
|
9971
|
-
|
|
9890
|
+
|
|
9891
|
+
value?: {
|
|
9972
9892
|
[k: string]: unknown | undefined
|
|
9973
9893
|
}
|
|
9974
|
-
|
|
9894
|
+
|
|
9895
|
+
type?: {
|
|
9975
9896
|
[k: string]: unknown | undefined
|
|
9976
9897
|
}
|
|
9977
9898
|
}
|
|
9978
9899
|
|
|
9900
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9901
|
+
|
|
9902
|
+
internalPattern?: string[]
|
|
9903
|
+
|
|
9904
|
+
maxLineLength?: number
|
|
9905
|
+
|
|
9906
|
+
sortSideEffects?: boolean
|
|
9907
|
+
|
|
9979
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")
|
|
9980
9927
|
})
|
|
9981
9928
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9982
9929
|
[k: string]: unknown | undefined
|
|
@@ -9988,284 +9935,317 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
9988
9935
|
// ----- perfectionist/sort-interfaces -----
|
|
9989
9936
|
type PerfectionistSortInterfaces = []|[{
|
|
9990
9937
|
|
|
9991
|
-
|
|
9938
|
+
ignorePattern?: string[]
|
|
9992
9939
|
|
|
9993
|
-
|
|
9940
|
+
partitionByComment?: (string[] | boolean | string)
|
|
9994
9941
|
|
|
9995
|
-
|
|
9942
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
9996
9943
|
|
|
9997
|
-
|
|
9944
|
+
partitionByNewLine?: boolean
|
|
9998
9945
|
|
|
9999
9946
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10000
9947
|
|
|
10001
|
-
|
|
9948
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10002
9949
|
|
|
10003
|
-
|
|
9950
|
+
customGroups?: {
|
|
9951
|
+
[k: string]: (string | string[]) | undefined
|
|
9952
|
+
}
|
|
10004
9953
|
|
|
10005
|
-
|
|
9954
|
+
ignoreCase?: boolean
|
|
10006
9955
|
|
|
10007
|
-
|
|
9956
|
+
locales?: (string | string[])
|
|
10008
9957
|
|
|
10009
9958
|
groups?: (string | string[])[]
|
|
10010
9959
|
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
9960
|
+
order?: ("asc" | "desc")
|
|
9961
|
+
|
|
9962
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10014
9963
|
}]
|
|
10015
9964
|
// ----- perfectionist/sort-intersection-types -----
|
|
10016
9965
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10017
9966
|
|
|
10018
|
-
|
|
9967
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10019
9968
|
|
|
10020
|
-
|
|
9969
|
+
partitionByNewLine?: boolean
|
|
9970
|
+
|
|
9971
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10021
9972
|
|
|
10022
|
-
|
|
9973
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10023
9974
|
|
|
10024
9975
|
ignoreCase?: boolean
|
|
10025
9976
|
|
|
10026
|
-
|
|
9977
|
+
locales?: (string | string[])
|
|
10027
9978
|
|
|
10028
9979
|
groups?: (string | string[])[]
|
|
10029
9980
|
|
|
10030
|
-
|
|
9981
|
+
order?: ("asc" | "desc")
|
|
10031
9982
|
|
|
10032
|
-
|
|
9983
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10033
9984
|
}]
|
|
10034
9985
|
// ----- perfectionist/sort-jsx-props -----
|
|
10035
9986
|
type PerfectionistSortJsxProps = []|[{
|
|
10036
9987
|
|
|
10037
|
-
|
|
9988
|
+
ignorePattern?: string[]
|
|
10038
9989
|
|
|
10039
|
-
|
|
9990
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10040
9991
|
|
|
10041
|
-
|
|
9992
|
+
customGroups?: {
|
|
9993
|
+
[k: string]: (string | string[]) | undefined
|
|
9994
|
+
}
|
|
10042
9995
|
|
|
10043
9996
|
ignoreCase?: boolean
|
|
10044
9997
|
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
ignorePattern?: string[]
|
|
9998
|
+
locales?: (string | string[])
|
|
10048
9999
|
|
|
10049
10000
|
groups?: (string | string[])[]
|
|
10050
10001
|
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10002
|
+
order?: ("asc" | "desc")
|
|
10003
|
+
|
|
10004
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10054
10005
|
}]
|
|
10055
10006
|
// ----- perfectionist/sort-maps -----
|
|
10056
10007
|
type PerfectionistSortMaps = []|[{
|
|
10057
10008
|
|
|
10058
|
-
|
|
10009
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10059
10010
|
|
|
10060
|
-
|
|
10011
|
+
partitionByNewLine?: boolean
|
|
10061
10012
|
|
|
10062
|
-
|
|
10013
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10063
10014
|
|
|
10064
10015
|
ignoreCase?: boolean
|
|
10065
10016
|
|
|
10066
|
-
|
|
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
|
+
})[]
|
|
10067
10063
|
|
|
10068
10064
|
partitionByComment?: (string[] | boolean | string)
|
|
10069
10065
|
|
|
10070
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")
|
|
10071
10081
|
}]
|
|
10072
10082
|
// ----- perfectionist/sort-named-exports -----
|
|
10073
10083
|
type PerfectionistSortNamedExports = []|[{
|
|
10074
10084
|
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
order?: ("asc" | "desc")
|
|
10085
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10078
10086
|
|
|
10079
|
-
|
|
10087
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10080
10088
|
|
|
10081
|
-
|
|
10089
|
+
partitionByNewLine?: boolean
|
|
10082
10090
|
|
|
10083
10091
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10084
10092
|
|
|
10085
|
-
|
|
10093
|
+
ignoreCase?: boolean
|
|
10086
10094
|
|
|
10087
|
-
|
|
10095
|
+
locales?: (string | string[])
|
|
10088
10096
|
|
|
10089
|
-
|
|
10097
|
+
order?: ("asc" | "desc")
|
|
10098
|
+
|
|
10099
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10090
10100
|
}]
|
|
10091
10101
|
// ----- perfectionist/sort-named-imports -----
|
|
10092
10102
|
type PerfectionistSortNamedImports = []|[{
|
|
10093
10103
|
|
|
10094
|
-
|
|
10104
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10095
10105
|
|
|
10096
|
-
|
|
10106
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10097
10107
|
|
|
10098
|
-
|
|
10108
|
+
ignoreAlias?: boolean
|
|
10099
10109
|
|
|
10100
|
-
|
|
10110
|
+
partitionByNewLine?: boolean
|
|
10101
10111
|
|
|
10102
10112
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10103
10113
|
|
|
10104
|
-
|
|
10114
|
+
ignoreCase?: boolean
|
|
10105
10115
|
|
|
10106
|
-
|
|
10116
|
+
locales?: (string | string[])
|
|
10107
10117
|
|
|
10108
|
-
|
|
10118
|
+
order?: ("asc" | "desc")
|
|
10109
10119
|
|
|
10110
|
-
|
|
10120
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10111
10121
|
}]
|
|
10112
10122
|
// ----- perfectionist/sort-object-types -----
|
|
10113
10123
|
type PerfectionistSortObjectTypes = []|[{
|
|
10114
10124
|
|
|
10115
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10116
|
-
|
|
10117
|
-
order?: ("asc" | "desc")
|
|
10118
|
-
|
|
10119
|
-
matcher?: ("minimatch" | "regex")
|
|
10120
|
-
|
|
10121
|
-
ignoreCase?: boolean
|
|
10122
|
-
|
|
10123
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10124
|
-
|
|
10125
10125
|
partitionByComment?: (string[] | boolean | string)
|
|
10126
10126
|
|
|
10127
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10128
|
+
|
|
10127
10129
|
partitionByNewLine?: boolean
|
|
10128
10130
|
|
|
10129
|
-
|
|
10131
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10130
10132
|
|
|
10131
|
-
|
|
10133
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10132
10134
|
|
|
10133
10135
|
customGroups?: {
|
|
10134
10136
|
[k: string]: (string | string[]) | undefined
|
|
10135
10137
|
}
|
|
10136
|
-
}]
|
|
10137
|
-
// ----- perfectionist/sort-objects -----
|
|
10138
|
-
type PerfectionistSortObjects = []|[{
|
|
10139
10138
|
|
|
10140
|
-
|
|
10139
|
+
ignoreCase?: boolean
|
|
10141
10140
|
|
|
10142
|
-
|
|
10141
|
+
locales?: (string | string[])
|
|
10143
10142
|
|
|
10144
|
-
|
|
10143
|
+
groups?: (string | string[])[]
|
|
10145
10144
|
|
|
10146
|
-
|
|
10145
|
+
order?: ("asc" | "desc")
|
|
10147
10146
|
|
|
10148
|
-
|
|
10147
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10148
|
+
}]
|
|
10149
|
+
// ----- perfectionist/sort-objects -----
|
|
10150
|
+
type PerfectionistSortObjects = []|[{
|
|
10151
|
+
|
|
10152
|
+
ignorePattern?: string[]
|
|
10149
10153
|
|
|
10150
10154
|
partitionByComment?: (string[] | boolean | string)
|
|
10151
10155
|
|
|
10152
|
-
|
|
10156
|
+
destructureOnly?: boolean
|
|
10153
10157
|
|
|
10154
10158
|
styledComponents?: boolean
|
|
10155
10159
|
|
|
10156
|
-
|
|
10160
|
+
partitionByNewLine?: boolean
|
|
10157
10161
|
|
|
10158
|
-
|
|
10162
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10159
10163
|
|
|
10160
|
-
|
|
10164
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10161
10165
|
|
|
10162
10166
|
customGroups?: {
|
|
10163
10167
|
[k: string]: (string | string[]) | undefined
|
|
10164
10168
|
}
|
|
10165
|
-
}]
|
|
10166
|
-
// ----- perfectionist/sort-sets -----
|
|
10167
|
-
type PerfectionistSortSets = []|[{
|
|
10168
|
-
|
|
10169
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10170
|
-
|
|
10171
|
-
order?: ("asc" | "desc")
|
|
10172
|
-
|
|
10173
|
-
matcher?: ("minimatch" | "regex")
|
|
10174
10169
|
|
|
10175
10170
|
ignoreCase?: boolean
|
|
10176
10171
|
|
|
10177
|
-
|
|
10172
|
+
locales?: (string | string[])
|
|
10178
10173
|
|
|
10179
|
-
|
|
10174
|
+
groups?: (string | string[])[]
|
|
10180
10175
|
|
|
10181
|
-
|
|
10176
|
+
order?: ("asc" | "desc")
|
|
10182
10177
|
|
|
10183
|
-
|
|
10178
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10184
10179
|
}]
|
|
10185
|
-
// ----- perfectionist/sort-
|
|
10186
|
-
type
|
|
10180
|
+
// ----- perfectionist/sort-sets -----
|
|
10181
|
+
type PerfectionistSortSets = []|[{
|
|
10187
10182
|
|
|
10188
|
-
|
|
10183
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10189
10184
|
|
|
10190
|
-
|
|
10185
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10186
|
+
|
|
10187
|
+
partitionByNewLine?: boolean
|
|
10191
10188
|
|
|
10192
|
-
|
|
10189
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10193
10190
|
|
|
10194
10191
|
ignoreCase?: boolean
|
|
10195
10192
|
|
|
10196
|
-
|
|
10193
|
+
locales?: (string | string[])
|
|
10197
10194
|
|
|
10198
|
-
|
|
10195
|
+
order?: ("asc" | "desc")
|
|
10199
10196
|
|
|
10200
|
-
|
|
10201
|
-
[k: string]: (string | string[]) | undefined
|
|
10202
|
-
}
|
|
10197
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10203
10198
|
}]
|
|
10204
10199
|
// ----- perfectionist/sort-switch-case -----
|
|
10205
10200
|
type PerfectionistSortSwitchCase = []|[{
|
|
10206
10201
|
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
order?: ("asc" | "desc")
|
|
10202
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10210
10203
|
|
|
10211
10204
|
ignoreCase?: boolean
|
|
10212
10205
|
|
|
10213
|
-
|
|
10206
|
+
locales?: (string | string[])
|
|
10207
|
+
|
|
10208
|
+
order?: ("asc" | "desc")
|
|
10209
|
+
|
|
10210
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10214
10211
|
}]
|
|
10215
10212
|
// ----- perfectionist/sort-union-types -----
|
|
10216
10213
|
type PerfectionistSortUnionTypes = []|[{
|
|
10217
10214
|
|
|
10218
|
-
|
|
10215
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10219
10216
|
|
|
10220
|
-
|
|
10217
|
+
partitionByNewLine?: boolean
|
|
10218
|
+
|
|
10219
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10221
10220
|
|
|
10222
|
-
|
|
10221
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10223
10222
|
|
|
10224
10223
|
ignoreCase?: boolean
|
|
10225
10224
|
|
|
10226
|
-
|
|
10225
|
+
locales?: (string | string[])
|
|
10227
10226
|
|
|
10228
10227
|
groups?: (string | string[])[]
|
|
10229
10228
|
|
|
10230
|
-
|
|
10229
|
+
order?: ("asc" | "desc")
|
|
10231
10230
|
|
|
10232
|
-
|
|
10231
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10233
10232
|
}]
|
|
10234
10233
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10235
10234
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10236
10235
|
|
|
10237
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10238
|
-
|
|
10239
|
-
order?: ("asc" | "desc")
|
|
10240
|
-
|
|
10241
|
-
matcher?: ("minimatch" | "regex")
|
|
10242
|
-
|
|
10243
|
-
ignoreCase?: boolean
|
|
10244
|
-
|
|
10245
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10246
|
-
|
|
10247
10236
|
partitionByComment?: (string[] | boolean | string)
|
|
10248
10237
|
|
|
10249
10238
|
partitionByNewLine?: boolean
|
|
10250
|
-
}]
|
|
10251
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
10252
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
10253
|
-
|
|
10254
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10255
|
-
|
|
10256
|
-
order?: ("asc" | "desc")
|
|
10257
10239
|
|
|
10258
|
-
|
|
10240
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10259
10241
|
|
|
10260
10242
|
ignoreCase?: boolean
|
|
10261
10243
|
|
|
10262
|
-
|
|
10244
|
+
locales?: (string | string[])
|
|
10263
10245
|
|
|
10264
|
-
|
|
10246
|
+
order?: ("asc" | "desc")
|
|
10265
10247
|
|
|
10266
|
-
|
|
10267
|
-
[k: string]: (string | string[]) | undefined
|
|
10268
|
-
}
|
|
10248
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10269
10249
|
}]
|
|
10270
10250
|
// ----- prefer-arrow-callback -----
|
|
10271
10251
|
type PreferArrowCallback = []|[{
|
|
@@ -10330,6 +10310,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
10330
10310
|
})]
|
|
10331
10311
|
// ----- radix -----
|
|
10332
10312
|
type Radix = []|[("always" | "as-needed")]
|
|
10313
|
+
// ----- react-dom/no-unknown-property -----
|
|
10314
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
10315
|
+
ignore?: string[]
|
|
10316
|
+
requireDataLowercase?: boolean
|
|
10317
|
+
}]
|
|
10333
10318
|
// ----- react-hooks/exhaustive-deps -----
|
|
10334
10319
|
type ReactHooksExhaustiveDeps = []|[{
|
|
10335
10320
|
additionalHooks?: string
|
|
@@ -10353,6 +10338,7 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
10353
10338
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
10354
10339
|
allow?: ("always" | "as-needed")
|
|
10355
10340
|
extensions?: string[]
|
|
10341
|
+
ignoreFilesWithoutCode?: boolean
|
|
10356
10342
|
})]
|
|
10357
10343
|
// ----- react-refresh/only-export-components -----
|
|
10358
10344
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
@@ -11722,7 +11708,7 @@ type TestConsistentTestIt = []|[{
|
|
|
11722
11708
|
}]
|
|
11723
11709
|
// ----- test/expect-expect -----
|
|
11724
11710
|
type TestExpectExpect = []|[{
|
|
11725
|
-
assertFunctionNames?: []
|
|
11711
|
+
assertFunctionNames?: string[]
|
|
11726
11712
|
additionalTestBlockFunctions?: string[]
|
|
11727
11713
|
}]
|
|
11728
11714
|
// ----- test/max-expects -----
|
|
@@ -14152,6 +14138,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
14152
14138
|
type VueNoReservedComponentNames = []|[{
|
|
14153
14139
|
disallowVueBuiltInComponents?: boolean
|
|
14154
14140
|
disallowVue3BuiltInComponents?: boolean
|
|
14141
|
+
htmlElementCaseSensitive?: boolean
|
|
14155
14142
|
}]
|
|
14156
14143
|
// ----- vue/no-reserved-keys -----
|
|
14157
14144
|
type VueNoReservedKeys = []|[{
|
|
@@ -14718,9 +14705,131 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14718
14705
|
exceptRange?: boolean
|
|
14719
14706
|
onlyEquality?: boolean
|
|
14720
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
|
+
}
|
|
14721
14829
|
|
|
14722
14830
|
type Awaitable<T> = T | Promise<T>;
|
|
14723
14831
|
type Rules = RuleOptions;
|
|
14832
|
+
|
|
14724
14833
|
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
|
|
14725
14834
|
/**
|
|
14726
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.
|
|
@@ -14744,6 +14853,7 @@ interface OptionsVue {
|
|
|
14744
14853
|
*/
|
|
14745
14854
|
sfcBlocks?: boolean | Options;
|
|
14746
14855
|
}
|
|
14856
|
+
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
|
|
14747
14857
|
interface OptionsFormatters {
|
|
14748
14858
|
/**
|
|
14749
14859
|
* 启用对 CSS、Less、Sass 和 SCSS 的格式化支持.
|
|
@@ -14822,7 +14932,7 @@ interface OptionsTypeScriptParserOptions {
|
|
|
14822
14932
|
*/
|
|
14823
14933
|
filesTypeAware?: string[];
|
|
14824
14934
|
/**
|
|
14825
|
-
* Glob
|
|
14935
|
+
* 不应具有类型感知的文件的 Glob 模式。
|
|
14826
14936
|
* @default ['**\/*.md\/**']
|
|
14827
14937
|
*/
|
|
14828
14938
|
ignoresTypeAware?: string[];
|
|
@@ -14833,11 +14943,21 @@ interface OptionsTypeScriptWithTypes {
|
|
|
14833
14943
|
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
14834
14944
|
*/
|
|
14835
14945
|
tsconfigPath?: string;
|
|
14946
|
+
/**
|
|
14947
|
+
* 覆盖类型感知规则
|
|
14948
|
+
*/
|
|
14949
|
+
overridesTypeAware?: TypedFlatConfigItem['rules'];
|
|
14836
14950
|
}
|
|
14837
14951
|
interface OptionsHasTypeScript {
|
|
14952
|
+
/**
|
|
14953
|
+
* 是否开启 typescript
|
|
14954
|
+
*/
|
|
14838
14955
|
typescript?: boolean;
|
|
14839
14956
|
}
|
|
14840
14957
|
interface OptionsStylistic {
|
|
14958
|
+
/**
|
|
14959
|
+
* 是否开启 stylistic
|
|
14960
|
+
*/
|
|
14841
14961
|
stylistic?: boolean | StylisticConfig;
|
|
14842
14962
|
}
|
|
14843
14963
|
interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes' | 'jsx' | 'semi'> {
|
|
@@ -14876,12 +14996,6 @@ interface OptionsIgnores {
|
|
|
14876
14996
|
interface OptionsIsInEditor {
|
|
14877
14997
|
isInEditor?: boolean;
|
|
14878
14998
|
}
|
|
14879
|
-
interface OptionsReact {
|
|
14880
|
-
tsconfigPath?: string | string[];
|
|
14881
|
-
jsx?: boolean;
|
|
14882
|
-
/** react 版本 */
|
|
14883
|
-
version?: string;
|
|
14884
|
-
}
|
|
14885
14999
|
interface OptionsUnoCSS {
|
|
14886
15000
|
/**
|
|
14887
15001
|
* 启用 attributify 支持.
|
|
@@ -14904,6 +15018,10 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14904
15018
|
* @default true
|
|
14905
15019
|
*/
|
|
14906
15020
|
gitignore?: boolean | FlatGitignoreOptions;
|
|
15021
|
+
/**
|
|
15022
|
+
* Core rules. Can't be disabled.
|
|
15023
|
+
*/
|
|
15024
|
+
javascript?: boolean;
|
|
14907
15025
|
/**
|
|
14908
15026
|
* 启用 TypeScript 支持.
|
|
14909
15027
|
*
|
|
@@ -14938,6 +15056,43 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14938
15056
|
* @default 根据依赖关系自动检测
|
|
14939
15057
|
*/
|
|
14940
15058
|
vue?: boolean | OptionsFiles | OptionsVue;
|
|
15059
|
+
/**
|
|
15060
|
+
* 启用 JSONC 支持.
|
|
15061
|
+
*
|
|
15062
|
+
* @default true
|
|
15063
|
+
*/
|
|
15064
|
+
jsonc?: boolean | OptionsFiles;
|
|
15065
|
+
/**
|
|
15066
|
+
* 启用 YAML 支持.
|
|
15067
|
+
*
|
|
15068
|
+
* @default true
|
|
15069
|
+
*/
|
|
15070
|
+
yaml?: boolean | OptionsFiles;
|
|
15071
|
+
/**
|
|
15072
|
+
* 启用 TOML 支持.
|
|
15073
|
+
*
|
|
15074
|
+
* @default false
|
|
15075
|
+
*/
|
|
15076
|
+
toml?: boolean;
|
|
15077
|
+
/**
|
|
15078
|
+
* 启用 Markdown 支持.
|
|
15079
|
+
*
|
|
15080
|
+
* @default true
|
|
15081
|
+
*/
|
|
15082
|
+
markdown?: boolean | OptionsFiles;
|
|
15083
|
+
/**
|
|
15084
|
+
* 启用 stylistic 规则.
|
|
15085
|
+
*
|
|
15086
|
+
* @default true
|
|
15087
|
+
*/
|
|
15088
|
+
stylistic?: boolean | StylisticConfig;
|
|
15089
|
+
/**
|
|
15090
|
+
* 启用 regexp 规则.
|
|
15091
|
+
*
|
|
15092
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
15093
|
+
* @default true
|
|
15094
|
+
*/
|
|
15095
|
+
regexp?: boolean | (OptionsRegExp & OptionsOverrides);
|
|
14941
15096
|
/**
|
|
14942
15097
|
* 启用 React 支持.
|
|
14943
15098
|
*
|
|
@@ -14948,17 +15103,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14948
15103
|
*
|
|
14949
15104
|
* @default 根据依赖关系自动检测
|
|
14950
15105
|
*/
|
|
14951
|
-
react?: boolean |
|
|
14952
|
-
/**
|
|
14953
|
-
* 启用 svelte 支持.
|
|
14954
|
-
*
|
|
14955
|
-
* 需要安装:
|
|
14956
|
-
* - `eslint-plugin-svelte`
|
|
14957
|
-
* - `svelte-eslint-parser`
|
|
14958
|
-
*
|
|
14959
|
-
* @default false
|
|
14960
|
-
*/
|
|
14961
|
-
svelte?: boolean;
|
|
15106
|
+
react?: boolean | OptionsFiles;
|
|
14962
15107
|
/**
|
|
14963
15108
|
* 启用 unocss rules.
|
|
14964
15109
|
*
|
|
@@ -14985,50 +15130,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
14985
15130
|
* }
|
|
14986
15131
|
*/
|
|
14987
15132
|
formatters?: boolean | OptionsFormatters;
|
|
14988
|
-
/**
|
|
14989
|
-
* 启用 JSONC 支持.
|
|
14990
|
-
*
|
|
14991
|
-
* @default true
|
|
14992
|
-
*/
|
|
14993
|
-
jsonc?: boolean | OptionsFiles;
|
|
14994
|
-
/**
|
|
14995
|
-
* 启用 YAML 支持.
|
|
14996
|
-
*
|
|
14997
|
-
* @default true
|
|
14998
|
-
*/
|
|
14999
|
-
yaml?: boolean | OptionsFiles;
|
|
15000
|
-
/**
|
|
15001
|
-
* 启用 TOML 支持.
|
|
15002
|
-
*
|
|
15003
|
-
* @default false
|
|
15004
|
-
*/
|
|
15005
|
-
toml?: boolean;
|
|
15006
|
-
/**
|
|
15007
|
-
* 启用 Markdown 支持.
|
|
15008
|
-
*
|
|
15009
|
-
* @default true
|
|
15010
|
-
*/
|
|
15011
|
-
markdown?: boolean | OptionsFiles;
|
|
15012
|
-
/**
|
|
15013
|
-
* 启用 stylistic 规则.
|
|
15014
|
-
*
|
|
15015
|
-
* @default true
|
|
15016
|
-
*/
|
|
15017
|
-
stylistic?: boolean | StylisticConfig;
|
|
15018
|
-
/**
|
|
15019
|
-
* Enable regexp rules.
|
|
15020
|
-
*
|
|
15021
|
-
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
15022
|
-
* @default true
|
|
15023
|
-
*/
|
|
15024
|
-
regexp?: boolean | OptionsRegExp;
|
|
15025
15133
|
/**
|
|
15026
15134
|
* 控制再编辑器中禁用某些规则.
|
|
15027
15135
|
* @default 基于 process.env 自动检测
|
|
15028
15136
|
*/
|
|
15029
15137
|
isInEditor?: boolean;
|
|
15030
15138
|
/**
|
|
15031
|
-
*
|
|
15139
|
+
* 在配置中自动重命名插件.
|
|
15032
15140
|
*
|
|
15033
15141
|
* @default true
|
|
15034
15142
|
*/
|
|
@@ -15073,9 +15181,19 @@ declare const defaultPluginRenaming: {
|
|
|
15073
15181
|
yml: string;
|
|
15074
15182
|
};
|
|
15075
15183
|
/**
|
|
15076
|
-
*
|
|
15184
|
+
* 构建 ESLint 平面配置项数组
|
|
15185
|
+
*
|
|
15186
|
+
* @param {OptionsConfig & TypedFlatConfigItem} options
|
|
15187
|
+
* 生成 ESLint 配置的选项
|
|
15188
|
+
* @param {Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]} userConfigs
|
|
15189
|
+
* 要与生成的配置合并的用户配置
|
|
15190
|
+
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
15191
|
+
* 合并的 ESLint 配置
|
|
15077
15192
|
*/
|
|
15078
|
-
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>;
|
|
15079
15197
|
|
|
15080
15198
|
declare function comments(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15081
15199
|
|
|
@@ -15106,7 +15224,7 @@ declare function node(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]
|
|
|
15106
15224
|
*/
|
|
15107
15225
|
declare function perfectionist(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15108
15226
|
|
|
15109
|
-
declare function react(options?:
|
|
15227
|
+
declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15110
15228
|
|
|
15111
15229
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15112
15230
|
|
|
@@ -15138,7 +15256,7 @@ declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<Typ
|
|
|
15138
15256
|
|
|
15139
15257
|
declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
15140
15258
|
|
|
15141
|
-
declare function yaml(options?:
|
|
15259
|
+
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15142
15260
|
|
|
15143
15261
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15144
15262
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -15211,4 +15329,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
15211
15329
|
declare function isInEditorEnv(): boolean;
|
|
15212
15330
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
15213
15331
|
|
|
15214
|
-
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type
|
|
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 };
|