@jsse/eslint-config 0.1.18 → 0.1.20

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
@@ -4329,42 +4329,42 @@ interface IgnoresRuleOptions {}
4329
4329
  interface ImportsRuleOptions {
4330
4330
  /**
4331
4331
  * Enforce or ban the use of inline type-only markers for named imports.
4332
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/consistent-type-specifier-style.md
4332
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/consistent-type-specifier-style.md
4333
4333
  */
4334
4334
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4335
4335
  /**
4336
4336
  * Ensure a default export is present, given a default import.
4337
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/default.md
4337
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/default.md
4338
4338
  */
4339
4339
  "import/default"?: Linter.RuleEntry<[]>;
4340
4340
  /**
4341
4341
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4342
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/dynamic-import-chunkname.md
4342
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/dynamic-import-chunkname.md
4343
4343
  */
4344
4344
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4345
4345
  /**
4346
4346
  * Forbid any invalid exports, i.e. re-export of the same name.
4347
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/export.md
4347
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/export.md
4348
4348
  */
4349
4349
  "import/export"?: Linter.RuleEntry<[]>;
4350
4350
  /**
4351
4351
  * Ensure all exports appear after other statements.
4352
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/exports-last.md
4352
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/exports-last.md
4353
4353
  */
4354
4354
  "import/exports-last"?: Linter.RuleEntry<[]>;
4355
4355
  /**
4356
4356
  * Ensure consistent use of file extension within the import path.
4357
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/extensions.md
4357
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/extensions.md
4358
4358
  */
4359
4359
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4360
4360
  /**
4361
4361
  * Ensure all imports appear before other statements.
4362
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/first.md
4362
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/first.md
4363
4363
  */
4364
4364
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4365
4365
  /**
4366
4366
  * Prefer named exports to be grouped together in a single export declaration.
4367
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/group-exports.md
4367
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/group-exports.md
4368
4368
  */
4369
4369
  "import/group-exports"?: Linter.RuleEntry<[]>;
4370
4370
  /**
@@ -4375,182 +4375,182 @@ interface ImportsRuleOptions {
4375
4375
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4376
4376
  /**
4377
4377
  * Enforce the maximum number of dependencies a module can have.
4378
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/max-dependencies.md
4378
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/max-dependencies.md
4379
4379
  */
4380
4380
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4381
4381
  /**
4382
4382
  * Ensure named imports correspond to a named export in the remote file.
4383
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/named.md
4383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/named.md
4384
4384
  */
4385
4385
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4386
4386
  /**
4387
4387
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4388
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/namespace.md
4388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/namespace.md
4389
4389
  */
4390
4390
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4391
4391
  /**
4392
4392
  * Enforce a newline after import statements.
4393
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/newline-after-import.md
4393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/newline-after-import.md
4394
4394
  */
4395
4395
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4396
4396
  /**
4397
4397
  * Forbid import of modules using absolute paths.
4398
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-absolute-path.md
4398
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-absolute-path.md
4399
4399
  */
4400
4400
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4401
4401
  /**
4402
4402
  * Forbid AMD `require` and `define` calls.
4403
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-amd.md
4403
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-amd.md
4404
4404
  */
4405
4405
  "import/no-amd"?: Linter.RuleEntry<[]>;
4406
4406
  /**
4407
4407
  * Forbid anonymous values as default exports.
4408
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-anonymous-default-export.md
4408
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-anonymous-default-export.md
4409
4409
  */
4410
4410
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4411
4411
  /**
4412
4412
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4413
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-commonjs.md
4413
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-commonjs.md
4414
4414
  */
4415
4415
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4416
4416
  /**
4417
4417
  * Forbid a module from importing a module with a dependency path back to itself.
4418
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-cycle.md
4418
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-cycle.md
4419
4419
  */
4420
4420
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4421
4421
  /**
4422
4422
  * Forbid default exports.
4423
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-default-export.md
4423
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-default-export.md
4424
4424
  */
4425
4425
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4426
4426
  /**
4427
4427
  * Forbid imported names marked with `@deprecated` documentation tag.
4428
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-deprecated.md
4428
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-deprecated.md
4429
4429
  */
4430
4430
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4431
4431
  /**
4432
4432
  * Forbid repeated import of the same module in multiple places.
4433
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-duplicates.md
4433
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-duplicates.md
4434
4434
  */
4435
4435
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4436
4436
  /**
4437
4437
  * Forbid `require()` calls with expressions.
4438
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-dynamic-require.md
4438
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-dynamic-require.md
4439
4439
  */
4440
4440
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4441
4441
  /**
4442
4442
  * Forbid empty named import blocks.
4443
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-empty-named-blocks.md
4443
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-empty-named-blocks.md
4444
4444
  */
4445
4445
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4446
4446
  /**
4447
4447
  * Forbid the use of extraneous packages.
4448
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-extraneous-dependencies.md
4448
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-extraneous-dependencies.md
4449
4449
  */
4450
4450
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4451
4451
  /**
4452
4452
  * Forbid import statements with CommonJS module.exports.
4453
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-import-module-exports.md
4453
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-import-module-exports.md
4454
4454
  */
4455
4455
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4456
4456
  /**
4457
4457
  * Forbid importing the submodules of other modules.
4458
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-internal-modules.md
4458
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-internal-modules.md
4459
4459
  */
4460
4460
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4461
4461
  /**
4462
4462
  * Forbid the use of mutable exports with `var` or `let`.
4463
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-mutable-exports.md
4463
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-mutable-exports.md
4464
4464
  */
4465
4465
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4466
4466
  /**
4467
4467
  * Forbid use of exported name as identifier of default export.
4468
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default.md
4468
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default.md
4469
4469
  */
4470
4470
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4471
4471
  /**
4472
4472
  * Forbid use of exported name as property of default export.
4473
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default-member.md
4473
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default-member.md
4474
4474
  */
4475
4475
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4476
4476
  /**
4477
4477
  * Forbid named default exports.
4478
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-default.md
4478
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-default.md
4479
4479
  */
4480
4480
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4481
4481
  /**
4482
4482
  * Forbid named exports.
4483
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-export.md
4483
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-export.md
4484
4484
  */
4485
4485
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4486
4486
  /**
4487
4487
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4488
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-namespace.md
4488
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-namespace.md
4489
4489
  */
4490
4490
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4491
4491
  /**
4492
4492
  * Forbid Node.js builtin modules.
4493
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-nodejs-modules.md
4493
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-nodejs-modules.md
4494
4494
  */
4495
4495
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4496
4496
  /**
4497
4497
  * Forbid importing packages through relative paths.
4498
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-packages.md
4498
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-packages.md
4499
4499
  */
4500
4500
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4501
4501
  /**
4502
4502
  * Forbid importing modules from parent directories.
4503
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-parent-imports.md
4503
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-parent-imports.md
4504
4504
  */
4505
4505
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4506
4506
  /**
4507
4507
  * Enforce which files can be imported in a given folder.
4508
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-restricted-paths.md
4508
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-restricted-paths.md
4509
4509
  */
4510
4510
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4511
4511
  /**
4512
4512
  * Forbid a module from importing itself.
4513
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-self-import.md
4513
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-self-import.md
4514
4514
  */
4515
4515
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4516
4516
  /**
4517
4517
  * Forbid unassigned imports.
4518
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unassigned-import.md
4518
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unassigned-import.md
4519
4519
  */
4520
4520
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4521
4521
  /**
4522
4522
  * Ensure imports point to a file/module that can be resolved.
4523
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unresolved.md
4523
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unresolved.md
4524
4524
  */
4525
4525
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4526
4526
  /**
4527
4527
  * Forbid modules without exports, or exports without matching import in another module.
4528
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unused-modules.md
4528
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unused-modules.md
4529
4529
  */
4530
4530
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4531
4531
  /**
4532
4532
  * Forbid unnecessary path segments in import and require statements.
4533
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-useless-path-segments.md
4533
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-useless-path-segments.md
4534
4534
  */
4535
4535
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4536
4536
  /**
4537
4537
  * Forbid webpack loader syntax in imports.
4538
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-webpack-loader-syntax.md
4538
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-webpack-loader-syntax.md
4539
4539
  */
4540
4540
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4541
4541
  /**
4542
4542
  * Enforce a convention in module import order.
4543
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/order.md
4543
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/order.md
4544
4544
  */
4545
4545
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4546
4546
  /**
4547
4547
  * Prefer a default export if module exports a single name or multiple names.
4548
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/prefer-default-export.md
4548
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/prefer-default-export.md
4549
4549
  */
4550
4550
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4551
4551
  /**
4552
4552
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4553
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/unambiguous.md
4553
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/unambiguous.md
4554
4554
  */
4555
4555
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4556
4556
  }
