@vinicunca/eslint-config 2.4.4 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +39 -30
- package/dist/index.d.cts +300 -307
- package/dist/index.d.ts +300 -307
- package/dist/index.js +41 -34
- package/package.json +26 -27
package/dist/index.d.ts
CHANGED
|
@@ -4,12 +4,13 @@ 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
|
-
export { default as
|
|
7
|
+
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
8
8
|
export { default as pluginComments } from 'eslint-plugin-eslint-comments';
|
|
9
9
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
10
10
|
export { eslintPluginImportX as pluginImport };
|
|
11
11
|
export { default as pluginNode } from 'eslint-plugin-n';
|
|
12
12
|
export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
|
|
13
|
+
export { default as pluginSonar } from 'eslint-plugin-sonarjs';
|
|
13
14
|
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
14
15
|
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
15
16
|
|
|
@@ -23,6 +24,46 @@ interface RuleOptions {
|
|
|
23
24
|
* @see https://eslint.org/docs/latest/rules/accessor-pairs
|
|
24
25
|
*/
|
|
25
26
|
'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
|
|
27
|
+
/**
|
|
28
|
+
* Having line breaks styles to object, array and named imports
|
|
29
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
30
|
+
*/
|
|
31
|
+
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
32
|
+
/**
|
|
33
|
+
* Newline after if
|
|
34
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
|
|
35
|
+
*/
|
|
36
|
+
'antfu/if-newline'?: Linter.RuleEntry<[]>
|
|
37
|
+
/**
|
|
38
|
+
* Fix duplication in imports
|
|
39
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
40
|
+
*/
|
|
41
|
+
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
42
|
+
/**
|
|
43
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
44
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
45
|
+
*/
|
|
46
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
47
|
+
/**
|
|
48
|
+
* Prevent importing modules in `dist` folder
|
|
49
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
50
|
+
*/
|
|
51
|
+
'antfu/no-import-dist'?: Linter.RuleEntry<[]>
|
|
52
|
+
/**
|
|
53
|
+
* Prevent importing modules in `node_modules` folder by relative or absolute path
|
|
54
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.test.ts
|
|
55
|
+
*/
|
|
56
|
+
'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>
|
|
57
|
+
/**
|
|
58
|
+
* Do not use `exports =`
|
|
59
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.test.ts
|
|
60
|
+
*/
|
|
61
|
+
'antfu/no-ts-export-equal'?: Linter.RuleEntry<[]>
|
|
62
|
+
/**
|
|
63
|
+
* Enforce top-level functions to be declared with function keyword
|
|
64
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/top-level-function.md
|
|
65
|
+
*/
|
|
66
|
+
'antfu/top-level-function'?: Linter.RuleEntry<[]>
|
|
26
67
|
/**
|
|
27
68
|
* Enforce linebreaks after opening and before closing array brackets
|
|
28
69
|
* @see https://eslint.org/docs/latest/rules/array-bracket-newline
|
|
@@ -2304,6 +2345,11 @@ interface RuleOptions {
|
|
|
2304
2345
|
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
|
|
2305
2346
|
*/
|
|
2306
2347
|
'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
|
|
2348
|
+
/**
|
|
2349
|
+
* enforce sorted intersection types
|
|
2350
|
+
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
|
|
2351
|
+
*/
|
|
2352
|
+
'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
|
|
2307
2353
|
/**
|
|
2308
2354
|
* enforce sorted JSX props
|
|
2309
2355
|
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
|
|
@@ -3199,6 +3245,11 @@ interface RuleOptions {
|
|
|
3199
3245
|
* @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
|
|
3200
3246
|
*/
|
|
3201
3247
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
|
|
3248
|
+
/**
|
|
3249
|
+
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
3250
|
+
* @see https://eslint.style/rules/jsx/jsx-function-call-newline
|
|
3251
|
+
*/
|
|
3252
|
+
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
|
|
3202
3253
|
/**
|
|
3203
3254
|
* Enforce JSX indentation
|
|
3204
3255
|
* @see https://eslint.style/rules/jsx/jsx-indent
|
|
@@ -3269,6 +3320,11 @@ interface RuleOptions {
|
|
|
3269
3320
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3270
3321
|
*/
|
|
3271
3322
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3323
|
+
/**
|
|
3324
|
+
* Enforce position of line comments
|
|
3325
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3326
|
+
*/
|
|
3327
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3272
3328
|
/**
|
|
3273
3329
|
* Enforce consistent linebreak style
|
|
3274
3330
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3299,6 +3355,11 @@ interface RuleOptions {
|
|
|
3299
3355
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3300
3356
|
*/
|
|
3301
3357
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3358
|
+
/**
|
|
3359
|
+
* Enforce a particular style for multiline comments
|
|
3360
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3361
|
+
*/
|
|
3362
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3302
3363
|
/**
|
|
3303
3364
|
* Enforce newlines between operands of ternary expressions
|
|
3304
3365
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -3607,7 +3668,7 @@ interface RuleOptions {
|
|
|
3607
3668
|
* disallow focused tests
|
|
3608
3669
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
|
|
3609
3670
|
*/
|
|
3610
|
-
'test/no-focused-tests'?: Linter.RuleEntry<
|
|
3671
|
+
'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
|
|
3611
3672
|
/**
|
|
3612
3673
|
* disallow setup and teardown hooks
|
|
3613
3674
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
|
|
@@ -4548,652 +4609,677 @@ interface RuleOptions {
|
|
|
4548
4609
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4549
4610
|
/**
|
|
4550
4611
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
4552
4613
|
*/
|
|
4553
4614
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4554
4615
|
/**
|
|
4555
4616
|
* Enforce a specific parameter name in catch clauses.
|
|
4556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
4557
4618
|
*/
|
|
4558
4619
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4559
4620
|
/**
|
|
4560
4621
|
* Use destructured variables over properties.
|
|
4561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
4562
4623
|
*/
|
|
4563
4624
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4625
|
+
/**
|
|
4626
|
+
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4628
|
+
*/
|
|
4629
|
+
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4564
4630
|
/**
|
|
4565
4631
|
* Move function definitions to the highest possible scope.
|
|
4566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
4567
4633
|
*/
|
|
4568
4634
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4569
4635
|
/**
|
|
4570
4636
|
* Enforce correct `Error` subclassing.
|
|
4571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
4572
4638
|
*/
|
|
4573
4639
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4574
4640
|
/**
|
|
4575
4641
|
* Enforce no spaces between braces.
|
|
4576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
4577
4643
|
*/
|
|
4578
4644
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4579
4645
|
/**
|
|
4580
4646
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
4582
4648
|
*/
|
|
4583
4649
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4584
4650
|
/**
|
|
4585
4651
|
* Require escape sequences to use uppercase values.
|
|
4586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
4587
4653
|
*/
|
|
4588
4654
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4589
4655
|
/**
|
|
4590
4656
|
* Add expiration conditions to TODO comments.
|
|
4591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
4592
4658
|
*/
|
|
4593
4659
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4594
4660
|
/**
|
|
4595
4661
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
4597
4663
|
*/
|
|
4598
4664
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4599
4665
|
/**
|
|
4600
4666
|
* Enforce a case style for filenames.
|
|
4601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
4602
4668
|
*/
|
|
4603
4669
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4604
4670
|
/**
|
|
4605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
4606
4672
|
* @deprecated
|
|
4607
4673
|
*/
|
|
4608
4674
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4609
4675
|
/**
|
|
4610
4676
|
* Enforce specific import styles per module.
|
|
4611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
4612
4678
|
*/
|
|
4613
4679
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4614
4680
|
/**
|
|
4615
4681
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
4617
4683
|
*/
|
|
4618
4684
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4619
4685
|
/**
|
|
4620
4686
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4622
4688
|
*/
|
|
4623
4689
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4624
4690
|
/**
|
|
4625
4691
|
* Disallow anonymous functions and classes as the default export.
|
|
4626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
4627
4693
|
*/
|
|
4628
4694
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4629
4695
|
/**
|
|
4630
4696
|
* Prevent passing a function reference directly to iterator methods.
|
|
4631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
4632
4698
|
*/
|
|
4633
4699
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4634
4700
|
/**
|
|
4635
4701
|
* Prefer `for…of` over the `forEach` method.
|
|
4636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
4637
4703
|
*/
|
|
4638
4704
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4639
4705
|
/**
|
|
4640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4641
4707
|
* @deprecated
|
|
4642
4708
|
*/
|
|
4643
4709
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4644
4710
|
/**
|
|
4645
4711
|
* Disallow using the `this` argument in array methods.
|
|
4646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
4647
4713
|
*/
|
|
4648
4714
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4649
4715
|
/**
|
|
4650
4716
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
4652
4718
|
*/
|
|
4653
4719
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4654
4720
|
/**
|
|
4655
4721
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
4657
4723
|
*/
|
|
4658
4724
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4659
4725
|
/**
|
|
4660
4726
|
* Disallow member access from await expression.
|
|
4661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
4662
4728
|
*/
|
|
4663
4729
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4664
4730
|
/**
|
|
4665
4731
|
* Disallow using `await` in `Promise` method parameters.
|
|
4666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4667
4733
|
*/
|
|
4668
4734
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4669
4735
|
/**
|
|
4670
4736
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
4672
4738
|
*/
|
|
4673
4739
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4674
4740
|
/**
|
|
4675
4741
|
* Do not use `document.cookie` directly.
|
|
4676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
4677
4743
|
*/
|
|
4678
4744
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4679
4745
|
/**
|
|
4680
4746
|
* Disallow empty files.
|
|
4681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
4682
4748
|
*/
|
|
4683
4749
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4684
4750
|
/**
|
|
4685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4686
4752
|
* @deprecated
|
|
4687
4753
|
*/
|
|
4688
4754
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4689
4755
|
/**
|
|
4690
4756
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
4692
4758
|
*/
|
|
4693
4759
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4694
4760
|
/**
|
|
4695
4761
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
4697
4763
|
*/
|
|
4698
4764
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4699
4765
|
/**
|
|
4700
4766
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
4702
4768
|
*/
|
|
4703
4769
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4770
|
+
/**
|
|
4771
|
+
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4773
|
+
*/
|
|
4774
|
+
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4704
4775
|
/**
|
|
4705
4776
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4707
4778
|
*/
|
|
4708
4779
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4709
4780
|
/**
|
|
4710
4781
|
* Disallow identifiers starting with `new` or `class`.
|
|
4711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
4712
4783
|
*/
|
|
4713
4784
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4714
4785
|
/**
|
|
4715
4786
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
4717
4788
|
*/
|
|
4718
4789
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4790
|
+
/**
|
|
4791
|
+
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4793
|
+
*/
|
|
4794
|
+
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4719
4795
|
/**
|
|
4720
4796
|
* Disallow negated conditions.
|
|
4721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
4722
4798
|
*/
|
|
4723
4799
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4724
4800
|
/**
|
|
4725
4801
|
* Disallow nested ternary expressions.
|
|
4726
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
4727
4803
|
*/
|
|
4728
4804
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4729
4805
|
/**
|
|
4730
4806
|
* Disallow `new Array()`.
|
|
4731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
4732
4808
|
*/
|
|
4733
4809
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4734
4810
|
/**
|
|
4735
4811
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
4737
4813
|
*/
|
|
4738
4814
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4739
4815
|
/**
|
|
4740
4816
|
* Disallow the use of the `null` literal.
|
|
4741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
4742
4818
|
*/
|
|
4743
4819
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4744
4820
|
/**
|
|
4745
4821
|
* Disallow the use of objects as default parameters.
|
|
4746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4747
4823
|
*/
|
|
4748
4824
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4749
4825
|
/**
|
|
4750
4826
|
* Disallow `process.exit()`.
|
|
4751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
4752
4828
|
*/
|
|
4753
4829
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4754
4830
|
/**
|
|
4755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
4756
4832
|
* @deprecated
|
|
4757
4833
|
*/
|
|
4758
4834
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4759
4835
|
/**
|
|
4760
4836
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4762
4838
|
*/
|
|
4763
4839
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4764
4840
|
/**
|
|
4765
4841
|
* Disallow classes that only have static members.
|
|
4766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
4767
4843
|
*/
|
|
4768
4844
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4769
4845
|
/**
|
|
4770
4846
|
* Disallow `then` property.
|
|
4771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
4772
4848
|
*/
|
|
4773
4849
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4774
4850
|
/**
|
|
4775
4851
|
* Disallow assigning `this` to a variable.
|
|
4776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
4777
4853
|
*/
|
|
4778
4854
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4779
4855
|
/**
|
|
4780
4856
|
* Disallow comparing `undefined` using `typeof`.
|
|
4781
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
4782
4858
|
*/
|
|
4783
4859
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4784
4860
|
/**
|
|
4785
4861
|
* Disallow awaiting non-promise values.
|
|
4786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
4787
4863
|
*/
|
|
4788
4864
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4789
4865
|
/**
|
|
4790
4866
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4791
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4792
4868
|
*/
|
|
4793
4869
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4794
4870
|
/**
|
|
4795
4871
|
* Disallow unreadable array destructuring.
|
|
4796
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4797
4873
|
*/
|
|
4798
4874
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4799
4875
|
/**
|
|
4800
4876
|
* Disallow unreadable IIFEs.
|
|
4801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
4802
4878
|
*/
|
|
4803
4879
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4804
4880
|
/**
|
|
4805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4806
4882
|
* @deprecated
|
|
4807
4883
|
*/
|
|
4808
4884
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4809
4885
|
/**
|
|
4810
4886
|
* Disallow unused object properties.
|
|
4811
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
4812
4888
|
*/
|
|
4813
4889
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4814
4890
|
/**
|
|
4815
4891
|
* Disallow useless fallback when spreading in object literals.
|
|
4816
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4817
4893
|
*/
|
|
4818
4894
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4819
4895
|
/**
|
|
4820
4896
|
* Disallow useless array length check.
|
|
4821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
4822
4898
|
*/
|
|
4823
4899
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4824
4900
|
/**
|
|
4825
4901
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4826
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4827
4903
|
*/
|
|
4828
4904
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4829
4905
|
/**
|
|
4830
4906
|
* Disallow unnecessary spread.
|
|
4831
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
4832
4908
|
*/
|
|
4833
4909
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4834
4910
|
/**
|
|
4835
4911
|
* Disallow useless case in switch statements.
|
|
4836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
4837
4913
|
*/
|
|
4838
4914
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4839
4915
|
/**
|
|
4840
4916
|
* Disallow useless `undefined`.
|
|
4841
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
4842
4918
|
*/
|
|
4843
4919
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4844
4920
|
/**
|
|
4845
4921
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4846
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
4847
4923
|
*/
|
|
4848
4924
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4849
4925
|
/**
|
|
4850
4926
|
* Enforce proper case for numeric literals.
|
|
4851
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
4852
4928
|
*/
|
|
4853
4929
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4854
4930
|
/**
|
|
4855
4931
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
4857
4933
|
*/
|
|
4858
4934
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4859
4935
|
/**
|
|
4860
4936
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
4862
4938
|
*/
|
|
4863
4939
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4864
4940
|
/**
|
|
4865
4941
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
4867
4943
|
*/
|
|
4868
4944
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4869
4945
|
/**
|
|
4870
4946
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
4872
4948
|
*/
|
|
4873
4949
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4874
4950
|
/**
|
|
4875
4951
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
4877
4953
|
*/
|
|
4878
4954
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4879
4955
|
/**
|
|
4880
4956
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
4882
4958
|
*/
|
|
4883
4959
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4884
4960
|
/**
|
|
4885
4961
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
4886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
4887
4963
|
*/
|
|
4888
4964
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4889
4965
|
/**
|
|
4890
4966
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
4892
4968
|
*/
|
|
4893
4969
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4894
4970
|
/**
|
|
4895
4971
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4972
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4897
4973
|
*/
|
|
4898
4974
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4899
4975
|
/**
|
|
4900
4976
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4977
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
4902
4978
|
*/
|
|
4903
4979
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4904
4980
|
/**
|
|
4905
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4906
4982
|
* @deprecated
|
|
4907
4983
|
*/
|
|
4908
4984
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4909
4985
|
/**
|
|
4910
4986
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4987
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
4912
4988
|
*/
|
|
4913
4989
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4914
4990
|
/**
|
|
4915
4991
|
* Prefer default parameters over reassignment.
|
|
4916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4992
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
4917
4993
|
*/
|
|
4918
4994
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4919
4995
|
/**
|
|
4920
4996
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4997
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
4922
4998
|
*/
|
|
4923
4999
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4924
5000
|
/**
|
|
4925
5001
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5002
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4927
5003
|
*/
|
|
4928
5004
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4929
5005
|
/**
|
|
4930
5006
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4932
5008
|
*/
|
|
4933
5009
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4934
5010
|
/**
|
|
4935
5011
|
* Prefer `.textContent` over `.innerText`.
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4937
5013
|
*/
|
|
4938
5014
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4939
5015
|
/**
|
|
4940
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4941
5017
|
* @deprecated
|
|
4942
5018
|
*/
|
|
4943
5019
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4944
5020
|
/**
|
|
4945
5021
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5022
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
4947
5023
|
*/
|
|
4948
5024
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4949
5025
|
/**
|
|
4950
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4951
5027
|
* @deprecated
|
|
4952
5028
|
*/
|
|
4953
5029
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4954
5030
|
/**
|
|
4955
5031
|
* Prefer `export…from` when re-exporting.
|
|
4956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
4957
5033
|
*/
|
|
4958
5034
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4959
5035
|
/**
|
|
4960
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4961
5037
|
* @deprecated
|
|
4962
5038
|
*/
|
|
4963
5039
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4964
5040
|
/**
|
|
4965
5041
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
4966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
4967
5043
|
*/
|
|
4968
5044
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4969
5045
|
/**
|
|
4970
5046
|
* Prefer reading a JSON file as a buffer.
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4972
5048
|
*/
|
|
4973
5049
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4974
5050
|
/**
|
|
4975
5051
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4977
5053
|
*/
|
|
4978
5054
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4979
5055
|
/**
|
|
4980
5056
|
* Prefer using a logical operator over a ternary.
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4982
5058
|
*/
|
|
4983
5059
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4984
5060
|
/**
|
|
4985
5061
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
4987
5063
|
*/
|
|
4988
5064
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4989
5065
|
/**
|
|
4990
5066
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4992
5068
|
*/
|
|
4993
5069
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4994
5070
|
/**
|
|
4995
5071
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4997
5073
|
*/
|
|
4998
5074
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4999
5075
|
/**
|
|
5000
5076
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
5002
5078
|
*/
|
|
5003
5079
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5004
5080
|
/**
|
|
5005
5081
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5007
5083
|
*/
|
|
5008
5084
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5009
5085
|
/**
|
|
5010
5086
|
* Prefer negative index over `.length - index` when possible.
|
|
5011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
5012
5088
|
*/
|
|
5013
5089
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5014
5090
|
/**
|
|
5015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5016
5092
|
* @deprecated
|
|
5017
5093
|
*/
|
|
5018
5094
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5019
5095
|
/**
|
|
5020
5096
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
5022
5098
|
*/
|
|
5023
5099
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5024
5100
|
/**
|
|
5025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5026
5102
|
* @deprecated
|
|
5027
5103
|
*/
|
|
5028
5104
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5029
5105
|
/**
|
|
5030
5106
|
* Prefer `Number` static properties over global ones.
|
|
5031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5107
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
5032
5108
|
*/
|
|
5033
5109
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5034
5110
|
/**
|
|
5035
5111
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
5037
5113
|
*/
|
|
5038
5114
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5039
5115
|
/**
|
|
5040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5041
5117
|
* @deprecated
|
|
5042
5118
|
*/
|
|
5043
5119
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5044
5120
|
/**
|
|
5045
5121
|
* Prefer omitting the `catch` binding parameter.
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5047
5123
|
*/
|
|
5048
5124
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5049
5125
|
/**
|
|
5050
5126
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5051
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
5052
5128
|
*/
|
|
5053
5129
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5054
5130
|
/**
|
|
5055
5131
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
5057
5133
|
*/
|
|
5058
5134
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5059
5135
|
/**
|
|
5060
5136
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5061
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
5062
5138
|
*/
|
|
5063
5139
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5064
5140
|
/**
|
|
5065
5141
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
5067
5143
|
*/
|
|
5068
5144
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5069
5145
|
/**
|
|
5070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5071
5147
|
* @deprecated
|
|
5072
5148
|
*/
|
|
5073
5149
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5074
5150
|
/**
|
|
5075
5151
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
5077
5153
|
*/
|
|
5078
5154
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5079
5155
|
/**
|
|
5080
5156
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
5082
5158
|
*/
|
|
5083
5159
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5084
5160
|
/**
|
|
5085
5161
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
5087
5163
|
*/
|
|
5088
5164
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5089
5165
|
/**
|
|
5090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5091
5167
|
* @deprecated
|
|
5092
5168
|
*/
|
|
5093
5169
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5170
|
+
/**
|
|
5171
|
+
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
|
|
5173
|
+
*/
|
|
5174
|
+
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5094
5175
|
/**
|
|
5095
5176
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
5097
5178
|
*/
|
|
5098
5179
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5099
5180
|
/**
|
|
5100
5181
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
5102
5183
|
*/
|
|
5103
5184
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5104
5185
|
/**
|
|
5105
5186
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5107
5188
|
*/
|
|
5108
5189
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5109
5190
|
/**
|
|
5110
5191
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5112
5193
|
*/
|
|
5113
5194
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5195
|
+
/**
|
|
5196
|
+
* Prefer using `structuredClone` to create a deep clone.
|
|
5197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
|
|
5198
|
+
*/
|
|
5199
|
+
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5114
5200
|
/**
|
|
5115
5201
|
* Prefer `switch` over multiple `else-if`.
|
|
5116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
5117
5203
|
*/
|
|
5118
5204
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5119
5205
|
/**
|
|
5120
5206
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
5122
5208
|
*/
|
|
5123
5209
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5124
5210
|
/**
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5126
5212
|
* @deprecated
|
|
5127
5213
|
*/
|
|
5128
5214
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5129
5215
|
/**
|
|
5130
5216
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5132
5218
|
*/
|
|
5133
5219
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5134
5220
|
/**
|
|
5135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5136
5222
|
* @deprecated
|
|
5137
5223
|
*/
|
|
5138
5224
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5139
5225
|
/**
|
|
5140
5226
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5142
5228
|
*/
|
|
5143
5229
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5144
5230
|
/**
|
|
5145
5231
|
* Prevent abbreviations.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5147
5233
|
*/
|
|
5148
5234
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5149
5235
|
/**
|
|
5150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5151
5237
|
* @deprecated
|
|
5152
5238
|
*/
|
|
5153
5239
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5154
5240
|
/**
|
|
5155
5241
|
* Enforce consistent relative URL style.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5157
5243
|
*/
|
|
5158
5244
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5159
5245
|
/**
|
|
5160
5246
|
* Enforce using the separator argument with `Array#join()`.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5162
5248
|
*/
|
|
5163
5249
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5164
5250
|
/**
|
|
5165
5251
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5167
5253
|
*/
|
|
5168
5254
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5169
5255
|
/**
|
|
5170
5256
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5172
5258
|
*/
|
|
5173
5259
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5174
5260
|
/**
|
|
5175
5261
|
* Enforce better string content.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5177
5263
|
*/
|
|
5178
5264
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5179
5265
|
/**
|
|
5180
5266
|
* Enforce consistent brace style for `case` clauses.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5182
5268
|
*/
|
|
5183
5269
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5184
5270
|
/**
|
|
5185
5271
|
* Fix whitespace-insensitive template indentation.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5187
5273
|
*/
|
|
5188
5274
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5189
5275
|
/**
|
|
5190
5276
|
* Enforce consistent case for text encoding identifiers.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5192
5278
|
*/
|
|
5193
5279
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5194
5280
|
/**
|
|
5195
|
-
* Require `new` when
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* Require `new` when creating an error.
|
|
5282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
5197
5283
|
*/
|
|
5198
5284
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5199
5285
|
/**
|
|
@@ -5251,121 +5337,6 @@ interface RuleOptions {
|
|
|
5251
5337
|
* @see https://eslint.org/docs/latest/rules/vars-on-top
|
|
5252
5338
|
*/
|
|
5253
5339
|
'vars-on-top'?: Linter.RuleEntry<[]>
|
|
5254
|
-
/**
|
|
5255
|
-
* Cognitive Complexity of functions should not be too high
|
|
5256
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/cognitive-complexity
|
|
5257
|
-
*/
|
|
5258
|
-
'vinicunca/cognitive-complexity'?: Linter.RuleEntry<VinicuncaCognitiveComplexity>
|
|
5259
|
-
/**
|
|
5260
|
-
* Having line breaks styles to object, array and named imports
|
|
5261
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/consistent-list-newline
|
|
5262
|
-
*/
|
|
5263
|
-
'vinicunca/consistent-list-newline'?: Linter.RuleEntry<VinicuncaConsistentListNewline>
|
|
5264
|
-
/**
|
|
5265
|
-
* Newline after if
|
|
5266
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/if-newline
|
|
5267
|
-
*/
|
|
5268
|
-
'vinicunca/if-newline'?: Linter.RuleEntry<[]>
|
|
5269
|
-
/**
|
|
5270
|
-
* Fix duplication in imports
|
|
5271
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/import-dedupe
|
|
5272
|
-
*/
|
|
5273
|
-
'vinicunca/import-dedupe'?: Linter.RuleEntry<[]>
|
|
5274
|
-
/**
|
|
5275
|
-
* All branches in a conditional structure should not have exactly the same implementation
|
|
5276
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-all-duplicated-branches
|
|
5277
|
-
*/
|
|
5278
|
-
'vinicunca/no-all-duplicated-branches'?: Linter.RuleEntry<[]>
|
|
5279
|
-
/**
|
|
5280
|
-
* Collapsible "if" statements should be merged
|
|
5281
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-collapsible-if
|
|
5282
|
-
*/
|
|
5283
|
-
'vinicunca/no-collapsible-if'?: Linter.RuleEntry<VinicuncaNoCollapsibleIf>
|
|
5284
|
-
/**
|
|
5285
|
-
* String literals should not be duplicated
|
|
5286
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-duplicate-string
|
|
5287
|
-
*/
|
|
5288
|
-
'vinicunca/no-duplicate-string'?: Linter.RuleEntry<VinicuncaNoDuplicateString>
|
|
5289
|
-
/**
|
|
5290
|
-
* Two branches in a conditional structure should not have exactly the same implementation
|
|
5291
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-duplicated-branches
|
|
5292
|
-
*/
|
|
5293
|
-
'vinicunca/no-duplicated-branches'?: Linter.RuleEntry<VinicuncaNoDuplicatedBranches>
|
|
5294
|
-
/**
|
|
5295
|
-
* Empty collections should not be accessed or iterated
|
|
5296
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-empty-collection
|
|
5297
|
-
*/
|
|
5298
|
-
'vinicunca/no-empty-collection'?: Linter.RuleEntry<[]>
|
|
5299
|
-
/**
|
|
5300
|
-
* Related "if-else-if" and "switch-case" statements should not have the same condition
|
|
5301
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-identical-conditions
|
|
5302
|
-
*/
|
|
5303
|
-
'vinicunca/no-identical-conditions'?: Linter.RuleEntry<VinicuncaNoIdenticalConditions>
|
|
5304
|
-
/**
|
|
5305
|
-
* Identical expressions should not be used on both sides of a binary operator
|
|
5306
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-identical-expressions
|
|
5307
|
-
*/
|
|
5308
|
-
'vinicunca/no-identical-expressions'?: Linter.RuleEntry<VinicuncaNoIdenticalExpressions>
|
|
5309
|
-
/**
|
|
5310
|
-
* Functions should not have identical implementations
|
|
5311
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-identical-functions
|
|
5312
|
-
*/
|
|
5313
|
-
'vinicunca/no-identical-functions'?: Linter.RuleEntry<VinicuncaNoIdenticalFunctions>
|
|
5314
|
-
/**
|
|
5315
|
-
* Return values from functions without side effects should not be ignored
|
|
5316
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-ignored-return
|
|
5317
|
-
*/
|
|
5318
|
-
'vinicunca/no-ignored-return'?: Linter.RuleEntry<[]>
|
|
5319
|
-
/**
|
|
5320
|
-
* Prevent importing modules in `node_modules` folder by relative or absolute path
|
|
5321
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-import-node-modules-by-path
|
|
5322
|
-
*/
|
|
5323
|
-
'vinicunca/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>
|
|
5324
|
-
/**
|
|
5325
|
-
* Template literals should not be nested
|
|
5326
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-nested-template-literals
|
|
5327
|
-
*/
|
|
5328
|
-
'vinicunca/no-nested-template-literals'?: Linter.RuleEntry<[]>
|
|
5329
|
-
/**
|
|
5330
|
-
* Boolean literals should not be redundant
|
|
5331
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-redundant-boolean
|
|
5332
|
-
*/
|
|
5333
|
-
'vinicunca/no-redundant-boolean'?: Linter.RuleEntry<[]>
|
|
5334
|
-
/**
|
|
5335
|
-
* Jump statements should not be redundant
|
|
5336
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-redundant-jump
|
|
5337
|
-
*/
|
|
5338
|
-
'vinicunca/no-redundant-jump'?: Linter.RuleEntry<[]>
|
|
5339
|
-
/**
|
|
5340
|
-
* Do not use `exports =`
|
|
5341
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-ts-export-equal
|
|
5342
|
-
*/
|
|
5343
|
-
'vinicunca/no-ts-export-equal'?: Linter.RuleEntry<[]>
|
|
5344
|
-
/**
|
|
5345
|
-
* Collection and array contents should be used
|
|
5346
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-unused-collection
|
|
5347
|
-
*/
|
|
5348
|
-
'vinicunca/no-unused-collection'?: Linter.RuleEntry<[]>
|
|
5349
|
-
/**
|
|
5350
|
-
* The output of functions that don't return anything should not be used
|
|
5351
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/no-use-of-empty-return-value
|
|
5352
|
-
*/
|
|
5353
|
-
'vinicunca/no-use-of-empty-return-value'?: Linter.RuleEntry<[]>
|
|
5354
|
-
/**
|
|
5355
|
-
* Local variables should not be declared and then immediately returned or thrown
|
|
5356
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/prefer-immediate-return
|
|
5357
|
-
*/
|
|
5358
|
-
'vinicunca/prefer-immediate-return'?: Linter.RuleEntry<[]>
|
|
5359
|
-
/**
|
|
5360
|
-
* Return of boolean expressions should not be wrapped into an "if-then-else" statement
|
|
5361
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/prefer-single-boolean-return
|
|
5362
|
-
*/
|
|
5363
|
-
'vinicunca/prefer-single-boolean-return'?: Linter.RuleEntry<[]>
|
|
5364
|
-
/**
|
|
5365
|
-
* Enforce top-level functions to be declared with function keyword
|
|
5366
|
-
* @see https://eslint.vinicunca.dev/plugin-vinicunca/top-level-function
|
|
5367
|
-
*/
|
|
5368
|
-
'vinicunca/top-level-function'?: Linter.RuleEntry<[]>
|
|
5369
5340
|
/**
|
|
5370
5341
|
* Enforce linebreaks after opening and before closing array brackets in `<template>`
|
|
5371
5342
|
* @see https://eslint.vuejs.org/rules/array-bracket-newline.html
|
|
@@ -6749,6 +6720,31 @@ type AccessorPairs = []|[{
|
|
|
6749
6720
|
setWithoutGet?: boolean
|
|
6750
6721
|
enforceForClassMembers?: boolean
|
|
6751
6722
|
}]
|
|
6723
|
+
// ----- antfu/consistent-list-newline -----
|
|
6724
|
+
type AntfuConsistentListNewline = []|[{
|
|
6725
|
+
ArrayExpression?: boolean
|
|
6726
|
+
ArrowFunctionExpression?: boolean
|
|
6727
|
+
CallExpression?: boolean
|
|
6728
|
+
ExportNamedDeclaration?: boolean
|
|
6729
|
+
FunctionDeclaration?: boolean
|
|
6730
|
+
FunctionExpression?: boolean
|
|
6731
|
+
ImportDeclaration?: boolean
|
|
6732
|
+
NewExpression?: boolean
|
|
6733
|
+
ObjectExpression?: boolean
|
|
6734
|
+
TSInterfaceDeclaration?: boolean
|
|
6735
|
+
TSTupleType?: boolean
|
|
6736
|
+
TSTypeLiteral?: boolean
|
|
6737
|
+
TSTypeParameterDeclaration?: boolean
|
|
6738
|
+
TSTypeParameterInstantiation?: boolean
|
|
6739
|
+
ObjectPattern?: boolean
|
|
6740
|
+
ArrayPattern?: boolean
|
|
6741
|
+
JSXOpeningElement?: boolean
|
|
6742
|
+
}]
|
|
6743
|
+
// ----- antfu/indent-unindent -----
|
|
6744
|
+
type AntfuIndentUnindent = []|[{
|
|
6745
|
+
indent?: number
|
|
6746
|
+
tags?: string[]
|
|
6747
|
+
}]
|
|
6752
6748
|
// ----- array-bracket-newline -----
|
|
6753
6749
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
6754
6750
|
multiline?: boolean
|
|
@@ -8507,7 +8503,7 @@ type NoConsole = []|[{
|
|
|
8507
8503
|
}]
|
|
8508
8504
|
// ----- no-constant-condition -----
|
|
8509
8505
|
type NoConstantCondition = []|[{
|
|
8510
|
-
checkLoops?:
|
|
8506
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
8511
8507
|
}]
|
|
8512
8508
|
// ----- no-duplicate-imports -----
|
|
8513
8509
|
type NoDuplicateImports = []|[{
|
|
@@ -9038,7 +9034,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9038
9034
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9039
9035
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
9040
9036
|
version?: string
|
|
9041
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9037
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
9042
9038
|
}]
|
|
9043
9039
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
9044
9040
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -9048,7 +9044,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9048
9044
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
9049
9045
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9050
9046
|
version?: string
|
|
9051
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "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" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "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" | "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" | "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.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.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.getRandomValues" | "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.randomUUID" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9047
|
+
allowExperimental?: boolean
|
|
9048
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9052
9049
|
}]
|
|
9053
9050
|
// ----- node/prefer-global/buffer -----
|
|
9054
9051
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9261,6 +9258,12 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
9261
9258
|
groups?: unknown[]
|
|
9262
9259
|
"partition-by-new-line"?: boolean
|
|
9263
9260
|
}]
|
|
9261
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
9262
|
+
type PerfectionistSortIntersectionTypes = []|[{
|
|
9263
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9264
|
+
order?: ("asc" | "desc")
|
|
9265
|
+
"ignore-case"?: boolean
|
|
9266
|
+
}]
|
|
9264
9267
|
// ----- perfectionist/sort-jsx-props -----
|
|
9265
9268
|
type PerfectionistSortJsxProps = []|[{
|
|
9266
9269
|
"custom-groups"?: {
|
|
@@ -10109,6 +10112,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
|
|
|
10109
10112
|
type StyleJsxEqualsSpacing = []|[("always" | "never")]
|
|
10110
10113
|
// ----- style/jsx-first-prop-new-line -----
|
|
10111
10114
|
type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
10115
|
+
// ----- style/jsx-function-call-newline -----
|
|
10116
|
+
type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
|
|
10112
10117
|
// ----- style/jsx-indent -----
|
|
10113
10118
|
type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
10114
10119
|
checkAttributes?: boolean
|
|
@@ -10138,7 +10143,7 @@ type StyleJsxNewline = []|[{
|
|
|
10138
10143
|
}]
|
|
10139
10144
|
// ----- style/jsx-one-expression-per-line -----
|
|
10140
10145
|
type StyleJsxOneExpressionPerLine = []|[{
|
|
10141
|
-
allow?: ("none" | "literal" | "single-child")
|
|
10146
|
+
allow?: ("none" | "literal" | "single-child" | "single-line")
|
|
10142
10147
|
}]
|
|
10143
10148
|
// ----- style/jsx-pascal-case -----
|
|
10144
10149
|
type StyleJsxPascalCase = []|[{
|
|
@@ -10181,6 +10186,7 @@ type StyleJsxWrapMultilines = []|[{
|
|
|
10181
10186
|
condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10182
10187
|
logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10183
10188
|
prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10189
|
+
propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10184
10190
|
}]
|
|
10185
10191
|
// ----- style/key-spacing -----
|
|
10186
10192
|
type StyleKeySpacing = []|[({
|
|
@@ -10511,6 +10517,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10511
10517
|
}
|
|
10512
10518
|
}
|
|
10513
10519
|
}]
|
|
10520
|
+
// ----- style/line-comment-position -----
|
|
10521
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10522
|
+
position?: ("above" | "beside")
|
|
10523
|
+
ignorePattern?: string
|
|
10524
|
+
applyDefaultPatterns?: boolean
|
|
10525
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10526
|
+
})]
|
|
10514
10527
|
// ----- style/linebreak-style -----
|
|
10515
10528
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10516
10529
|
// ----- style/lines-around-comment -----
|
|
@@ -10664,6 +10677,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10664
10677
|
requireLast?: boolean
|
|
10665
10678
|
}
|
|
10666
10679
|
}
|
|
10680
|
+
// ----- style/multiline-comment-style -----
|
|
10681
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10682
|
+
checkJSDoc?: boolean
|
|
10683
|
+
}])
|
|
10667
10684
|
// ----- style/multiline-ternary -----
|
|
10668
10685
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10669
10686
|
ignoreJSX?: boolean
|
|
@@ -10934,6 +10951,10 @@ type TestMaxExpects = []|[{
|
|
|
10934
10951
|
type TestMaxNestedDescribe = []|[{
|
|
10935
10952
|
max?: number
|
|
10936
10953
|
}]
|
|
10954
|
+
// ----- test/no-focused-tests -----
|
|
10955
|
+
type TestNoFocusedTests = []|[{
|
|
10956
|
+
fixable?: boolean
|
|
10957
|
+
}]
|
|
10937
10958
|
// ----- test/no-hooks -----
|
|
10938
10959
|
type TestNoHooks = []|[{
|
|
10939
10960
|
allow?: unknown[]
|
|
@@ -12613,11 +12634,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
12613
12634
|
// ----- unicorn/prefer-number-properties -----
|
|
12614
12635
|
type UnicornPreferNumberProperties = []|[{
|
|
12615
12636
|
checkInfinity?: boolean
|
|
12637
|
+
checkNaN?: boolean
|
|
12616
12638
|
}]
|
|
12617
12639
|
// ----- unicorn/prefer-object-from-entries -----
|
|
12618
12640
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12619
12641
|
functions?: unknown[]
|
|
12620
12642
|
}]
|
|
12643
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
12644
|
+
type UnicornPreferStructuredClone = []|[{
|
|
12645
|
+
functions?: unknown[]
|
|
12646
|
+
}]
|
|
12621
12647
|
// ----- unicorn/prefer-switch -----
|
|
12622
12648
|
type UnicornPreferSwitch = []|[{
|
|
12623
12649
|
minimumCases?: number
|
|
@@ -12726,47 +12752,6 @@ type UseIsnan = []|[{
|
|
|
12726
12752
|
type ValidTypeof = []|[{
|
|
12727
12753
|
requireStringLiterals?: boolean
|
|
12728
12754
|
}]
|
|
12729
|
-
// ----- vinicunca/cognitive-complexity -----
|
|
12730
|
-
type VinicuncaCognitiveComplexity = []|[number]|[number, ("vinicunca-runtime" | "metric")]
|
|
12731
|
-
// ----- vinicunca/consistent-list-newline -----
|
|
12732
|
-
type VinicuncaConsistentListNewline = []|[{
|
|
12733
|
-
ArrayExpression?: boolean
|
|
12734
|
-
ArrayPattern?: boolean
|
|
12735
|
-
ArrowFunctionExpression?: boolean
|
|
12736
|
-
CallExpression?: boolean
|
|
12737
|
-
ExportNamedDeclaration?: boolean
|
|
12738
|
-
FunctionDeclaration?: boolean
|
|
12739
|
-
FunctionExpression?: boolean
|
|
12740
|
-
ImportDeclaration?: boolean
|
|
12741
|
-
NewExpression?: boolean
|
|
12742
|
-
ObjectExpression?: boolean
|
|
12743
|
-
ObjectPattern?: boolean
|
|
12744
|
-
TSInterfaceDeclaration?: boolean
|
|
12745
|
-
TSTupleType?: boolean
|
|
12746
|
-
TSTypeLiteral?: boolean
|
|
12747
|
-
TSTypeParameterDeclaration?: boolean
|
|
12748
|
-
TSTypeParameterInstantiation?: boolean
|
|
12749
|
-
}]
|
|
12750
|
-
// ----- vinicunca/no-collapsible-if -----
|
|
12751
|
-
type VinicuncaNoCollapsibleIf = []|["vinicunca-runtime"]
|
|
12752
|
-
// ----- vinicunca/no-duplicate-string -----
|
|
12753
|
-
type VinicuncaNoDuplicateString = []|[{
|
|
12754
|
-
ignoreStrings?: string
|
|
12755
|
-
threshold?: number
|
|
12756
|
-
[k: string]: unknown | undefined
|
|
12757
|
-
}]|[{
|
|
12758
|
-
ignoreStrings?: string
|
|
12759
|
-
threshold?: number
|
|
12760
|
-
[k: string]: unknown | undefined
|
|
12761
|
-
}, "vinicunca-runtime"]
|
|
12762
|
-
// ----- vinicunca/no-duplicated-branches -----
|
|
12763
|
-
type VinicuncaNoDuplicatedBranches = []|["vinicunca-runtime"]
|
|
12764
|
-
// ----- vinicunca/no-identical-conditions -----
|
|
12765
|
-
type VinicuncaNoIdenticalConditions = []|["vinicunca-runtime"]
|
|
12766
|
-
// ----- vinicunca/no-identical-expressions -----
|
|
12767
|
-
type VinicuncaNoIdenticalExpressions = []|["vinicunca-runtime"]
|
|
12768
|
-
// ----- vinicunca/no-identical-functions -----
|
|
12769
|
-
type VinicuncaNoIdenticalFunctions = []|[number]|[number, "vinicunca-runtime"]
|
|
12770
12755
|
// ----- vue/array-bracket-newline -----
|
|
12771
12756
|
type VueArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
12772
12757
|
multiline?: boolean
|
|
@@ -13478,7 +13463,7 @@ type VueNoConsole = []|[{
|
|
|
13478
13463
|
}]
|
|
13479
13464
|
// ----- vue/no-constant-condition -----
|
|
13480
13465
|
type VueNoConstantCondition = []|[{
|
|
13481
|
-
checkLoops?:
|
|
13466
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
13482
13467
|
}]
|
|
13483
13468
|
// ----- vue/no-deprecated-model-definition -----
|
|
13484
13469
|
type VueNoDeprecatedModelDefinition = []|[{
|
|
@@ -14144,6 +14129,8 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14144
14129
|
exceptRange?: boolean
|
|
14145
14130
|
onlyEquality?: boolean
|
|
14146
14131
|
}]
|
|
14132
|
+
// Names of all the configs
|
|
14133
|
+
type ConfigNames = 'vinicunca/eslint-comments' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules'
|
|
14147
14134
|
|
|
14148
14135
|
/**
|
|
14149
14136
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
@@ -14246,21 +14233,14 @@ interface VendoredPrettierOptionsRequired {
|
|
|
14246
14233
|
|
|
14247
14234
|
type Awaitable<T> = Promise<T> | T;
|
|
14248
14235
|
type Rules = RuleOptions;
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
* Custom name of each config item
|
|
14252
|
-
*/
|
|
14253
|
-
name?: string;
|
|
14236
|
+
|
|
14237
|
+
type TypedFlatConfigItem = Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, 'plugins'> & {
|
|
14254
14238
|
/**
|
|
14255
14239
|
* 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.
|
|
14256
14240
|
*
|
|
14257
14241
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
14258
14242
|
*/
|
|
14259
14243
|
plugins?: Record<string, any>;
|
|
14260
|
-
/**
|
|
14261
|
-
* An object containing a name-value mapping of rules to use.
|
|
14262
|
-
*/
|
|
14263
|
-
rules?: Linter.RulesRecord & Rules;
|
|
14264
14244
|
};
|
|
14265
14245
|
interface OptionsFiles {
|
|
14266
14246
|
/**
|
|
@@ -14488,10 +14468,21 @@ declare const defaultPluginRenaming: {
|
|
|
14488
14468
|
'@typescript-eslint': string;
|
|
14489
14469
|
'import-x': string;
|
|
14490
14470
|
n: string;
|
|
14471
|
+
sonarjs: string;
|
|
14491
14472
|
vitest: string;
|
|
14492
14473
|
yml: string;
|
|
14493
14474
|
};
|
|
14494
|
-
|
|
14475
|
+
/**
|
|
14476
|
+
* Construct an array of ESLint flat config items.
|
|
14477
|
+
*
|
|
14478
|
+
* @param options
|
|
14479
|
+
* The options for generating the ESLint configurations.
|
|
14480
|
+
* @param userConfigs
|
|
14481
|
+
* The user configurations to be merged with the generated configurations.
|
|
14482
|
+
* @returns
|
|
14483
|
+
* The merged ESLint configurations.
|
|
14484
|
+
*/
|
|
14485
|
+
declare function vinicuncaESLint(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Array<Awaitable<Array<Linter.FlatConfig> | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
14495
14486
|
|
|
14496
14487
|
declare function comments(): Promise<Array<TypedFlatConfigItem>>;
|
|
14497
14488
|
|
|
@@ -14520,6 +14511,8 @@ declare function perfectionist(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
14520
14511
|
|
|
14521
14512
|
declare function react(options?: OptionsHasTypeScript & OptionsOverrides & OptionsFiles): Promise<Array<TypedFlatConfigItem>>;
|
|
14522
14513
|
|
|
14514
|
+
declare function sonar(): Promise<Array<TypedFlatConfigItem>>;
|
|
14515
|
+
|
|
14523
14516
|
/**
|
|
14524
14517
|
* Sort package.json
|
|
14525
14518
|
*
|
|
@@ -14534,11 +14527,11 @@ declare function sortPackageJson(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
14534
14527
|
declare function sortTsconfig(): Array<TypedFlatConfigItem>;
|
|
14535
14528
|
|
|
14536
14529
|
declare const STYLISTIC_CONFIG_DEFAULTS: StylisticConfig;
|
|
14537
|
-
declare function stylistic(options?:
|
|
14530
|
+
declare function stylistic(options?: OptionsOverrides & StylisticConfig): Promise<Array<TypedFlatConfigItem>>;
|
|
14538
14531
|
|
|
14539
14532
|
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<Array<TypedFlatConfigItem>>;
|
|
14540
14533
|
|
|
14541
|
-
declare function typescript(options?:
|
|
14534
|
+
declare function typescript(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes): Promise<Array<TypedFlatConfigItem>>;
|
|
14542
14535
|
|
|
14543
14536
|
declare function unicorn(): Promise<Array<TypedFlatConfigItem>>;
|
|
14544
14537
|
|
|
@@ -14642,4 +14635,4 @@ declare const GLOB_TESTS: string[];
|
|
|
14642
14635
|
declare const GLOB_ALL_SRC: string[];
|
|
14643
14636
|
declare const GLOB_EXCLUDE: string[];
|
|
14644
14637
|
|
|
14645
|
-
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|
|
14638
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|