@jsse/eslint-config 0.3.2 → 0.3.4

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
@@ -1726,6 +1726,8 @@ type ClassMethodsUseThis =
1726
1726
  {
1727
1727
  exceptMethods?: string[];
1728
1728
  enforceForClassFields?: boolean;
1729
+ ignoreOverrideMethods?: boolean;
1730
+ ignoreClassesWithImplements?: "all" | "public-fields";
1729
1731
  },
1730
1732
  ];
1731
1733
  // ----- comma-dangle -----
@@ -2833,6 +2835,10 @@ type NoEmptyFunction =
2833
2835
  | "constructors"
2834
2836
  | "asyncFunctions"
2835
2837
  | "asyncMethods"
2838
+ | "privateConstructors"
2839
+ | "protectedConstructors"
2840
+ | "decoratedFunctions"
2841
+ | "overrideMethods"
2836
2842
  )[];
2837
2843
  },
2838
2844
  ];
@@ -3274,14 +3280,10 @@ type NoRestrictedModules =
3274
3280
  // ----- no-restricted-properties -----
3275
3281
  type NoRestrictedProperties = (
3276
3282
  | {
3277
- object: string;
3278
- property?: string;
3279
- message?: string;
3283
+ [k: string]: unknown | undefined;
3280
3284
  }
3281
3285
  | {
3282
- object?: string;
3283
- property: string;
3284
- message?: string;
3286
+ [k: string]: unknown | undefined;
3285
3287
  }
3286
3288
  )[];
3287
3289
  // ----- no-restricted-syntax -----
@@ -4351,233 +4353,233 @@ interface IgnoresRuleOptions {}
4351
4353
  interface ImportsRuleOptions {
4352
4354
  /**
4353
4355
  * Enforce or ban the use of inline type-only markers for named imports.
4354
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
4356
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
4355
4357
  */
4356
4358
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4357
4359
  /**
4358
4360
  * Ensure a default export is present, given a default import.
4359
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
4361
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
4360
4362
  */
4361
4363
  "import/default"?: Linter.RuleEntry<[]>;
4362
4364
  /**
4363
4365
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4364
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
4366
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
4365
4367
  */
4366
4368
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4367
4369
  /**
4368
4370
  * Forbid any invalid exports, i.e. re-export of the same name.
4369
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
4371
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
4370
4372
  */
4371
4373
  "import/export"?: Linter.RuleEntry<[]>;
4372
4374
  /**
4373
4375
  * Ensure all exports appear after other statements.
4374
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
4376
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
4375
4377
  */
4376
4378
  "import/exports-last"?: Linter.RuleEntry<[]>;
4377
4379
  /**
4378
4380
  * Ensure consistent use of file extension within the import path.
4379
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
4381
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
4380
4382
  */
4381
4383
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4382
4384
  /**
4383
4385
  * Ensure all imports appear before other statements.
4384
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
4386
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
4385
4387
  */
4386
4388
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4387
4389
  /**
4388
4390
  * Prefer named exports to be grouped together in a single export declaration.
4389
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
4391
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
4390
4392
  */
4391
4393
  "import/group-exports"?: Linter.RuleEntry<[]>;
4392
4394
  /**
4393
4395
  * Replaced by `import-x/first`.
4394
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
4396
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
4395
4397
  * @deprecated
4396
4398
  */
4397
4399
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4398
4400
  /**
4399
4401
  * Enforce the maximum number of dependencies a module can have.
4400
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
4402
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
4401
4403
  */
4402
4404
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4403
4405
  /**
4404
4406
  * Ensure named imports correspond to a named export in the remote file.
4405
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
4407
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
4406
4408
  */
4407
4409
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4408
4410
  /**
4409
4411
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4410
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
4412
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
4411
4413
  */
4412
4414
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4413
4415
  /**
4414
4416
  * Enforce a newline after import statements.
4415
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
4417
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
4416
4418
  */
4417
4419
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4418
4420
  /**
4419
4421
  * Forbid import of modules using absolute paths.
4420
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
4422
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
4421
4423
  */
4422
4424
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4423
4425
  /**
4424
4426
  * Forbid AMD `require` and `define` calls.
4425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
4427
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
4426
4428
  */
4427
4429
  "import/no-amd"?: Linter.RuleEntry<[]>;
4428
4430
  /**
4429
4431
  * Forbid anonymous values as default exports.
4430
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
4432
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
4431
4433
  */
4432
4434
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4433
4435
  /**
4434
4436
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4435
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
4437
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
4436
4438
  */
4437
4439
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4438
4440
  /**
4439
4441
  * Forbid a module from importing a module with a dependency path back to itself.
4440
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
4442
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
4441
4443
  */
4442
4444
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4443
4445
  /**
4444
4446
  * Forbid default exports.
4445
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
4447
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
4446
4448
  */
4447
4449
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4448
4450
  /**
4449
4451
  * Forbid imported names marked with `@deprecated` documentation tag.
4450
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
4452
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
4451
4453
  */
4452
4454
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4453
4455
  /**
4454
4456
  * Forbid repeated import of the same module in multiple places.
4455
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
4457
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
4456
4458
  */
4457
4459
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4458
4460
  /**
4459
4461
  * Forbid `require()` calls with expressions.
4460
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
4462
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
4461
4463
  */
4462
4464
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4463
4465
  /**
4464
4466
  * Forbid empty named import blocks.
4465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
4467
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
4466
4468
  */
4467
4469
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4468
4470
  /**
4469
4471
  * Forbid the use of extraneous packages.
4470
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
4472
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
4471
4473
  */
4472
4474
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4473
4475
  /**
4474
4476
  * Forbid import statements with CommonJS module.exports.
4475
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
4477
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
4476
4478
  */
4477
4479
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4478
4480
  /**
4479
4481
  * Forbid importing the submodules of other modules.
4480
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
4482
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
4481
4483
  */
4482
4484
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4483
4485
  /**
4484
4486
  * Forbid the use of mutable exports with `var` or `let`.
4485
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
4487
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
4486
4488
  */
4487
4489
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4488
4490
  /**
4489
4491
  * Forbid use of exported name as identifier of default export.
4490
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
4492
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
4491
4493
  */
4492
4494
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4493
4495
  /**
4494
4496
  * Forbid use of exported name as property of default export.
4495
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
4497
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
4496
4498
  */
4497
4499
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4498
4500
  /**
4499
4501
  * Forbid named default exports.
4500
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
4502
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
4501
4503
  */
4502
4504
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4503
4505
  /**
4504
4506
  * Forbid named exports.
4505
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
4507
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
4506
4508
  */
4507
4509
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4508
4510
  /**
4509
4511
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4510
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
4512
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
4511
4513
  */
4512
4514
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4513
4515
  /**
4514
4516
  * Forbid Node.js builtin modules.
4515
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
4517
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
4516
4518
  */
4517
4519
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4518
4520
  /**
4519
4521
  * Forbid importing packages through relative paths.
4520
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
4522
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
4521
4523
  */
4522
4524
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4523
4525
  /**
4524
4526
  * Forbid importing modules from parent directories.
4525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
4527
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
4526
4528
  */
4527
4529
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4528
4530
  /**
4529
4531
  * Forbid importing a default export by a different name.
4530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
4532
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
4531
4533
  */
4532
4534
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
4533
4535
  /**
4534
4536
  * Enforce which files can be imported in a given folder.
4535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
4537
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
4536
4538
  */
4537
4539
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4538
4540
  /**
4539
4541
  * Forbid a module from importing itself.
4540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
4542
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
4541
4543
  */
4542
4544
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4543
4545
  /**
4544
4546
  * Forbid unassigned imports.
4545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
4547
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
4546
4548
  */
4547
4549
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4548
4550
  /**
4549
4551
  * Ensure imports point to a file/module that can be resolved.
4550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
4552
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
4551
4553
  */
4552
4554
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4553
4555
  /**
4554
4556
  * Forbid modules without exports, or exports without matching import in another module.
4555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
4557
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
4556
4558
  */
4557
4559
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4558
4560
  /**
4559
4561
  * Forbid unnecessary path segments in import and require statements.
4560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
4562
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
4561
4563
  */
4562
4564
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4563
4565
  /**
4564
4566
  * Forbid webpack loader syntax in imports.
4565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
4567
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
4566
4568
  */
4567
4569
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4568
4570
  /**
4569
4571
  * Enforce a convention in module import order.
4570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
4572
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
4571
4573
  */
4572
4574
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4573
4575
  /**
4574
4576
  * Prefer a default export if module exports a single name or multiple names.
4575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
4577
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
4576
4578
  */
4577
4579
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4578
4580
  /**
4579
4581
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
4582
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
4581
4583
  */
4582
4584
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4583
4585
  }