@@ -4932,11 +4932,21 @@ interface JavascriptRuleOptions {
4932
4932
  * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4933
4933
  */
4934
4934
  "unused-imports/no-unused-imports"?: Linter.RuleEntry<UnusedImportsNoUnusedImports>;
4935
+ /**
4936
+ * Disallow unused variables
4937
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4938
+ */
4939
+ "unused-imports/no-unused-imports-ts"?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>;
4935
4940
  /**
4936
4941
  * Disallow unused variables
4937
4942
  * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4938
4943
  */
4939
4944
  "unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
4945
+ /**
4946
+ * Disallow unused variables
4947
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4948
+ */
4949
+ "unused-imports/no-unused-vars-ts"?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>;
4940
4950
  }
4941
4951
 
4942
4952
  /* ======= Declarations ======= */
@@ -4956,6 +4966,22 @@ type UnusedImportsNoUnusedImports =
4956
4966
  destructuredArrayIgnorePattern?: string;
4957
4967
  },
4958
4968
  ];
4969
+ // ----- unused-imports/no-unused-imports-ts -----
4970
+ type UnusedImportsNoUnusedImportsTs =
4971
+ | []
4972
+ | [
4973
+ | ("all" | "local")
4974
+ | {
4975
+ vars?: "all" | "local";
4976
+ varsIgnorePattern?: string;
4977
+ args?: "all" | "after-used" | "none";
4978
+ ignoreRestSiblings?: boolean;
4979
+ argsIgnorePattern?: string;
4980
+ caughtErrors?: "all" | "none";
4981
+ caughtErrorsIgnorePattern?: string;
4982
+ destructuredArrayIgnorePattern?: string;
4983
+ },
4984
+ ];
4959
4985
  // ----- unused-imports/no-unused-vars -----
