@jsse/eslint-config 0.2.25 → 0.2.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -4348,233 +4348,233 @@ interface IgnoresRuleOptions {}
4348
4348
  interface ImportsRuleOptions {
4349
4349
  /**
4350
4350
  * Enforce or ban the use of inline type-only markers for named imports.
4351
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
4351
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/consistent-type-specifier-style.md
4352
4352
  */
4353
4353
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4354
4354
  /**
4355
4355
  * Ensure a default export is present, given a default import.
4356
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
4356
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
4357
4357
  */
4358
4358
  "import/default"?: Linter.RuleEntry<[]>;
4359
4359
  /**
4360
4360
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4361
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
4361
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
4362
4362
  */
4363
4363
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4364
4364
  /**
4365
4365
  * Forbid any invalid exports, i.e. re-export of the same name.
4366
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
4366
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/export.md
4367
4367
  */
4368
4368
  "import/export"?: Linter.RuleEntry<[]>;
4369
4369
  /**
4370
4370
  * Ensure all exports appear after other statements.
4371
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
4371
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
4372
4372
  */
4373
4373
  "import/exports-last"?: Linter.RuleEntry<[]>;
4374
4374
  /**
4375
4375
  * Ensure consistent use of file extension within the import path.
4376
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
4376
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
4377
4377
  */
4378
4378
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4379
4379
  /**
4380
4380
  * Ensure all imports appear before other statements.
4381
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
4381
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
4382
4382
  */
4383
4383
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4384
4384
  /**
4385
4385
  * Prefer named exports to be grouped together in a single export declaration.
4386
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
4386
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/group-exports.md
4387
4387
  */
4388
4388
  "import/group-exports"?: Linter.RuleEntry<[]>;
4389
4389
  /**
4390
4390
  * Replaced by `import-x/first`.
4391
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
4391
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
4392
4392
  * @deprecated
4393
4393
  */
4394
4394
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4395
4395
  /**
4396
4396
  * Enforce the maximum number of dependencies a module can have.
4397
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
4397
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
4398
4398
  */
4399
4399
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4400
4400
  /**
4401
4401
  * Ensure named imports correspond to a named export in the remote file.
4402
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
4402
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/named.md
4403
4403
  */
4404
4404
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4405
4405
  /**
4406
4406
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4407
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
4407
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
4408
4408
  */
4409
4409
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4410
4410
  /**
4411
4411
  * Enforce a newline after import statements.
4412
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
4412
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
4413
4413
  */
4414
4414
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4415
4415
  /**
4416
4416
  * Forbid import of modules using absolute paths.
4417
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
4417
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
4418
4418
  */
4419
4419
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4420
4420
  /**
4421
4421
  * Forbid AMD `require` and `define` calls.
4422
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
4422
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
4423
4423
  */
4424
4424
  "import/no-amd"?: Linter.RuleEntry<[]>;
4425
4425
  /**
4426
4426
  * Forbid anonymous values as default exports.
4427
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
4427
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
4428
4428
  */
4429
4429
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4430
4430
  /**
4431
4431
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4432
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
4432
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
4433
4433
  */
4434
4434
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4435
4435
  /**
4436
4436
  * Forbid a module from importing a module with a dependency path back to itself.
4437
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
4437
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-cycle.md
4438
4438
  */
4439
4439
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4440
4440
  /**
4441
4441
  * Forbid default exports.
4442
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
4442
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
4443
4443
  */
4444
4444
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4445
4445
  /**
4446
4446
  * Forbid imported names marked with `@deprecated` documentation tag.
4447
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
4447
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
4448
4448
  */
4449
4449
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4450
4450
  /**
4451
4451
  * Forbid repeated import of the same module in multiple places.
4452
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
4452
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
4453
4453
  */
4454
4454
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4455
4455
  /**
4456
4456
  * Forbid `require()` calls with expressions.
4457
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
4457
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
4458
4458
  */
4459
4459
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4460
4460
  /**
4461
4461
  * Forbid empty named import blocks.
4462
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
4462
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
4463
4463
  */
4464
4464
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4465
4465
  /**
4466
4466
  * Forbid the use of extraneous packages.
4467
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
4467
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
4468
4468
  */
4469
4469
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4470
4470
  /**
4471
4471
  * Forbid import statements with CommonJS module.exports.
4472
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
4472
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
4473
4473
  */
4474
4474
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4475
4475
  /**
4476
4476
  * Forbid importing the submodules of other modules.
4477
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
4477
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
4478
4478
  */
4479
4479
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4480
4480
  /**
4481
4481
  * Forbid the use of mutable exports with `var` or `let`.
4482
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
4482
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
4483
4483
  */
4484
4484
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4485
4485
  /**
4486
4486
  * Forbid use of exported name as identifier of default export.
4487
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
4487
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
4488
4488
  */
4489
4489
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4490
4490
  /**
4491
4491
  * Forbid use of exported name as property of default export.
4492
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
4492
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
4493
4493
  */
4494
4494
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4495
4495
  /**
4496
4496
  * Forbid named default exports.
4497
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
4497
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
4498
4498
  */
4499
4499
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4500
4500
  /**
4501
4501
  * Forbid named exports.
4502
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
4502
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
4503
4503
  */
4504
4504
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4505
4505
  /**
4506
4506
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4507
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
4507
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
4508
4508
  */
4509
4509
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4510
4510
  /**
4511
4511
  * Forbid Node.js builtin modules.
4512
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
4512
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
4513
4513
  */
4514
4514
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4515
4515
  /**
4516
4516
  * Forbid importing packages through relative paths.
4517
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
4517
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
4518
4518
  */
4519
4519
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4520
4520
  /**
4521
4521
  * Forbid importing modules from parent directories.
4522
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
4522
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
4523
4523
  */
4524
4524
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4525
4525
  /**
4526
4526
  * Forbid importing a default export by a different name.
4527
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
4527
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
4528
4528
  */
4529
4529
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
4530
4530
  /**
4531
4531
  * Enforce which files can be imported in a given folder.
4532
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
4532
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
4533
4533
  */
4534
4534
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4535
4535
  /**
4536
4536
  * Forbid a module from importing itself.
4537
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
4537
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
4538
4538
  */
4539
4539
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4540
4540
  /**
4541
4541
  * Forbid unassigned imports.
4542
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
4542
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
4543
4543
  */
4544
4544
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4545
4545
  /**
4546
4546
  * Ensure imports point to a file/module that can be resolved.
4547
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
4547
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
4548
4548
  */
4549
4549
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4550
4550
  /**
4551
4551
  * Forbid modules without exports, or exports without matching import in another module.
4552
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
4552
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unused-modules.md
4553
4553
  */
4554
4554
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4555
4555
  /**
4556
4556
  * Forbid unnecessary path segments in import and require statements.
4557
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
4557
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
4558
4558
  */
4559
4559
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4560
4560
  /**
4561
4561
  * Forbid webpack loader syntax in imports.
4562
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
4562
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
4563
4563
  */
4564
4564
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4565
4565
  /**
4566
4566
  * Enforce a convention in module import order.
4567
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
4567
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
4568
4568
  */
4569
4569
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4570
4570
  /**
4571
4571
  * Prefer a default export if module exports a single name or multiple names.
4572
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
4572
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/prefer-default-export.md
4573
4573
  */
4574
4574
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4575
4575
  /**
4576
4576
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4577
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
4577
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
4578
4578
  */
4579
4579
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4580
4580
  }
