@jsse/eslint-config 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts 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.1/docs/rules/consistent-type-specifier-style.md
4332
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/default.md
4337
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/dynamic-import-chunkname.md
4342
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/export.md
4347
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/exports-last.md
4352
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/extensions.md
4357
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/first.md
4362
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/group-exports.md
4367
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/max-dependencies.md
4378
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/named.md
4383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/namespace.md
4388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/newline-after-import.md
4393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-absolute-path.md
4398
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-amd.md
4403
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-anonymous-default-export.md
4408
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-commonjs.md
4413
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-cycle.md
4418
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-default-export.md
4423
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-deprecated.md
4428
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-duplicates.md
4433
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-dynamic-require.md
4438
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-empty-named-blocks.md
4443
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-extraneous-dependencies.md
4448
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-import-module-exports.md
4453
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-internal-modules.md
4458
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-mutable-exports.md
4463
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-named-as-default.md
4468
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-named-as-default-member.md
4473
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-named-default.md
4478
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-named-export.md
4483
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-namespace.md
4488
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-nodejs-modules.md
4493
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-relative-packages.md
4498
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-relative-parent-imports.md
4503
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-restricted-paths.md
4508
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-self-import.md
4513
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-unassigned-import.md
4518
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-unresolved.md
4523
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-unused-modules.md
4528
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-useless-path-segments.md
4533
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/no-webpack-loader-syntax.md
4538
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/order.md
4543
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/prefer-default-export.md
4548
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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.1/docs/rules/unambiguous.md
4553
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/unambiguous.md
4554
4554
  */
4555
4555
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4556
4556
  }
@@ -4932,21 +4932,11 @@ 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>;
4940
4935
  /**
4941
4936
  * Disallow unused variables
4942
4937
  * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4943
4938
  */
4944
4939
  "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>;
4950
4940
  }
4951
4941
 
4952
4942
  /* ======= Declarations ======= */
@@ -4966,22 +4956,6 @@ type UnusedImportsNoUnusedImports =
4966
4956
  destructuredArrayIgnorePattern?: string;
4967
4957
  },
4968
4958
  ];
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
- ];
4985
4959
  // ----- unused-imports/no-unused-vars -----
4986
4960
  type UnusedImportsNoUnusedVars =
4987
4961
  | []
@@ -4998,22 +4972,6 @@ type UnusedImportsNoUnusedVars =
4998
4972
  destructuredArrayIgnorePattern?: string;
4999
4973
  },
5000
4974
  ];
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
- ];
5017
4975
 
5018
4976
  /* eslint-disable */
5019
4977
  /* prettier-ignore */
@@ -5973,6 +5931,18 @@ type JsdocValidTypes =
5973
5931
  /* prettier-ignore */
5974
5932
 
5975
5933
 