4960
4986
  type UnusedImportsNoUnusedVars =
4961
4987
  | []
@@ -4972,6 +4998,22 @@ type UnusedImportsNoUnusedVars =
4972
4998
  destructuredArrayIgnorePattern?: string;
4973
4999
  },
4974
5000
  ];
5001
+ // ----- unused-imports/no-unused-vars-ts -----
5002
+ type UnusedImportsNoUnusedVarsTs =
5003
+ | []
5004
+ | [
5005
+ | ("all" | "local")
5006
+ | {
5007
+ vars?: "all" | "local";
5008
+ varsIgnorePattern?: string;
5009
+ args?: "all" | "after-used" | "none";
5010
+ ignoreRestSiblings?: boolean;
5011
+ argsIgnorePattern?: string;
5012
+ caughtErrors?: "all" | "none";
5013
+ caughtErrorsIgnorePattern?: string;
5014
+ destructuredArrayIgnorePattern?: string;
5015
+ },
5016
+ ];
4975
5017
 
4976
5018
  /* eslint-disable */
4977
5019
  /* prettier-ignore */
@@ -5033,6 +5075,11 @@ interface JsdocRuleOptions {
5033
5075
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
5034
5076
  */
5035
5077
  "jsdoc/check-values"?: Linter.RuleEntry<JsdocCheckValues>;
5078
+ /**
5079
+ * Converts non-JSDoc comments preceding or following nodes into JSDoc ones
5080
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
5081
+ */
5082
+ "jsdoc/convert-to-jsdoc-comments"?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
5036
5083
  /**
5037
5084
  * Expects specific tags to be empty of any content.
5038
5085
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
@@ -5207,6 +5254,11 @@ interface JsdocRuleOptions {
5207
5254
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
5208
5255
  */
5209
5256
  "jsdoc/require-returns-type"?: Linter.RuleEntry<JsdocRequireReturnsType>;
5257
+ /**
5258
+ * Requires template tags for each generic type parameter
5259
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
5260
+ */
5261
+ "jsdoc/require-template"?: Linter.RuleEntry<JsdocRequireTemplate>;
5210
5262
  /**
5211
5263
  * Requires that throw statements are documented.
5212
5264
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -5356,6 +5408,38 @@ type JsdocCheckValues =
5356
5408
  numericOnlyVariation?: boolean;
5357
5409
  },
5358
5410
  ];
5411
+ // ----- jsdoc/convert-to-jsdoc-comments -----
5412
+ type JsdocConvertToJsdocComments =
5413
+ | []
5414
+ | [
5415
+ {
5416
+ allowedPrefixes?: string[];
5417
+ contexts?: (
5418
+ | string
5419
+ | {
5420
+ context?: string;
5421
+ inlineCommentBlock?: boolean;
5422
+ }
5423
+ )[];
5424
+ contextsAfter?: (
5425
+ | string
5426
+ | {
5427
+ context?: string;
5428
+ inlineCommentBlock?: boolean;
5429
+ }
5430
+ )[];
5431
+ contextsBeforeAndAfter?: (
5432
+ | string
5433
+ | {
5434
+ context?: string;
5435
+ inlineCommentBlock?: boolean;
5436
+ }
5437
+ )[];
5438
+ enableFixer?: boolean;
5439
+ enforceJsdocLineStyle?: "multi" | "single";
5440
+ lineOrBlockStyle?: "block" | "line" | "both";
5441
+ },
5442
+ ];
5359
5443
  // ----- jsdoc/empty-tags -----
5360
5444
  type JsdocEmptyTags =
5361
5445
  | []
@@ -5823,6 +5907,14 @@ type JsdocRequireReturnsType =
5823
5907
  )[];
5824
5908
  },
5825
5909
  ];
5910
+ // ----- jsdoc/require-template -----
5911
+ type JsdocRequireTemplate =
5912
+ | []
5913
+ | [
5914
+ {
5915
+ requireSeparateTemplates?: boolean;
5916
+ },
5917
+ ];
5826
5918
  // ----- jsdoc/require-throws -----
5827
5919
  type JsdocRequireThrows =
5828
5920
  | []
@@ -14303,6 +14395,11 @@ interface TypescriptRuleOptions {
14303
14395
  * @see https://typescript-eslint.io/rules/no-empty-interface
14304
14396
  */
14305
14397
  "@typescript-eslint/no-empty-interface"?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>;
14398
+ /**
14399
+ * Disallow accidentally using the "empty object" type
14400
+ * @see https://typescript-eslint.io/rules/no-empty-object-type
14401
+ */
14402
+ "@typescript-eslint/no-empty-object-type"?: Linter.RuleEntry<TypescriptEslintNoEmptyObjectType>;
14306
14403
  /**
14307
14404
  * Disallow the `any` type
14308
14405
  * @see https://typescript-eslint.io/rules/no-explicit-any
@@ -14476,6 +14573,13 @@ interface TypescriptRuleOptions {
14476
14573
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
14477
14574
  */
14478
14575
  "@typescript-eslint/no-unnecessary-condition"?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
14576
+ /**
14577
+ * Disallow unnecessary assignment of constructor property parameter
14578
+ * @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
14579
+ */
14580
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment"?: Linter.RuleEntry<
14581
+ []
14582
+ >;
14479
14583
  /**
14480
14584
  * Disallow unnecessary namespace qualifiers
14481
14585
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
@@ -14503,6 +14607,11 @@ interface TypescriptRuleOptions {
14503
14607
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
14504
14608
  */
14505
14609
  "@typescript-eslint/no-unnecessary-type-constraint"?: Linter.RuleEntry<[]>;
14610
+ /**
14611
+ * Disallow type parameters that only appear once
14612
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
14613
+ */
14614
+ "@typescript-eslint/no-unnecessary-type-parameters"?: Linter.RuleEntry<[]>;
14506
14615
  /**
14507
14616
  * Disallow calling a function with a value with type `any`
14508
14617
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -14813,42 +14922,42 @@ interface TypescriptRuleOptions {
14813
14922
  >;
14814
14923
  /**
14815
14924
  * Enforce or ban the use of inline type-only markers for named imports.
14816
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/consistent-type-specifier-style.md
14925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/consistent-type-specifier-style.md
14817
14926
  */
14818
14927
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
14819
14928
  /**
14820
14929
  * Ensure a default export is present, given a default import.
14821
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/default.md
14930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/default.md
14822
14931
  */
14823
14932
  "import/default"?: Linter.RuleEntry<[]>;
14824
14933
  /**
14825
14934
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
14826
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/dynamic-import-chunkname.md
14935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/dynamic-import-chunkname.md
14827
14936
  */
14828
14937
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
14829
14938
  /**
14830
14939
  * Forbid any invalid exports, i.e. re-export of the same name.
14831
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/export.md
14940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/export.md
14832
14941
  */
14833
14942
  "import/export"?: Linter.RuleEntry<[]>;
14834
14943
  /**
14835
14944
  * Ensure all exports appear after other statements.
14836
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/exports-last.md
14945
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/exports-last.md
14837
14946
  */
14838
14947
  "import/exports-last"?: Linter.RuleEntry<[]>;
14839
14948
  /**
14840
14949
  * Ensure consistent use of file extension within the import path.
14841
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/extensions.md
14950
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/extensions.md
14842
14951
  */
14843
14952
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
14844
14953
  /**
14845
14954
  * Ensure all imports appear before other statements.
14846
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/first.md
14955
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/first.md
14847
14956
  */
14848
14957
  "import/first"?: Linter.RuleEntry<ImportFirst>;
14849
14958
  /**
14850
14959
  * Prefer named exports to be grouped together in a single export declaration.
14851
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/group-exports.md
14960
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/group-exports.md
14852
14961
  */
14853
14962
  "import/group-exports"?: Linter.RuleEntry<[]>;
14854
14963
  /**
@@ -14859,182 +14968,182 @@ interface TypescriptRuleOptions {
14859
14968
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
14860
14969
  /**
14861
14970
  * Enforce the maximum number of dependencies a module can have.
14862
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/max-dependencies.md
14971
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/max-dependencies.md
14863
14972
  */
14864
14973
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
14865
14974
  /**
14866
14975
  * Ensure named imports correspond to a named export in the remote file.
14867
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/named.md
14976
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/named.md
14868
14977
  */
14869
14978
  "import/named"?: Linter.RuleEntry<ImportNamed>;
14870
14979
  /**
14871
14980
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
14872
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/namespace.md
14981
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/namespace.md
14873
14982
  */
14874
14983
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
14875
14984
  /**
14876
14985
  * Enforce a newline after import statements.
14877
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/newline-after-import.md
14986
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/newline-after-import.md
14878
14987
  */
14879
14988
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
14880
14989
  /**
14881
14990
  * Forbid import of modules using absolute paths.
14882
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-absolute-path.md
14991
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-absolute-path.md
14883
14992
  */
14884
14993
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
14885
14994
  /**
14886
14995
  * Forbid AMD `require` and `define` calls.
14887
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-amd.md
14996
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-amd.md
14888
14997
  */
14889
14998
  "import/no-amd"?: Linter.RuleEntry<[]>;
14890
14999
  /**
14891
15000
  * Forbid anonymous values as default exports.
14892
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-anonymous-default-export.md
15001
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-anonymous-default-export.md
14893
15002
  */
14894
15003
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
14895
15004
  /**
14896
15005
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
14897
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-commonjs.md
15006
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-commonjs.md
14898
15007
  */
14899
15008
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
14900
15009
  /**
14901
15010
  * Forbid a module from importing a module with a dependency path back to itself.
14902
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-cycle.md
15011
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-cycle.md
14903
15012
  */
14904
15013
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
14905
15014
  /**
14906
15015
  * Forbid default exports.
14907
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-default-export.md
15016
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-default-export.md
14908
15017
  */
14909
15018
  "import/no-default-export"?: Linter.RuleEntry<[]>;
14910
15019
  /**
14911
15020
  * Forbid imported names marked with `@deprecated` documentation tag.
14912
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-deprecated.md
15021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-deprecated.md
14913
15022
  */
14914
15023
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
14915
15024
  /**
14916
15025
  * Forbid repeated import of the same module in multiple places.
14917
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-duplicates.md
15026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-duplicates.md
14918
15027
  */
14919
15028
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
14920
15029
  /**
14921
15030
  * Forbid `require()` calls with expressions.
14922
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-dynamic-require.md
15031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-dynamic-require.md
14923
15032
  */
14924
15033
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
14925
15034
  /**
14926
15035
  * Forbid empty named import blocks.
14927
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-empty-named-blocks.md
15036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-empty-named-blocks.md
14928
15037
  */
14929
15038
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
14930
15039
  /**
14931
15040
  * Forbid the use of extraneous packages.
14932
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-extraneous-dependencies.md
15041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-extraneous-dependencies.md
14933
15042
  */
14934
15043
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
14935
15044
  /**
14936
15045
  * Forbid import statements with CommonJS module.exports.
14937
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-import-module-exports.md
15046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-import-module-exports.md
14938
15047
  */
14939
15048
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
14940
15049
  /**
14941
15050
  * Forbid importing the submodules of other modules.
14942
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-internal-modules.md
15051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-internal-modules.md
14943
15052
  */
14944
15053
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
14945
15054
  /**
14946
15055
  * Forbid the use of mutable exports with `var` or `let`.
14947
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-mutable-exports.md
15056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-mutable-exports.md
14948
15057
  */
14949
15058
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
14950
15059
  /**
14951
15060
  * Forbid use of exported name as identifier of default export.
14952
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default.md
15061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default.md
14953
15062
  */
14954
15063
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
14955
15064
  /**
14956
15065
  * Forbid use of exported name as property of default export.
14957
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default-member.md
15066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default-member.md
14958
15067
  */
14959
15068
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
14960
15069
  /**
14961
15070
  * Forbid named default exports.
14962
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-default.md
15071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-default.md
14963
15072
  */
14964
15073
  "import/no-named-default"?: Linter.RuleEntry<[]>;
14965
15074
  /**
14966
15075
  * Forbid named exports.
14967
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-export.md
15076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-export.md
14968
15077
  */
14969
15078
  "import/no-named-export"?: Linter.RuleEntry<[]>;
14970
15079
  /**
14971
15080
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
14972
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-namespace.md
15081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-namespace.md
14973
15082
  */
14974
15083
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
14975
15084
  /**
14976
15085
  * Forbid Node.js builtin modules.
14977
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-nodejs-modules.md
15086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-nodejs-modules.md
14978
15087
  */
14979
15088
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
14980
15089
  /**
14981
15090
  * Forbid importing packages through relative paths.
14982
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-packages.md
15091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-packages.md
14983
15092
  */
14984
15093
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
14985
15094
  /**
14986
15095
  * Forbid importing modules from parent directories.
14987
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-parent-imports.md
15096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-parent-imports.md
14988
15097
  */
14989
15098
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
14990
15099
  /**
14991
15100
  * Enforce which files can be imported in a given folder.
14992
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-restricted-paths.md
15101
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-restricted-paths.md
14993
15102
  */
14994
15103
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
14995
15104
  /**
14996
15105
  * Forbid a module from importing itself.
14997
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-self-import.md
15106
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-self-import.md
14998
15107
  */
14999
15108
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15000
15109
  /**
15001
15110
  * Forbid unassigned imports.
15002
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unassigned-import.md
15111
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unassigned-import.md
15003
15112
  */
15004
15113
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15005
15114
  /**
15006
15115
  * Ensure imports point to a file/module that can be resolved.
15007
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unresolved.md
15116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unresolved.md
15008
15117
  */
15009
15118
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15010
15119
  /**
15011
15120
  * Forbid modules without exports, or exports without matching import in another module.
15012
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unused-modules.md
15121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unused-modules.md
15013
15122
  */
15014
15123
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15015
15124
  /**
15016
15125
  * Forbid unnecessary path segments in import and require statements.
15017
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-useless-path-segments.md
15126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-useless-path-segments.md
15018
15127
  */
15019
15128
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15020
15129
  /**
15021
15130
  * Forbid webpack loader syntax in imports.
15022
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-webpack-loader-syntax.md
15131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-webpack-loader-syntax.md
15023
15132
  */
15024
15133
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15025
15134
  /**
15026
15135
  * Enforce a convention in module import order.
15027
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/order.md
15136
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/order.md
15028
15137
  */
15029
15138
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15030
15139
  /**
15031
15140
  * Prefer a default export if module exports a single name or multiple names.
15032
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/prefer-default-export.md
15141
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/prefer-default-export.md
15033
15142
  */
15034
15143
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15035
15144
  /**
15036
15145
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15037
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/unambiguous.md
15146
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/unambiguous.md
15038
15147
  */
15039
15148
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15040
15149
  }
