@jsse/eslint-config 0.1.15 → 0.1.17

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
@@ -4137,6 +4137,11 @@ interface AntfuRuleOptions {
4137
4137
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
4138
4138
  */
4139
4139
  "antfu/consistent-list-newline"?: Linter.RuleEntry<AntfuConsistentListNewline>;
4140
+ /**
4141
+ * Enforce Anthony's style of curly bracket
4142
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
4143
+ */
4144
+ "antfu/curly"?: Linter.RuleEntry<[]>;
4140
4145
  /**
4141
4146
  * Newline after if
4142
4147
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
@@ -4197,6 +4202,8 @@ type AntfuConsistentListNewline =
4197
4202
  ObjectPattern?: boolean;
4198
4203
  ArrayPattern?: boolean;
4199
4204
  JSXOpeningElement?: boolean;
4205
+ JSONArrayExpression?: boolean;
4206
+ JSONObjectExpression?: boolean;
4200
4207
  },
4201
4208
  ];
4202
4209
  // ----- antfu/indent-unindent -----
@@ -4322,42 +4329,42 @@ interface IgnoresRuleOptions {}
4322
4329
  interface ImportsRuleOptions {
4323
4330
  /**
4324
4331
  * Enforce or ban the use of inline type-only markers for named imports.
4325
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/consistent-type-specifier-style.md
4332
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
4326
4333
  */
4327
4334
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4328
4335
  /**
4329
4336
  * Ensure a default export is present, given a default import.
4330
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/default.md
4337
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
4331
4338
  */
4332
4339
  "import/default"?: Linter.RuleEntry<[]>;
4333
4340
  /**
4334
4341
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4335
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/dynamic-import-chunkname.md
4342
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
4336
4343
  */
4337
4344
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4338
4345
  /**
4339
4346
  * Forbid any invalid exports, i.e. re-export of the same name.
4340
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/export.md
4347
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
4341
4348
  */
4342
4349
  "import/export"?: Linter.RuleEntry<[]>;
4343
4350
  /**
4344
4351
  * Ensure all exports appear after other statements.
4345
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/exports-last.md
4352
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
4346
4353
  */
4347
4354
  "import/exports-last"?: Linter.RuleEntry<[]>;
4348
4355
  /**
4349
4356
  * Ensure consistent use of file extension within the import path.
4350
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/extensions.md
4357
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
4351
4358
  */
4352
4359
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4353
4360
  /**
4354
4361
  * Ensure all imports appear before other statements.
4355
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/first.md
4362
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
4356
4363
  */
4357
4364
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4358
4365
  /**
4359
4366
  * Prefer named exports to be grouped together in a single export declaration.
4360
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/group-exports.md
4367
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
4361
4368
  */
4362
4369
  "import/group-exports"?: Linter.RuleEntry<[]>;
4363
4370
  /**
@@ -4368,182 +4375,182 @@ interface ImportsRuleOptions {
4368
4375
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4369
4376
  /**
4370
4377
  * Enforce the maximum number of dependencies a module can have.
4371
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/max-dependencies.md
4378
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
4372
4379
  */
4373
4380
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4374
4381
  /**
4375
4382
  * Ensure named imports correspond to a named export in the remote file.
4376
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/named.md
4383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
4377
4384
  */
4378
4385
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4379
4386
  /**
4380
4387
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4381
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/namespace.md
4388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
4382
4389
  */
4383
4390
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4384
4391
  /**
4385
4392
  * Enforce a newline after import statements.
4386
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/newline-after-import.md
4393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
4387
4394
  */
4388
4395
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4389
4396
  /**
4390
4397
  * Forbid import of modules using absolute paths.
4391
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-absolute-path.md
4398
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
4392
4399
  */
4393
4400
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4394
4401
  /**
4395
4402
  * Forbid AMD `require` and `define` calls.
4396
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-amd.md
4403
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
4397
4404
  */
4398
4405
  "import/no-amd"?: Linter.RuleEntry<[]>;
4399
4406
  /**
4400
4407
  * Forbid anonymous values as default exports.
4401
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-anonymous-default-export.md
4408
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
4402
4409
  */
4403
4410
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4404
4411
  /**
4405
4412
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4406
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-commonjs.md
4413
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
4407
4414
  */
4408
4415
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4409
4416
  /**
4410
4417
  * Forbid a module from importing a module with a dependency path back to itself.
4411
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-cycle.md
4418
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
4412
4419
  */
4413
4420
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4414
4421
  /**
4415
4422
  * Forbid default exports.
4416
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-default-export.md
4423
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
4417
4424
  */
4418
4425
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4419
4426
  /**
4420
4427
  * Forbid imported names marked with `@deprecated` documentation tag.
4421
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-deprecated.md
4428
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
4422
4429
  */
4423
4430
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4424
4431
  /**
4425
4432
  * Forbid repeated import of the same module in multiple places.
4426
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-duplicates.md
4433
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
4427
4434
  */
4428
4435
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4429
4436
  /**
4430
4437
  * Forbid `require()` calls with expressions.
4431
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-dynamic-require.md
4438
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
4432
4439
  */
4433
4440
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4434
4441
  /**
4435
4442
  * Forbid empty named import blocks.
4436
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-empty-named-blocks.md
4443
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
4437
4444
  */
4438
4445
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4439
4446
  /**
4440
4447
  * Forbid the use of extraneous packages.
4441
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-extraneous-dependencies.md
4448
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
4442
4449
  */
4443
4450
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4444
4451
  /**
4445
4452
  * Forbid import statements with CommonJS module.exports.
4446
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-import-module-exports.md
4453
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
4447
4454
  */
4448
4455
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4449
4456
  /**
4450
4457
  * Forbid importing the submodules of other modules.
4451
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-internal-modules.md
4458
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
4452
4459
  */
4453
4460
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4454
4461
  /**
4455
4462
  * Forbid the use of mutable exports with `var` or `let`.
4456
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-mutable-exports.md
4463
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
4457
4464
  */
4458
4465
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4459
4466
  /**
4460
4467
  * Forbid use of exported name as identifier of default export.
4461
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default.md
4468
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
4462
4469
  */
4463
4470
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4464
4471
  /**
4465
4472
  * Forbid use of exported name as property of default export.
4466
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default-member.md
4473
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
4467
4474
  */
4468
4475
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4469
4476
  /**
4470
4477
  * Forbid named default exports.
4471
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-default.md
4478
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
4472
4479
  */
4473
4480
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4474
4481
  /**
4475
4482
  * Forbid named exports.
4476
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-export.md
4483
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
4477
4484
  */
4478
4485
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4479
4486
  /**
4480
4487
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4481
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-namespace.md
4488
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
4482
4489
  */
4483
4490
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4484
4491
  /**
4485
4492
  * Forbid Node.js builtin modules.
4486
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-nodejs-modules.md
4493
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
4487
4494
  */
4488
4495
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4489
4496
  /**
4490
4497
  * Forbid importing packages through relative paths.
4491
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-packages.md
4498
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
4492
4499
  */
4493
4500
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4494
4501
  /**
4495
4502
  * Forbid importing modules from parent directories.
4496
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-parent-imports.md
4503
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
4497
4504
  */
4498
4505
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4499
4506
  /**
4500
4507
  * Enforce which files can be imported in a given folder.
4501
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-restricted-paths.md
4508
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
4502
4509
  */
4503
4510
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4504
4511
  /**
4505
4512
  * Forbid a module from importing itself.
4506
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-self-import.md
4513
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
4507
4514
  */
4508
4515
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4509
4516
  /**
4510
4517
  * Forbid unassigned imports.
4511
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unassigned-import.md
4518
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
4512
4519
  */
4513
4520
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4514
4521
  /**
4515
4522
  * Ensure imports point to a file/module that can be resolved.
4516
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unresolved.md
4523
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
4517
4524
  */
4518
4525
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4519
4526
  /**
4520
4527
  * Forbid modules without exports, or exports without matching import in another module.
4521
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unused-modules.md
4528
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
4522
4529
  */
4523
4530
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4524
4531
  /**
4525
4532
  * Forbid unnecessary path segments in import and require statements.
4526
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-useless-path-segments.md
4533
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
4527
4534
  */
4528
4535
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4529
4536
  /**
4530
4537
  * Forbid webpack loader syntax in imports.
4531
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-webpack-loader-syntax.md
4538
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
4532
4539
  */
4533
4540
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4534
4541
  /**
4535
4542
  * Enforce a convention in module import order.
4536
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/order.md
4543
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
4537
4544
  */
4538
4545
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4539
4546
  /**
4540
4547
  * Prefer a default export if module exports a single name or multiple names.
4541
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/prefer-default-export.md
4548
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
4542
4549
  */
4543
4550
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4544
4551
  /**
4545
4552
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4546
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/unambiguous.md
4553
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
4547
4554
  */
4548
4555
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4549
4556
  }