5934
+ interface TsdocRuleOptions {
5935
+ /**
5936
+ * Validates that TypeScript documentation comments conform to the TSDoc standard
5937
+ * @see https://tsdoc.org/pages/packages/eslint-plugin-tsdoc
5938
+ */
5939
+ "tsdoc/syntax"?: Linter.RuleEntry<[]>;
5940
+ }
5941
+
5942
+ /* eslint-disable */
5943
+ /* prettier-ignore */
5944
+
5945
+
5976
5946
  interface JsoncRuleOptions {
5977
5947
  /**
5978
5948
  * enforce line breaks after opening and before closing array brackets
@@ -11409,8 +11379,9 @@ interface StylisticRuleOptions {
11409
11379
  */
11410
11380
  "@stylistic/jsx-function-call-newline"?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>;
11411
11381
  /**
11412
- * Enforce JSX indentation
11382
+ * Enforce JSX indentation. Deprecated, use `indent` rule instead.
11413
11383
  * @see https://eslint.style/rules/jsx/jsx-indent
11384
+ * @deprecated
11414
11385
  */
11415
11386
  "@stylistic/jsx-indent"?: Linter.RuleEntry<StylisticJsxIndent>;
11416
11387
  /**
@@ -11595,7 +11566,7 @@ interface StylisticRuleOptions {
11595
11566
  "@stylistic/nonblock-statement-body-position"?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>;
11596
11567
  /**
11597
11568
  * Enforce consistent line breaks after opening and before closing braces
11598
- * @see https://eslint.style/rules/js/object-curly-newline
11569
+ * @see https://eslint.style/rules/ts/object-curly-newline
11599
11570
  */
11600
11571
  "@stylistic/object-curly-newline"?: Linter.RuleEntry<StylisticObjectCurlyNewline>;
11601
11572
  /**
@@ -11605,7 +11576,7 @@ interface StylisticRuleOptions {
11605
11576
  "@stylistic/object-curly-spacing"?: Linter.RuleEntry<StylisticObjectCurlySpacing>;
11606
11577
  /**
11607
11578
  * Enforce placing object properties on separate lines
11608
- * @see https://eslint.style/rules/js/object-property-newline
11579
+ * @see https://eslint.style/rules/ts/object-property-newline
11609
11580
  */
11610
11581
  "@stylistic/object-property-newline"?: Linter.RuleEntry<StylisticObjectPropertyNewline>;
11611
11582
  /**
@@ -11771,6 +11742,7 @@ type StylisticArrayElementNewline =
11771
11742
  type _StylisticArrayElementNewlineBasicConfig =
11772
11743
  | ("always" | "never" | "consistent")
11773
11744
  | {
11745
+ consistent?: boolean;
11774
11746
  multiline?: boolean;
11775
11747
  minItems?: number | null;
11776
11748
  };
@@ -13031,6 +13003,20 @@ type StylisticObjectCurlyNewline =
13031
13003
  minProperties?: number;
13032
13004
  consistent?: boolean;
13033
13005
  };
13006
+ TSTypeLiteral?:
13007
+ | ("always" | "never")
13008
+ | {
13009
+ multiline?: boolean;
13010
+ minProperties?: number;
13011
+ consistent?: boolean;
13012
+ };
13013
+ TSInterfaceBody?:
13014
+ | ("always" | "never")
13015
+ | {
13016
+ multiline?: boolean;
13017
+ minProperties?: number;
13018
+ consistent?: boolean;
13019
+ };
13034
13020
  },
13035
13021
  ];
13036
13022
  // ----- @stylistic/object-curly-spacing -----
@@ -14827,42 +14813,42 @@ interface TypescriptRuleOptions {
14827
14813
  >;
14828
14814
  /**
14829
14815
  * Enforce or ban the use of inline type-only markers for named imports.
14830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
14816
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/consistent-type-specifier-style.md
14831
14817
  */
14832
14818
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
14833
14819
  /**
14834
14820
  * Ensure a default export is present, given a default import.
14835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
14821
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/default.md
14836
14822
  */
14837
14823
  "import/default"?: Linter.RuleEntry<[]>;
14838
14824
  /**
14839
14825
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
14840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
14826
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/dynamic-import-chunkname.md
14841
14827
  */
14842
14828
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
14843
14829
  /**
14844
14830
  * Forbid any invalid exports, i.e. re-export of the same name.
14845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
14831
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/export.md
14846
14832
  */
14847
14833
  "import/export"?: Linter.RuleEntry<[]>;
14848
14834
  /**
14849
14835
  * Ensure all exports appear after other statements.
14850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
14836
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/exports-last.md
14851
14837
  */
14852
14838
  "import/exports-last"?: Linter.RuleEntry<[]>;
14853
14839
  /**
14854
14840
  * Ensure consistent use of file extension within the import path.
14855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
14841
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/extensions.md
14856
14842
  */
14857
14843
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
14858
14844
  /**
14859
14845
  * Ensure all imports appear before other statements.
14860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
14846
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/first.md
14861
14847
  */
14862
14848
  "import/first"?: Linter.RuleEntry<ImportFirst>;
14863
14849
  /**
14864
14850
  * Prefer named exports to be grouped together in a single export declaration.
14865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
14851
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/group-exports.md
14866
14852
  */
14867
14853
  "import/group-exports"?: Linter.RuleEntry<[]>;
14868
14854
  /**
@@ -14873,182 +14859,182 @@ interface TypescriptRuleOptions {
14873
14859
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
14874
14860
  /**
14875
14861
  * Enforce the maximum number of dependencies a module can have.
14876
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
14862
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/max-dependencies.md
14877
14863
  */
14878
14864
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
14879
14865
  /**
14880
14866
  * Ensure named imports correspond to a named export in the remote file.
14881
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
14867
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/named.md
14882
14868
  */
14883
14869
  "import/named"?: Linter.RuleEntry<ImportNamed>;
14884
14870
  /**
14885
14871
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
14886
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
14872
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/namespace.md
14887
14873
  */
14888
14874
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
14889
14875
  /**
14890
14876
  * Enforce a newline after import statements.
14891
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
14877
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/newline-after-import.md
14892
14878
  */
14893
14879
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
14894
14880
  /**
14895
14881
  * Forbid import of modules using absolute paths.
14896
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
14882
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-absolute-path.md
14897
14883
  */
14898
14884
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
14899
14885
  /**
14900
14886
  * Forbid AMD `require` and `define` calls.
14901
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
14887
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-amd.md
14902
14888
  */
14903
14889
  "import/no-amd"?: Linter.RuleEntry<[]>;
14904
14890
  /**
14905
14891
  * Forbid anonymous values as default exports.
14906
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
14892
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-anonymous-default-export.md
14907
14893
  */
14908
14894
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
14909
14895
  /**
14910
14896
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
14911
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
14897
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-commonjs.md
14912
14898
  */
14913
14899
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
14914
14900
  /**
14915
14901
  * Forbid a module from importing a module with a dependency path back to itself.
14916
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
14902
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-cycle.md
14917
14903
  */
14918
14904
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
14919
14905
  /**
14920
14906
  * Forbid default exports.
14921
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
14907
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-default-export.md
14922
14908
  */
14923
14909
  "import/no-default-export"?: Linter.RuleEntry<[]>;
14924
14910
  /**
14925
14911
  * Forbid imported names marked with `@deprecated` documentation tag.
14926
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
14912
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-deprecated.md
14927
14913
  */
14928
14914
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
14929
14915
  /**
14930
14916
  * Forbid repeated import of the same module in multiple places.
14931
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
14917
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-duplicates.md
14932
14918
  */
14933
14919
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
14934
14920
  /**
14935
14921
  * Forbid `require()` calls with expressions.
14936
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
14922
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-dynamic-require.md
14937
14923
  */
14938
14924
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
14939
14925
  /**
14940
14926
  * Forbid empty named import blocks.
14941
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
14927
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-empty-named-blocks.md
14942
14928
  */
14943
14929
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
14944
14930
  /**
14945
14931
  * Forbid the use of extraneous packages.
14946
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
14932
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-extraneous-dependencies.md
14947
14933
  */
14948
14934
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
14949
14935
  /**
14950
14936
  * Forbid import statements with CommonJS module.exports.
14951
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
14937
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-import-module-exports.md
14952
14938
  */
14953
14939
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
14954
14940
  /**
14955
14941
  * Forbid importing the submodules of other modules.
14956
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
14942
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-internal-modules.md
14957
14943
  */
14958
14944
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
14959
14945
  /**
14960
14946
  * Forbid the use of mutable exports with `var` or `let`.
14961
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
14947
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-mutable-exports.md
14962
14948
  */
14963
14949
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
14964
14950
  /**
14965
14951
  * Forbid use of exported name as identifier of default export.
14966
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
14952
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default.md
14967
14953
  */
14968
14954
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
14969
14955
  /**
14970
14956
  * Forbid use of exported name as property of default export.
14971
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
14957
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-as-default-member.md
14972
14958
  */
14973
14959
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
14974
14960
  /**
14975
14961
  * Forbid named default exports.
14976
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
14962
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-default.md
14977
14963
  */
14978
14964
  "import/no-named-default"?: Linter.RuleEntry<[]>;
14979
14965
  /**
14980
14966
  * Forbid named exports.
14981
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
14967
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-named-export.md
14982
14968
  */
14983
14969
  "import/no-named-export"?: Linter.RuleEntry<[]>;
14984
14970
  /**
14985
14971
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
14986
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
14972
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-namespace.md
14987
14973
  */
14988
14974
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
14989
14975
  /**
14990
14976
  * Forbid Node.js builtin modules.
14991
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
14977
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-nodejs-modules.md
14992
14978
  */
14993
14979
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
14994
14980
  /**
14995
14981
  * Forbid importing packages through relative paths.
14996
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
14982
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-packages.md
14997
14983
  */
14998
14984
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
14999
14985
  /**
15000
14986
  * Forbid importing modules from parent directories.
15001
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
14987
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-relative-parent-imports.md
15002
14988
  */
15003
14989
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
15004
14990
  /**
15005
14991
  * Enforce which files can be imported in a given folder.
15006
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
14992
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-restricted-paths.md
15007
14993
  */
15008
14994
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
15009
14995
  /**
15010
14996
  * Forbid a module from importing itself.
15011
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
14997
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-self-import.md
15012
14998
  */
15013
14999
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15014
15000
  /**
15015
15001
  * Forbid unassigned imports.
15016
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
15002
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unassigned-import.md
15017
15003
  */
15018
15004
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15019
15005
  /**
15020
15006
  * Ensure imports point to a file/module that can be resolved.
15021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
15007
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unresolved.md
15022
15008
  */
15023
15009
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15024
15010
  /**
15025
15011
  * Forbid modules without exports, or exports without matching import in another module.
15026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
15012
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-unused-modules.md
15027
15013
  */
15028
15014
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15029
15015
  /**
15030
15016
  * Forbid unnecessary path segments in import and require statements.
15031
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
15017
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-useless-path-segments.md
15032
15018
  */
15033
15019
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15034
15020
  /**
15035
15021
  * Forbid webpack loader syntax in imports.
15036
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
15022
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/no-webpack-loader-syntax.md
15037
15023
  */
15038
15024
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15039
15025
  /**
15040
15026
  * Enforce a convention in module import order.
15041
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
15027
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/order.md
15042
15028
  */
15043
15029
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15044
15030
  /**
15045
15031
  * Prefer a default export if module exports a single name or multiple names.
15046
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
15032
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/prefer-default-export.md
15047
15033
  */
15048
15034
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15049
15035
  /**
15050
15036
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15051
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
15037
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/unambiguous.md
15052
15038
  */
15053
15039
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15054
15040
  }