@@ -4624,15 +4624,15 @@ type ImportExtensions$1 =
4624
4624
  },
4625
4625
  ]
4626
4626
  | []
4627
+ | ["always" | "ignorePackages" | "never"]
4627
4628
  | [
4629
+ "always" | "ignorePackages" | "never",
4628
4630
  {
4629
4631
  [k: string]: "always" | "ignorePackages" | "never";
4630
4632
  },
4631
4633
  ]
4632
4634
  | []
4633
- | ["always" | "ignorePackages" | "never"]
4634
4635
  | [
4635
- "always" | "ignorePackages" | "never",
4636
4636
  {
4637
4637
  [k: string]: "always" | "ignorePackages" | "never";
4638
4638
  },
@@ -8428,6 +8428,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
8428
8428
  | "CloseEvent"
8429
8429
  | "CustomEvent"
8430
8430
  | "Event"
8431
+ | "EventSource"
8431
8432
  | "EventTarget"
8432
8433
  | "PerformanceEntry"
8433
8434
  | "PerformanceMark"
@@ -9133,10 +9134,10 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9133
9134
  | "http.Server"
9134
9135
  | "inspector"
9135
9136
  | "inspector.Session"
9137
+ | "inspector.Network.loadingFailed"
9138
+ | "inspector.Network.loadingFinished"
9136
9139
  | "inspector.Network.requestWillBeSent"
9137
9140
  | "inspector.Network.responseReceived"
9138
- | "inspector.Network.loadingFinished"
9139
- | "inspector.Network.loadingFailed"
9140
9141
  | "inspector.console"
9141
9142
  | "inspector.close"
9142
9143
  | "inspector.open"
@@ -9434,55 +9435,42 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9434
9435
  | "string_decoder"
9435
9436
  | "string_decoder.StringDecoder"
9436
9437
  | "test"
9437
- | "test.run"
9438
- | "test.skip"
9439
- | "test.todo"
9440
- | "test.only"
9438
+ | "test.after"
9439
+ | "test.afterEach"
9440
+ | "test.before"
9441
+ | "test.beforeEach"
9441
9442
  | "test.describe"
9443
+ | "test.describe.only"
9442
9444
  | "test.describe.skip"
9443
9445
  | "test.describe.todo"
9444
- | "test.describe.only"
9445
9446
  | "test.it"
9447
+ | "test.it.only"
9446
9448
  | "test.it.skip"
9447
9449
  | "test.it.todo"
9448
- | "test.it.only"
9449
- | "test.suite"
9450
- | "test.suite.skip"
9451
- | "test.suite.todo"
9452
- | "test.suite.only"
9453
- | "test.before"
9454
- | "test.after"
9455
- | "test.beforeEach"
9456
- | "test.afterEach"
9450
+ | "test.mock"
9451
+ | "test.mock.fn"
9452
+ | "test.mock.getter"
9453
+ | "test.mock.method"
9454
+ | "test.mock.module"
9455
+ | "test.mock.reset"
9456
+ | "test.mock.restoreAll"
9457
+ | "test.mock.setter"
9458
+ | "test.mock.timers"
9459
+ | "test.mock.timers.enable"
9460
+ | "test.mock.timers.reset"
9461
+ | "test.mock.timers.tick"
9462
+ | "test.only"
9463
+ | "test.run"
9457
9464
  | "test.snapshot"
9458
9465
  | "test.snapshot.setDefaultSnapshotSerializers"
9459
9466
  | "test.snapshot.setResolveSnapshotPath"
9460
- | "test.MockFunctionContext"
9461
- | "test.MockModuleContext"
9462
- | "test.MockTracker"
9463
- | "test.MockTimers"
9464
- | "test.TestsStream"
9465
- | "test.TestContext"
9466
- | "test.SuiteContext"
9467
- | "test.test.run"
9467
+ | "test.skip"
9468
+ | "test.suite"
9469
+ | "test.test"
9470
+ | "test.test.only"
9468
9471
  | "test.test.skip"
9469
9472
  | "test.test.todo"
9470
- | "test.test.only"
9471
- | "test.test.describe"
9472
- | "test.test.it"
9473
- | "test.test.suite"
9474
- | "test.test.before"
9475
- | "test.test.after"
9476
- | "test.test.beforeEach"
9477
- | "test.test.afterEach"
9478
- | "test.test.snapshot"
9479
- | "test.test.MockFunctionContext"
9480
- | "test.test.MockModuleContext"
9481
- | "test.test.MockTracker"
9482
- | "test.test.MockTimers"
9483
- | "test.test.TestsStream"
9484
- | "test.test.TestContext"
9485
- | "test.test.SuiteContext"
9473
+ | "test.todo"
9486
9474
  | "timers"
9487
9475
  | "timers.Immediate"
9488
9476
  | "timers.Timeout"
@@ -14672,6 +14660,11 @@ interface VitestRuleOptions {
14672
14660
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
14673
14661
  */
14674
14662
  "vitest/valid-expect"?: Linter.RuleEntry<VitestValidExpect>;
14663
+ /**
14664
+ * Require promises that have expectations in their chain to be valid
14665
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
14666
+ */
14667
+ "vitest/valid-expect-in-promise"?: Linter.RuleEntry<[]>;
14675
14668
  /**
14676
14669
  * enforce valid titles
14677
14670
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
@@ -14703,7 +14696,7 @@ type VitestExpectExpect =
14703
14696
  | []
14704
14697
  | [
14705
14698
  {
14706
- assertFunctionNames?: [] | [string];
14699
+ assertFunctionNames?: string[];
14707
14700
  additionalTestBlockFunctions?: string[];
14708
14701
  },
14709
14702
  ];
@@ -15481,6 +15474,11 @@ interface TypescriptRuleOptions {
15481
15474
  * @see https://typescript-eslint.io/rules/no-unsafe-return
15482
15475
  */
15483
15476
  "@typescript-eslint/no-unsafe-return"?: Linter.RuleEntry<[]>;
15477
+ /**
15478
+ * Disallow type assertions that narrow a type
15479
+ * @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
15480
+ */
15481
+ "@typescript-eslint/no-unsafe-type-assertion"?: Linter.RuleEntry<[]>;
15484
15482
  /**
15485
15483
  * Require unary negation to take a number
15486
15484
  * @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
@@ -15638,6 +15636,11 @@ interface TypescriptRuleOptions {
15638
15636
  * @see https://typescript-eslint.io/rules/promise-function-async
15639
15637
  */
15640
15638
  "@typescript-eslint/promise-function-async"?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
15639
+ /**
15640
+ * Enforce that `get()` types should be assignable to their equivalent `set()` type
15641
+ * @see https://typescript-eslint.io/rules/related-getter-setter-pairs
15642
+ */
15643
+ "@typescript-eslint/related-getter-setter-pairs"?: Linter.RuleEntry<[]>;
15641
15644
  /**
15642
15645
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
15643
15646
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
@@ -15708,233 +15711,233 @@ interface TypescriptRuleOptions {
15708
15711
  >;
15709
15712
  /**
15710
15713
  * Enforce or ban the use of inline type-only markers for named imports.
15711
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
15714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/consistent-type-specifier-style.md
15712
15715
  */
15713
15716
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15714
15717
  /**
15715
15718
  * Ensure a default export is present, given a default import.
15716
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
15719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
15717
15720
  */
15718
15721
  "import/default"?: Linter.RuleEntry<[]>;
15719
15722
  /**
15720
15723
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
15721
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
15724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
15722
15725
  */
15723
15726
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15724
15727
  /**
15725
15728
  * Forbid any invalid exports, i.e. re-export of the same name.
15726
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
15729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/export.md
15727
15730
  */
15728
15731
  "import/export"?: Linter.RuleEntry<[]>;
15729
15732
  /**
15730
15733
  * Ensure all exports appear after other statements.
15731
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
15734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
15732
15735
  */
15733
15736
  "import/exports-last"?: Linter.RuleEntry<[]>;
15734
15737
  /**
15735
15738
  * Ensure consistent use of file extension within the import path.
15736
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
15739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
15737
15740
  */
15738
15741
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
15739
15742
  /**
15740
15743
  * Ensure all imports appear before other statements.
15741
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
15744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
15742
15745
  */
15743
15746
  "import/first"?: Linter.RuleEntry<ImportFirst>;
15744
15747
  /**
15745
15748
  * Prefer named exports to be grouped together in a single export declaration.
15746
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
15749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/group-exports.md
15747
15750
  */
15748
15751
  "import/group-exports"?: Linter.RuleEntry<[]>;
15749
15752
  /**
15750
15753
  * Replaced by `import-x/first`.
15751
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
15754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
15752
15755
  * @deprecated
15753
15756
  */
15754
15757
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
15755
15758
  /**
15756
15759
  * Enforce the maximum number of dependencies a module can have.
15757
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
15760
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
15758
15761
  */
15759
15762
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
15760
15763
  /**
15761
15764
  * Ensure named imports correspond to a named export in the remote file.
15762
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
15765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/named.md
15763
15766
  */
15764
15767
  "import/named"?: Linter.RuleEntry<ImportNamed>;
15765
15768
  /**
15766
15769
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
15767
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
15770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
15768
15771
  */
15769
15772
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
15770
15773
  /**
15771
15774
  * Enforce a newline after import statements.
15772
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
15775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
15773
15776
  */
15774
15777
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
15775
15778
  /**
15776
15779
  * Forbid import of modules using absolute paths.
15777
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
15780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
15778
15781
  */
15779
15782
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
15780
15783
  /**
15781
15784
  * Forbid AMD `require` and `define` calls.
15782
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
15785
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
15783
15786
  */
15784
15787
  "import/no-amd"?: Linter.RuleEntry<[]>;
15785
15788
  /**
15786
15789
  * Forbid anonymous values as default exports.
15787
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
15790
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
15788
15791
  */
15789
15792
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
15790
15793
  /**
15791
15794
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
15792
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
15795
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
15793
15796
  */
15794
15797
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
15795
15798
  /**
15796
15799
  * Forbid a module from importing a module with a dependency path back to itself.
15797
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
15800
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-cycle.md
15798
15801
  */
15799
15802
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
15800
15803
  /**
15801
15804
  * Forbid default exports.
15802
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
15805
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
15803
15806
  */
15804
15807
  "import/no-default-export"?: Linter.RuleEntry<[]>;
15805
15808
  /**
15806
15809
  * Forbid imported names marked with `@deprecated` documentation tag.
15807
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
15810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
15808
15811
  */
15809
15812
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
15810
15813
  /**
15811
15814
  * Forbid repeated import of the same module in multiple places.
15812
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
15815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
15813
15816
  */
15814
15817
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
15815
15818
  /**
15816
15819
  * Forbid `require()` calls with expressions.
15817
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
15820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
15818
15821
  */
15819
15822
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
15820
15823
  /**
15821
15824
  * Forbid empty named import blocks.
15822
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
15825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
15823
15826
  */
15824
15827
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
15825
15828
  /**
15826
15829
  * Forbid the use of extraneous packages.
15827
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
15830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
15828
15831
  */
15829
15832
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
15830
15833
  /**
15831
15834
  * Forbid import statements with CommonJS module.exports.
15832
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
15835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
15833
15836
  */
15834
15837
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
15835
15838
  /**
15836
15839
  * Forbid importing the submodules of other modules.
15837
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
15840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
15838
15841
  */
15839
15842
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
15840
15843
  /**
15841
15844
  * Forbid the use of mutable exports with `var` or `let`.
15842
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
15845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
15843
15846
  */
15844
15847
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
15845
15848
  /**
15846
15849
  * Forbid use of exported name as identifier of default export.
15847
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
15850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
15848
15851
  */
15849
15852
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
15850
15853
  /**
15851
15854
  * Forbid use of exported name as property of default export.
15852
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
15855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
15853
15856
  */
15854
15857
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
15855
15858
  /**
15856
15859
  * Forbid named default exports.
15857
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
15860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
15858
15861
  */
15859
15862
  "import/no-named-default"?: Linter.RuleEntry<[]>;
15860
15863
  /**
15861
15864
  * Forbid named exports.
15862
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
15865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
15863
15866
  */
15864
15867
  "import/no-named-export"?: Linter.RuleEntry<[]>;
15865
15868
  /**
15866
15869
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
15867
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
15870
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
15868
15871
  */
15869
15872
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
15870
15873
  /**
15871
15874
  * Forbid Node.js builtin modules.
15872
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
15875
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
15873
15876
  */
15874
15877
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
15875
15878
  /**
15876
15879
  * Forbid importing packages through relative paths.
15877
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
15880
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
15878
15881
  */
15879
15882
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
15880
15883
  /**
15881
15884
  * Forbid importing modules from parent directories.
15882
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
15885
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
15883
15886
  */
15884
15887
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
15885
15888
  /**
15886
15889
  * Forbid importing a default export by a different name.
15887
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
15890
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
15888
15891
  */
15889
15892
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
15890
15893
  /**
15891
15894
  * Enforce which files can be imported in a given folder.
15892
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
15895
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
15893
15896
  */
15894
15897
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
15895
15898
  /**
15896
15899
  * Forbid a module from importing itself.
15897
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
15900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
15898
15901
  */
15899
15902
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15900
15903
  /**
15901
15904
  * Forbid unassigned imports.
15902
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
15905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
15903
15906
  */
15904
15907
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15905
15908
  /**
15906
15909
  * Ensure imports point to a file/module that can be resolved.
15907
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
15910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
15908
15911
  */
15909
15912
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15910
15913
  /**
15911
15914
  * Forbid modules without exports, or exports without matching import in another module.
15912
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
15915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unused-modules.md
15913
15916
  */
15914
15917
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15915
15918
  /**
15916
15919
  * Forbid unnecessary path segments in import and require statements.
15917
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
15920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
15918
15921
  */
15919
15922
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15920
15923
  /**
15921
15924
  * Forbid webpack loader syntax in imports.
15922
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
15925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
15923
15926
  */
15924
15927
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15925
15928
  /**
15926
15929
  * Enforce a convention in module import order.
15927
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
15930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
15928
15931
  */
15929
15932
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15930
15933
  /**
15931
15934
  * Prefer a default export if module exports a single name or multiple names.
15932
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
15935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/prefer-default-export.md
15933
15936
  */
15934
15937
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15935
15938
  /**
15936
15939
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15937
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
15940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
15938
15941
  */
15939
15942
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15940
15943
  }
@@ -18694,6 +18697,8 @@ type TypescriptEslintNoConfusingVoidExpression =
18694
18697
  ignoreArrowShorthand?: boolean;
18695
18698
 
18696
18699
  ignoreVoidOperator?: boolean;
18700
+
18701
+ ignoreVoidReturningFunctions?: boolean;
18697
18702
  },