@@ -4586,7 +4588,7 @@ interface ImportsRuleOptions {
4586
4588
  // ----- import/consistent-type-specifier-style -----
4587
4589
  type ImportConsistentTypeSpecifierStyle$1 =
4588
4590
  | []
4589
- | ["prefer-inline" | "prefer-top-level"];
4591
+ | ["prefer-top-level" | "prefer-inline"];
4590
4592
  // ----- import/dynamic-import-chunkname -----
4591
4593
  type ImportDynamicImportChunkname$1 =
4592
4594
  | []
@@ -4944,6 +4946,23 @@ type ImportOrder$1 =
4944
4946
  | "always"
4945
4947
  | "always-and-inside-groups"
4946
4948
  | "never";
4949
+ "newlines-between-types"?:
4950
+ | "ignore"
4951
+ | "always"
4952
+ | "always-and-inside-groups"
4953
+ | "never";
4954
+ consolidateIslands?: "inside-groups" | "never";
4955
+ sortTypesGroup?: boolean;
4956
+ named?:
4957
+ | boolean
4958
+ | {
4959
+ enabled?: boolean;
4960
+ import?: boolean;
4961
+ export?: boolean;
4962
+ require?: boolean;
4963
+ cjsExports?: boolean;
4964
+ types?: "mixed" | "types-first" | "types-last";
4965
+ };
4947
4966
  alphabetize?: {
4948
4967
  caseInsensitive?: boolean;
4949
4968
  order?: "ignore" | "asc" | "desc";
@@ -6715,30 +6734,37 @@ type JsoncSpaceUnaryOps =
6715
6734
  interface MarkdownRuleOptions {
6716
6735
  /**
6717
6736
  * Require languages for fenced code blocks
6737
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
6718
6738
  */
6719
6739
  "markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
6720
6740
  /**
6721
6741
  * Enforce heading levels increment by one
6742
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
6722
6743
  */
6723
6744
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
6724
6745
  /**
6725
6746
  * Disallow duplicate headings in the same document
6747
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
6726
6748
  */
6727
6749
  "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
6728
6750
  /**
6729
6751
  * Disallow empty links
6752
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
6730
6753
  */
6731
6754
  "markdown/no-empty-links"?: Linter.RuleEntry<[]>;
6732
6755
  /**
6733
6756
  * Disallow HTML tags
6757
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
6734
6758
  */
6735
6759
  "markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
6736
6760
  /**
6737
6761
  * Disallow invalid label references
6762
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
6738
6763
  */
6739
6764
  "markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
6740
6765
  /**
6741
6766
  * Disallow missing label references
6767
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
6742
6768
  */
6743
6769
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
6744
6770
  }
@@ -9810,6 +9836,9 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9810
9836
  | "zlib.Unzip()"
9811
9837
  | "zlib.Unzip"
9812
9838
  | "zlib"
9839
+ | "import.meta.resolve"
9840
+ | "import.meta.dirname"
9841
+ | "import.meta.filename"
9813
9842
  )[];
9814
9843
  },
9815
9844
  ];
@@ -10843,10 +10872,32 @@ type PerfectionistSortEnums =
10843
10872
  },
10844
10873
  ];
10845
10874
  // ----- perfectionist/sort-exports -----