@@ -7210,6 +7217,7 @@ type NNoUnpublishedImport =
7210
7217
  ];
7211
7218
  resolvePaths?: string[];
7212
7219
  ignoreTypeImport?: boolean;
7220
+ ignorePrivate?: boolean;
7213
7221
  },
7214
7222
  ];
7215
7223
  // ----- n/no-unpublished-require -----
@@ -7238,6 +7246,7 @@ type NNoUnpublishedRequire =
7238
7246
  ];
7239
7247
  resolvePaths?: string[];
7240
7248
  tryExtensions?: string[];
7249
+ ignorePrivate?: boolean;
7241
7250
  },
7242
7251
  ];
7243
7252
  // ----- n/no-unsupported-features/es-builtins -----
@@ -9455,6 +9464,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9455
9464
  | "worker_threads.MessagePort"
9456
9465
  | "worker_threads.Worker"
9457
9466
  | "zlib.constants"
9467
+ | "zlib.crc32"
9458
9468
  | "zlib.createBrotliCompress"
9459
9469
  | "zlib.createBrotliDecompress"
9460
9470
  | "zlib.createDeflate"
@@ -9671,6 +9681,9 @@ type PerfectionistSortClasses =
9671
9681
  | []
9672
9682
  | [
9673
9683
  {
9684
+ "custom-groups"?: {
9685
+ [k: string]: unknown | undefined;
9686
+ };
9674
9687
  type?: "alphabetical" | "natural" | "line-length";
9675
9688
  "ignore-case"?: boolean;
9676
9689
  order?: "asc" | "desc";
@@ -10070,7 +10083,7 @@ interface ReactRuleOptions {
10070
10083
  * Disallows JSX context provider values from taking values that will cause needless rerenders
10071
10084
  * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-constructed-context-values.md
10072
10085
  */
10073
- "react/jsx-no-constructed-context-values"?: Linter.RuleEntry<ReactJsxNoConstructedContextValues>;
10086
+ "react/jsx-no-constructed-context-values"?: Linter.RuleEntry<[]>;
10074
10087
  /**
10075
10088
  * Disallow duplicate properties in JSX
10076
10089
  * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-duplicate-props.md
@@ -10815,10 +10828,6 @@ type ReactJsxNoBind =
10815
10828
  ignoreDOMComponents?: boolean;
10816
10829
  },
10817
10830
  ];
10818
- // ----- react/jsx-no-constructed-context-values -----
10819
- interface ReactJsxNoConstructedContextValues {
10820
- [k: string]: unknown | undefined;
10821
- }
10822
10831
  // ----- react/jsx-no-duplicate-props -----
10823
10832
  type ReactJsxNoDuplicateProps =
10824
10833
  | []
@@ -12116,7 +12125,7 @@ type StylisticJsxOneExpressionPerLine =
12116
12125
  | []
12117
12126
  | [
12118
12127
  {
12119
- allow?: "none" | "literal" | "single-child" | "single-line";
12128
+ allow?: "none" | "literal" | "single-child" | "single-line" | "non-jsx";
12120
12129
  },
12121
12130
  ];
12122
12131
  // ----- @stylistic/jsx-pascal-case -----
@@ -13255,6 +13264,7 @@ type StylisticQuotes =
13255
13264
  | {
13256
13265
  avoidEscape?: boolean;
13257
13266
  allowTemplateLiterals?: boolean;
13267
+ ignoreStringLiterals?: boolean;
13258
13268
  }
13259
13269
  ),
13260
13270
  ];
@@ -14485,6 +14495,13 @@ interface TypescriptRuleOptions {
14485
14495
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
14486
14496
  */
14487
14497
  "@typescript-eslint/no-unnecessary-qualifier"?: Linter.RuleEntry<[]>;
14498
+ /**
14499
+ * Disallow unnecessary template expressions
14500
+ * @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
14501
+ */
14502
+ "@typescript-eslint/no-unnecessary-template-expression"?: Linter.RuleEntry<
14503
+ []
14504
+ >;
14488
14505
  /**
14489
14506
  * Disallow type arguments that are equal to the default
14490
14507
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
@@ -14566,8 +14583,9 @@ interface TypescriptRuleOptions {
14566
14583
  */
14567
14584
  "@typescript-eslint/no-useless-empty-export"?: Linter.RuleEntry<[]>;
14568
14585
  /**
14569
- * Disallow unnecessary template literals
14586
+ * Disallow unnecessary template expressions
14570
14587
  * @see https://typescript-eslint.io/rules/no-useless-template-literals
14588
+ * @deprecated
14571
14589
  */
14572
14590
  "@typescript-eslint/no-useless-template-literals"?: Linter.RuleEntry<[]>;
14573
14591
  /**
@@ -14695,6 +14713,7 @@ interface TypescriptRuleOptions {
14695
14713
  /**
14696
14714
  * Enforce using `@ts-expect-error` over `@ts-ignore`
14697
14715
  * @see https://typescript-eslint.io/rules/prefer-ts-expect-error
14716
+ * @deprecated
14698
14717
  */
14699
14718
  "@typescript-eslint/prefer-ts-expect-error"?: Linter.RuleEntry<[]>;
14700
14719
  /**
@@ -14714,7 +14733,7 @@ interface TypescriptRuleOptions {
14714
14733
  */
14715
14734
  "@typescript-eslint/require-array-sort-compare"?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>;
14716
14735
  /**
14717
- * Disallow async functions which have no `await` expression
14736
+ * Disallow async functions which do not return promises and have no `await` expression
14718
14737
  * @see https://typescript-eslint.io/rules/require-await
14719
14738
  */
14720
14739
  "@typescript-eslint/require-await"?: Linter.RuleEntry<[]>;
@@ -14729,7 +14748,7 @@ interface TypescriptRuleOptions {
14729
14748
  */
14730
14749
  "@typescript-eslint/restrict-template-expressions"?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>;
14731
14750
  /**
14732
- * Enforce consistent returning of awaited values
14751
+ * Enforce consistent awaiting of returned promises
14733
14752
  * @see https://typescript-eslint.io/rules/return-await
14734
14753
  */
14735
14754
  "@typescript-eslint/return-await"?: Linter.RuleEntry<TypescriptEslintReturnAwait>;
@@ -14742,6 +14761,7 @@ interface TypescriptRuleOptions {
14742
14761
  /**
14743
14762
  * Enforce constituents of a type union/intersection to be sorted alphabetically
14744
14763
  * @see https://typescript-eslint.io/rules/sort-type-constituents
14764
+ * @deprecated
14745
14765
  */
14746
14766
  "@typescript-eslint/sort-type-constituents"?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>;
14747
14767
  /**
@@ -14807,42 +14827,42 @@ interface TypescriptRuleOptions {
14807
14827
  >;
14808
14828
  /**
14809
14829
  * Enforce or ban the use of inline type-only markers for named imports.
14810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/consistent-type-specifier-style.md
14830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
14811
14831
  */
14812
14832
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
14813
14833
  /**
14814
14834
  * Ensure a default export is present, given a default import.
14815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/default.md
14835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
14816
14836
  */
14817
14837
  "import/default"?: Linter.RuleEntry<[]>;
14818
14838
  /**
14819
14839
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
14820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/dynamic-import-chunkname.md
14840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
14821
14841
  */
14822
14842
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
14823
14843
  /**
14824
14844
  * Forbid any invalid exports, i.e. re-export of the same name.
14825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/export.md
14845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
14826
14846
  */
14827
14847
  "import/export"?: Linter.RuleEntry<[]>;
14828
14848
  /**
14829
14849
  * Ensure all exports appear after other statements.
14830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/exports-last.md
14850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
14831
14851
  */
14832
14852
  "import/exports-last"?: Linter.RuleEntry<[]>;
14833
14853
  /**
14834
14854
  * Ensure consistent use of file extension within the import path.
14835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/extensions.md
14855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
14836
14856
  */
14837
14857
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
14838
14858
  /**
14839
14859
  * Ensure all imports appear before other statements.
14840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/first.md
14860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
14841
14861
  */
14842
14862
  "import/first"?: Linter.RuleEntry<ImportFirst>;
14843
14863
  /**
14844
14864
  * Prefer named exports to be grouped together in a single export declaration.
14845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/group-exports.md
14865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
14846
14866
  */
14847
14867
  "import/group-exports"?: Linter.RuleEntry<[]>;
14848
14868
  /**
@@ -14853,182 +14873,182 @@ interface TypescriptRuleOptions {
14853
14873
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
14854
14874
  /**
14855
14875
  * Enforce the maximum number of dependencies a module can have.
14856
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/max-dependencies.md
14876
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
14857
14877
  */
14858
14878
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
14859
14879
  /**
14860
14880
  * Ensure named imports correspond to a named export in the remote file.
14861
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/named.md
14881
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
14862
14882
  */
14863
14883
  "import/named"?: Linter.RuleEntry<ImportNamed>;
14864
14884
  /**
14865
14885
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
14866
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/namespace.md
14886
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
14867
14887
  */
14868
14888
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
14869
14889
  /**
14870
14890
  * Enforce a newline after import statements.
14871
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/newline-after-import.md
14891
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
14872
14892
  */
14873
14893
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
14874
14894
  /**
14875
14895
  * Forbid import of modules using absolute paths.
14876
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-absolute-path.md
14896
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
14877
14897
  */
14878
14898
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
14879
14899
  /**
14880
14900
  * Forbid AMD `require` and `define` calls.
14881
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-amd.md
14901
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
14882
14902
  */
14883
14903
  "import/no-amd"?: Linter.RuleEntry<[]>;
14884
14904
  /**
14885
14905
  * Forbid anonymous values as default exports.
14886
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-anonymous-default-export.md
14906
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
14887
14907
  */
14888
14908
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
14889
14909
  /**
14890
14910
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
14891
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-commonjs.md
14911
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
14892
14912
  */
14893
14913
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
14894
14914
  /**
14895
14915
  * Forbid a module from importing a module with a dependency path back to itself.
14896
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-cycle.md
14916
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
14897
14917
  */
14898
14918
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
14899
14919
  /**
14900
14920
  * Forbid default exports.
14901
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-default-export.md
14921
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
14902
14922
  */
14903
14923
  "import/no-default-export"?: Linter.RuleEntry<[]>;
14904
14924
  /**
14905
14925
  * Forbid imported names marked with `@deprecated` documentation tag.
14906
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-deprecated.md
14926
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
14907
14927
  */
14908
14928
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
14909
14929
  /**
14910
14930
  * Forbid repeated import of the same module in multiple places.
14911
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-duplicates.md
14931
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
14912
14932
  */
14913
14933
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
14914
14934
  /**
14915
14935
  * Forbid `require()` calls with expressions.
14916
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-dynamic-require.md
14936
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
14917
14937
  */
14918
14938
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
14919
14939
  /**
14920
14940
  * Forbid empty named import blocks.
14921
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-empty-named-blocks.md
14941
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
14922
14942
  */
14923
14943
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
14924
14944
  /**
14925
14945
  * Forbid the use of extraneous packages.
14926
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-extraneous-dependencies.md
14946
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
14927
14947
  */
14928
14948
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
14929
14949
  /**
14930
14950
  * Forbid import statements with CommonJS module.exports.
14931
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-import-module-exports.md
14951
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
14932
14952
  */
14933
14953
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
14934
14954
  /**
14935
14955
  * Forbid importing the submodules of other modules.
14936
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-internal-modules.md
14956
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
14937
14957
  */
14938
14958
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
14939
14959
  /**
14940
14960
  * Forbid the use of mutable exports with `var` or `let`.
14941
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-mutable-exports.md
14961
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
14942
14962
  */
14943
14963
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
14944
14964
  /**
14945
14965
  * Forbid use of exported name as identifier of default export.
14946
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default.md
14966
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
14947
14967
  */
14948
14968
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
14949
14969
  /**
14950
14970
  * Forbid use of exported name as property of default export.
14951
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default-member.md
14971
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
14952
14972
  */
14953
14973
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
14954
14974
  /**
14955
14975
  * Forbid named default exports.
14956
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-default.md
14976
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
14957
14977
  */
14958
14978
  "import/no-named-default"?: Linter.RuleEntry<[]>;
14959
14979
  /**
14960
14980
  * Forbid named exports.
14961
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-export.md
14981
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
14962
14982
  */
14963
14983
  "import/no-named-export"?: Linter.RuleEntry<[]>;
14964
14984
  /**
14965
14985
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
14966
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-namespace.md
14986
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
14967
14987
  */
14968
14988
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
14969
14989
  /**
14970
14990
  * Forbid Node.js builtin modules.
14971
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-nodejs-modules.md
14991
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
14972
14992
  */
14973
14993
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
14974
14994
  /**
14975
14995
  * Forbid importing packages through relative paths.
14976
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-packages.md
14996
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
14977
14997
  */
14978
14998
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
14979
14999
  /**
14980
15000
  * Forbid importing modules from parent directories.
14981
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-parent-imports.md
15001
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
14982
15002
  */
14983
15003
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
14984
15004
  /**
14985
15005
  * Enforce which files can be imported in a given folder.
14986
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-restricted-paths.md
15006
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
14987
15007
  */
14988
15008
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
14989
15009
  /**
14990
15010
  * Forbid a module from importing itself.
14991
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-self-import.md
15011
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
14992
15012
  */
14993
15013
  "import/no-self-import"?: Linter.RuleEntry<[]>;
14994
15014
  /**
14995
15015
  * Forbid unassigned imports.
14996
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unassigned-import.md
15016
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
14997
15017
  */
14998
15018
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
14999
15019
  /**
15000
15020
  * Ensure imports point to a file/module that can be resolved.
15001
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unresolved.md
15021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
15002
15022
  */
15003
15023
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15004
15024
  /**
15005
15025
  * Forbid modules without exports, or exports without matching import in another module.
15006
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unused-modules.md
15026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
15007
15027
  */
15008
15028
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15009
15029
  /**
15010
15030
  * Forbid unnecessary path segments in import and require statements.
15011
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-useless-path-segments.md
15031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
15012
15032
  */
15013
15033
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15014
15034
  /**
15015
15035
  * Forbid webpack loader syntax in imports.
15016
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-webpack-loader-syntax.md
15036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
15017
15037
  */
15018
15038
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15019
15039
  /**
15020
15040
  * Enforce a convention in module import order.
15021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/order.md
15041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
15022
15042
  */
15023
15043
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15024
15044
  /**
15025
15045
  * Prefer a default export if module exports a single name or multiple names.
15026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/prefer-default-export.md
15046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
15027
15047
  */
15028
15048
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15029
15049
  /**
15030
15050
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15031
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/unambiguous.md
15051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
15032
15052
  */
15033
15053
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15034
15054
  }
@@ -18441,6 +18461,23 @@ type TypescriptEslintNoFloatingPromises =
18441
18461
  ignoreVoid?: boolean;
18442
18462
 
18443
18463
  ignoreIIFE?: boolean;
18464
+ allowForKnownSafePromises?: (
18465
+ | string
18466
+ | {
18467
+ from: "file";
18468
+ name: string | [string, ...string[]];
18469
+ path?: string;
18470
+ }
18471
+ | {
18472
+ from: "lib";
18473
+ name: string | [string, ...string[]];
18474
+ }
18475
+ | {
18476
+ from: "package";
18477
+ name: string | [string, ...string[]];
18478
+ package: string;
18479
+ }
18480
+ )[];
18444
18481
  },
18445
18482
  ];
18446
18483
  // ----- @typescript-eslint/no-inferrable-types -----
@@ -19662,677 +19699,682 @@ type ImportPreferDefaultExport =
19662
19699
  interface UnicornRuleOptions {
19663
19700
  /**
19664
19701
  * Improve regexes by making them shorter, consistent, and safer.
19665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
19702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/better-regex.md
19666
19703
  */
19667
19704
  "unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
19668
19705
  /**
19669
19706
  * Enforce a specific parameter name in catch clauses.
19670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
19707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/catch-error-name.md
19671
19708
  */
19672
19709
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
19673
19710
  /**
19674
19711
  * Use destructured variables over properties.
19675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
19712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-destructuring.md
19676
19713
  */
19677
19714
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
19678
19715
  /**
19679
19716
  * Prefer consistent types when spreading a ternary in an array literal.
19680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
19717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
19681
19718
  */
19682
19719
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
19683
19720
  /**
19684
19721
  * Move function definitions to the highest possible scope.
19685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
19722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-function-scoping.md
19686
19723
  */
19687
19724
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
19688
19725
  /**
19689
19726
  * Enforce correct `Error` subclassing.
19690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
19727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/custom-error-definition.md
19691
19728
  */
19692
19729
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
19693
19730
  /**
19694
19731
  * Enforce no spaces between braces.
19695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
19732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/empty-brace-spaces.md
19696
19733
  */
19697
19734
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
19698
19735
  /**
19699
19736
  * Enforce passing a `message` value when creating a built-in error.
19700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
19737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/error-message.md
19701
19738
  */
19702
19739
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
19703
19740
  /**
19704
19741
  * Require escape sequences to use uppercase values.
19705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
19742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/escape-case.md
19706
19743
  */
19707
19744
  "unicorn/escape-case"?: Linter.RuleEntry<[]>;
19708
19745
  /**
19709
19746
  * Add expiration conditions to TODO comments.
19710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
19747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/expiring-todo-comments.md
19711
19748
  */
19712
19749
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
19713
19750
  /**
19714
19751
  * Enforce explicitly comparing the `length` or `size` property of a value.
19715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
19752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/explicit-length-check.md
19716
19753
  */
19717
19754
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
19718
19755
  /**
19719
19756
  * Enforce a case style for filenames.
19720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
19757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/filename-case.md
19721
19758
  */
19722
19759
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
19723
19760
  /**
19724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
19761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#import-index
19725
19762
  * @deprecated
19726
19763
  */
19727
19764
  "unicorn/import-index"?: Linter.RuleEntry<[]>;
19728
19765
  /**
19729
19766
  * Enforce specific import styles per module.
19730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
19767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/import-style.md
19731
19768
  */
19732
19769
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
19733
19770
  /**
19734
19771
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
19735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
19772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/new-for-builtins.md
19736
19773
  */
19737
19774
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
19738
19775
  /**
19739
19776
  * Enforce specifying rules to disable in `eslint-disable` comments.
19740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
19777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-abusive-eslint-disable.md
19741
19778
  */
19742
19779
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
19743
19780
  /**
19744
19781
  * Disallow anonymous functions and classes as the default export.
19745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
19782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-anonymous-default-export.md
19746
19783
  */
19747
19784
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
19748
19785
  /**
19749
19786
  * Prevent passing a function reference directly to iterator methods.
19750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
19787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-callback-reference.md
19751
19788
  */
19752
19789
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
19753
19790
  /**
19754
19791
  * Prefer `for…of` over the `forEach` method.
19755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
19792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-for-each.md
19756
19793
  */
19757
19794
  "unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
19758
19795
  /**
19759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
19796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-array-instanceof
19760
19797
  * @deprecated
19761
19798
  */
19762
19799
  "unicorn/no-array-instanceof"?: Linter.RuleEntry<[]>;
19763
19800
  /**
19764
19801
  * Disallow using the `this` argument in array methods.
19765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
19802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-method-this-argument.md
19766
19803
  */
19767
19804
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
19768
19805
  /**
19769
19806
  * Enforce combining multiple `Array#push()` into one call.
19770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
19807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-push-push.md
19771
19808
  */
19772
19809
  "unicorn/no-array-push-push"?: Linter.RuleEntry<UnicornNoArrayPushPush>;
19773
19810
  /**
19774
19811
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
19775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
19812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-reduce.md
19776
19813
  */
19777
19814
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
19778
19815
  /**
19779
19816
  * Disallow member access from await expression.
19780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
19817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-expression-member.md
19781
19818
  */
19782
19819
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
19783
19820
  /**
19784
19821
  * Disallow using `await` in `Promise` method parameters.
19785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
19822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-in-promise-methods.md
19786
19823
  */
19787
19824
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
19788
19825
  /**
19789
19826
  * Do not use leading/trailing space between `console.log` parameters.
19790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
19827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-console-spaces.md
19791
19828
  */
19792
19829
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
19793
19830
  /**
19794
19831
  * Do not use `document.cookie` directly.
19795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
19832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-document-cookie.md
19796
19833
  */
19797
19834
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
19798
19835
  /**
19799
19836
  * Disallow empty files.
19800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
19837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-empty-file.md
19801
19838
  */
19802
19839
  "unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
19803
19840
  /**
19804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
19841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
19805
19842
  * @deprecated
19806
19843
  */
19807
19844
  "unicorn/no-fn-reference-in-iterator"?: Linter.RuleEntry<[]>;
19808
19845
  /**
19809
19846
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
19810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
19847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-for-loop.md
19811
19848
  */
19812
19849
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
19813
19850
  /**
19814
19851
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
19815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
19852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-hex-escape.md
19816
19853
  */
19817
19854
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
19818
19855
  /**
19819
19856
  * Require `Array.isArray()` instead of `instanceof Array`.
19820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
19857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-instanceof-array.md
19821
19858
  */
19822
19859
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
19823
19860
  /**
19824
19861
  * Disallow invalid options in `fetch()` and `new Request()`.
19825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
19862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
19826
19863
  */
19827
19864
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
19828
19865
  /**
19829
19866
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
19830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
19867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-remove-event-listener.md
19831
19868
  */
19832
19869
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
19833
19870
  /**
19834
19871
  * Disallow identifiers starting with `new` or `class`.
19835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
19872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-keyword-prefix.md
19836
19873
  */
19837
19874
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
19838
19875
  /**
19839
19876
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
19840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
19877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-lonely-if.md
19841
19878
  */
19842
19879
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
19843
19880
  /**
19844
19881
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
19845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
19882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
19846
19883
  */
19847
19884
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
19848
19885
  /**
19849
19886
  * Disallow negated conditions.
19850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
19887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negated-condition.md
19851
19888
  */
19852
19889
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
19890
+ /**
19891
+ * Disallow negated expression in equality check.
19892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
19893
+ */
19894
+ "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
19853
19895
  /**
19854
19896
  * Disallow nested ternary expressions.
19855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
19897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-nested-ternary.md
19856
19898
  */
19857
19899
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
19858
19900
  /**
19859
19901
  * Disallow `new Array()`.
19860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
19902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-array.md
19861
19903
  */
19862
19904
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
19863
19905
  /**
19864
19906
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
19865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
19907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-buffer.md
19866
19908
  */
19867
19909
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
19868
19910
  /**
19869
19911
  * Disallow the use of the `null` literal.
19870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
19912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-null.md
19871
19913
  */
19872
19914
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
19873
19915
  /**
19874
19916
  * Disallow the use of objects as default parameters.
19875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
19917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-object-as-default-parameter.md
19876
19918
  */
19877
19919
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
19878
19920
  /**
19879
19921
  * Disallow `process.exit()`.
19880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
19922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-process-exit.md
19881
19923
  */
19882
19924
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
19883
19925
  /**
19884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
19926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-reduce
19885
19927
  * @deprecated
19886
19928
  */
19887
19929
  "unicorn/no-reduce"?: Linter.RuleEntry<[]>;
19888
19930
  /**
19889
19931
  * Disallow passing single-element arrays to `Promise` methods.
19890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
19932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-single-promise-in-promise-methods.md
19891
19933
  */
19892
19934
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
19893
19935
  /**
19894
19936
  * Disallow classes that only have static members.
19895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
19937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-static-only-class.md
19896
19938
  */
19897
19939
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
19898
19940
  /**
19899
19941
  * Disallow `then` property.
19900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
19942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-thenable.md
19901
19943
  */
19902
19944
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
19903
19945
  /**
19904
19946
  * Disallow assigning `this` to a variable.
19905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
19947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-this-assignment.md
19906
19948
  */
19907
19949
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
19908
19950
  /**
19909
19951
  * Disallow comparing `undefined` using `typeof`.
19910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
19952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-typeof-undefined.md
19911
19953
  */
19912
19954
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
19913
19955
  /**
19914
19956
  * Disallow awaiting non-promise values.
19915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
19957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-await.md
19916
19958
  */
19917
19959
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
19918
19960
  /**
19919
19961
  * Enforce the use of built-in methods instead of unnecessary polyfills.
19920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
19962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-polyfills.md
19921
19963
  */
19922
19964
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
19923
19965
  /**
19924
19966
  * Disallow unreadable array destructuring.
19925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
19967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-array-destructuring.md
19926
19968
  */
19927
19969
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
19928
19970
  /**
19929
19971
  * Disallow unreadable IIFEs.
19930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
19972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-iife.md
19931
19973
  */
19932
19974
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
19933
19975
  /**
19934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
19976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-unsafe-regex
19935
19977
  * @deprecated
19936
19978
  */
19937
19979
  "unicorn/no-unsafe-regex"?: Linter.RuleEntry<[]>;
19938
19980
  /**
19939
19981
  * Disallow unused object properties.
19940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
19982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unused-properties.md
19941
19983
  */
19942
19984
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
19943
19985
  /**
19944
19986
  * Disallow useless fallback when spreading in object literals.
19945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
19987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-fallback-in-spread.md
19946
19988
  */
19947
19989
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
19948
19990
  /**
19949
19991
  * Disallow useless array length check.
19950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
19992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-length-check.md
19951
19993
  */
19952
19994
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
19953
19995
  /**
19954
19996
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
19955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
19997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-promise-resolve-reject.md
19956
19998
  */
19957
19999
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
19958
20000
  /**
19959
20001
  * Disallow unnecessary spread.
19960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
20002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-spread.md
19961
20003
  */
19962
20004
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
19963
20005
  /**
19964
20006
  * Disallow useless case in switch statements.
19965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
20007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-switch-case.md
19966
20008
  */
19967
20009
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
19968
20010
  /**
19969
20011
  * Disallow useless `undefined`.
19970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
20012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-undefined.md
19971
20013
  */
19972
20014
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
19973
20015
  /**
19974
20016
  * Disallow number literals with zero fractions or dangling dots.
19975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
20017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-zero-fractions.md
19976
20018
  */
19977
20019
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
19978
20020
  /**
19979
20021
  * Enforce proper case for numeric literals.
19980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
20022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/number-literal-case.md
19981
20023
  */
19982
20024
  "unicorn/number-literal-case"?: Linter.RuleEntry<[]>;
19983
20025
  /**
19984
20026
  * Enforce the style of numeric separators by correctly grouping digits.
19985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
20027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/numeric-separators-style.md
19986
20028
  */
19987
20029
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
19988
20030
  /**
19989
20031
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
19990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
20032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-add-event-listener.md
19991
20033
  */
19992
20034
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
19993
20035
  /**
19994
20036
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
19995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
20037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-find.md
19996
20038
  */
19997
20039
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
19998
20040
  /**
19999
20041
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
20000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
20042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat.md
20001
20043
  */
20002
20044
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
20003
20045
  /**
20004
20046
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
20005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
20047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat-map.md
20006
20048
  */
20007
20049
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
20008
20050
  /**
20009
20051
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
20010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
20052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-index-of.md
20011
20053
  */
20012
20054
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
20013
20055
  /**
20014
- * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
20015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
20056
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
20057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
20016
20058
  */
20017
20059
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
20018
20060
  /**
20019
20061
  * Prefer `.at()` method for index access and `String#charAt()`.
20020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
20062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-at.md
20021
20063
  */
20022
20064
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
20023
20065
  /**
20024
20066
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
20025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
20067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-blob-reading-methods.md
20026
20068
  */
20027
20069
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
20028
20070
  /**
20029
20071
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
20030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
20072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-code-point.md
20031
20073
  */
20032
20074
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
20033
20075
  /**
20034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
20076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-dataset
20035
20077
  * @deprecated
20036
20078
  */
20037
20079
  "unicorn/prefer-dataset"?: Linter.RuleEntry<[]>;
20038
20080
  /**
20039
20081
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
20040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
20082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-date-now.md
20041
20083
  */
20042
20084
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
20043
20085
  /**
20044
20086
  * Prefer default parameters over reassignment.
20045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
20087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-default-parameters.md
20046
20088
  */
20047
20089
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
20048
20090
  /**
20049
20091
  * Prefer `Node#append()` over `Node#appendChild()`.
20050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
20092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-append.md
20051
20093
  */
20052
20094
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
20053
20095
  /**
20054
20096
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
20055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
20097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-dataset.md
20056
20098
  */
20057
20099
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
20058
20100
  /**
20059
20101
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
20060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
20102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-remove.md
20061
20103
  */
20062
20104
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
20063
20105
  /**
20064
20106
  * Prefer `.textContent` over `.innerText`.
20065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
20107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-text-content.md
20066
20108
  */
20067
20109
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
20068
20110
  /**
20069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
20111
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-event-key
20070
20112
  * @deprecated
20071
20113
  */
20072
20114
  "unicorn/prefer-event-key"?: Linter.RuleEntry<[]>;
20073
20115
  /**
20074
20116
  * Prefer `EventTarget` over `EventEmitter`.
20075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
20117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-event-target.md
20076
20118
  */
20077
20119
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
20078
20120
  /**
20079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
20121
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
20080
20122
  * @deprecated
20081
20123
  */
20082
20124
  "unicorn/prefer-exponentiation-operator"?: Linter.RuleEntry<[]>;
20083
20125
  /**
20084
20126
  * Prefer `export…from` when re-exporting.
20085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
20127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-export-from.md
20086
20128
  */
20087
20129
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
20088
20130
  /**
20089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
20131
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-flat-map
20090
20132
  * @deprecated
20091
20133
  */
20092
20134
  "unicorn/prefer-flat-map"?: Linter.RuleEntry<[]>;
20093
20135
  /**
20094
- * Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
20095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
20136
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
20137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
20096
20138
  */
20097
20139
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
20098
20140
  /**
20099
20141
  * Prefer reading a JSON file as a buffer.
20100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
20142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-json-parse-buffer.md
20101
20143
  */
20102
20144
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
20103
20145
  /**
20104
20146
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
20105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
20147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-keyboard-event-key.md
20106
20148
  */
20107
20149
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
20108
20150
  /**
20109
20151
  * Prefer using a logical operator over a ternary.
20110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
20152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-logical-operator-over-ternary.md
20111
20153
  */
20112
20154
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
20113
20155
  /**
20114
20156
  * Enforce the use of `Math.trunc` instead of bitwise operators.
20115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
20157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-math-trunc.md
20116
20158
  */
20117
20159
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
20118
20160
  /**
20119
20161
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
20120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
20162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-dom-apis.md
20121
20163
  */
20122
20164
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
20123
20165
  /**
20124
20166
  * Prefer modern `Math` APIs over legacy patterns.
20125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
20167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-math-apis.md
20126
20168
  */
20127
20169
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
20128
20170
  /**
20129
20171
  * Prefer JavaScript modules (ESM) over CommonJS.
20130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
20172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-module.md
20131
20173
  */
20132
20174
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
20133
20175
  /**
20134
20176
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
20135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
20177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-native-coercion-functions.md
20136
20178
  */
20137
20179
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
20138
20180
  /**
20139
20181
  * Prefer negative index over `.length - index` when possible.
20140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
20182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-negative-index.md
20141
20183
  */
20142
20184
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
20143
20185
  /**
20144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
20186
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-append
20145
20187
  * @deprecated
20146
20188
  */
20147
20189
  "unicorn/prefer-node-append"?: Linter.RuleEntry<[]>;
20148
20190
  /**
20149
20191
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
20150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
20192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-node-protocol.md
20151
20193
  */
20152
20194
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
20153
20195
  /**
20154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
20196
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-remove
20155
20197
  * @deprecated
20156
20198
  */
20157
20199
  "unicorn/prefer-node-remove"?: Linter.RuleEntry<[]>;
20158
20200
  /**
20159
20201
  * Prefer `Number` static properties over global ones.
20160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
20202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-number-properties.md
20161
20203
  */
20162
20204
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
20163
20205
  /**
20164
20206
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
20165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
20207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-object-from-entries.md
20166
20208
  */
20167
20209
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
20168
20210
  /**
20169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
20211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-object-has-own
20170
20212
  * @deprecated
20171
20213
  */
20172
20214
  "unicorn/prefer-object-has-own"?: Linter.RuleEntry<[]>;
20173
20215
  /**
20174
20216
  * Prefer omitting the `catch` binding parameter.
20175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
20217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-optional-catch-binding.md
20176
20218
  */
20177
20219
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
20178
20220
  /**
20179
20221
  * Prefer borrowing methods from the prototype instead of the instance.
20180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
20222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-prototype-methods.md
20181
20223
  */
20182
20224
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
20183
20225
  /**
20184
20226
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
20185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
20227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-query-selector.md
20186
20228
  */
20187
20229
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
20188
20230
  /**
20189
20231
  * Prefer `Reflect.apply()` over `Function#apply()`.
20190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
20232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-reflect-apply.md
20191
20233
  */
20192
20234
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
20193
20235
  /**
20194
20236
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
20195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
20237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-regexp-test.md
20196
20238
  */
20197
20239
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
20198
20240
  /**
20199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
20241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-replace-all
20200
20242
  * @deprecated
20201
20243
  */
20202
20244
  "unicorn/prefer-replace-all"?: Linter.RuleEntry<[]>;
20203
20245
  /**
20204
20246
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
20205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
20247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-has.md
20206
20248
  */
20207
20249
  "unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
20208
20250
  /**
20209
20251
  * Prefer using `Set#size` instead of `Array#length`.
20210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
20252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-size.md
20211
20253
  */
20212
20254
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
20213
20255
  /**
20214
20256
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
20215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
20257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-spread.md
20216
20258
  */
20217
20259
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
20218
20260
  /**
20219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
20261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
20220
20262
  * @deprecated
20221
20263
  */
20222
20264
  "unicorn/prefer-starts-ends-with"?: Linter.RuleEntry<[]>;
20223
20265
  /**
20224
20266
  * Prefer using the `String.raw` tag to avoid escaping `\`.
20225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
20267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
20226
20268
  */
20227
20269
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
20228
20270
  /**
20229
20271
  * Prefer `String#replaceAll()` over regex searches with the global flag.
20230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
20272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-replace-all.md
20231
20273
  */
20232
20274
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
20233
20275
  /**
20234
20276
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
20235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
20277
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-slice.md
20236
20278
  */
20237
20279
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
20238
20280
  /**
20239
20281
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
20240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
20282
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-starts-ends-with.md
20241
20283
  */
20242
20284
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
20243
20285
  /**
20244
20286
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
20245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
20287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-trim-start-end.md
20246
20288
  */
20247
20289
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
20248
20290
  /**
20249
20291
  * Prefer using `structuredClone` to create a deep clone.
20250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
20292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
20251
20293
  */
20252
20294
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
20253
20295
  /**
20254
20296
  * Prefer `switch` over multiple `else-if`.
20255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
20297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-switch.md
20256
20298
  */
20257
20299
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
20258
20300
  /**
20259
20301
  * Prefer ternary expressions over simple `if-else` statements.
20260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
20302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-ternary.md
20261
20303
  */
20262
20304
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
20263
20305
  /**
20264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
20306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-text-content
20265
20307
  * @deprecated
20266
20308
  */
20267
20309
  "unicorn/prefer-text-content"?: Linter.RuleEntry<[]>;
20268
20310
  /**
20269
20311
  * Prefer top-level await over top-level promises and async function calls.
20270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
20312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-top-level-await.md
20271
20313
  */
20272
20314
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
20273
20315
  /**
20274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
20316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-trim-start-end
20275
20317
  * @deprecated
20276
20318
  */
20277
20319
  "unicorn/prefer-trim-start-end"?: Linter.RuleEntry<[]>;
20278
20320
  /**
20279
20321
  * Enforce throwing `TypeError` in type checking conditions.
20280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
20322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-type-error.md
20281
20323
  */
20282
20324
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
20283
20325
  /**
20284
20326
  * Prevent abbreviations.
20285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
20327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prevent-abbreviations.md
20286
20328
  */
20287
20329
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
20288
20330
  /**
20289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
20331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#regex-shorthand
20290
20332
  * @deprecated
20291
20333
  */
20292
20334
  "unicorn/regex-shorthand"?: Linter.RuleEntry<[]>;
20293
20335
  /**
20294
20336
  * Enforce consistent relative URL style.
20295
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
20337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/relative-url-style.md
20296
20338
  */
20297
20339
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
20298
20340
  /**
20299
20341
  * Enforce using the separator argument with `Array#join()`.
20300
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
20342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-array-join-separator.md
20301
20343
  */
20302
20344
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
20303
20345
  /**
20304
20346
  * Enforce using the digits argument with `Number#toFixed()`.
20305
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
20347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-number-to-fixed-digits-argument.md
20306
20348
  */
20307
20349
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
20308
20350
  /**
20309
20351
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
20310
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
20352
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-post-message-target-origin.md
20311
20353
  */
20312
20354
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
20313
20355
  /**
20314
20356
  * Enforce better string content.
20315
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
20357
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/string-content.md
20316
20358
  */
20317
20359
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
20318
20360
  /**
20319
20361
  * Enforce consistent brace style for `case` clauses.
20320
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
20362
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/switch-case-braces.md
20321
20363
  */
20322
20364
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
20323
20365
  /**
20324
20366
  * Fix whitespace-insensitive template indentation.
20325
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
20367
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/template-indent.md
20326
20368
  */
20327
20369
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
20328
20370
  /**
20329
20371
  * Enforce consistent case for text encoding identifiers.
20330
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
20372
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/text-encoding-identifier-case.md
20331
20373
  */
20332
20374
  "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
20333
20375
  /**
20334
20376
  * Require `new` when creating an error.
20335
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
20377
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
20336
20378
  */
20337
20379
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
20338
20380
  }
@@ -22343,7 +22385,7 @@ declare function importPluginMarkdown(): Promise<{
22343
22385
  }>;
22344
22386
  declare function importPluginJsdoc(): Promise<{
22345
22387
  pluginJsdoc: eslint.ESLint.Plugin & {
22346
- configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig<eslint.Linter.RulesRecord>>;
22388
+ configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig>;
22347
22389
  };
22348
22390
  }>;
22349
22391
  declare function importPluginStylistic(): Promise<{