18698
18703
  ];
18699
18704
  // ----- @typescript-eslint/no-duplicate-type-constituents -----
@@ -19173,6 +19178,24 @@ type TypescriptEslintOnlyThrowError =
19173
19178
  | []
19174
19179
  | [
19175
19180
  {
19181
+ allow?: (
19182
+ | string
19183
+ | {
19184
+ from: "file";
19185
+ name: string | [string, ...string[]];
19186
+ path?: string;
19187
+ }
19188
+ | {
19189
+ from: "lib";
19190
+ name: string | [string, ...string[]];
19191
+ }
19192
+ | {
19193
+ from: "package";
19194
+ name: string | [string, ...string[]];
19195
+ package: string;
19196
+ }
19197
+ )[];
19198
+
19176
19199
  allowThrowingAny?: boolean;
19177
19200
 
19178
19201
  allowThrowingUnknown?: boolean;
@@ -19254,6 +19277,8 @@ type TypescriptEslintPreferNullishCoalescing =
19254
19277
  {
19255
19278
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
19256
19279
 
19280
+ ignoreBooleanCoercion?: boolean;
19281
+
19257
19282
  ignoreConditionalTests?: boolean;
19258
19283
 
19259
19284
  ignoreMixedLogicalExpressions?: boolean;
@@ -19601,15 +19626,15 @@ type ImportExtensions =
19601
19626
  },
19602
19627
  ]
19603
19628
  | []
19629
+ | ["always" | "ignorePackages" | "never"]
19604
19630
  | [
19631
+ "always" | "ignorePackages" | "never",
19605
19632
  {
19606
19633
  [k: string]: "always" | "ignorePackages" | "never";
19607
19634
  },
19608
19635
  ]
19609
19636
  | []
19610
- | ["always" | "ignorePackages" | "never"]
19611
19637
  | [
19612
- "always" | "ignorePackages" | "never",
19613
19638
  {
19614
19639
  [k: string]: "always" | "ignorePackages" | "never";
19615
19640
  },
@@ -21613,6 +21638,12 @@ type OptionsConfig = {
21613
21638
  * Array of rules to turn off.
21614
21639
  */
21615
21640
  off?: string[];
21641
+ /**
21642
+ * Enable `eslint-plugin-command`
21643
+ *
21644
+ * @default true
21645
+ */
21646
+ command?: boolean;
21616
21647
  /**
21617
21648
  * Enable fast mode.
21618
21649
  *
@@ -21734,6 +21765,8 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
21734
21765
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
21735
21766
  type DefineConfig = typeof defineConfig;
21736
21767
 
21768
+ declare const VERSION = "0.2.27";
21769
+
21737
21770
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
21738
21771
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
21739
21772
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
@@ -21760,6 +21793,35 @@ declare const GLOB_TESTS: string[];
21760
21793
  declare const GLOB_ALL_SRC: string[];
21761
21794
  declare const GLOB_EXCLUDE: string[];
21762
21795
 
21796
+ declare const globs_GLOB_ALL_SRC: typeof GLOB_ALL_SRC;
21797
+ declare const globs_GLOB_CSS: typeof GLOB_CSS;
21798
+ declare const globs_GLOB_EXCLUDE: typeof GLOB_EXCLUDE;
21799
+ declare const globs_GLOB_GRAPHQL: typeof GLOB_GRAPHQL;
21800
+ declare const globs_GLOB_HTML: typeof GLOB_HTML;
21801
+ declare const globs_GLOB_JS: typeof GLOB_JS;
21802
+ declare const globs_GLOB_JSON: typeof GLOB_JSON;
21803
+ declare const globs_GLOB_JSON5: typeof GLOB_JSON5;
21804
+ declare const globs_GLOB_JSONC: typeof GLOB_JSONC;
21805
+ declare const globs_GLOB_JSX: typeof GLOB_JSX;
21806
+ declare const globs_GLOB_JS_SRC_EXT: typeof GLOB_JS_SRC_EXT;
21807
+ declare const globs_GLOB_LESS: typeof GLOB_LESS;
21808
+ declare const globs_GLOB_MARKDOWN: typeof GLOB_MARKDOWN;
21809
+ declare const globs_GLOB_MARKDOWN_CODE: typeof GLOB_MARKDOWN_CODE;
21810
+ declare const globs_GLOB_MARKDOWN_IN_MARKDOWN: typeof GLOB_MARKDOWN_IN_MARKDOWN;
21811
+ declare const globs_GLOB_SCSS: typeof GLOB_SCSS;
21812
+ declare const globs_GLOB_SRC: typeof GLOB_SRC;
21813
+ declare const globs_GLOB_SRC_EXT: typeof GLOB_SRC_EXT;
21814
+ declare const globs_GLOB_STYLE: typeof GLOB_STYLE;
21815
+ declare const globs_GLOB_TESTS: typeof GLOB_TESTS;
21816
+ declare const globs_GLOB_TOML: typeof GLOB_TOML;
21817
+ declare const globs_GLOB_TS: typeof GLOB_TS;
21818
+ declare const globs_GLOB_TSCONFIG: typeof GLOB_TSCONFIG;
21819
+ declare const globs_GLOB_TSX: typeof GLOB_TSX;
21820
+ declare const globs_GLOB_YAML: typeof GLOB_YAML;
21821
+ declare namespace globs {
21822
+ export { globs_GLOB_ALL_SRC as GLOB_ALL_SRC, globs_GLOB_CSS as GLOB_CSS, globs_GLOB_EXCLUDE as GLOB_EXCLUDE, globs_GLOB_GRAPHQL as GLOB_GRAPHQL, globs_GLOB_HTML as GLOB_HTML, globs_GLOB_JS as GLOB_JS, globs_GLOB_JSON as GLOB_JSON, globs_GLOB_JSON5 as GLOB_JSON5, globs_GLOB_JSONC as GLOB_JSONC, globs_GLOB_JSX as GLOB_JSX, globs_GLOB_JS_SRC_EXT as GLOB_JS_SRC_EXT, globs_GLOB_LESS as GLOB_LESS, globs_GLOB_MARKDOWN as GLOB_MARKDOWN, globs_GLOB_MARKDOWN_CODE as GLOB_MARKDOWN_CODE, globs_GLOB_MARKDOWN_IN_MARKDOWN as GLOB_MARKDOWN_IN_MARKDOWN, globs_GLOB_SCSS as GLOB_SCSS, globs_GLOB_SRC as GLOB_SRC, globs_GLOB_SRC_EXT as GLOB_SRC_EXT, globs_GLOB_STYLE as GLOB_STYLE, globs_GLOB_TESTS as GLOB_TESTS, globs_GLOB_TOML as GLOB_TOML, globs_GLOB_TS as GLOB_TS, globs_GLOB_TSCONFIG as GLOB_TSCONFIG, globs_GLOB_TSX as GLOB_TSX, globs_GLOB_YAML as GLOB_YAML };
21823
+ }
21824
+
21763
21825
  declare function importPluginReact(): Promise<{
21764
21826
  pluginReact: {
21765
21827
  deprecatedRules: Partial<{
@@ -23528,4 +23590,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
23528
23590
  declare function error2warn<T extends TypedFlatConfigItem>(configs: T[]): T[];
23529
23591
  declare function warn2error<T extends TypedFlatConfigItem>(configs: T[]): T[];
23530
23592
 
23531
- export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, renameRules, safeImportPluginTailwind, turnOffRules, uniqueStrings, warn2error };
23593
+ export { type Awaitable, type EslintConfigFn, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, globs, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, renameRules, safeImportPluginTailwind, turnOffRules, uniqueStrings, warn2error };