10846
- type PerfectionistSortExports =
10847
- | []
10848
- | [
10849
- {
10875
+ type PerfectionistSortExports = {
10876
+ fallbackSort?: {
10877
+ order?: "asc" | "desc";
10878
+
10879
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10880
+ [k: string]: unknown | undefined;
10881
+ };
10882
+
10883
+ specialCharacters?: "remove" | "trim" | "keep";
10884
+
10885
+ ignoreCase?: boolean;
10886
+
10887
+ alphabet?: string;
10888
+
10889
+ locales?: string | string[];
10890
+
10891
+ order?: "asc" | "desc";
10892
+
10893
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10894
+
10895
+ groupKind?: "mixed" | "values-first" | "types-first";
10896
+
10897
+ customGroups?: (
10898
+ | {
10899
+ newlinesInside?: "always" | "never";
10900
+
10850
10901
  fallbackSort?: {
10851
10902
  order?: "asc" | "desc";
10852
10903
 
@@ -10859,13 +10910,54 @@ type PerfectionistSortExports =
10859
10910
  [k: string]: unknown | undefined;
10860
10911
  };
10861
10912
 
10862
- specialCharacters?: "remove" | "trim" | "keep";
10913
+ groupName?: string;
10863
10914
 
10864
- ignoreCase?: boolean;
10915
+ order?: "asc" | "desc";
10865
10916
 
10866
- alphabet?: string;
10917
+ type?:
10918
+ | "alphabetical"
10919
+ | "natural"
10920
+ | "line-length"
10921
+ | "custom"
10922
+ | "unsorted";
10923
+ anyOf?: {
10924
+ modifiers?: ("value" | "type")[];
10867
10925
 
10868
- locales?: string | string[];
10926
+ selector?: "export";
10927
+
10928
+ elementNamePattern?:
10929
+ | (
10930
+ | {
10931
+ pattern?: string;
10932
+ flags?: string;
10933
+ }
10934
+ | string
10935
+ )[]
10936
+ | (
10937
+ | {
10938
+ pattern?: string;
10939
+ flags?: string;
10940
+ }
10941
+ | string
10942
+ );
10943
+ }[];
10944
+ }
10945
+ | {
10946
+ newlinesInside?: "always" | "never";
10947
+
10948
+ fallbackSort?: {
10949
+ order?: "asc" | "desc";
10950
+
10951
+ type?:
10952
+ | "alphabetical"
10953
+ | "natural"
10954
+ | "line-length"
10955
+ | "custom"
10956
+ | "unsorted";
10957
+ [k: string]: unknown | undefined;
10958
+ };
10959
+
10960
+ groupName?: string;
10869
10961
 
10870
10962
  order?: "asc" | "desc";
10871
10963
 
@@ -10876,9 +10968,48 @@ type PerfectionistSortExports =
10876
10968
  | "custom"
10877
10969
  | "unsorted";
10878
10970
 
10879
- groupKind?: "mixed" | "values-first" | "types-first";
10971
+ modifiers?: ("value" | "type")[];
10880
10972
 
10881
- partitionByComment?:
10973
+ selector?: "export";
10974
+
10975
+ elementNamePattern?:
10976
+ | (
10977
+ | {
10978
+ pattern?: string;
10979
+ flags?: string;
10980
+ }
10981
+ | string
10982
+ )[]
10983
+ | (
10984
+ | {
10985
+ pattern?: string;
10986
+ flags?: string;
10987
+ }
10988
+ | string
10989
+ );
10990
+ }
10991
+ )[];
10992
+
10993
+ partitionByComment?:
10994
+ | boolean
10995
+ | (
10996
+ | (
10997
+ | {
10998
+ pattern?: string;
10999
+ flags?: string;
11000
+ }
11001
+ | string
11002
+ )[]
11003
+ | (
11004
+ | {
11005
+ pattern?: string;
11006
+ flags?: string;
11007
+ }
11008
+ | string
11009
+ )
11010
+ )
11011
+ | {
11012
+ block?:
10882
11013
  | boolean
10883
11014
  | (
10884
11015
  | (
@@ -10895,49 +11026,39 @@ type PerfectionistSortExports =
10895
11026
  }
10896
11027
  | string
10897
11028
  )
10898
- )
10899
- | {
10900
- block?:
10901
- | boolean
10902
- | (
10903
- | (
10904
- | {
10905
- pattern?: string;
10906
- flags?: string;
10907
- }
10908
- | string
10909
- )[]
10910
- | (
10911
- | {
10912
- pattern?: string;
10913
- flags?: string;
10914
- }
10915
- | string
10916
- )
10917
- );
10918
- line?:
10919
- | boolean
10920
- | (
10921
- | (
10922
- | {
10923
- pattern?: string;
10924
- flags?: string;
10925
- }
10926
- | string
10927
- )[]
10928
- | (
10929
- | {
10930
- pattern?: string;
10931
- flags?: string;
10932
- }
10933
- | string
10934
- )
10935
- );
10936
- };
11029
+ );
11030
+ line?:
11031
+ | boolean
11032
+ | (
11033
+ | (
11034
+ | {
11035
+ pattern?: string;
11036
+ flags?: string;
11037
+ }
11038
+ | string
11039
+ )[]
11040
+ | (
11041
+ | {
11042
+ pattern?: string;
11043
+ flags?: string;
11044
+ }
11045
+ | string
11046
+ )
11047
+ );
11048
+ };
10937
11049
 
10938
- partitionByNewLine?: boolean;
10939
- },
10940
- ];
11050
+ partitionByNewLine?: boolean;
11051
+
11052
+ newlinesBetween?: "ignore" | "always" | "never";
11053
+
11054
+ groups?: (
11055
+ | string
11056
+ | string[]
11057
+ | {
11058
+ newlinesBetween?: "ignore" | "always" | "never";
11059
+ }
11060
+ )[];
11061
+ }[];
10941
11062
  // ----- perfectionist/sort-heritage-clauses -----
10942
11063
  type PerfectionistSortHeritageClauses =
10943
11064
  | []
@@ -11285,6 +11406,8 @@ type PerfectionistSortInterfaces = {
11285
11406
  sortBy?: "name" | "value";
11286
11407
  }
11287
11408
  )[];
