@so1ve/eslint-config 3.9.0 → 3.10.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.d.ts +289 -158
- package/dist/index.js +82 -89
- package/package.json +24 -25
- package/dist/chunk-RDQt0V5E.js +0 -31
- package/dist/dist-CNSADWmJ.js +0 -174169
package/dist/index.d.ts
CHANGED
|
@@ -462,6 +462,11 @@ interface RuleOptions {
|
|
|
462
462
|
* @see https://html-eslint.org/docs/rules/no-restricted-attrs
|
|
463
463
|
*/
|
|
464
464
|
'html/no-restricted-attrs'?: Linter.RuleEntry<HtmlNoRestrictedAttrs>;
|
|
465
|
+
/**
|
|
466
|
+
* Disallow specified tags
|
|
467
|
+
* @see https://html-eslint.org/docs/rules/no-restricted-tags
|
|
468
|
+
*/
|
|
469
|
+
'html/no-restricted-tags'?: Linter.RuleEntry<HtmlNoRestrictedTags>;
|
|
465
470
|
/**
|
|
466
471
|
* Enforce to omit type attributes for style sheets and scripts
|
|
467
472
|
* @see https://html-eslint.org/docs/rules/no-script-style-type
|
|
@@ -573,7 +578,7 @@ interface RuleOptions {
|
|
|
573
578
|
*/
|
|
574
579
|
'html/require-title'?: Linter.RuleEntry<[]>;
|
|
575
580
|
/**
|
|
576
|
-
* Enforce
|
|
581
|
+
* Enforce priority and alphabetical sorting of attributes
|
|
577
582
|
* @see https://html-eslint.org/docs/rules/sort-attrs
|
|
578
583
|
*/
|
|
579
584
|
'html/sort-attrs'?: Linter.RuleEntry<HtmlSortAttrs>;
|
|
@@ -1314,7 +1319,7 @@ interface RuleOptions {
|
|
|
1314
1319
|
*/
|
|
1315
1320
|
'no-console'?: Linter.RuleEntry<NoConsole>;
|
|
1316
1321
|
/**
|
|
1317
|
-
* Disallow reassigning `const` variables
|
|
1322
|
+
* Disallow reassigning `const`, `using`, and `await using` variables
|
|
1318
1323
|
* @see https://eslint.org/docs/latest/rules/no-const-assign
|
|
1319
1324
|
*/
|
|
1320
1325
|
'no-const-assign'?: Linter.RuleEntry<[]>;
|
|
@@ -2113,12 +2118,12 @@ interface RuleOptions {
|
|
|
2113
2118
|
*/
|
|
2114
2119
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
2115
2120
|
/**
|
|
2116
|
-
* disallow `import` declarations which import
|
|
2121
|
+
* disallow `import` declarations which import missing modules
|
|
2117
2122
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2118
2123
|
*/
|
|
2119
2124
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
2120
2125
|
/**
|
|
2121
|
-
* disallow `require()` expressions which import
|
|
2126
|
+
* disallow `require()` expressions which import missing modules
|
|
2122
2127
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2123
2128
|
*/
|
|
2124
2129
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2392,6 +2397,11 @@ interface RuleOptions {
|
|
|
2392
2397
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2393
2398
|
*/
|
|
2394
2399
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2400
|
+
/**
|
|
2401
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2402
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2403
|
+
*/
|
|
2404
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2395
2405
|
/**
|
|
2396
2406
|
* Require returning inside each `then()` to create readable and reusable Promise chains.
|
|
2397
2407
|
* @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/always-return.md
|
|
@@ -2983,6 +2993,11 @@ interface RuleOptions {
|
|
|
2983
2993
|
* @see pad-after-last-import
|
|
2984
2994
|
*/
|
|
2985
2995
|
'so1ve/pad-after-last-import'?: Linter.RuleEntry<[]>;
|
|
2996
|
+
/**
|
|
2997
|
+
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
2998
|
+
* @see prefer-ts-expect-error
|
|
2999
|
+
*/
|
|
3000
|
+
'so1ve/prefer-ts-expect-error'?: Linter.RuleEntry<[]>;
|
|
2986
3001
|
/**
|
|
2987
3002
|
* Require using async keyword with await.
|
|
2988
3003
|
* @see require-async-with-await
|
|
@@ -3340,8 +3355,9 @@ interface RuleOptions {
|
|
|
3340
3355
|
*/
|
|
3341
3356
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
3342
3357
|
/**
|
|
3343
|
-
* Disallow multiple spaces between inline JSX props
|
|
3358
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
3344
3359
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
3360
|
+
* @deprecated
|
|
3345
3361
|
*/
|
|
3346
3362
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
3347
3363
|
/**
|
|
@@ -4190,7 +4206,7 @@ interface RuleOptions {
|
|
|
4190
4206
|
* Disallow member access on a value with type `any`
|
|
4191
4207
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
4192
4208
|
*/
|
|
4193
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
4209
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
4194
4210
|
/**
|
|
4195
4211
|
* Disallow returning a value with type `any` from a function
|
|
4196
4212
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -4437,690 +4453,710 @@ interface RuleOptions {
|
|
|
4437
4453
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
4438
4454
|
/**
|
|
4439
4455
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4441
4457
|
*/
|
|
4442
4458
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
4443
4459
|
/**
|
|
4444
4460
|
* Enforce a specific parameter name in catch clauses.
|
|
4445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4446
4462
|
*/
|
|
4447
4463
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
4448
4464
|
/**
|
|
4449
4465
|
* Enforce consistent assertion style with `node:assert`.
|
|
4450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4451
4467
|
*/
|
|
4452
4468
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
4453
4469
|
/**
|
|
4454
4470
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4456
4472
|
*/
|
|
4457
4473
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
4458
4474
|
/**
|
|
4459
4475
|
* Use destructured variables over properties.
|
|
4460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4461
4477
|
*/
|
|
4462
4478
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
4463
4479
|
/**
|
|
4464
4480
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4466
4482
|
*/
|
|
4467
4483
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
4468
4484
|
/**
|
|
4469
4485
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4471
4487
|
*/
|
|
4472
4488
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
4473
4489
|
/**
|
|
4474
4490
|
* Move function definitions to the highest possible scope.
|
|
4475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4476
4492
|
*/
|
|
4477
4493
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
4478
4494
|
/**
|
|
4479
4495
|
* Enforce correct `Error` subclassing.
|
|
4480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4481
4497
|
*/
|
|
4482
4498
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
4483
4499
|
/**
|
|
4484
4500
|
* Enforce no spaces between braces.
|
|
4485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
4486
4502
|
*/
|
|
4487
4503
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
4488
4504
|
/**
|
|
4489
4505
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
4491
4507
|
*/
|
|
4492
4508
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
4493
4509
|
/**
|
|
4494
4510
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
4496
4512
|
*/
|
|
4497
4513
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
4498
4514
|
/**
|
|
4499
4515
|
* Add expiration conditions to TODO comments.
|
|
4500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
4501
4517
|
*/
|
|
4502
4518
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
4503
4519
|
/**
|
|
4504
4520
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
4506
4522
|
*/
|
|
4507
4523
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
4508
4524
|
/**
|
|
4509
4525
|
* Enforce a case style for filenames.
|
|
4510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
4511
4527
|
*/
|
|
4512
4528
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
4513
4529
|
/**
|
|
4514
4530
|
* Enforce specific import styles per module.
|
|
4515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
4516
4532
|
*/
|
|
4517
4533
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
4518
4534
|
/**
|
|
4519
4535
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
4521
4537
|
*/
|
|
4522
4538
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
4523
4539
|
/**
|
|
4524
4540
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
4526
4542
|
*/
|
|
4527
4543
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
4528
4544
|
/**
|
|
4529
4545
|
* Disallow recursive access to `this` within getters and setters.
|
|
4530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
4531
4547
|
*/
|
|
4532
4548
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
4533
4549
|
/**
|
|
4534
4550
|
* Disallow anonymous functions and classes as the default export.
|
|
4535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
4536
4552
|
*/
|
|
4537
4553
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
4538
4554
|
/**
|
|
4539
4555
|
* Prevent passing a function reference directly to iterator methods.
|
|
4540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
4541
4557
|
*/
|
|
4542
4558
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
4543
4559
|
/**
|
|
4544
4560
|
* Prefer `for…of` over the `forEach` method.
|
|
4545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
4546
4562
|
*/
|
|
4547
4563
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
4548
4564
|
/**
|
|
4549
4565
|
* Disallow using the `this` argument in array methods.
|
|
4550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
4551
4567
|
*/
|
|
4552
4568
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
4553
4569
|
/**
|
|
4554
4570
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
4556
4572
|
* @deprecated
|
|
4557
4573
|
*/
|
|
4558
4574
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
4559
4575
|
/**
|
|
4560
4576
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
4562
4578
|
*/
|
|
4563
4579
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
4564
4580
|
/**
|
|
4565
4581
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
4566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
4567
4583
|
*/
|
|
4568
4584
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
4585
|
+
/**
|
|
4586
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
4587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
4588
|
+
*/
|
|
4589
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
4569
4590
|
/**
|
|
4570
4591
|
* Disallow member access from await expression.
|
|
4571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
4572
4593
|
*/
|
|
4573
4594
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
4574
4595
|
/**
|
|
4575
4596
|
* Disallow using `await` in `Promise` method parameters.
|
|
4576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
4577
4598
|
*/
|
|
4578
4599
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
4579
4600
|
/**
|
|
4580
4601
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
4582
4603
|
*/
|
|
4583
4604
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
4584
4605
|
/**
|
|
4585
4606
|
* Do not use `document.cookie` directly.
|
|
4586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
4587
4608
|
*/
|
|
4588
4609
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
4589
4610
|
/**
|
|
4590
4611
|
* Disallow empty files.
|
|
4591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
4592
4613
|
*/
|
|
4593
4614
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
4594
4615
|
/**
|
|
4595
4616
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
4597
4618
|
*/
|
|
4598
4619
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
4599
4620
|
/**
|
|
4600
4621
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
4602
4623
|
*/
|
|
4603
4624
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
4604
4625
|
/**
|
|
4605
4626
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
4607
4628
|
* @deprecated
|
|
4608
4629
|
*/
|
|
4609
4630
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
4610
4631
|
/**
|
|
4611
4632
|
* Disallow `instanceof` with built-in objects
|
|
4612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4633
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
4613
4634
|
*/
|
|
4614
4635
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
4615
4636
|
/**
|
|
4616
4637
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4638
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
4618
4639
|
*/
|
|
4619
4640
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
4620
4641
|
/**
|
|
4621
4642
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4643
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
4623
4644
|
*/
|
|
4624
4645
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
4625
4646
|
/**
|
|
4626
4647
|
* Disallow identifiers starting with `new` or `class`.
|
|
4627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4648
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
4628
4649
|
*/
|
|
4629
4650
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
4630
4651
|
/**
|
|
4631
4652
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4653
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
4633
4654
|
* @deprecated
|
|
4634
4655
|
*/
|
|
4635
4656
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
4636
4657
|
/**
|
|
4637
4658
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4638
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
4639
4660
|
*/
|
|
4640
4661
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
4641
4662
|
/**
|
|
4642
4663
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4643
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4664
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
4644
4665
|
*/
|
|
4645
4666
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
4646
4667
|
/**
|
|
4647
4668
|
* Disallow named usage of default import and export.
|
|
4648
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
4649
4670
|
*/
|
|
4650
4671
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
4651
4672
|
/**
|
|
4652
4673
|
* Disallow negated conditions.
|
|
4653
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
4654
4675
|
*/
|
|
4655
4676
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
4656
4677
|
/**
|
|
4657
4678
|
* Disallow negated expression in equality check.
|
|
4658
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4679
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
4659
4680
|
*/
|
|
4660
4681
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
4661
4682
|
/**
|
|
4662
4683
|
* Disallow nested ternary expressions.
|
|
4663
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
4664
4685
|
*/
|
|
4665
4686
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
4666
4687
|
/**
|
|
4667
4688
|
* Disallow `new Array()`.
|
|
4668
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4689
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
4669
4690
|
*/
|
|
4670
4691
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
4671
4692
|
/**
|
|
4672
4693
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4673
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4694
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
4674
4695
|
*/
|
|
4675
4696
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
4676
4697
|
/**
|
|
4677
4698
|
* Disallow the use of the `null` literal.
|
|
4678
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
4679
4700
|
*/
|
|
4680
4701
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
4681
4702
|
/**
|
|
4682
4703
|
* Disallow the use of objects as default parameters.
|
|
4683
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
4684
4705
|
*/
|
|
4685
4706
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
4686
4707
|
/**
|
|
4687
4708
|
* Disallow `process.exit()`.
|
|
4688
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
4689
4710
|
*/
|
|
4690
4711
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
4691
4712
|
/**
|
|
4692
4713
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
4694
4715
|
*/
|
|
4695
4716
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
4696
4717
|
/**
|
|
4697
4718
|
* Disallow classes that only have static members.
|
|
4698
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
4699
4720
|
*/
|
|
4700
4721
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
4701
4722
|
/**
|
|
4702
4723
|
* Disallow `then` property.
|
|
4703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
4704
4725
|
*/
|
|
4705
4726
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
4706
4727
|
/**
|
|
4707
4728
|
* Disallow assigning `this` to a variable.
|
|
4708
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
4709
4730
|
*/
|
|
4710
4731
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
4711
4732
|
/**
|
|
4712
4733
|
* Disallow comparing `undefined` using `typeof`.
|
|
4713
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
4714
4735
|
*/
|
|
4715
4736
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
4716
4737
|
/**
|
|
4717
4738
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
4718
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
4719
4740
|
*/
|
|
4720
4741
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
4721
4742
|
/**
|
|
4722
4743
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
4723
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
4724
4745
|
*/
|
|
4725
4746
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
4726
4747
|
/**
|
|
4727
4748
|
* Disallow awaiting non-promise values.
|
|
4728
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
4729
4750
|
*/
|
|
4730
4751
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
4731
4752
|
/**
|
|
4732
4753
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4733
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
4734
4755
|
*/
|
|
4735
4756
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
4736
4757
|
/**
|
|
4737
4758
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4738
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
4739
4760
|
*/
|
|
4740
4761
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
4741
4762
|
/**
|
|
4742
4763
|
* Disallow unreadable array destructuring.
|
|
4743
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
4744
4765
|
*/
|
|
4745
4766
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
4746
4767
|
/**
|
|
4747
4768
|
* Disallow unreadable IIFEs.
|
|
4748
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
4749
4770
|
*/
|
|
4750
4771
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
4751
4772
|
/**
|
|
4752
4773
|
* Disallow unused object properties.
|
|
4753
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
4754
4775
|
*/
|
|
4755
4776
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
4756
4777
|
/**
|
|
4757
4778
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
4758
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
4759
4780
|
*/
|
|
4760
4781
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
4761
4782
|
/**
|
|
4762
4783
|
* Disallow useless fallback when spreading in object literals.
|
|
4763
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
4764
4785
|
*/
|
|
4765
4786
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
4766
4787
|
/**
|
|
4767
4788
|
* Disallow useless array length check.
|
|
4768
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
4769
4790
|
*/
|
|
4770
4791
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
4771
4792
|
/**
|
|
4772
4793
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4773
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
4774
4795
|
*/
|
|
4775
4796
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
4776
4797
|
/**
|
|
4777
4798
|
* Disallow unnecessary spread.
|
|
4778
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
4779
4800
|
*/
|
|
4780
4801
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
4781
4802
|
/**
|
|
4782
4803
|
* Disallow useless case in switch statements.
|
|
4783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
4784
4805
|
*/
|
|
4785
4806
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
4786
4807
|
/**
|
|
4787
4808
|
* Disallow useless `undefined`.
|
|
4788
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
4789
4810
|
*/
|
|
4790
4811
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
4791
4812
|
/**
|
|
4792
4813
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
4794
4815
|
*/
|
|
4795
4816
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
4796
4817
|
/**
|
|
4797
4818
|
* Enforce proper case for numeric literals.
|
|
4798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
4799
4820
|
*/
|
|
4800
4821
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
4801
4822
|
/**
|
|
4802
4823
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
4804
4825
|
*/
|
|
4805
4826
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
4806
4827
|
/**
|
|
4807
4828
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4808
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
4809
4830
|
*/
|
|
4810
4831
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4811
4832
|
/**
|
|
4812
4833
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
4814
4835
|
*/
|
|
4815
4836
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
4816
4837
|
/**
|
|
4817
4838
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4818
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
4819
4840
|
*/
|
|
4820
4841
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
4821
4842
|
/**
|
|
4822
4843
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
4824
4845
|
*/
|
|
4825
4846
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
4826
4847
|
/**
|
|
4827
4848
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
4829
4850
|
*/
|
|
4830
4851
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
4831
4852
|
/**
|
|
4832
4853
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
4834
4855
|
*/
|
|
4835
4856
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
4836
4857
|
/**
|
|
4837
4858
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
4839
4860
|
*/
|
|
4840
4861
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4862
|
+
/**
|
|
4863
|
+
* Prefer `BigInt` literals over the constructor.
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
4865
|
+
*/
|
|
4866
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
4841
4867
|
/**
|
|
4842
4868
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4843
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
4844
4870
|
*/
|
|
4845
4871
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
4846
4872
|
/**
|
|
4847
4873
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
4848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
4849
4875
|
*/
|
|
4850
4876
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
4877
|
+
/**
|
|
4878
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
4879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
4880
|
+
*/
|
|
4881
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
4851
4882
|
/**
|
|
4852
4883
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
4854
4885
|
*/
|
|
4855
4886
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
4856
4887
|
/**
|
|
4857
4888
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
4859
4890
|
*/
|
|
4860
4891
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
4861
4892
|
/**
|
|
4862
4893
|
* Prefer default parameters over reassignment.
|
|
4863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
4864
4895
|
*/
|
|
4865
4896
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
4866
4897
|
/**
|
|
4867
4898
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
4869
4900
|
*/
|
|
4870
4901
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
4871
4902
|
/**
|
|
4872
4903
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
4874
4905
|
*/
|
|
4875
4906
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
4876
4907
|
/**
|
|
4877
4908
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
4879
4910
|
*/
|
|
4880
4911
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
4881
4912
|
/**
|
|
4882
4913
|
* Prefer `.textContent` over `.innerText`.
|
|
4883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
4884
4915
|
*/
|
|
4885
4916
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
4886
4917
|
/**
|
|
4887
4918
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
4889
4920
|
*/
|
|
4890
4921
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
4891
4922
|
/**
|
|
4892
4923
|
* Prefer `export…from` when re-exporting.
|
|
4893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
4894
4925
|
*/
|
|
4895
4926
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4896
4927
|
/**
|
|
4897
4928
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
4899
4930
|
*/
|
|
4900
4931
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
4901
4932
|
/**
|
|
4902
4933
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
4904
4935
|
*/
|
|
4905
4936
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
4906
4937
|
/**
|
|
4907
4938
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
4909
4940
|
*/
|
|
4910
4941
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
4911
4942
|
/**
|
|
4912
4943
|
* Prefer reading a JSON file as a buffer.
|
|
4913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
4914
4945
|
*/
|
|
4915
4946
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
4916
4947
|
/**
|
|
4917
4948
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
4919
4950
|
*/
|
|
4920
4951
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
4921
4952
|
/**
|
|
4922
4953
|
* Prefer using a logical operator over a ternary.
|
|
4923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4924
4955
|
*/
|
|
4925
4956
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
4926
4957
|
/**
|
|
4927
4958
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
4929
4960
|
*/
|
|
4930
4961
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
4931
4962
|
/**
|
|
4932
4963
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
4934
4965
|
*/
|
|
4935
4966
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
4936
4967
|
/**
|
|
4937
4968
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
4939
4970
|
*/
|
|
4940
4971
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
4941
4972
|
/**
|
|
4942
4973
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
4944
4975
|
*/
|
|
4945
4976
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
4946
4977
|
/**
|
|
4947
4978
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
4949
4980
|
*/
|
|
4950
4981
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
4951
4982
|
/**
|
|
4952
4983
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
4954
4985
|
*/
|
|
4955
4986
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
4956
4987
|
/**
|
|
4957
4988
|
* Prefer negative index over `.length - index` when possible.
|
|
4958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
4959
4990
|
*/
|
|
4960
4991
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
4961
4992
|
/**
|
|
4962
4993
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
4964
4995
|
*/
|
|
4965
4996
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
4966
4997
|
/**
|
|
4967
4998
|
* Prefer `Number` static properties over global ones.
|
|
4968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
4969
5000
|
*/
|
|
4970
5001
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4971
5002
|
/**
|
|
4972
5003
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
4974
5005
|
*/
|
|
4975
5006
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4976
5007
|
/**
|
|
4977
5008
|
* Prefer omitting the `catch` binding parameter.
|
|
4978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
4979
5010
|
*/
|
|
4980
5011
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
4981
5012
|
/**
|
|
4982
5013
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
4984
5015
|
*/
|
|
4985
5016
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
4986
5017
|
/**
|
|
4987
5018
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
4989
5020
|
*/
|
|
4990
5021
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
4991
5022
|
/**
|
|
4992
5023
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
4994
5025
|
*/
|
|
4995
5026
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
4996
5027
|
/**
|
|
4997
5028
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
4999
5030
|
*/
|
|
5000
5031
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5001
5032
|
/**
|
|
5002
5033
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5004
5035
|
*/
|
|
5005
5036
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5006
5037
|
/**
|
|
5007
5038
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5009
5040
|
*/
|
|
5010
5041
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5011
5042
|
/**
|
|
5012
5043
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5014
5045
|
*/
|
|
5015
5046
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5016
5047
|
/**
|
|
5017
5048
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5019
5050
|
*/
|
|
5020
5051
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5021
5052
|
/**
|
|
5022
5053
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5024
5055
|
*/
|
|
5025
5056
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5026
5057
|
/**
|
|
5027
5058
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5029
5060
|
*/
|
|
5030
5061
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5031
5062
|
/**
|
|
5032
5063
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5034
5065
|
*/
|
|
5035
5066
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5036
5067
|
/**
|
|
5037
5068
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5039
5070
|
*/
|
|
5040
5071
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5041
5072
|
/**
|
|
5042
5073
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5044
5075
|
*/
|
|
5045
5076
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5046
5077
|
/**
|
|
5047
5078
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5049
5080
|
*/
|
|
5050
5081
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5051
5082
|
/**
|
|
5052
5083
|
* Prefer `switch` over multiple `else-if`.
|
|
5053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5054
5085
|
*/
|
|
5055
5086
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5056
5087
|
/**
|
|
5057
5088
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5059
5090
|
*/
|
|
5060
5091
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5061
5092
|
/**
|
|
5062
5093
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5064
5095
|
*/
|
|
5065
5096
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5066
5097
|
/**
|
|
5067
5098
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5069
5100
|
*/
|
|
5070
5101
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5071
5102
|
/**
|
|
5072
5103
|
* Prevent abbreviations.
|
|
5073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5074
5105
|
*/
|
|
5075
5106
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5076
5107
|
/**
|
|
5077
5108
|
* Enforce consistent relative URL style.
|
|
5078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5079
5110
|
*/
|
|
5080
5111
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5081
5112
|
/**
|
|
5082
5113
|
* Enforce using the separator argument with `Array#join()`.
|
|
5083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5084
5115
|
*/
|
|
5085
5116
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5117
|
+
/**
|
|
5118
|
+
* Require non-empty module attributes for imports and exports
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5120
|
+
*/
|
|
5121
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5086
5122
|
/**
|
|
5087
5123
|
* Require non-empty specifier list in import and export statements.
|
|
5088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5089
5125
|
*/
|
|
5090
5126
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5091
5127
|
/**
|
|
5092
5128
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5094
5130
|
*/
|
|
5095
5131
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5096
5132
|
/**
|
|
5097
5133
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5099
5135
|
*/
|
|
5100
5136
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5101
5137
|
/**
|
|
5102
5138
|
* Enforce better string content.
|
|
5103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5104
5140
|
*/
|
|
5105
5141
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5106
5142
|
/**
|
|
5107
5143
|
* Enforce consistent brace style for `case` clauses.
|
|
5108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5109
5145
|
*/
|
|
5110
5146
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5111
5147
|
/**
|
|
5112
5148
|
* Fix whitespace-insensitive template indentation.
|
|
5113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5114
5150
|
*/
|
|
5115
5151
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5116
5152
|
/**
|
|
5117
5153
|
* Enforce consistent case for text encoding identifiers.
|
|
5118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5119
5155
|
*/
|
|
5120
5156
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5121
5157
|
/**
|
|
5122
5158
|
* Require `new` when creating an error.
|
|
5123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5124
5160
|
*/
|
|
5125
5161
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5126
5162
|
/**
|
|
@@ -5168,6 +5204,11 @@ interface RuleOptions {
|
|
|
5168
5204
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
5169
5205
|
*/
|
|
5170
5206
|
'vitest/expect-expect'?: Linter.RuleEntry<VitestExpectExpect>;
|
|
5207
|
+
/**
|
|
5208
|
+
* enforce hoisted APIs to be on top of the file
|
|
5209
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
5210
|
+
*/
|
|
5211
|
+
'vitest/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
5171
5212
|
/**
|
|
5172
5213
|
* enforce a maximum number of expect per test
|
|
5173
5214
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -5324,6 +5365,11 @@ interface RuleOptions {
|
|
|
5324
5365
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
5325
5366
|
*/
|
|
5326
5367
|
'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
5368
|
+
/**
|
|
5369
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
5370
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
5371
|
+
*/
|
|
5372
|
+
'vitest/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
5327
5373
|
/**
|
|
5328
5374
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
5329
5375
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -5369,6 +5415,11 @@ interface RuleOptions {
|
|
|
5369
5415
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
5370
5416
|
*/
|
|
5371
5417
|
'vitest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
5418
|
+
/**
|
|
5419
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
5420
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
5421
|
+
*/
|
|
5422
|
+
'vitest/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
5372
5423
|
/**
|
|
5373
5424
|
* enforce having hooks in consistent order
|
|
5374
5425
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -5379,6 +5430,11 @@ interface RuleOptions {
|
|
|
5379
5430
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5380
5431
|
*/
|
|
5381
5432
|
'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
5433
|
+
/**
|
|
5434
|
+
* prefer dynamic import in mock
|
|
5435
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
5436
|
+
*/
|
|
5437
|
+
'vitest/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
5382
5438
|
/**
|
|
5383
5439
|
* enforce importing Vitest globals
|
|
5384
5440
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -5798,7 +5854,7 @@ interface RuleOptions {
|
|
|
5798
5854
|
* disallow asynchronous actions in computed properties
|
|
5799
5855
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
5800
5856
|
*/
|
|
5801
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
5857
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
5802
5858
|
/**
|
|
5803
5859
|
* disallow the use of bare strings in `<template>`
|
|
5804
5860
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6299,7 +6355,7 @@ interface RuleOptions {
|
|
|
6299
6355
|
* disallow use of v-html to prevent XSS attack
|
|
6300
6356
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6301
6357
|
*/
|
|
6302
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6358
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6303
6359
|
/**
|
|
6304
6360
|
* disallow adding an argument to `v-model` used in custom component
|
|
6305
6361
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -6907,13 +6963,13 @@ interface RuleOptions {
|
|
|
6907
6963
|
*/
|
|
6908
6964
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
6909
6965
|
}
|
|
6910
|
-
|
|
6911
6966
|
/* ======= Declarations ======= */
|
|
6912
6967
|
// ----- accessor-pairs -----
|
|
6913
6968
|
type AccessorPairs = [] | [{
|
|
6914
6969
|
getWithoutSet?: boolean;
|
|
6915
6970
|
setWithoutGet?: boolean;
|
|
6916
6971
|
enforceForClassMembers?: boolean;
|
|
6972
|
+
enforceForTSTypes?: boolean;
|
|
6917
6973
|
}];
|
|
6918
6974
|
// ----- array-bracket-newline -----
|
|
6919
6975
|
type ArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
@@ -7117,7 +7173,9 @@ type GetterReturn = [] | [{
|
|
|
7117
7173
|
allowImplicit?: boolean;
|
|
7118
7174
|
}];
|
|
7119
7175
|
// ----- grouped-accessor-pairs -----
|
|
7120
|
-
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
7176
|
+
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
7177
|
+
enforceForTSTypes?: boolean;
|
|
7178
|
+
}];
|
|
7121
7179
|
// ----- handle-callback-err -----
|
|
7122
7180
|
type HandleCallbackErr = [] | [string];
|
|
7123
7181
|
// ----- html/attrs-newline -----
|
|
@@ -7173,6 +7231,11 @@ type HtmlNoRestrictedAttrs = {
|
|
|
7173
7231
|
attrPatterns: string[];
|
|
7174
7232
|
message?: string;
|
|
7175
7233
|
}[];
|
|
7234
|
+
// ----- html/no-restricted-tags -----
|
|
7235
|
+
type HtmlNoRestrictedTags = {
|
|
7236
|
+
tagPatterns: string[];
|
|
7237
|
+
message?: string;
|
|
7238
|
+
}[];
|
|
7176
7239
|
// ----- html/quotes -----
|
|
7177
7240
|
type HtmlQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
7178
7241
|
enforceTemplatedAttrValue?: boolean;
|
|
@@ -8355,6 +8418,7 @@ type NoConstantCondition = [] | [{
|
|
|
8355
8418
|
// ----- no-duplicate-imports -----
|
|
8356
8419
|
type NoDuplicateImports = [] | [{
|
|
8357
8420
|
includeExports?: boolean;
|
|
8421
|
+
allowSeparateTypeImports?: boolean;
|
|
8358
8422
|
}];
|
|
8359
8423
|
// ----- no-else-return -----
|
|
8360
8424
|
type NoElseReturn = [] | [{
|
|
@@ -8543,22 +8607,31 @@ type NoRestrictedExports = [] | [({
|
|
|
8543
8607
|
};
|
|
8544
8608
|
})];
|
|
8545
8609
|
// ----- no-restricted-globals -----
|
|
8546
|
-
type NoRestrictedGlobals = (string | {
|
|
8610
|
+
type NoRestrictedGlobals = ((string | {
|
|
8547
8611
|
name: string;
|
|
8548
8612
|
message?: string;
|
|
8549
|
-
})[]
|
|
8613
|
+
})[] | [] | [{
|
|
8614
|
+
globals: (string | {
|
|
8615
|
+
name: string;
|
|
8616
|
+
message?: string;
|
|
8617
|
+
})[];
|
|
8618
|
+
checkGlobalObject?: boolean;
|
|
8619
|
+
globalObjects?: string[];
|
|
8620
|
+
}]);
|
|
8550
8621
|
// ----- no-restricted-imports -----
|
|
8551
8622
|
type NoRestrictedImports = ((string | {
|
|
8552
8623
|
name: string;
|
|
8553
8624
|
message?: string;
|
|
8554
8625
|
importNames?: string[];
|
|
8555
8626
|
allowImportNames?: string[];
|
|
8627
|
+
allowTypeImports?: boolean;
|
|
8556
8628
|
})[] | [] | [{
|
|
8557
8629
|
paths?: (string | {
|
|
8558
8630
|
name: string;
|
|
8559
8631
|
message?: string;
|
|
8560
8632
|
importNames?: string[];
|
|
8561
8633
|
allowImportNames?: string[];
|
|
8634
|
+
allowTypeImports?: boolean;
|
|
8562
8635
|
})[];
|
|
8563
8636
|
patterns?: (string[] | ({
|
|
8564
8637
|
[k: string]: unknown | undefined;
|
|
@@ -8675,6 +8748,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
|
|
|
8675
8748
|
caughtErrorsIgnorePattern?: string;
|
|
8676
8749
|
destructuredArrayIgnorePattern?: string;
|
|
8677
8750
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
8751
|
+
ignoreUsingDeclarations?: boolean;
|
|
8678
8752
|
reportUsedIgnorePattern?: boolean;
|
|
8679
8753
|
})];
|
|
8680
8754
|
// ----- no-use-before-define -----
|
|
@@ -8745,7 +8819,7 @@ type NodeHashbang = [] | [{
|
|
|
8745
8819
|
// ----- node/no-deprecated-api -----
|
|
8746
8820
|
type NodeNoDeprecatedApi = [] | [{
|
|
8747
8821
|
version?: string;
|
|
8748
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
8822
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
8749
8823
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
8750
8824
|
ignoreIndirectDependencies?: boolean;
|
|
8751
8825
|
}];
|
|
@@ -8939,7 +9013,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
8939
9013
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
8940
9014
|
version?: string;
|
|
8941
9015
|
allowExperimental?: boolean;
|
|
8942
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
9016
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
8943
9017
|
}];
|
|
8944
9018
|
// ----- node/prefer-global/buffer -----
|
|
8945
9019
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -9040,6 +9114,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
9040
9114
|
var?: ("always" | "never" | "consecutive");
|
|
9041
9115
|
let?: ("always" | "never" | "consecutive");
|
|
9042
9116
|
const?: ("always" | "never" | "consecutive");
|
|
9117
|
+
using?: ("always" | "never" | "consecutive");
|
|
9118
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
9043
9119
|
} | {
|
|
9044
9120
|
initialized?: ("always" | "never" | "consecutive");
|
|
9045
9121
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -9124,6 +9200,10 @@ type PreferReflect = [] | [{
|
|
|
9124
9200
|
type PreferRegexLiterals = [] | [{
|
|
9125
9201
|
disallowRedundantWrapping?: boolean;
|
|
9126
9202
|
}];
|
|
9203
|
+
// ----- preserve-caught-error -----
|
|
9204
|
+
type PreserveCaughtError = [] | [{
|
|
9205
|
+
requireCatchParameter?: boolean;
|
|
9206
|
+
}];
|
|
9127
9207
|
// ----- promise/always-return -----
|
|
9128
9208
|
type PromiseAlwaysReturn = [] | [{
|
|
9129
9209
|
ignoreLastCallback?: boolean;
|
|
@@ -9647,6 +9727,10 @@ type StyleGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither"
|
|
|
9647
9727
|
before?: boolean;
|
|
9648
9728
|
after?: boolean;
|
|
9649
9729
|
});
|
|
9730
|
+
shorthand?: (("before" | "after" | "both" | "neither") | {
|
|
9731
|
+
before?: boolean;
|
|
9732
|
+
after?: boolean;
|
|
9733
|
+
});
|
|
9650
9734
|
})];
|
|
9651
9735
|
// ----- style/implicit-arrow-linebreak -----
|
|
9652
9736
|
type StyleImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
@@ -9659,6 +9743,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
9659
9743
|
const?: (number | ("first" | "off"));
|
|
9660
9744
|
using?: (number | ("first" | "off"));
|
|
9661
9745
|
});
|
|
9746
|
+
assignmentOperator?: (number | "off");
|
|
9662
9747
|
outerIIFEBody?: (number | "off");
|
|
9663
9748
|
MemberExpression?: (number | "off");
|
|
9664
9749
|
FunctionDeclaration?: {
|
|
@@ -10123,7 +10208,7 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10123
10208
|
before?: boolean;
|
|
10124
10209
|
after?: boolean;
|
|
10125
10210
|
};
|
|
10126
|
-
|
|
10211
|
+
arguments?: {
|
|
10127
10212
|
before?: boolean;
|
|
10128
10213
|
after?: boolean;
|
|
10129
10214
|
};
|
|
@@ -10139,6 +10224,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10139
10224
|
before?: boolean;
|
|
10140
10225
|
after?: boolean;
|
|
10141
10226
|
};
|
|
10227
|
+
eval?: {
|
|
10228
|
+
before?: boolean;
|
|
10229
|
+
after?: boolean;
|
|
10230
|
+
};
|
|
10142
10231
|
from?: {
|
|
10143
10232
|
before?: boolean;
|
|
10144
10233
|
after?: boolean;
|
|
@@ -10155,11 +10244,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10155
10244
|
before?: boolean;
|
|
10156
10245
|
after?: boolean;
|
|
10157
10246
|
};
|
|
10158
|
-
|
|
10247
|
+
set?: {
|
|
10159
10248
|
before?: boolean;
|
|
10160
10249
|
after?: boolean;
|
|
10161
10250
|
};
|
|
10162
|
-
|
|
10251
|
+
type?: {
|
|
10163
10252
|
before?: boolean;
|
|
10164
10253
|
after?: boolean;
|
|
10165
10254
|
};
|
|
@@ -10171,7 +10260,11 @@ type StyleKeywordSpacing = [] | [{
|
|
|
10171
10260
|
before?: boolean;
|
|
10172
10261
|
after?: boolean;
|
|
10173
10262
|
};
|
|
10174
|
-
|
|
10263
|
+
accessor?: {
|
|
10264
|
+
before?: boolean;
|
|
10265
|
+
after?: boolean;
|
|
10266
|
+
};
|
|
10267
|
+
satisfies?: {
|
|
10175
10268
|
before?: boolean;
|
|
10176
10269
|
after?: boolean;
|
|
10177
10270
|
};
|
|
@@ -10374,6 +10467,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
10374
10467
|
LogicalExpression?: boolean;
|
|
10375
10468
|
AwaitExpression?: boolean;
|
|
10376
10469
|
};
|
|
10470
|
+
ignoredNodes?: string[];
|
|
10377
10471
|
}]);
|
|
10378
10472
|
// ----- style/no-mixed-operators -----
|
|
10379
10473
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -10461,6 +10555,18 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
10461
10555
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
10462
10556
|
arraysInObjects?: boolean;
|
|
10463
10557
|
objectsInObjects?: boolean;
|
|
10558
|
+
overrides?: {
|
|
10559
|
+
ObjectPattern?: ("always" | "never");
|
|
10560
|
+
ObjectExpression?: ("always" | "never");
|
|
10561
|
+
ImportDeclaration?: ("always" | "never");
|
|
10562
|
+
ImportAttributes?: ("always" | "never");
|
|
10563
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
10564
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
10565
|
+
TSMappedType?: ("always" | "never");
|
|
10566
|
+
TSTypeLiteral?: ("always" | "never");
|
|
10567
|
+
TSInterfaceBody?: ("always" | "never");
|
|
10568
|
+
TSEnumBody?: ("always" | "never");
|
|
10569
|
+
};
|
|
10464
10570
|
}];
|
|
10465
10571
|
// ----- style/object-property-newline -----
|
|
10466
10572
|
type StyleObjectPropertyNewline = [] | [{
|
|
@@ -10489,7 +10595,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
10489
10595
|
// ----- style/padding-line-between-statements -----
|
|
10490
10596
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
10491
10597
|
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
|
|
10492
|
-
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "
|
|
10598
|
+
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
10493
10599
|
type StylePaddingLineBetweenStatements = {
|
|
10494
10600
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
10495
10601
|
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
@@ -11433,6 +11539,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
11433
11539
|
checkLiteralConstAssertions?: boolean;
|
|
11434
11540
|
typesToIgnore?: string[];
|
|
11435
11541
|
}];
|
|
11542
|
+
// ----- ts/no-unsafe-member-access -----
|
|
11543
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
11544
|
+
allowOptionalChaining?: boolean;
|
|
11545
|
+
}];
|
|
11436
11546
|
// ----- ts/no-unused-expressions -----
|
|
11437
11547
|
type TsNoUnusedExpressions = [] | [{
|
|
11438
11548
|
allowShortCircuit?: boolean;
|
|
@@ -11450,6 +11560,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
11450
11560
|
destructuredArrayIgnorePattern?: string;
|
|
11451
11561
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
11452
11562
|
ignoreRestSiblings?: boolean;
|
|
11563
|
+
ignoreUsingDeclarations?: boolean;
|
|
11453
11564
|
reportUsedIgnorePattern?: boolean;
|
|
11454
11565
|
vars?: ("all" | "local");
|
|
11455
11566
|
varsIgnorePattern?: string;
|
|
@@ -11748,6 +11859,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
11748
11859
|
type UnicornNoArrayReverse = [] | [{
|
|
11749
11860
|
allowExpressionStatement?: boolean;
|
|
11750
11861
|
}];
|
|
11862
|
+
// ----- unicorn/no-array-sort -----
|
|
11863
|
+
type UnicornNoArraySort = [] | [{
|
|
11864
|
+
allowExpressionStatement?: boolean;
|
|
11865
|
+
}];
|
|
11751
11866
|
// ----- unicorn/no-instanceof-builtins -----
|
|
11752
11867
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
11753
11868
|
useErrorIsError?: boolean;
|
|
@@ -11905,6 +12020,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
11905
12020
|
destructuredArrayIgnorePattern?: string;
|
|
11906
12021
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
11907
12022
|
ignoreRestSiblings?: boolean;
|
|
12023
|
+
ignoreUsingDeclarations?: boolean;
|
|
11908
12024
|
reportUsedIgnorePattern?: boolean;
|
|
11909
12025
|
vars?: ("all" | "local");
|
|
11910
12026
|
varsIgnorePattern?: string;
|
|
@@ -11918,6 +12034,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
11918
12034
|
destructuredArrayIgnorePattern?: string;
|
|
11919
12035
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
11920
12036
|
ignoreRestSiblings?: boolean;
|
|
12037
|
+
ignoreUsingDeclarations?: boolean;
|
|
11921
12038
|
reportUsedIgnorePattern?: boolean;
|
|
11922
12039
|
vars?: ("all" | "local");
|
|
11923
12040
|
varsIgnorePattern?: string;
|
|
@@ -12067,6 +12184,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
12067
12184
|
type VueAttributesOrder = [] | [{
|
|
12068
12185
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
12069
12186
|
alphabetical?: boolean;
|
|
12187
|
+
sortLineLength?: boolean;
|
|
12070
12188
|
}];
|
|
12071
12189
|
// ----- vue/block-lang -----
|
|
12072
12190
|
type VueBlockLang = [] | [{
|
|
@@ -12713,6 +12831,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
12713
12831
|
}];
|
|
12714
12832
|
// ----- vue/next-tick-style -----
|
|
12715
12833
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
12834
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
12835
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
12836
|
+
ignoredObjectNames?: string[];
|
|
12837
|
+
}];
|
|
12716
12838
|
// ----- vue/no-bare-strings-in-template -----
|
|
12717
12839
|
type VueNoBareStringsInTemplate = [] | [{
|
|
12718
12840
|
allowlist?: string[];
|
|
@@ -12997,6 +13119,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
12997
13119
|
ignoreIncludesComment?: boolean;
|
|
12998
13120
|
ignoreStringEscape?: boolean;
|
|
12999
13121
|
}];
|
|
13122
|
+
// ----- vue/no-v-html -----
|
|
13123
|
+
type VueNoVHtml = [] | [{
|
|
13124
|
+
ignorePattern?: string;
|
|
13125
|
+
}];
|
|
13000
13126
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
13001
13127
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
13002
13128
|
allow?: string[];
|
|
@@ -13429,7 +13555,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
13429
13555
|
onlyEquality?: boolean;
|
|
13430
13556
|
}];
|
|
13431
13557
|
// Names of all the configs
|
|
13432
|
-
type ConfigNames = 'so1ve/comments/setup' | 'so1ve/comments/rules' | 'so1ve/formatting/setup' | 'so1ve/formatting/rules' | 'so1ve/formatting/rules/sort-package-json' | 'so1ve/formatting/rules/sort-tsconfig' | 'so1ve/formatting/rules/test' | 'so1ve/html/setup' | 'so1ve/html/rules' | 'so1ve/imports/setup' | 'so1ve/imports/rules' | 'so1ve/imports/rules/dts' | 'so1ve/javascript/setup' | 'so1ve/javascript/rules' | 'so1ve/javascript/regexp' | 'so1ve/javascript/cli' | 'so1ve/jsonc/setup' | 'so1ve/jsonc/rules' | 'so1ve/mdx/setup' | 'so1ve/mdx/rules' | 'so1ve/node/setup' | 'so1ve/node/rules' | 'so1ve/only-error' | 'so1ve/promise/setup' | 'so1ve/promise/rules' | 'so1ve/solid/setup' | 'so1ve/solid/rules' | 'so1ve/sort-imports/setup' | 'so1ve/sort-imports/rules' | 'so1ve/test/setup' | 'so1ve/test/rules' | 'so1ve/toml/setup' | 'so1ve/toml/rules' | 'so1ve/typescript/setup' | 'so1ve/typescript/rules' | 'so1ve/typescript/rules/
|
|
13558
|
+
type ConfigNames = 'so1ve/comments/setup' | 'so1ve/comments/rules' | 'so1ve/formatting/setup' | 'so1ve/formatting/rules' | 'so1ve/formatting/rules/sort-package-json' | 'so1ve/formatting/rules/sort-tsconfig' | 'so1ve/formatting/rules/test' | 'so1ve/html/setup' | 'so1ve/html/rules' | 'so1ve/imports/setup' | 'so1ve/imports/rules' | 'so1ve/imports/rules/dts' | 'so1ve/javascript/setup' | 'so1ve/javascript/rules' | 'so1ve/javascript/regexp' | 'so1ve/javascript/cli' | 'so1ve/jsonc/setup' | 'so1ve/jsonc/rules' | 'so1ve/mdx/setup' | 'so1ve/mdx/rules' | 'so1ve/node/setup' | 'so1ve/node/rules' | 'so1ve/only-error' | 'so1ve/promise/setup' | 'so1ve/promise/rules' | 'so1ve/solid/setup' | 'so1ve/solid/rules' | 'so1ve/sort-imports/setup' | 'so1ve/sort-imports/rules' | 'so1ve/test/setup' | 'so1ve/test/rules' | 'so1ve/toml/setup' | 'so1ve/toml/rules' | 'so1ve/typescript/setup' | 'so1ve/typescript/rules' | 'so1ve/typescript/rules/type-aware' | 'so1ve/typescript/rules/dts' | 'so1ve/typescript/rules/js' | 'so1ve/unicorn/setup' | 'so1ve/unicorn/rules' | 'so1ve/vue/setup' | 'so1ve/vue/rules' | 'so1ve/yaml/setup' | 'so1ve/yaml/rules';
|
|
13433
13559
|
//#endregion
|
|
13434
13560
|
//#region src/types.d.ts
|
|
13435
13561
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -13567,6 +13693,11 @@ interface Options extends OptionsComponentExts {
|
|
|
13567
13693
|
};
|
|
13568
13694
|
}
|
|
13569
13695
|
//#endregion
|
|
13696
|
+
//#region src/configs/astro.d.ts
|
|
13697
|
+
declare function astro({
|
|
13698
|
+
overrides
|
|
13699
|
+
}?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
13700
|
+
//#endregion
|
|
13570
13701
|
//#region src/configs/comments.d.ts
|
|
13571
13702
|
declare const comments: () => TypedFlatConfigItem[];
|
|
13572
13703
|
//#endregion
|
|
@@ -13723,4 +13854,4 @@ declare function interopDefault<T>(m: MaybePromise<T>): Promise<T extends {
|
|
|
13723
13854
|
default: infer U;
|
|
13724
13855
|
} ? U : T>;
|
|
13725
13856
|
//#endregion
|
|
13726
|
-
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };
|
|
13857
|
+
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, astro, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };
|