@@ -18394,6 +18503,16 @@ type TypescriptEslintNoEmptyInterface =
18394
18503
  allowSingleExtends?: boolean;
18395
18504
  },
18396
18505
  ];
18506
+ // ----- @typescript-eslint/no-empty-object-type -----
18507
+ type TypescriptEslintNoEmptyObjectType =
18508
+ | []
18509
+ | [
18510
+ {
18511
+ allowInterfaces?: "always" | "never" | "with-single-extends";
18512
+ allowObjectTypes?: "always" | "in-type-alias-with-name" | "never";
18513
+ allowWithName?: string;
18514
+ },
18515
+ ];
18397
18516
  // ----- @typescript-eslint/no-explicit-any -----
18398
18517
  type TypescriptEslintNoExplicitAny =
18399
18518
  | []
@@ -18444,9 +18563,6 @@ type TypescriptEslintNoFloatingPromises =
18444
18563
  | []
18445
18564
  | [
18446
18565
  {
18447
- ignoreVoid?: boolean;
18448
-
18449
- ignoreIIFE?: boolean;
18450
18566
  allowForKnownSafePromises?: (
18451
18567
  | string
18452
18568
  | {
@@ -18464,6 +18580,12 @@ type TypescriptEslintNoFloatingPromises =
18464
18580
  package: string;
18465
18581
  }
18466
18582
  )[];
18583
+
18584
+ checkThenables?: boolean;
18585
+
18586
+ ignoreVoid?: boolean;
18587
+
18588
+ ignoreIIFE?: boolean;
18467
18589
  },
18468
18590
  ];
18469
18591
  // ----- @typescript-eslint/no-inferrable-types -----