11409
+
11410
+ groupKind?: "mixed" | "required-first" | "optional-first";
11288
11411
  useConfigurationIf?: {
11289
11412
  allNamesMatchPattern?:
11290
11413
  | (
@@ -11319,8 +11442,6 @@ type PerfectionistSortInterfaces = {
11319
11442
  );
11320
11443
  };
11321
11444
 
11322
- groupKind?: "mixed" | "required-first" | "optional-first";
11323
-
11324
11445
  partitionByComment?:
11325
11446
  | boolean
11326
11447
  | (
@@ -11531,6 +11652,137 @@ type PerfectionistSortJsxProps = {
11531
11652
  order?: "asc" | "desc";
11532
11653
 
11533
11654
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
11655
+ customGroups?:
11656
+ | {
11657
+ [k: string]: (string | string[]) | undefined;
11658
+ }
11659
+ | (
11660
+ | {
11661
+ newlinesInside?: "always" | "never";
11662
+
11663
+ fallbackSort?: {
11664
+ order?: "asc" | "desc";
11665
+
11666
+ type?:
11667
+ | "alphabetical"
11668
+ | "natural"
11669
+ | "line-length"
11670
+ | "custom"
11671
+ | "unsorted";
11672
+ [k: string]: unknown | undefined;
11673
+ };
11674
+
11675
+ groupName?: string;
11676
+
11677
+ order?: "asc" | "desc";
11678
+
11679
+ type?:
11680
+ | "alphabetical"
11681
+ | "natural"
11682
+ | "line-length"
11683
+ | "custom"
11684
+ | "unsorted";
11685
+ anyOf?: {
11686
+ modifiers?: ("shorthand" | "multiline")[];
11687
+
11688
+ selector?: "multiline" | "prop" | "shorthand";
11689
+
11690
+ elementValuePattern?:
11691
+ | (
11692
+ | {
11693
+ pattern?: string;
11694
+ flags?: string;
11695
+ }
11696
+ | string
11697
+ )[]
11698
+ | (
11699
+ | {
11700
+ pattern?: string;
11701
+ flags?: string;
11702
+ }
11703
+ | string
11704
+ );
11705
+
11706
+ elementNamePattern?:
11707
+ | (
11708
+ | {
11709
+ pattern?: string;
11710
+ flags?: string;
11711
+ }
11712
+ | string
11713
+ )[]
11714
+ | (
11715
+ | {
11716
+ pattern?: string;
11717
+ flags?: string;
11718
+ }
11719
+ | string
11720
+ );
11721
+ }[];
11722
+ }
11723
+ | {
11724
+ newlinesInside?: "always" | "never";
11725
+
11726
+ fallbackSort?: {
11727
+ order?: "asc" | "desc";
11728
+
11729
+ type?:
11730
+ | "alphabetical"
11731
+ | "natural"
11732
+ | "line-length"
11733
+ | "custom"
11734
+ | "unsorted";
11735
+ [k: string]: unknown | undefined;
11736
+ };
11737
+
11738
+ groupName?: string;
11739
+
11740
+ order?: "asc" | "desc";
11741
+
11742
+ type?:
11743
+ | "alphabetical"
11744
+ | "natural"
11745
+ | "line-length"
11746
+ | "custom"
11747
+ | "unsorted";
11748
+
11749
+ modifiers?: ("shorthand" | "multiline")[];
11750
+
11751
+ selector?: "multiline" | "prop" | "shorthand";
11752
+
11753
+ elementValuePattern?:
11754
+ | (
11755
+ | {
11756
+ pattern?: string;
11757
+ flags?: string;
11758
+ }
11759
+ | string
11760
+ )[]
11761
+ | (
11762
+ | {
11763
+ pattern?: string;
11764
+ flags?: string;
11765
+ }
11766
+ | string
11767
+ );
11768
+
11769
+ elementNamePattern?:
11770
+ | (
11771
+ | {
11772
+ pattern?: string;
11773
+ flags?: string;
11774
+ }
11775
+ | string
11776
+ )[]
11777
+ | (
11778
+ | {
11779
+ pattern?: string;
11780
+ flags?: string;
11781
+ }
11782
+ | string
11783
+ );
11784
+ }
11785
+ )[];
11534
11786
  useConfigurationIf?: {
11535
11787
  allNamesMatchPattern?:
11536
11788
  | (
@@ -11569,10 +11821,6 @@ type PerfectionistSortJsxProps = {
11569
11821
 
11570
11822
  newlinesBetween?: "ignore" | "always" | "never";
11571
11823
 
11572
- customGroups?: {
11573
- [k: string]: (string | string[]) | undefined;
11574
- };
11575
-
11576
11824
  ignorePattern?:
11577
11825
  | (
11578
11826
  | {
@@ -12397,6 +12645,8 @@ type PerfectionistSortObjectTypes = {
12397
12645
  sortBy?: "name" | "value";
12398
12646
  }
12399
12647
  )[];
12648
+
12649
+ groupKind?: "mixed" | "required-first" | "optional-first";
12400
12650
  useConfigurationIf?: {
12401
12651
  allNamesMatchPattern?:
12402
12652
  | (
@@ -12431,8 +12681,6 @@ type PerfectionistSortObjectTypes = {
12431
12681
  );
12432
12682
  };
12433
12683
 
12434
- groupKind?: "mixed" | "required-first" | "optional-first";
12435
-
12436
12684
  partitionByComment?:
12437
12685
  | boolean
12438
12686
  | (
@@ -17284,6 +17532,11 @@ interface VitestRuleOptions {
17284
17532
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
17285
17533
  */
17286
17534
  "vitest/prefer-comparison-matcher"?: Linter.RuleEntry<[]>;
17535
+ /**
17536
+ * enforce using a function as a describe title over an equivalent string
17537
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-describe-function-title.md
17538
+ */
17539
+ "vitest/prefer-describe-function-title"?: Linter.RuleEntry<[]>;
17287
17540
  /**
17288
17541
  * enforce using `each` rather than manual loops
17289
17542
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
@@ -18484,233 +18737,233 @@ interface TypescriptRuleOptions {
18484
18737
  >;
18485
18738
  /**
18486
18739
  * Enforce or ban the use of inline type-only markers for named imports.
18487
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
18740
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
18488
18741
  */
18489
18742
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
18490
18743
  /**
18491
18744
  * Ensure a default export is present, given a default import.
18492
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
18745
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
18493
18746
  */
18494
18747
  "import/default"?: Linter.RuleEntry<[]>;
18495
18748
  /**
18496
18749
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
18497
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
18750
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
18498
18751
  */
18499
18752
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
18500
18753
  /**
18501
18754
  * Forbid any invalid exports, i.e. re-export of the same name.
18502
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
18755
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
18503
18756
  */
18504
18757
  "import/export"?: Linter.RuleEntry<[]>;
18505
18758
  /**
18506
18759
  * Ensure all exports appear after other statements.
18507
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
18760
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
18508
18761
  */
18509
18762
  "import/exports-last"?: Linter.RuleEntry<[]>;
18510
18763
  /**
18511
18764
  * Ensure consistent use of file extension within the import path.
18512
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
18765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
18513
18766
  */
18514
18767
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
18515
18768
  /**
18516
18769
  * Ensure all imports appear before other statements.
18517
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
18770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
18518
18771
  */
18519
18772
  "import/first"?: Linter.RuleEntry<ImportFirst>;
18520
18773
  /**
18521
18774
  * Prefer named exports to be grouped together in a single export declaration.
18522
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
18775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
18523
18776
  */
18524
18777
  "import/group-exports"?: Linter.RuleEntry<[]>;
18525
18778
  /**
18526
18779
  * Replaced by `import-x/first`.
18527
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
18780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
18528
18781
  * @deprecated
18529
18782
  */
18530
18783
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
18531
18784
  /**
18532
18785
  * Enforce the maximum number of dependencies a module can have.
18533
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
18786
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
18534
18787
  */
18535
18788
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
18536
18789
  /**
18537
18790
  * Ensure named imports correspond to a named export in the remote file.
18538
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
18791
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
18539
18792
  */
18540
18793
  "import/named"?: Linter.RuleEntry<ImportNamed>;
18541
18794
  /**
18542
18795
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
18543
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
18796
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
18544
18797
  */
18545
18798
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
18546
18799
  /**
18547
18800
  * Enforce a newline after import statements.
18548
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
18801
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
18549
18802
  */
18550
18803
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
18551
18804
  /**
18552
18805
  * Forbid import of modules using absolute paths.
18553
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
18806
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
18554
18807
  */
18555
18808
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
18556
18809
  /**
18557
18810
  * Forbid AMD `require` and `define` calls.
18558
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
18811
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
18559
18812
  */
18560
18813
  "import/no-amd"?: Linter.RuleEntry<[]>;
18561
18814
  /**
18562
18815
  * Forbid anonymous values as default exports.
18563
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
18816
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
18564
18817
  */
18565
18818
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
18566
18819
  /**
18567
18820
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
18568
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
18821
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
18569
18822
  */
18570
18823
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
18571
18824
  /**
18572
18825
  * Forbid a module from importing a module with a dependency path back to itself.
18573
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
18826
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
18574
18827
  */
18575
18828
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
18576
18829
  /**
18577
18830
  * Forbid default exports.
18578
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
18831
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
18579
18832
  */
18580
18833
  "import/no-default-export"?: Linter.RuleEntry<[]>;
18581
18834
  /**
18582
18835
  * Forbid imported names marked with `@deprecated` documentation tag.
18583
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
18836
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
18584
18837
  */
18585
18838
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
18586
18839
  /**
18587
18840
  * Forbid repeated import of the same module in multiple places.
18588
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
18841
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
18589
18842
  */
18590
18843
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
18591
18844
  /**
18592
18845
  * Forbid `require()` calls with expressions.
18593
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
18846
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
18594
18847
  */
18595
18848
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
18596
18849
  /**
18597
18850
  * Forbid empty named import blocks.
18598
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
18851
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
18599
18852
  */
18600
18853
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
18601
18854
  /**
18602
18855
  * Forbid the use of extraneous packages.
18603
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
18856
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
18604
18857
  */
18605
18858
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
18606
18859
  /**
18607
18860
  * Forbid import statements with CommonJS module.exports.
18608
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
18861
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
18609
18862
  */
18610
18863
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
18611
18864
  /**
18612
18865
  * Forbid importing the submodules of other modules.
18613
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
18866
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
18614
18867
  */
18615
18868
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
18616
18869
  /**
18617
18870
  * Forbid the use of mutable exports with `var` or `let`.
18618
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
18871
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
18619
18872
  */
18620
18873
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
18621
18874
  /**
18622
18875
  * Forbid use of exported name as identifier of default export.
18623
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
18876
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
18624
18877
  */
18625
18878
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
18626
18879
  /**
18627
18880
  * Forbid use of exported name as property of default export.
18628
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
18881
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
18629
18882
  */
18630
18883
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
18631
18884
  /**
18632
18885
  * Forbid named default exports.
18633
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
18886
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
18634
18887
  */
18635
18888
  "import/no-named-default"?: Linter.RuleEntry<[]>;
18636
18889
  /**
18637
18890
  * Forbid named exports.
18638
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
18891
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
18639
18892
  */
18640
18893
  "import/no-named-export"?: Linter.RuleEntry<[]>;
18641
18894
  /**
18642
18895
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
18643
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
18896
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
18644
18897
  */
18645
18898
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
18646
18899
  /**
18647
18900
  * Forbid Node.js builtin modules.
18648
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
18901
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
18649
18902
  */
18650
18903
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
18651
18904
  /**
18652
18905
  * Forbid importing packages through relative paths.
18653
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
18906
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
18654
18907
  */
18655
18908
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
18656
18909
  /**
18657
18910
  * Forbid importing modules from parent directories.
18658
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
18911
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
18659
18912
  */
18660
18913
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
18661
18914
  /**
18662
18915
  * Forbid importing a default export by a different name.
18663
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
18916
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
18664
18917
  */
18665
18918
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
18666
18919
  /**
18667
18920
  * Enforce which files can be imported in a given folder.
18668
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
18921
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
18669
18922
  */
18670
18923
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
18671
18924
  /**
18672
18925
  * Forbid a module from importing itself.
18673
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
18926
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
18674
18927
  */
18675
18928
  "import/no-self-import"?: Linter.RuleEntry<[]>;
18676
18929
  /**
18677
18930
  * Forbid unassigned imports.
18678
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
18931
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
18679
18932
  */
18680
18933
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
18681
18934
  /**
18682
18935
  * Ensure imports point to a file/module that can be resolved.
18683
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
18936
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
18684
18937
  */
18685
18938
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
18686
18939
  /**
18687
18940
  * Forbid modules without exports, or exports without matching import in another module.
18688
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
18941
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
18689
18942
  */
18690
18943
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
18691
18944
  /**
18692
18945
  * Forbid unnecessary path segments in import and require statements.
18693
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
18946
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
18694
18947
  */
18695
18948
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
18696
18949
  /**
18697
18950
  * Forbid webpack loader syntax in imports.
18698
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
18951
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
18699
18952
  */
18700
18953
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
18701
18954
  /**
18702
18955
  * Enforce a convention in module import order.
18703
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
18956
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
18704
18957
  */
18705
18958
  "import/order"?: Linter.RuleEntry<ImportOrder>;
18706
18959
  /**
18707
18960
  * Prefer a default export if module exports a single name or multiple names.
18708
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
18961
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
18709
18962
  */
18710
18963
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
18711
18964
  /**
18712
18965
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
18713
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
18966
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
18714
18967
  */
18715
18968
  "import/unambiguous"?: Linter.RuleEntry<[]>;
18716
18969
  }
@@ -21932,6 +22185,8 @@ type TypescriptEslintNoUnnecessaryTypeAssertion =
21932
22185
  | []
21933
22186
  | [
21934
22187
  {
22188
+ checkLiteralConstAssertions?: boolean;
22189
+
21935
22190
  typesToIgnore?: string[];
21936
22191
  },
21937
22192
  ];
@@ -22110,6 +22365,8 @@ type TypescriptEslintPreferNullishCoalescing =
22110
22365
 
22111
22366
  ignoreConditionalTests?: boolean;
22112
22367
 
22368
+ ignoreIfStatements?: boolean;
22369
+
22113
22370
  ignoreMixedLogicalExpressions?: boolean;
22114
22371
 
22115
22372
  ignorePrimitives?:
@@ -22422,7 +22679,7 @@ type TypescriptEslintUnifiedSignatures =
22422
22679
  // ----- import/consistent-type-specifier-style -----
22423
22680
  type ImportConsistentTypeSpecifierStyle =
22424
22681
  | []
22425
- | ["prefer-inline" | "prefer-top-level"];
22682
+ | ["prefer-top-level" | "prefer-inline"];
22426
22683
  // ----- import/dynamic-import-chunkname -----
22427
22684
  type ImportDynamicImportChunkname =
22428
22685
  | []
@@ -22780,6 +23037,23 @@ type ImportOrder =
22780
23037
  | "always"
22781
23038
  | "always-and-inside-groups"
22782
23039
  | "never";
23040
+ "newlines-between-types"?:
23041
+ | "ignore"
23042
+ | "always"
23043
+ | "always-and-inside-groups"
23044
+ | "never";
23045
+ consolidateIslands?: "inside-groups" | "never";
23046
+ sortTypesGroup?: boolean;
23047
+ named?:
23048
+ | boolean
23049
+ | {
23050
+ enabled?: boolean;
23051
+ import?: boolean;
23052
+ export?: boolean;
23053
+ require?: boolean;
23054
+ cjsExports?: boolean;
23055
+ types?: "mixed" | "types-first" | "types-last";
23056
+ };
22783
23057
  alphabetize?: {
22784
23058
  caseInsensitive?: boolean;
22785
23059
  order?: "ignore" | "asc" | "desc";
@@ -22804,642 +23078,643 @@ type ImportPreferDefaultExport =
22804
23078
  interface UnicornRuleOptions {
22805
23079
  /**
22806
23080
  * Improve regexes by making them shorter, consistent, and safer.
22807
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
23081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
22808
23082
  */
22809
23083
  "unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
22810
23084
  /**
22811
23085
  * Enforce a specific parameter name in catch clauses.
22812
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
23086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
22813
23087
  */
22814
23088
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
22815
23089
  /**
22816
23090
  * Enforce consistent assertion style with `node:assert`.
22817
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
23091
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
22818
23092
  */
22819
23093
  "unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
22820
23094
  /**
22821
23095
  * Prefer passing `Date` directly to the constructor when cloning.
22822
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
23096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
22823
23097
  */
22824
23098
  "unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
22825
23099
  /**
22826
23100
  * Use destructured variables over properties.
22827
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
23101
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
22828
23102
  */
22829
23103
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
22830
23104
  /**
22831
23105
  * Prefer consistent types when spreading a ternary in an array literal.
22832
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
23106
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
22833
23107
  */
22834
23108
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
22835
23109
  /**
22836
23110
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
22837
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
23111
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
22838
23112
  */
22839
23113
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
22840
23114
  /**
22841
23115
  * Move function definitions to the highest possible scope.
22842
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
23116
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
22843
23117
  */
22844
23118
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
22845
23119
  /**
22846
23120
  * Enforce correct `Error` subclassing.
22847
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
23121
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
22848
23122
  */
22849
23123
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
22850
23124
  /**
22851
23125
  * Enforce no spaces between braces.
22852
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
23126
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
22853
23127
  */
22854
23128
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
22855
23129
  /**
22856
23130
  * Enforce passing a `message` value when creating a built-in error.
22857
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
23131
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
22858
23132
  */
22859
23133
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
22860
23134
  /**
22861
- * Require escape sequences to use uppercase values.
22862
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
23135
+ * Require escape sequences to use uppercase or lowercase values.
23136
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
22863
23137
  */
22864
- "unicorn/escape-case"?: Linter.RuleEntry<[]>;
23138
+ "unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
22865
23139
  /**
22866
23140
  * Add expiration conditions to TODO comments.
22867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
23141
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
22868
23142
  */
22869
23143
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
22870
23144
  /**
22871
23145
  * Enforce explicitly comparing the `length` or `size` property of a value.
22872
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
23146
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
22873
23147
  */
22874
23148
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
22875
23149
  /**
22876
23150
  * Enforce a case style for filenames.
22877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
23151
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
22878
23152
  */
22879
23153
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
22880
23154
  /**
22881
23155
  * Enforce specific import styles per module.
22882
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
23156
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
22883
23157
  */
22884
23158
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
22885
23159
  /**
22886
23160
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
22887
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
23161
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
22888
23162
  */
22889
23163
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
22890
23164
  /**
22891
23165
  * Enforce specifying rules to disable in `eslint-disable` comments.
22892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
23166
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
22893
23167
  */
22894
23168
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
22895
23169
  /**
22896
23170
  * Disallow recursive access to `this` within getters and setters.
22897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
23171
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
22898
23172
  */
22899
23173
  "unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
22900
23174
  /**
22901
23175
  * Disallow anonymous functions and classes as the default export.
22902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
23176
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
22903
23177
  */
22904
23178
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
22905
23179
  /**
22906
23180
  * Prevent passing a function reference directly to iterator methods.
22907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
23181
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
22908
23182
  */
22909
23183
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
22910
23184
  /**
22911
23185
  * Prefer `for…of` over the `forEach` method.
22912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
23186
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
22913
23187
  */
22914
23188
  "unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
22915
23189
  /**
22916
23190
  * Disallow using the `this` argument in array methods.
22917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
23191
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
22918
23192
  */
22919
23193
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
22920
23194
  /**
22921
23195
  * Enforce combining multiple `Array#push()` into one call.
22922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
23196
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
22923
23197
  */
22924
23198
  "unicorn/no-array-push-push"?: Linter.RuleEntry<UnicornNoArrayPushPush>;
22925
23199
  /**
22926
23200
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
22927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
23201
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
22928
23202
  */
22929
23203
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
22930
23204
  /**
22931
23205
  * Disallow member access from await expression.
22932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
23206
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
22933
23207
  */
22934
23208
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
22935
23209
  /**
22936
23210
  * Disallow using `await` in `Promise` method parameters.
22937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
23211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
22938
23212
  */
22939
23213
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
22940
23214
  /**
22941
23215
  * Do not use leading/trailing space between `console.log` parameters.
22942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
23216
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
22943
23217
  */
22944
23218
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
22945
23219
  /**
22946
23220
  * Do not use `document.cookie` directly.
22947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
23221
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
22948
23222
  */
22949
23223
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
22950
23224
  /**
22951
23225
  * Disallow empty files.
22952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
23226
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
22953
23227
  */
22954
23228
  "unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
22955
23229
  /**
22956
23230
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
22957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
23231
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
22958
23232
  */
22959
23233
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
22960
23234
  /**
22961
23235
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
22962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
23236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
22963
23237
  */
22964
23238
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
22965
23239
  /**
22966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
23240
+ * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
23241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
22967
23242
  * @deprecated
22968
23243
  */
22969
23244
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
22970
23245
  /**
22971
23246
  * Disallow `instanceof` with built-in objects
22972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
23247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
22973
23248
  */
22974
23249
  "unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
22975
23250
  /**
22976
23251
  * Disallow invalid options in `fetch()` and `new Request()`.
22977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
23252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
22978
23253
  */
22979
23254
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
22980
23255
  /**
22981
23256
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
22982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
23257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
22983
23258
  */
22984
23259
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
22985
23260
  /**
22986
23261
  * Disallow identifiers starting with `new` or `class`.
22987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
23262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
22988
23263
  */
22989
23264
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
22990
23265
  /**
22991
23266
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
22992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
23267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
22993
23268
  */
22994
23269
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
22995
23270
  /**
22996
23271
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
22997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
23272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
22998
23273
  */
22999
23274
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
23000
23275
  /**
23001
23276
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
23002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
23277
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
23003
23278
  */
23004
23279
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
23005
23280
  /**
23006
23281
  * Disallow named usage of default import and export.
23007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
23282
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
23008
23283
  */
23009
23284
  "unicorn/no-named-default"?: Linter.RuleEntry<[]>;
23010
23285
  /**
23011
23286
  * Disallow negated conditions.
23012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
23287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
23013
23288
  */
23014
23289
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
23015
23290
  /**
23016
23291
  * Disallow negated expression in equality check.
23017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
23292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
23018
23293
  */
23019
23294
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
23020
23295
  /**
23021
23296
  * Disallow nested ternary expressions.
23022
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
23297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
23023
23298
  */
23024
23299
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
23025
23300
  /**
23026
23301
  * Disallow `new Array()`.
23027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
23302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
23028
23303
  */
23029
23304
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
23030
23305
  /**
23031
23306
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
23032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
23307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
23033
23308
  */
23034
23309
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
23035
23310
  /**
23036
23311
  * Disallow the use of the `null` literal.
23037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
23312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
23038
23313
  */
23039
23314
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
23040
23315
  /**
23041
23316
  * Disallow the use of objects as default parameters.
23042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
23317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
23043
23318
  */
23044
23319
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
23045
23320
  /**
23046
23321
  * Disallow `process.exit()`.
23047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
23322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
23048
23323
  */
23049
23324
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
23050
23325
  /**
23051
23326
  * Disallow passing single-element arrays to `Promise` methods.
23052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
23327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
23053
23328
  */
23054
23329
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
23055
23330
  /**
23056
23331
  * Disallow classes that only have static members.
23057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
23332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
23058
23333
  */
23059
23334
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
23060
23335
  /**
23061
23336
  * Disallow `then` property.
23062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
23337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
23063
23338
  */
23064
23339
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
23065
23340
  /**
23066
23341
  * Disallow assigning `this` to a variable.
23067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
23342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
23068
23343
  */
23069
23344
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
23070
23345
  /**
23071
23346
  * Disallow comparing `undefined` using `typeof`.
23072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
23347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
23073
23348
  */
23074
23349
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
23075
23350
  /**
23076
23351
  * Disallow awaiting non-promise values.
23077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
23352
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
23078
23353
  */
23079
23354
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
23080
23355
  /**
23081
23356
  * Enforce the use of built-in methods instead of unnecessary polyfills.
23082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
23357
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
23083
23358
  */
23084
23359
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
23085
23360
  /**
23086
23361
  * Disallow unreadable array destructuring.
23087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
23362
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
23088
23363
  */
23089
23364
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
23090
23365
  /**
23091
23366
  * Disallow unreadable IIFEs.
23092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
23367
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
23093
23368
  */
23094
23369
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
23095
23370
  /**
23096
23371
  * Disallow unused object properties.
23097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
23372
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
23098
23373
  */
23099
23374
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
23100
23375
  /**
23101
23376
  * Disallow useless fallback when spreading in object literals.
23102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
23377
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
23103
23378
  */
23104
23379
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
23105
23380
  /**
23106
23381
  * Disallow useless array length check.
23107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
23382
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
23108
23383
  */
23109
23384
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
23110
23385
  /**
23111
23386
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
23112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
23387
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
23113
23388
  */
23114
23389
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
23115
23390
  /**
23116
23391
  * Disallow unnecessary spread.
23117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
23392
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
23118
23393
  */
23119
23394
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
23120
23395
  /**
23121
23396
  * Disallow useless case in switch statements.
23122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
23397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
23123
23398
  */
23124
23399
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
23125
23400
  /**
23126
23401
  * Disallow useless `undefined`.
23127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
23402
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
23128
23403
  */
23129
23404
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
23130
23405
  /**
23131
23406
  * Disallow number literals with zero fractions or dangling dots.
23132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
23407
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
23133
23408
  */
23134
23409
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
23135
23410
  /**
23136
23411
  * Enforce proper case for numeric literals.
23137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
23412
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
23138
23413
  */
23139
- "unicorn/number-literal-case"?: Linter.RuleEntry<[]>;
23414
+ "unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
23140
23415
  /**
23141
23416
  * Enforce the style of numeric separators by correctly grouping digits.
23142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
23417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
23143
23418
  */
23144
23419
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
23145
23420
  /**
23146
23421
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
23147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
23422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
23148
23423
  */
23149
23424
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
23150
23425
  /**
23151
23426
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
23152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
23427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
23153
23428
  */
23154
23429
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
23155
23430
  /**
23156
23431
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
23157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
23432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
23158
23433
  */
23159
23434
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
23160
23435
  /**
23161
23436
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
23162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
23437
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
23163
23438
  */
23164
23439
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
23165
23440
  /**
23166
23441
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
23167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
23442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
23168
23443
  */
23169
23444
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
23170
23445
  /**
23171
23446
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
23172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
23447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
23173
23448
  */
23174
23449
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
23175
23450
  /**
23176
23451
  * Prefer `.at()` method for index access and `String#charAt()`.
23177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
23452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
23178
23453
  */
23179
23454
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
23180
23455
  /**
23181
23456
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
23182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
23457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
23183
23458
  */
23184
23459
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
23185
23460
  /**
23186
23461
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
23187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
23462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
23188
23463
  */
23189
23464
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
23190
23465
  /**
23191
23466
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
23192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
23467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
23193
23468
  */
23194
23469
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
23195
23470
  /**
23196
23471
  * Prefer default parameters over reassignment.
23197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
23472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
23198
23473
  */
23199
23474
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
23200
23475
  /**
23201
23476
  * Prefer `Node#append()` over `Node#appendChild()`.
23202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
23477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
23203
23478
  */
23204
23479
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
23205
23480
  /**
23206
23481
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
23207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
23482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
23208
23483
  */
23209
23484
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
23210
23485
  /**
23211
23486
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
23212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
23487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
23213
23488
  */
23214
23489
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
23215
23490
  /**
23216
23491
  * Prefer `.textContent` over `.innerText`.
23217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
23492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
23218
23493
  */
23219
23494
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
23220
23495
  /**
23221
23496
  * Prefer `EventTarget` over `EventEmitter`.
23222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-event-target.md
23497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
23223
23498
  */
23224
23499
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
23225
23500
  /**
23226
23501
  * Prefer `export…from` when re-exporting.
23227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
23502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
23228
23503
  */
23229
23504
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
23230
23505
  /**
23231
23506
  * Prefer `globalThis` over `window`, `self`, and `global`.
23232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
23507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
23233
23508
  */
23234
23509
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
23235
23510
  /**
23236
23511
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
23237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
23512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
23238
23513
  */
23239
23514
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
23240
23515
  /**
23241
23516
  * Prefer reading a JSON file as a buffer.
23242
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
23517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
23243
23518
  */
23244
23519
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
23245
23520
  /**
23246
23521
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
23247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
23522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
23248
23523
  */
23249
23524
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
23250
23525
  /**
23251
23526
  * Prefer using a logical operator over a ternary.
23252
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
23527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
23253
23528
  */
23254
23529
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
23255
23530
  /**
23256
23531
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
23257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
23532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
23258
23533
  */
23259
23534
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
23260
23535
  /**
23261
23536
  * Enforce the use of `Math.trunc` instead of bitwise operators.
23262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
23537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
23263
23538
  */
23264
23539
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
23265
23540
  /**
23266
23541
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
23267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
23542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
23268
23543
  */
23269
23544
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
23270
23545
  /**
23271
23546
  * Prefer modern `Math` APIs over legacy patterns.
23272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
23547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
23273
23548
  */
23274
23549
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
23275
23550
  /**
23276
23551
  * Prefer JavaScript modules (ESM) over CommonJS.
23277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
23552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
23278
23553
  */
23279
23554
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
23280
23555
  /**
23281
23556
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
23282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
23557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
23283
23558
  */
23284
23559
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
23285
23560
  /**
23286
23561
  * Prefer negative index over `.length - index` when possible.
23287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
23562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
23288
23563
  */
23289
23564
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
23290
23565
  /**
23291
23566
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
23292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
23567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
23293
23568
  */
23294
23569
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
23295
23570
  /**
23296
23571
  * Prefer `Number` static properties over global ones.
23297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
23572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
23298
23573
  */
23299
23574
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
23300
23575
  /**
23301
23576
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
23302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
23577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
23303
23578
  */
23304
23579
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
23305
23580
  /**
23306
23581
  * Prefer omitting the `catch` binding parameter.
23307
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
23582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
23308
23583
  */
23309
23584
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
23310
23585
  /**
23311
23586
  * Prefer borrowing methods from the prototype instead of the instance.
23312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
23587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
23313
23588
  */
23314
23589
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
23315
23590
  /**
23316
23591
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
23317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
23592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
23318
23593
  */
23319
23594
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
23320
23595
  /**
23321
23596
  * Prefer `Reflect.apply()` over `Function#apply()`.
23322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
23597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
23323
23598
  */
23324
23599
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
23325
23600
  /**
23326
23601
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
23327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
23602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
23328
23603
  */
23329
23604
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
23330
23605
  /**
23331
23606
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
23332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
23607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
23333
23608
  */
23334
23609
  "unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
23335
23610
  /**
23336
23611
  * Prefer using `Set#size` instead of `Array#length`.
23337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
23612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
23338
23613
  */
23339
23614
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
23340
23615
  /**
23341
23616
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
23342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
23617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
23343
23618
  */
23344
23619
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
23345
23620
  /**
23346
23621
  * Prefer using the `String.raw` tag to avoid escaping `\`.
23347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
23622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
23348
23623
  */
23349
23624
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
23350
23625
  /**
23351
23626
  * Prefer `String#replaceAll()` over regex searches with the global flag.
23352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
23627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
23353
23628
  */
23354
23629
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
23355
23630
  /**
23356
23631
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
23357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
23632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
23358
23633
  */
23359
23634
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
23360
23635
  /**
23361
23636
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
23362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
23637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
23363
23638
  */
23364
23639
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
23365
23640
  /**
23366
23641
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
23367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
23642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
23368
23643
  */
23369
23644
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
23370
23645
  /**
23371
23646
  * Prefer using `structuredClone` to create a deep clone.
23372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
23647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
23373
23648
  */
23374
23649
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
23375
23650
  /**
23376
23651
  * Prefer `switch` over multiple `else-if`.
23377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
23652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
23378
23653
  */
23379
23654
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
23380
23655
  /**
23381
23656
  * Prefer ternary expressions over simple `if-else` statements.
23382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
23657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
23383
23658
  */
23384
23659
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
23385
23660
  /**
23386
23661
  * Prefer top-level await over top-level promises and async function calls.
23387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
23662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
23388
23663
  */
23389
23664
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
23390
23665
  /**
23391
23666
  * Enforce throwing `TypeError` in type checking conditions.
23392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
23667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
23393
23668
  */
23394
23669
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
23395
23670
  /**
23396
23671
  * Prevent abbreviations.
23397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
23672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
23398
23673
  */
23399
23674
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
23400
23675
  /**
23401
23676
  * Enforce consistent relative URL style.
23402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
23677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
23403
23678
  */
23404
23679
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
23405
23680
  /**
23406
23681
  * Enforce using the separator argument with `Array#join()`.
23407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
23682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
23408
23683
  */
23409
23684
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
23410
23685
  /**
23411
23686
  * Enforce using the digits argument with `Number#toFixed()`.
23412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
23687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
23413
23688
  */
23414
23689
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
23415
23690
  /**
23416
23691
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
23417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
23692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
23418
23693
  */
23419
23694
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
23420
23695
  /**
23421
23696
  * Enforce better string content.
23422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
23697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
23423
23698
  */
23424
23699
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
23425
23700
  /**
23426
23701
  * Enforce consistent brace style for `case` clauses.
23427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
23702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
23428
23703
  */
23429
23704
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
23430
23705
  /**
23431
23706
  * Fix whitespace-insensitive template indentation.
23432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
23707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
23433
23708
  */
23434
23709
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
23435
23710
  /**
23436
23711
  * Enforce consistent case for text encoding identifiers.
23437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
23712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
23438
23713
  */
23439
23714
  "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
23440
23715
  /**
23441
23716
  * Require `new` when creating an error.
23442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
23717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
23443
23718
  */
23444
23719
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
23445
23720
  }
@@ -23470,6 +23745,8 @@ type UnicornConsistentFunctionScoping =
23470
23745
  checkArrowFunctions?: boolean;
23471
23746
  },
23472
23747
  ];
23748
+ // ----- unicorn/escape-case -----
23749
+ type UnicornEscapeCase = [] | ["uppercase" | "lowercase"];
23473
23750
  // ----- unicorn/expiring-todo-comments -----
23474
23751
  type UnicornExpiringTodoComments =
23475
23752
  | []
@@ -23607,6 +23884,14 @@ type UnicornNoUselessUndefined =
23607
23884
  checkArrowFunctionBody?: boolean;
23608
23885
  },
23609
23886
  ];
23887
+ // ----- unicorn/number-literal-case -----
23888
+ type UnicornNumberLiteralCase =
23889
+ | []
23890
+ | [
23891
+ {
23892
+ hexadecimalValue?: "uppercase" | "lowercase";
23893
+ },
23894
+ ];
23610
23895
  // ----- unicorn/numeric-separators-style -----
23611
23896
  type UnicornNumericSeparatorsStyle =
23612
23897
  | []
@@ -24554,7 +24839,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
24554
24839
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
24555
24840
  type DefineConfig = typeof defineConfig;
24556
24841
 
24557
- declare const VERSION = "0.3.2";
24842
+ declare const VERSION = "0.3.4";
24558
24843
 
24559
24844
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
24560
24845
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -25569,12 +25854,12 @@ declare function importPluginJsonc(): Promise<{
25569
25854
  plugins?: undefined;
25570
25855
  } | {
25571
25856
  rules: {
25572
- [x: string]: eslint.Linter.RuleEntry<any[]>;
25857
+ [rule: string]: eslint.Linter.RuleEntry<any[]>;
25573
25858
  };
25574
25859
  })[];
25575
25860
  };
25576
25861
  rules: {
25577
- [key: string]: eslint_plugin_jsonc_types.RuleModule;
25862
+ [key: string]: eslint_plugin_jsonc_types.RuleModule<unknown[]>;
25578
25863
  };
25579
25864
  parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
25580
25865
  parseJSON: typeof jsonc_eslint_parser.parseJSON;
@@ -25934,12 +26219,12 @@ declare function importJsoncLibs(): Promise<{
25934
26219
  plugins?: undefined;
25935
26220
  } | {
25936
26221
  rules: {
25937
- [x: string]: eslint.Linter.RuleEntry<any[]>;
26222
+ [rule: string]: eslint.Linter.RuleEntry<any[]>;
25938
26223
  };
25939
26224
  })[];
25940
26225
  };
25941
26226
  rules: {
25942
- [key: string]: eslint_plugin_jsonc_types.RuleModule;
26227
+ [key: string]: eslint_plugin_jsonc_types.RuleModule<unknown[]>;
25943
26228
  };
25944
26229
  parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
25945
26230
  parseJSON: typeof jsonc_eslint_parser.parseJSON;