@@ -21184,6 +21170,7 @@ type RuleOptionsUnion = BuiltinsRuleOptions &
21184
21170
  ImportsRuleOptions &
21185
21171
  JavascriptRuleOptions &
21186
21172
  JsdocRuleOptions &
21173
+ TsdocRuleOptions &
21187
21174
  JsoncRuleOptions &
21188
21175
  MarkdownRuleOptions &
21189
21176
  NRuleOptions &
@@ -21312,9 +21299,29 @@ type OptionsConfig = {
21312
21299
  * Enable debug mode.
21313
21300
  */
21314
21301
  debug?: boolean;
21302
+ /**
21303
+ * Enable reporting of unused disable directives.
21304
+ *
21305
+ * @default true
21306
+ */
21315
21307
  reportUnusedDisableDirectives?: boolean;
21308
+ /**
21309
+ * Array of rules to turn off.
21310
+ */
21316
21311
  off?: string[];
21312
+ /**
21313
+ * Enable fast mode.
21314
+ *
21315
+ * This will disable some rules to speed up linting.
21316
+ */
21317
21317
  fast?: boolean;
21318
+ /**
21319
+ * Enable Prettier config rules to disable conflicting ESLint rules
21320
+ *
21321
+ * THIS DOES NOT ENABLE PRETTIER FORMATTING. YOU DO THAT, BUT I
21322
+ * RECOMMEND USING PRETTIER TO FORMAT AND NOT THE ESLINT PRETTIER
21323
+ * PLUGIN!.
21324
+ */
21318
21325
  prettier?: boolean;
21319
21326
  tailwind?: TailwindOptions;
21320
21327
  /**
@@ -22388,6 +22395,13 @@ declare function importPluginJsdoc(): Promise<{
22388
22395
  configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig>;
22389
22396
  };
22390
22397
  }>;
22398
+ declare function importPluginTsdoc(): Promise<{
22399
+ pluginTsdoc: {
22400
+ rules: {
22401
+ [x: string]: eslint.Rule.RuleModule;
22402
+ };
22403
+ };
22404
+ }>;
22391
22405
  declare function importPluginStylistic(): Promise<{
22392
22406
  pluginStylistic: typeof _stylistic_eslint_plugin;
22393
22407
  }>;
@@ -22413,4 +22427,4 @@ declare function isInEditor(): boolean;
22413
22427
  declare function jssestd(): Promise<TypedFlatConfigItem[]>;
22414
22428
  declare function jsseReact(): Promise<TypedFlatConfigItem[]>;
22415
22429
 
22416
- export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, 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 PromiseFlatConfigItem, type RenamePefix, type Rules, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };
22430
+ export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, 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 PromiseFlatConfigItem, type RenamePefix, type Rules, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };