@jsse/eslint-config 0.8.2 → 0.8.3

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
@@ -15,7 +15,7 @@ import { Linter } from "eslint";
15
15
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
16
16
 
17
17
  //#region src/_generated/version.d.ts
18
- declare const VERSION = "0.8.2";
18
+ declare const VERSION = "0.8.3";
19
19
  //#endregion
20
20
  //#region src/_generated/dts/builtins.d.ts
21
21
  interface BuiltinsRuleOptions {
@@ -13247,1560 +13247,1620 @@ type ImportPreferDefaultExport = [] | [{
13247
13247
  interface UnicornRuleOptions {
13248
13248
  /**
13249
13249
  * Prefer better DOM traversal APIs.
13250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/better-dom-traversing.md
13250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/better-dom-traversing.md
13251
13251
  */
13252
13252
  "unicorn/better-dom-traversing"?: Linter.RuleEntry<[]>;
13253
13253
  /**
13254
13254
  * Removed. Prefer `eslint-plugin-regexp`
13255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#better-regex
13255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#better-regex
13256
13256
  * @deprecated
13257
13257
  */
13258
13258
  "unicorn/better-regex"?: Linter.RuleEntry<[]>;
13259
13259
  /**
13260
13260
  * Enforce a specific parameter name in catch clauses.
13261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/catch-error-name.md
13261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/catch-error-name.md
13262
13262
  */
13263
13263
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
13264
13264
  /**
13265
13265
  * Enforce consistent class references in static methods.
13266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/class-reference-in-static-methods.md
13266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/class-reference-in-static-methods.md
13267
13267
  */
13268
13268
  "unicorn/class-reference-in-static-methods"?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
13269
13269
  /**
13270
13270
  * Enforce better comment content.
13271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/comment-content.md
13271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/comment-content.md
13272
13272
  */
13273
13273
  "unicorn/comment-content"?: Linter.RuleEntry<UnicornCommentContent>;
13274
13274
  /**
13275
13275
  * Enforce consistent assertion style with `node:assert`.
13276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-assert.md
13276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-assert.md
13277
13277
  */
13278
13278
  "unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
13279
13279
  /**
13280
13280
  * Enforce consistent naming for boolean names.
13281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-boolean-name.md
13281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-boolean-name.md
13282
13282
  */
13283
13283
  "unicorn/consistent-boolean-name"?: Linter.RuleEntry<UnicornConsistentBooleanName>;
13284
13284
  /**
13285
13285
  * Enforce consistent class member order.
13286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-class-member-order.md
13286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-class-member-order.md
13287
13287
  */
13288
13288
  "unicorn/consistent-class-member-order"?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
13289
13289
  /**
13290
13290
  * Enforce consistent spelling of compound words in identifiers.
13291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-compound-words.md
13291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-compound-words.md
13292
13292
  */
13293
13293
  "unicorn/consistent-compound-words"?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
13294
13294
  /**
13295
13295
  * Enforce consistent conditional object spread style.
13296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-conditional-object-spread.md
13296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-conditional-object-spread.md
13297
13297
  */
13298
13298
  "unicorn/consistent-conditional-object-spread"?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
13299
13299
  /**
13300
13300
  * Prefer passing `Date` directly to the constructor when cloning.
13301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-date-clone.md
13301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-date-clone.md
13302
13302
  */
13303
13303
  "unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
13304
13304
  /**
13305
13305
  * Use destructured variables over properties.
13306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-destructuring.md
13306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-destructuring.md
13307
13307
  */
13308
13308
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
13309
13309
  /**
13310
13310
  * Prefer consistent types when spreading a ternary in an array literal.
13311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-empty-array-spread.md
13311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-empty-array-spread.md
13312
13312
  */
13313
13313
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
13314
13314
  /**
13315
13315
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
13316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-existence-index-check.md
13316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-existence-index-check.md
13317
13317
  */
13318
13318
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
13319
13319
  /**
13320
13320
  * Enforce consistent decorator position on exported classes.
13321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-export-decorator-position.md
13321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-export-decorator-position.md
13322
13322
  */
13323
13323
  "unicorn/consistent-export-decorator-position"?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
13324
13324
  /**
13325
13325
  * Move function definitions to the highest possible scope.
13326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-function-scoping.md
13326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-function-scoping.md
13327
13327
  */
13328
13328
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
13329
13329
  /**
13330
13330
  * Enforce function syntax by role.
13331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-function-style.md
13331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-function-style.md
13332
13332
  */
13333
13333
  "unicorn/consistent-function-style"?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
13334
13334
  /**
13335
13335
  * Enforce consistent JSON file reads before `JSON.parse()`.
13336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-json-file-read.md
13336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-json-file-read.md
13337
13337
  */
13338
13338
  "unicorn/consistent-json-file-read"?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
13339
13339
  /**
13340
13340
  * Enforce consistent optional chaining for same-base member access.
13341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-optional-chaining.md
13341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-optional-chaining.md
13342
13342
  */
13343
13343
  "unicorn/consistent-optional-chaining"?: Linter.RuleEntry<[]>;
13344
13344
  /**
13345
13345
  * Enforce consistent style for escaping `${` in template literals.
13346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-template-literal-escape.md
13346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-template-literal-escape.md
13347
13347
  */
13348
13348
  "unicorn/consistent-template-literal-escape"?: Linter.RuleEntry<[]>;
13349
+ /**
13350
+ * Enforce consistent labels on tuple type elements.
13351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-tuple-labels.md
13352
+ */
13353
+ "unicorn/consistent-tuple-labels"?: Linter.RuleEntry<[]>;
13349
13354
  /**
13350
13355
  * Enforce correct `Error` subclassing.
13351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/custom-error-definition.md
13356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/custom-error-definition.md
13352
13357
  */
13353
13358
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
13354
13359
  /**
13355
13360
  * Enforce consistent default export declarations.
13356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/default-export-style.md
13361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/default-export-style.md
13357
13362
  */
13358
13363
  "unicorn/default-export-style"?: Linter.RuleEntry<UnicornDefaultExportStyle>;
13359
13364
  /**
13360
13365
  * Enforce consistent style for DOM element dataset access.
13361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/dom-node-dataset.md
13366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/dom-node-dataset.md
13362
13367
  */
13363
13368
  "unicorn/dom-node-dataset"?: Linter.RuleEntry<UnicornDomNodeDataset>;
13364
13369
  /**
13365
13370
  * Enforce no spaces between braces.
13366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/empty-brace-spaces.md
13371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/empty-brace-spaces.md
13367
13372
  */
13368
13373
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
13369
13374
  /**
13370
13375
  * Enforce passing a `message` value when creating a built-in error.
13371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/error-message.md
13376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/error-message.md
13372
13377
  */
13373
13378
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
13374
13379
  /**
13375
13380
  * Require escape sequences to use uppercase or lowercase values.
13376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/escape-case.md
13381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/escape-case.md
13377
13382
  */
13378
13383
  "unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
13379
13384
  /**
13380
13385
  * Add expiration conditions to TODO comments.
13381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/expiring-todo-comments.md
13386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/expiring-todo-comments.md
13382
13387
  */
13383
13388
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
13384
13389
  /**
13385
13390
  * Enforce explicitly comparing the `length` or `size` property of a value.
13386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/explicit-length-check.md
13391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/explicit-length-check.md
13387
13392
  */
13388
13393
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
13389
13394
  /**
13390
13395
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
13391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/explicit-timer-delay.md
13396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/explicit-timer-delay.md
13392
13397
  */
13393
13398
  "unicorn/explicit-timer-delay"?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
13394
13399
  /**
13395
13400
  * Enforce a case style for filenames and directory names.
13396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/filename-case.md
13401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/filename-case.md
13397
13402
  */
13398
13403
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
13399
13404
  /**
13400
13405
  * Require identifiers to match a specified regular expression.
13401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/id-match.md
13406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/id-match.md
13402
13407
  */
13403
13408
  "unicorn/id-match"?: Linter.RuleEntry<UnicornIdMatch>;
13404
13409
  /**
13405
13410
  * Enforce specific import styles per module.
13406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/import-style.md
13411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/import-style.md
13407
13412
  */
13408
13413
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
13409
13414
  /**
13410
13415
  * Prevent usage of variables from outside the scope of isolated functions.
13411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/isolated-functions.md
13416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/isolated-functions.md
13412
13417
  */
13413
13418
  "unicorn/isolated-functions"?: Linter.RuleEntry<UnicornIsolatedFunctions>;
13414
13419
  /**
13415
13420
  * Require or disallow logical assignment operator shorthand
13416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/logical-assignment-operators.md
13421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/logical-assignment-operators.md
13417
13422
  */
13418
13423
  "unicorn/logical-assignment-operators"?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
13419
13424
  /**
13420
13425
  * Limit the depth of nested calls.
13421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/max-nested-calls.md
13426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/max-nested-calls.md
13422
13427
  */
13423
13428
  "unicorn/max-nested-calls"?: Linter.RuleEntry<UnicornMaxNestedCalls>;
13424
13429
  /**
13425
13430
  * Enforce replacements for variable, property, and filenames.
13426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/name-replacements.md
13431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/name-replacements.md
13427
13432
  */
13428
13433
  "unicorn/name-replacements"?: Linter.RuleEntry<UnicornNameReplacements>;
13429
13434
  /**
13430
13435
  * Enforce correct use of `new` for builtin constructors.
13431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/new-for-builtins.md
13436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/new-for-builtins.md
13432
13437
  */
13433
13438
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
13434
13439
  /**
13435
13440
  * Enforce specifying rules to disable in `eslint-disable` comments.
13436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-abusive-eslint-disable.md
13441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-abusive-eslint-disable.md
13437
13442
  */
13438
13443
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
13439
13444
  /**
13440
13445
  * Disallow recursive access to `this` within getters and setters.
13441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-accessor-recursion.md
13446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-accessor-recursion.md
13442
13447
  */
13443
13448
  "unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
13444
13449
  /**
13445
13450
  * Disallow bitwise operators where a logical operator was likely intended.
13446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-accidental-bitwise-operator.md
13451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-accidental-bitwise-operator.md
13447
13452
  */
13448
13453
  "unicorn/no-accidental-bitwise-operator"?: Linter.RuleEntry<[]>;
13449
13454
  /**
13450
13455
  * Disallow anonymous functions and classes as the default export.
13451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-anonymous-default-export.md
13456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-anonymous-default-export.md
13452
13457
  */
13453
13458
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
13454
13459
  /**
13455
13460
  * Prevent passing a function reference directly to iterator methods.
13456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-callback-reference.md
13461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-callback-reference.md
13457
13462
  */
13458
13463
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
13459
13464
  /**
13460
13465
  * Disallow array accumulation with `Array#concat()` in loops.
13461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-concat-in-loop.md
13466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-concat-in-loop.md
13462
13467
  */
13463
13468
  "unicorn/no-array-concat-in-loop"?: Linter.RuleEntry<[]>;
13464
13469
  /**
13465
13470
  * Disallow using reference values as `Array#fill()` values.
13466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-fill-with-reference-type.md
13471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-fill-with-reference-type.md
13467
13472
  */
13468
13473
  "unicorn/no-array-fill-with-reference-type"?: Linter.RuleEntry<[]>;
13469
13474
  /**
13470
13475
  * Disallow `.fill()` after `Array.from({length: …})`.
13471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-from-fill.md
13476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-from-fill.md
13472
13477
  */
13473
13478
  "unicorn/no-array-from-fill"?: Linter.RuleEntry<[]>;
13474
13479
  /**
13475
13480
  * Disallow front-of-array mutation.
13476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-front-mutation.md
13481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-front-mutation.md
13477
13482
  */
13478
13483
  "unicorn/no-array-front-mutation"?: Linter.RuleEntry<[]>;
13479
13484
  /**
13480
13485
  * Disallow using the `this` argument in array methods.
13481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-method-this-argument.md
13486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-method-this-argument.md
13482
13487
  */
13483
13488
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
13484
13489
  /**
13485
13490
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
13486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
13491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
13487
13492
  * @deprecated
13488
13493
  */
13489
13494
  "unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
13490
13495
  /**
13491
13496
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
13492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-reduce.md
13497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-reduce.md
13493
13498
  */
13494
13499
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
13495
13500
  /**
13496
13501
  * Prefer `Array#toReversed()` over `Array#reverse()`.
13497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-reverse.md
13502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-reverse.md
13498
13503
  */
13499
13504
  "unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
13500
13505
  /**
13501
13506
  * Prefer `Array#toSorted()` over `Array#sort()`.
13502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-sort.md
13507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-sort.md
13503
13508
  */
13504
13509
  "unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
13505
13510
  /**
13506
13511
  * Disallow sorting arrays to get the minimum or maximum value.
13507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-sort-for-min-max.md
13512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-sort-for-min-max.md
13508
13513
  */
13509
13514
  "unicorn/no-array-sort-for-min-max"?: Linter.RuleEntry<[]>;
13510
13515
  /**
13511
13516
  * Prefer `Array#toSpliced()` over `Array#splice()`.
13512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-splice.md
13517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-splice.md
13513
13518
  */
13514
13519
  "unicorn/no-array-splice"?: Linter.RuleEntry<[]>;
13515
13520
  /**
13516
13521
  * Disallow asterisk prefixes in documentation comments.
13517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
13522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
13518
13523
  */
13519
13524
  "unicorn/no-asterisk-prefix-in-documentation-comments"?: Linter.RuleEntry<[]>;
13520
13525
  /**
13521
13526
  * Disallow member access from await expression.
13522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-await-expression-member.md
13527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-await-expression-member.md
13523
13528
  */
13524
13529
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
13525
13530
  /**
13526
13531
  * Disallow using `await` in `Promise` method parameters.
13527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-await-in-promise-methods.md
13532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-await-in-promise-methods.md
13528
13533
  */
13529
13534
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
13530
13535
  /**
13531
13536
  * Disallow unnecessary `Blob` to `File` conversion.
13532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-blob-to-file.md
13537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-blob-to-file.md
13533
13538
  */
13534
13539
  "unicorn/no-blob-to-file"?: Linter.RuleEntry<[]>;
13535
13540
  /**
13536
13541
  * Disallow boolean-returning sort comparators.
13537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-boolean-sort-comparator.md
13542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-boolean-sort-comparator.md
13538
13543
  */
13539
13544
  "unicorn/no-boolean-sort-comparator"?: Linter.RuleEntry<[]>;
13540
13545
  /**
13541
13546
  * Disallow `break` and `continue` in nested loops and switches inside loops.
13542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-break-in-nested-loop.md
13547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-break-in-nested-loop.md
13543
13548
  */
13544
13549
  "unicorn/no-break-in-nested-loop"?: Linter.RuleEntry<[]>;
13545
13550
  /**
13546
13551
  * Prefer drawing canvases directly instead of converting them to images.
13547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-canvas-to-image.md
13552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-canvas-to-image.md
13548
13553
  */
13549
13554
  "unicorn/no-canvas-to-image"?: Linter.RuleEntry<[]>;
13550
13555
  /**
13551
13556
  * Disallow chained comparisons such as `a < b < c`.
13552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-chained-comparison.md
13557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-chained-comparison.md
13553
13558
  */
13554
13559
  "unicorn/no-chained-comparison"?: Linter.RuleEntry<[]>;
13555
13560
  /**
13556
13561
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
13557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-collection-bracket-access.md
13562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-collection-bracket-access.md
13558
13563
  */
13559
13564
  "unicorn/no-collection-bracket-access"?: Linter.RuleEntry<[]>;
13560
13565
  /**
13561
13566
  * Disallow dynamic object property existence checks.
13562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-computed-property-existence-check.md
13567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-computed-property-existence-check.md
13563
13568
  */
13564
13569
  "unicorn/no-computed-property-existence-check"?: Linter.RuleEntry<[]>;
13565
13570
  /**
13566
13571
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
13567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-confusing-array-splice.md
13572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-confusing-array-splice.md
13568
13573
  */
13569
13574
  "unicorn/no-confusing-array-splice"?: Linter.RuleEntry<[]>;
13570
13575
  /**
13571
13576
  * Disallow confusing uses of `Array#with()`.
13572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-confusing-array-with.md
13577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-confusing-array-with.md
13573
13578
  */
13574
13579
  "unicorn/no-confusing-array-with"?: Linter.RuleEntry<[]>;
13575
13580
  /**
13576
13581
  * Do not use leading/trailing space between `console.log` parameters.
13577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-console-spaces.md
13582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-console-spaces.md
13578
13583
  */
13579
13584
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
13580
13585
  /**
13581
13586
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
13582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-constant-zero-expression.md
13587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-constant-zero-expression.md
13583
13588
  */
13584
13589
  "unicorn/no-constant-zero-expression"?: Linter.RuleEntry<[]>;
13585
13590
  /**
13586
13591
  * Disallow declarations before conditional early exits when they are only used after the exit.
13587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-declarations-before-early-exit.md
13592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-declarations-before-early-exit.md
13588
13593
  */
13589
13594
  "unicorn/no-declarations-before-early-exit"?: Linter.RuleEntry<[]>;
13590
13595
  /**
13591
13596
  * Do not use `document.cookie` directly.
13592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-document-cookie.md
13597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-document-cookie.md
13593
13598
  */
13594
13599
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
13595
13600
  /**
13596
13601
  * Disallow two comparisons of the same operands that can be combined into one.
13597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-double-comparison.md
13602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-double-comparison.md
13598
13603
  */
13599
13604
  "unicorn/no-double-comparison"?: Linter.RuleEntry<[]>;
13600
13605
  /**
13601
13606
  * Disallow duplicate adjacent branches in if chains.
13602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-if-branches.md
13607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-if-branches.md
13603
13608
  */
13604
13609
  "unicorn/no-duplicate-if-branches"?: Linter.RuleEntry<[]>;
13605
13610
  /**
13606
13611
  * Disallow adjacent duplicate operands in logical expressions.
13607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-logical-operands.md
13612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-logical-operands.md
13608
13613
  */
13609
13614
  "unicorn/no-duplicate-logical-operands"?: Linter.RuleEntry<[]>;
13610
13615
  /**
13611
13616
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
13612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-loops.md
13617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-loops.md
13613
13618
  */
13614
13619
  "unicorn/no-duplicate-loops"?: Linter.RuleEntry<[]>;
13615
13620
  /**
13616
13621
  * Disallow duplicate values in `Set` constructor array literals.
13617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-set-values.md
13622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-set-values.md
13618
13623
  */
13619
13624
  "unicorn/no-duplicate-set-values"?: Linter.RuleEntry<[]>;
13620
13625
  /**
13621
13626
  * Disallow empty files.
13622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-empty-file.md
13627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-empty-file.md
13623
13628
  */
13624
13629
  "unicorn/no-empty-file"?: Linter.RuleEntry<UnicornNoEmptyFile>;
13625
13630
  /**
13626
13631
  * Disallow assigning to built-in error properties.
13627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-error-property-assignment.md
13632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-error-property-assignment.md
13628
13633
  */
13629
13634
  "unicorn/no-error-property-assignment"?: Linter.RuleEntry<[]>;
13630
13635
  /**
13631
13636
  * Disallow exports in scripts.
13632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-exports-in-scripts.md
13637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-exports-in-scripts.md
13633
13638
  */
13634
13639
  "unicorn/no-exports-in-scripts"?: Linter.RuleEntry<[]>;
13635
13640
  /**
13636
13641
  * Prefer `for…of` over the `forEach` method.
13637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-for-each.md
13642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-for-each.md
13638
13643
  */
13639
13644
  "unicorn/no-for-each"?: Linter.RuleEntry<[]>;
13640
13645
  /**
13641
13646
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
13642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-for-loop.md
13647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-for-loop.md
13643
13648
  */
13644
13649
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
13645
13650
  /**
13646
13651
  * Disallow assigning properties on the global object.
13647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-global-object-property-assignment.md
13652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-global-object-property-assignment.md
13648
13653
  */
13649
13654
  "unicorn/no-global-object-property-assignment"?: Linter.RuleEntry<[]>;
13650
13655
  /**
13651
13656
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
13652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
13657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
13653
13658
  * @deprecated
13654
13659
  */
13655
13660
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
13656
13661
  /**
13657
13662
  * Disallow immediate mutation after variable assignment.
13658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-immediate-mutation.md
13663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-immediate-mutation.md
13659
13664
  */
13660
13665
  "unicorn/no-immediate-mutation"?: Linter.RuleEntry<[]>;
13661
13666
  /**
13662
13667
  * Disallow impossible comparisons against `.length` or `.size`.
13663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-impossible-length-comparison.md
13668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-impossible-length-comparison.md
13664
13669
  */
13665
13670
  "unicorn/no-impossible-length-comparison"?: Linter.RuleEntry<[]>;
13666
13671
  /**
13667
13672
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
13668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-incorrect-query-selector.md
13673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-incorrect-query-selector.md
13669
13674
  */
13670
13675
  "unicorn/no-incorrect-query-selector"?: Linter.RuleEntry<[]>;
13671
13676
  /**
13672
13677
  * Disallow incorrect template literal interpolation syntax.
13673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-incorrect-template-string-interpolation.md
13678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-incorrect-template-string-interpolation.md
13674
13679
  */
13675
13680
  "unicorn/no-incorrect-template-string-interpolation"?: Linter.RuleEntry<[]>;
13676
13681
  /**
13677
13682
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
13678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
13683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
13679
13684
  * @deprecated
13680
13685
  */
13681
13686
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
13682
13687
  /**
13683
13688
  * Disallow `instanceof` with built-in objects
13684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-instanceof-builtins.md
13689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-instanceof-builtins.md
13685
13690
  */
13686
13691
  "unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
13687
13692
  /**
13688
13693
  * Disallow calling functions and constructors with an invalid number of arguments.
13689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-argument-count.md
13694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-argument-count.md
13690
13695
  */
13691
13696
  "unicorn/no-invalid-argument-count"?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
13692
13697
  /**
13693
13698
  * Disallow comparing a single character from a string to a multi-character string.
13694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-character-comparison.md
13699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-character-comparison.md
13695
13700
  */
13696
13701
  "unicorn/no-invalid-character-comparison"?: Linter.RuleEntry<[]>;
13697
13702
  /**
13698
13703
  * Disallow invalid options in `fetch()` and `new Request()`.
13699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-fetch-options.md
13704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-fetch-options.md
13700
13705
  */
13701
13706
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
13702
13707
  /**
13703
13708
  * Disallow invalid `accept` values on file inputs.
13704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-file-input-accept.md
13709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-file-input-accept.md
13705
13710
  */
13706
13711
  "unicorn/no-invalid-file-input-accept"?: Linter.RuleEntry<[]>;
13707
13712
  /**
13708
13713
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
13709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-remove-event-listener.md
13714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-remove-event-listener.md
13710
13715
  */
13711
13716
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
13717
+ /**
13718
+ * Disallow invalid implementations of well-known symbol methods.
13719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
13720
+ */
13721
+ "unicorn/no-invalid-well-known-symbol-methods"?: Linter.RuleEntry<[]>;
13712
13722
  /**
13713
13723
  * Disallow identifiers starting with `new` or `class`.
13714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-keyword-prefix.md
13724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-keyword-prefix.md
13715
13725
  */
13716
13726
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
13717
13727
  /**
13718
13728
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
13719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-late-current-target-access.md
13729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-late-current-target-access.md
13720
13730
  */
13721
13731
  "unicorn/no-late-current-target-access"?: Linter.RuleEntry<[]>;
13732
+ /**
13733
+ * Disallow event-control method calls after the synchronous event dispatch has finished.
13734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-late-event-control.md
13735
+ */
13736
+ "unicorn/no-late-event-control"?: Linter.RuleEntry<[]>;
13722
13737
  /**
13723
13738
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
13724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
13739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
13725
13740
  * @deprecated
13726
13741
  */
13727
13742
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
13728
13743
  /**
13729
13744
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
13730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-lonely-if.md
13745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-lonely-if.md
13731
13746
  */
13732
13747
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
13733
13748
  /**
13734
13749
  * Disallow mutating a loop iterable during iteration.
13735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-loop-iterable-mutation.md
13750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-loop-iterable-mutation.md
13736
13751
  */
13737
13752
  "unicorn/no-loop-iterable-mutation"?: Linter.RuleEntry<[]>;
13738
13753
  /**
13739
13754
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
13740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-magic-array-flat-depth.md
13755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-magic-array-flat-depth.md
13741
13756
  */
13742
13757
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
13743
13758
  /**
13744
13759
  * Disallow manually wrapped comments.
13745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-manually-wrapped-comments.md
13760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-manually-wrapped-comments.md
13746
13761
  */
13747
13762
  "unicorn/no-manually-wrapped-comments"?: Linter.RuleEntry<[]>;
13748
13763
  /**
13749
13764
  * Disallow checking a Map key before accessing a different key.
13750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-mismatched-map-key.md
13765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-mismatched-map-key.md
13751
13766
  */
13752
13767
  "unicorn/no-mismatched-map-key"?: Linter.RuleEntry<[]>;
13753
13768
  /**
13754
13769
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
13755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-misrefactored-assignment.md
13770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-misrefactored-assignment.md
13756
13771
  */
13757
13772
  "unicorn/no-misrefactored-assignment"?: Linter.RuleEntry<[]>;
13758
13773
  /**
13759
13774
  * Disallow named usage of default import and export.
13760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-named-default.md
13775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-named-default.md
13761
13776
  */
13762
13777
  "unicorn/no-named-default"?: Linter.RuleEntry<[]>;
13763
13778
  /**
13764
13779
  * Disallow negated array predicate calls.
13765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-array-predicate.md
13780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-array-predicate.md
13766
13781
  */
13767
13782
  "unicorn/no-negated-array-predicate"?: Linter.RuleEntry<[]>;
13768
13783
  /**
13769
13784
  * Disallow negated comparisons.
13770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-comparison.md
13785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-comparison.md
13771
13786
  */
13772
13787
  "unicorn/no-negated-comparison"?: Linter.RuleEntry<UnicornNoNegatedComparison>;
13773
13788
  /**
13774
13789
  * Disallow negated conditions.
13775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-condition.md
13790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-condition.md
13776
13791
  */
13777
13792
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
13778
13793
  /**
13779
13794
  * Disallow negated expression in equality check.
13780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negation-in-equality-check.md
13795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negation-in-equality-check.md
13781
13796
  */
13782
13797
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
13783
13798
  /**
13784
13799
  * Disallow nested ternary expressions.
13785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-nested-ternary.md
13800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-nested-ternary.md
13786
13801
  */
13787
13802
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
13788
13803
  /**
13789
13804
  * Disallow `new Array()`.
13790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-new-array.md
13805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-new-array.md
13791
13806
  */
13792
13807
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
13793
13808
  /**
13794
13809
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
13795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-new-buffer.md
13810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-new-buffer.md
13796
13811
  */
13797
13812
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
13798
13813
  /**
13799
13814
  * Disallow non-function values with function-style verb prefixes.
13800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-non-function-verb-prefix.md
13815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-non-function-verb-prefix.md
13801
13816
  */
13802
13817
  "unicorn/no-non-function-verb-prefix"?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
13803
13818
  /**
13804
13819
  * Disallow non-standard properties on built-in objects.
13805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-nonstandard-builtin-properties.md
13820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-nonstandard-builtin-properties.md
13806
13821
  */
13807
13822
  "unicorn/no-nonstandard-builtin-properties"?: Linter.RuleEntry<[]>;
13808
13823
  /**
13809
13824
  * Disallow the use of the `null` literal.
13810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-null.md
13825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-null.md
13811
13826
  */
13812
13827
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
13813
13828
  /**
13814
13829
  * Disallow the use of objects as default parameters.
13815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-object-as-default-parameter.md
13830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-object-as-default-parameter.md
13816
13831
  */
13817
13832
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
13818
13833
  /**
13819
13834
  * Disallow `Object` methods with `Map` or `Set`.
13820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-object-methods-with-collections.md
13835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-object-methods-with-collections.md
13821
13836
  */
13822
13837
  "unicorn/no-object-methods-with-collections"?: Linter.RuleEntry<[]>;
13823
13838
  /**
13824
13839
  * Disallow optional chaining on undeclared variables.
13825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
13840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
13826
13841
  */
13827
13842
  "unicorn/no-optional-chaining-on-undeclared-variable"?: Linter.RuleEntry<[]>;
13828
13843
  /**
13829
13844
  * Disallow `process.exit()`.
13830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-process-exit.md
13845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-process-exit.md
13831
13846
  */
13832
13847
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
13833
13848
  /**
13834
13849
  * Disallow comparisons made redundant by an equality check in the same logical AND.
13835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-redundant-comparison.md
13850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-redundant-comparison.md
13836
13851
  */
13837
13852
  "unicorn/no-redundant-comparison"?: Linter.RuleEntry<[]>;
13838
13853
  /**
13839
13854
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
13840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-return-array-push.md
13855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-return-array-push.md
13841
13856
  */
13842
13857
  "unicorn/no-return-array-push"?: Linter.RuleEntry<[]>;
13843
13858
  /**
13844
13859
  * Disallow selector syntax in DOM names.
13845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-selector-as-dom-name.md
13860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-selector-as-dom-name.md
13846
13861
  */
13847
13862
  "unicorn/no-selector-as-dom-name"?: Linter.RuleEntry<[]>;
13848
13863
  /**
13849
13864
  * Disallow passing single-element arrays to `Promise` methods.
13850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-single-promise-in-promise-methods.md
13865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-single-promise-in-promise-methods.md
13851
13866
  */
13852
13867
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
13853
13868
  /**
13854
13869
  * Disallow classes that only have static members.
13855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-static-only-class.md
13870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-static-only-class.md
13856
13871
  */
13857
13872
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
13858
13873
  /**
13859
13874
  * Prefer comparing values directly over subtracting and comparing to `0`.
13860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-subtraction-comparison.md
13875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-subtraction-comparison.md
13861
13876
  */
13862
13877
  "unicorn/no-subtraction-comparison"?: Linter.RuleEntry<[]>;
13863
13878
  /**
13864
13879
  * Disallow `then` property.
13865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-thenable.md
13880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-thenable.md
13866
13881
  */
13867
13882
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
13868
13883
  /**
13869
13884
  * Disallow assigning `this` to a variable.
13870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-this-assignment.md
13885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-this-assignment.md
13871
13886
  */
13872
13887
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
13873
13888
  /**
13874
13889
  * Disallow `this` outside of classes.
13875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-this-outside-of-class.md
13890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-this-outside-of-class.md
13876
13891
  */
13877
13892
  "unicorn/no-this-outside-of-class"?: Linter.RuleEntry<[]>;
13878
13893
  /**
13879
13894
  * Disallow assigning to top-level variables from inside functions.
13880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-top-level-assignment-in-function.md
13895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-top-level-assignment-in-function.md
13881
13896
  */
13882
13897
  "unicorn/no-top-level-assignment-in-function"?: Linter.RuleEntry<[]>;
13883
13898
  /**
13884
13899
  * Disallow top-level side effects in exported modules.
13885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-top-level-side-effects.md
13900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-top-level-side-effects.md
13886
13901
  */
13887
13902
  "unicorn/no-top-level-side-effects"?: Linter.RuleEntry<[]>;
13888
13903
  /**
13889
13904
  * Disallow comparing `undefined` using `typeof`.
13890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-typeof-undefined.md
13905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-typeof-undefined.md
13891
13906
  */
13892
13907
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
13893
13908
  /**
13894
13909
  * Disallow referencing methods without calling them.
13895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-uncalled-method.md
13910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-uncalled-method.md
13896
13911
  */
13897
13912
  "unicorn/no-uncalled-method"?: Linter.RuleEntry<[]>;
13898
13913
  /**
13899
13914
  * Require class members to be declared.
13900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-undeclared-class-members.md
13915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-undeclared-class-members.md
13901
13916
  */
13902
13917
  "unicorn/no-undeclared-class-members"?: Linter.RuleEntry<[]>;
13903
13918
  /**
13904
13919
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
13905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-array-flat-depth.md
13920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-array-flat-depth.md
13906
13921
  */
13907
13922
  "unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
13908
13923
  /**
13909
13924
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
13910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-array-splice-count.md
13925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-array-splice-count.md
13911
13926
  */
13912
13927
  "unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
13913
13928
  /**
13914
13929
  * Disallow awaiting non-promise values.
13915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-await.md
13930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-await.md
13916
13931
  */
13917
13932
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
13918
13933
  /**
13919
13934
  * Disallow unnecessary comparisons against boolean literals.
13920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-boolean-comparison.md
13935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-boolean-comparison.md
13921
13936
  */
13922
13937
  "unicorn/no-unnecessary-boolean-comparison"?: Linter.RuleEntry<[]>;
13923
13938
  /**
13924
13939
  * Disallow unnecessary `globalThis` references.
13925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-global-this.md
13940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-global-this.md
13926
13941
  */
13927
13942
  "unicorn/no-unnecessary-global-this"?: Linter.RuleEntry<[]>;
13928
13943
  /**
13929
13944
  * Disallow unnecessary nested ternary expressions.
13930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-nested-ternary.md
13945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-nested-ternary.md
13931
13946
  */
13932
13947
  "unicorn/no-unnecessary-nested-ternary"?: Linter.RuleEntry<[]>;
13933
13948
  /**
13934
13949
  * Enforce the use of built-in methods instead of unnecessary polyfills.
13935
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-polyfills.md
13950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-polyfills.md
13936
13951
  */
13937
13952
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
13938
13953
  /**
13939
13954
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
13940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-slice-end.md
13955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-slice-end.md
13941
13956
  */
13942
13957
  "unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
13943
13958
  /**
13944
13959
  * Disallow `Array#splice()` when simpler alternatives exist.
13945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-splice.md
13960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-splice.md
13946
13961
  */
13947
13962
  "unicorn/no-unnecessary-splice"?: Linter.RuleEntry<[]>;
13948
13963
  /**
13949
13964
  * Disallow unreadable array destructuring.
13950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-array-destructuring.md
13965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-array-destructuring.md
13951
13966
  */
13952
13967
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
13953
13968
  /**
13954
13969
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
13955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-for-of-expression.md
13970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-for-of-expression.md
13956
13971
  */
13957
13972
  "unicorn/no-unreadable-for-of-expression"?: Linter.RuleEntry<[]>;
13958
13973
  /**
13959
13974
  * Disallow unreadable IIFEs.
13960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-iife.md
13975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-iife.md
13961
13976
  */
13962
13977
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
13963
13978
  /**
13964
13979
  * Disallow unreadable `new` expressions.
13965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-new-expression.md
13980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-new-expression.md
13966
13981
  */
13967
13982
  "unicorn/no-unreadable-new-expression"?: Linter.RuleEntry<[]>;
13968
13983
  /**
13969
13984
  * Disallow unreadable object destructuring.
13970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-object-destructuring.md
13985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-object-destructuring.md
13971
13986
  */
13972
13987
  "unicorn/no-unreadable-object-destructuring"?: Linter.RuleEntry<[]>;
13973
13988
  /**
13974
13989
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
13975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-buffer-conversion.md
13990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-buffer-conversion.md
13976
13991
  */
13977
13992
  "unicorn/no-unsafe-buffer-conversion"?: Linter.RuleEntry<[]>;
13978
13993
  /**
13979
13994
  * Disallow unsafe DOM HTML APIs.
13980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-dom-html.md
13995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-dom-html.md
13981
13996
  */
13982
13997
  "unicorn/no-unsafe-dom-html"?: Linter.RuleEntry<[]>;
13983
13998
  /**
13984
13999
  * Disallow unsafe values as property keys.
13985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-property-key.md
14000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-property-key.md
13986
14001
  */
13987
14002
  "unicorn/no-unsafe-property-key"?: Linter.RuleEntry<[]>;
13988
14003
  /**
13989
14004
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
13990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-string-replacement.md
14005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-string-replacement.md
13991
14006
  */
13992
14007
  "unicorn/no-unsafe-string-replacement"?: Linter.RuleEntry<[]>;
13993
14008
  /**
13994
14009
  * Disallow ignoring the return value of selected array methods.
13995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unused-array-method-return.md
14010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unused-array-method-return.md
13996
14011
  */
13997
14012
  "unicorn/no-unused-array-method-return"?: Linter.RuleEntry<[]>;
13998
14013
  /**
13999
14014
  * Disallow unused object properties.
14000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unused-properties.md
14015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unused-properties.md
14001
14016
  */
14002
14017
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
14003
14018
  /**
14004
14019
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
14005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-boolean-cast.md
14020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-boolean-cast.md
14006
14021
  */
14007
14022
  "unicorn/no-useless-boolean-cast"?: Linter.RuleEntry<[]>;
14008
14023
  /**
14009
14024
  * Disallow useless type coercions of values that are already of the target type.
14010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-coercion.md
14025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-coercion.md
14011
14026
  */
14012
14027
  "unicorn/no-useless-coercion"?: Linter.RuleEntry<[]>;
14013
14028
  /**
14014
14029
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
14015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-collection-argument.md
14030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-collection-argument.md
14016
14031
  */
14017
14032
  "unicorn/no-useless-collection-argument"?: Linter.RuleEntry<[]>;
14018
14033
  /**
14019
14034
  * Disallow useless compound assignments such as `x += 0`.
14020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-compound-assignment.md
14035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-compound-assignment.md
14021
14036
  */
14022
14037
  "unicorn/no-useless-compound-assignment"?: Linter.RuleEntry<[]>;
14023
14038
  /**
14024
14039
  * Disallow useless concatenation of literals.
14025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-concat.md
14040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-concat.md
14026
14041
  */
14027
14042
  "unicorn/no-useless-concat"?: Linter.RuleEntry<[]>;
14028
14043
  /**
14029
14044
  * Disallow useless `continue` statements.
14030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-continue.md
14045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-continue.md
14031
14046
  */
14032
14047
  "unicorn/no-useless-continue"?: Linter.RuleEntry<[]>;
14033
14048
  /**
14034
14049
  * Disallow unnecessary existence checks before deletion.
14035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-delete-check.md
14050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-delete-check.md
14036
14051
  */
14037
14052
  "unicorn/no-useless-delete-check"?: Linter.RuleEntry<[]>;
14038
14053
  /**
14039
14054
  * Disallow `else` after a statement that exits.
14040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-else.md
14055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-else.md
14041
14056
  */
14042
14057
  "unicorn/no-useless-else"?: Linter.RuleEntry<[]>;
14043
14058
  /**
14044
14059
  * Disallow unnecessary `Error.captureStackTrace(…)`.
14045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-error-capture-stack-trace.md
14060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-error-capture-stack-trace.md
14046
14061
  */
14047
14062
  "unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
14048
14063
  /**
14049
14064
  * Disallow useless fallback when spreading in object literals.
14050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-fallback-in-spread.md
14065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-fallback-in-spread.md
14051
14066
  */
14052
14067
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
14053
14068
  /**
14054
14069
  * Disallow unnecessary `.toArray()` on iterators.
14055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-iterator-to-array.md
14070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-iterator-to-array.md
14056
14071
  */
14057
14072
  "unicorn/no-useless-iterator-to-array"?: Linter.RuleEntry<[]>;
14058
14073
  /**
14059
14074
  * Disallow useless array length check.
14060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-length-check.md
14075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-length-check.md
14061
14076
  */
14062
14077
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
14063
14078
  /**
14064
14079
  * Disallow unnecessary operands in logical expressions involving boolean literals.
14065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-logical-operand.md
14080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-logical-operand.md
14066
14081
  */
14067
14082
  "unicorn/no-useless-logical-operand"?: Linter.RuleEntry<[]>;
14068
14083
  /**
14069
14084
  * Disallow useless overrides of class methods.
14070
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-override.md
14085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-override.md
14071
14086
  */
14072
14087
  "unicorn/no-useless-override"?: Linter.RuleEntry<[]>;
14073
14088
  /**
14074
14089
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
14075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-promise-resolve-reject.md
14090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-promise-resolve-reject.md
14076
14091
  */
14077
14092
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
14078
14093
  /**
14079
14094
  * Disallow simple recursive function calls that can be replaced with a loop.
14080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-recursion.md
14095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-recursion.md
14081
14096
  */
14082
14097
  "unicorn/no-useless-recursion"?: Linter.RuleEntry<[]>;
14083
14098
  /**
14084
14099
  * Disallow unnecessary spread.
14085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-spread.md
14100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-spread.md
14086
14101
  */
14087
14102
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
14088
14103
  /**
14089
14104
  * Disallow useless case in switch statements.
14090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-switch-case.md
14105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-switch-case.md
14091
14106
  */
14092
14107
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
14093
14108
  /**
14094
14109
  * Disallow useless template literal expressions.
14095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-template-literals.md
14110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-template-literals.md
14096
14111
  */
14097
14112
  "unicorn/no-useless-template-literals"?: Linter.RuleEntry<[]>;
14098
14113
  /**
14099
14114
  * Disallow useless `undefined`.
14100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-undefined.md
14115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-undefined.md
14101
14116
  */
14102
14117
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
14103
14118
  /**
14104
14119
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
14105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-xor-as-exponentiation.md
14120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-xor-as-exponentiation.md
14106
14121
  */
14107
14122
  "unicorn/no-xor-as-exponentiation"?: Linter.RuleEntry<[]>;
14108
14123
  /**
14109
14124
  * Disallow number literals with zero fractions or dangling dots.
14110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-zero-fractions.md
14125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-zero-fractions.md
14111
14126
  */
14112
14127
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
14113
14128
  /**
14114
14129
  * Enforce proper case for numeric literals.
14115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/number-literal-case.md
14130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/number-literal-case.md
14116
14131
  */
14117
14132
  "unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
14118
14133
  /**
14119
14134
  * Enforce the style of numeric separators by correctly grouping digits.
14120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/numeric-separators-style.md
14135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/numeric-separators-style.md
14121
14136
  */
14122
14137
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
14123
14138
  /**
14124
14139
  * Require assignment operator shorthand where possible.
14125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/operator-assignment.md
14140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/operator-assignment.md
14126
14141
  */
14127
14142
  "unicorn/operator-assignment"?: Linter.RuleEntry<UnicornOperatorAssignment>;
14143
+ /**
14144
+ * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
14145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-abort-signal-timeout.md
14146
+ */
14147
+ "unicorn/prefer-abort-signal-timeout"?: Linter.RuleEntry<[]>;
14128
14148
  /**
14129
14149
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
14130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-add-event-listener.md
14150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-add-event-listener.md
14131
14151
  */
14132
14152
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
14133
14153
  /**
14134
14154
  * Prefer an options object over a boolean in `.addEventListener()`.
14135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-add-event-listener-options.md
14155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-add-event-listener-options.md
14136
14156
  */
14137
14157
  "unicorn/prefer-add-event-listener-options"?: Linter.RuleEntry<[]>;
14158
+ /**
14159
+ * Prefer `AggregateError` when throwing collected errors.
14160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-aggregate-error.md
14161
+ */
14162
+ "unicorn/prefer-aggregate-error"?: Linter.RuleEntry<[]>;
14138
14163
  /**
14139
14164
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
14140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-find.md
14165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-find.md
14141
14166
  */
14142
14167
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
14143
14168
  /**
14144
14169
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
14145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-flat.md
14170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-flat.md
14146
14171
  */
14147
14172
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
14148
14173
  /**
14149
14174
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
14150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-flat-map.md
14175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-flat-map.md
14151
14176
  */
14152
14177
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
14153
14178
  /**
14154
14179
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
14155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-from-async.md
14180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-from-async.md
14156
14181
  */
14157
14182
  "unicorn/prefer-array-from-async"?: Linter.RuleEntry<[]>;
14158
14183
  /**
14159
14184
  * Prefer using the `Array.from()` mapping function argument.
14160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-from-map.md
14185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-from-map.md
14161
14186
  */
14162
14187
  "unicorn/prefer-array-from-map"?: Linter.RuleEntry<[]>;
14163
14188
  /**
14164
14189
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
14165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-index-of.md
14190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-index-of.md
14166
14191
  */
14167
14192
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
14168
14193
  /**
14169
14194
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
14170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-iterable-methods.md
14195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-iterable-methods.md
14171
14196
  */
14172
14197
  "unicorn/prefer-array-iterable-methods"?: Linter.RuleEntry<[]>;
14173
14198
  /**
14174
14199
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
14175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-last-methods.md
14200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-last-methods.md
14176
14201
  */
14177
14202
  "unicorn/prefer-array-last-methods"?: Linter.RuleEntry<[]>;
14178
14203
  /**
14179
14204
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
14180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-slice.md
14205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-slice.md
14181
14206
  */
14182
14207
  "unicorn/prefer-array-slice"?: Linter.RuleEntry<[]>;
14183
14208
  /**
14184
14209
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
14185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-some.md
14210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-some.md
14186
14211
  */
14187
14212
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
14188
14213
  /**
14189
14214
  * Prefer `.at()` method for index access and `String#charAt()`.
14190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-at.md
14215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-at.md
14191
14216
  */
14192
14217
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
14193
14218
  /**
14194
14219
  * Prefer `await` over promise chaining.
14195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-await.md
14220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-await.md
14196
14221
  */
14197
14222
  "unicorn/prefer-await"?: Linter.RuleEntry<[]>;
14198
14223
  /**
14199
14224
  * Prefer `BigInt` literals over the constructor.
14200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-bigint-literals.md
14225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-bigint-literals.md
14201
14226
  */
14202
14227
  "unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
14203
14228
  /**
14204
14229
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
14205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-blob-reading-methods.md
14230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-blob-reading-methods.md
14206
14231
  */
14207
14232
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
14208
14233
  /**
14209
14234
  * Prefer directly returning boolean expressions over `if` statements.
14210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-boolean-return.md
14235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-boolean-return.md
14211
14236
  */
14212
14237
  "unicorn/prefer-boolean-return"?: Linter.RuleEntry<[]>;
14213
14238
  /**
14214
14239
  * Prefer class field declarations over `this` assignments in constructors.
14215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-class-fields.md
14240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-class-fields.md
14216
14241
  */
14217
14242
  "unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
14218
14243
  /**
14219
14244
  * Prefer using `Element#classList.toggle()` to toggle class names.
14220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-classlist-toggle.md
14245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-classlist-toggle.md
14221
14246
  */
14222
14247
  "unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
14223
14248
  /**
14224
14249
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
14225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-code-point.md
14250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-code-point.md
14226
14251
  */
14227
14252
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
14228
14253
  /**
14229
14254
  * Prefer early continues over whole-loop conditional wrapping.
14230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-continue.md
14255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-continue.md
14231
14256
  */
14232
14257
  "unicorn/prefer-continue"?: Linter.RuleEntry<UnicornPreferContinue>;
14233
14258
  /**
14234
14259
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
14235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-date-now.md
14260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-date-now.md
14236
14261
  */
14237
14262
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
14238
14263
  /**
14239
14264
  * Prefer default parameters over reassignment.
14240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-default-parameters.md
14265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-default-parameters.md
14241
14266
  */
14242
14267
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
14243
14268
  /**
14244
14269
  * Prefer direct iteration over default iterator method calls.
14245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-direct-iteration.md
14270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-direct-iteration.md
14246
14271
  */
14247
14272
  "unicorn/prefer-direct-iteration"?: Linter.RuleEntry<[]>;
14248
14273
  /**
14249
14274
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
14250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dispose.md
14275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dispose.md
14251
14276
  */
14252
14277
  "unicorn/prefer-dispose"?: Linter.RuleEntry<[]>;
14253
14278
  /**
14254
14279
  * Prefer `Element#append()` over `Node#appendChild()`.
14255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-append.md
14280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-append.md
14256
14281
  */
14257
14282
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
14258
14283
  /**
14259
14284
  * Renamed to `unicorn/dom-node-dataset`.
14260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
14285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
14261
14286
  * @deprecated
14262
14287
  */
14263
14288
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
14264
14289
  /**
14265
14290
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
14266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-html-methods.md
14291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-html-methods.md
14267
14292
  */
14268
14293
  "unicorn/prefer-dom-node-html-methods"?: Linter.RuleEntry<[]>;
14269
14294
  /**
14270
14295
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
14271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-remove.md
14296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-remove.md
14272
14297
  */
14273
14298
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
14299
+ /**
14300
+ * Prefer `.replaceChildren()` when emptying DOM children.
14301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-replace-children.md
14302
+ */
14303
+ "unicorn/prefer-dom-node-replace-children"?: Linter.RuleEntry<[]>;
14274
14304
  /**
14275
14305
  * Prefer `.textContent` over `.innerText`.
14276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-text-content.md
14306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-text-content.md
14277
14307
  */
14278
14308
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
14279
14309
  /**
14280
14310
  * Prefer early returns over full-function conditional wrapping.
14281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-early-return.md
14311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-early-return.md
14282
14312
  */
14283
14313
  "unicorn/prefer-early-return"?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
14284
14314
  /**
14285
14315
  * Prefer `else if` over adjacent `if` statements with related conditions.
14286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-else-if.md
14316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-else-if.md
14287
14317
  */
14288
14318
  "unicorn/prefer-else-if"?: Linter.RuleEntry<[]>;
14319
+ /**
14320
+ * Prefer `Error.isError()` when checking for errors.
14321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-error-is-error.md
14322
+ */
14323
+ "unicorn/prefer-error-is-error"?: Linter.RuleEntry<[]>;
14289
14324
  /**
14290
14325
  * Prefer `EventTarget` over `EventEmitter`.
14291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-event-target.md
14326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-event-target.md
14292
14327
  */
14293
14328
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
14294
14329
  /**
14295
14330
  * Prefer `export…from` when re-exporting.
14296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-export-from.md
14331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-export-from.md
14297
14332
  */
14298
14333
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
14299
14334
  /**
14300
14335
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
14301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-flat-math-min-max.md
14336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-flat-math-min-max.md
14302
14337
  */
14303
14338
  "unicorn/prefer-flat-math-min-max"?: Linter.RuleEntry<[]>;
14304
14339
  /**
14305
14340
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
14306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-get-or-insert-computed.md
14341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-get-or-insert-computed.md
14307
14342
  */
14308
14343
  "unicorn/prefer-get-or-insert-computed"?: Linter.RuleEntry<[]>;
14309
14344
  /**
14310
14345
  * Prefer global numeric constants over `Number` static properties.
14311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-global-number-constants.md
14346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-global-number-constants.md
14312
14347
  */
14313
14348
  "unicorn/prefer-global-number-constants"?: Linter.RuleEntry<[]>;
14314
14349
  /**
14315
14350
  * Prefer `globalThis` over `window`, `self`, and `global`.
14316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-global-this.md
14351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-global-this.md
14317
14352
  */
14318
14353
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
14319
14354
  /**
14320
14355
  * Prefer `.has()` when checking existence.
14321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-has-check.md
14356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-has-check.md
14322
14357
  */
14323
14358
  "unicorn/prefer-has-check"?: Linter.RuleEntry<[]>;
14324
14359
  /**
14325
14360
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
14326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-hoisting-branch-code.md
14361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-hoisting-branch-code.md
14327
14362
  */
14328
14363
  "unicorn/prefer-hoisting-branch-code"?: Linter.RuleEntry<[]>;
14329
14364
  /**
14330
14365
  * Prefer HTTPS over HTTP.
14331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-https.md
14366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-https.md
14332
14367
  */
14333
14368
  "unicorn/prefer-https"?: Linter.RuleEntry<[]>;
14334
14369
  /**
14335
14370
  * Prefer identifiers over string literals in import and export specifiers.
14336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
14371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
14337
14372
  */
14338
14373
  "unicorn/prefer-identifier-import-export-specifiers"?: Linter.RuleEntry<[]>;
14339
14374
  /**
14340
14375
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
14341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-import-meta-properties.md
14376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-import-meta-properties.md
14342
14377
  */
14343
14378
  "unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
14344
14379
  /**
14345
14380
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
14346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-includes.md
14381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-includes.md
14347
14382
  */
14348
14383
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
14349
14384
  /**
14350
14385
  * Prefer `.includes()` over repeated equality comparisons.
14351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
14386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
14352
14387
  */
14353
14388
  "unicorn/prefer-includes-over-repeated-comparisons"?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
14354
14389
  /**
14355
14390
  * Prefer passing iterables directly to constructors instead of filling empty collections.
14356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterable-in-constructor.md
14391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterable-in-constructor.md
14357
14392
  */
14358
14393
  "unicorn/prefer-iterable-in-constructor"?: Linter.RuleEntry<[]>;
14359
14394
  /**
14360
14395
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
14361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-concat.md
14396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-concat.md
14362
14397
  */
14363
14398
  "unicorn/prefer-iterator-concat"?: Linter.RuleEntry<[]>;
14364
14399
  /**
14365
14400
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
14366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-to-array.md
14401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-to-array.md
14367
14402
  */
14368
14403
  "unicorn/prefer-iterator-to-array"?: Linter.RuleEntry<[]>;
14369
14404
  /**
14370
14405
  * Prefer moving `.toArray()` to the end of iterator helper chains.
14371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-to-array-at-end.md
14406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-to-array-at-end.md
14372
14407
  */
14373
14408
  "unicorn/prefer-iterator-to-array-at-end"?: Linter.RuleEntry<[]>;
14374
14409
  /**
14375
14410
  * Renamed to `unicorn/consistent-json-file-read`.
14376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
14411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
14377
14412
  * @deprecated
14378
14413
  */
14379
14414
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
14380
14415
  /**
14381
14416
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
14382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-keyboard-event-key.md
14417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-keyboard-event-key.md
14383
14418
  */
14384
14419
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
14385
14420
  /**
14386
14421
  * Prefer `location.assign()` over assigning to `location.href`.
14387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-location-assign.md
14422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-location-assign.md
14388
14423
  */
14389
14424
  "unicorn/prefer-location-assign"?: Linter.RuleEntry<[]>;
14390
14425
  /**
14391
14426
  * Prefer using a logical operator over a ternary.
14392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-logical-operator-over-ternary.md
14427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-logical-operator-over-ternary.md
14393
14428
  */
14394
14429
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
14395
14430
  /**
14396
14431
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
14397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-map-from-entries.md
14432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-map-from-entries.md
14398
14433
  */
14399
14434
  "unicorn/prefer-map-from-entries"?: Linter.RuleEntry<[]>;
14400
14435
  /**
14401
14436
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
14402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-abs.md
14437
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-abs.md
14403
14438
  */
14404
14439
  "unicorn/prefer-math-abs"?: Linter.RuleEntry<[]>;
14405
14440
  /**
14406
14441
  * Prefer `Math` constants over their approximate numeric values.
14407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-constants.md
14442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-constants.md
14408
14443
  */
14409
14444
  "unicorn/prefer-math-constants"?: Linter.RuleEntry<[]>;
14410
14445
  /**
14411
14446
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
14412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-min-max.md
14447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-min-max.md
14413
14448
  */
14414
14449
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
14415
14450
  /**
14416
14451
  * Prefer `Math.trunc()` for truncating numbers.
14417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-trunc.md
14452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-trunc.md
14418
14453
  */
14419
14454
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
14420
14455
  /**
14421
14456
  * Prefer moving ternaries into the minimal varying part of an expression.
14422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-minimal-ternary.md
14457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-minimal-ternary.md
14423
14458
  */
14424
14459
  "unicorn/prefer-minimal-ternary"?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
14425
14460
  /**
14426
14461
  * Prefer modern DOM APIs.
14427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-modern-dom-apis.md
14462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-modern-dom-apis.md
14428
14463
  */
14429
14464
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
14430
14465
  /**
14431
14466
  * Prefer modern `Math` APIs over legacy patterns.
14432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-modern-math-apis.md
14467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-modern-math-apis.md
14433
14468
  */
14434
14469
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
14435
14470
  /**
14436
14471
  * Prefer JavaScript modules (ESM) over CommonJS.
14437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-module.md
14472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-module.md
14438
14473
  */
14439
14474
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
14440
14475
  /**
14441
14476
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
14442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-native-coercion-functions.md
14477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-native-coercion-functions.md
14443
14478
  */
14444
14479
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
14445
14480
  /**
14446
14481
  * Prefer negative index over `.length - index` when possible.
14447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-negative-index.md
14482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-negative-index.md
14448
14483
  */
14449
14484
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
14450
14485
  /**
14451
14486
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
14452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-node-protocol.md
14487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-node-protocol.md
14453
14488
  */
14454
14489
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
14455
14490
  /**
14456
14491
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
14457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-coercion.md
14492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-coercion.md
14458
14493
  */
14459
14494
  "unicorn/prefer-number-coercion"?: Linter.RuleEntry<[]>;
14460
14495
  /**
14461
14496
  * Prefer `Number.isSafeInteger()` over integer checks.
14462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-is-safe-integer.md
14497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-is-safe-integer.md
14463
14498
  */
14464
14499
  "unicorn/prefer-number-is-safe-integer"?: Linter.RuleEntry<[]>;
14465
14500
  /**
14466
14501
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
14467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-properties.md
14502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-properties.md
14468
14503
  */
14469
14504
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
14470
14505
  /**
14471
14506
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
14472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-define-properties.md
14507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-define-properties.md
14473
14508
  */
14474
14509
  "unicorn/prefer-object-define-properties"?: Linter.RuleEntry<[]>;
14475
14510
  /**
14476
14511
  * Prefer object destructuring defaults over default object literals with spread.
14477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-destructuring-defaults.md
14512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-destructuring-defaults.md
14478
14513
  */
14479
14514
  "unicorn/prefer-object-destructuring-defaults"?: Linter.RuleEntry<[]>;
14480
14515
  /**
14481
14516
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
14482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-from-entries.md
14517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-from-entries.md
14483
14518
  */
14484
14519
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
14485
14520
  /**
14486
14521
  * Prefer the most specific `Object` iterable method.
14487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-iterable-methods.md
14522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-iterable-methods.md
14488
14523
  */
14489
14524
  "unicorn/prefer-object-iterable-methods"?: Linter.RuleEntry<[]>;
14525
+ /**
14526
+ * Prefer observer APIs over resize and scroll listeners with layout reads.
14527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-observer-apis.md
14528
+ */
14529
+ "unicorn/prefer-observer-apis"?: Linter.RuleEntry<[]>;
14490
14530
  /**
14491
14531
  * Prefer omitting the `catch` binding parameter.
14492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-optional-catch-binding.md
14532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-optional-catch-binding.md
14493
14533
  */
14494
14534
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
14495
14535
  /**
14496
14536
  * Prefer `Path2D` for repeatedly drawn canvas paths.
14497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-path2d.md
14537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-path2d.md
14498
14538
  */
14499
14539
  "unicorn/prefer-path2d"?: Linter.RuleEntry<[]>;
14500
14540
  /**
14501
14541
  * Prefer private class fields over the underscore-prefix convention.
14502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-private-class-fields.md
14542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-private-class-fields.md
14503
14543
  */
14504
14544
  "unicorn/prefer-private-class-fields"?: Linter.RuleEntry<[]>;
14545
+ /**
14546
+ * Prefer `Promise.try()` over promise-wrapping boilerplate.
14547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-promise-try.md
14548
+ */
14549
+ "unicorn/prefer-promise-try"?: Linter.RuleEntry<[]>;
14505
14550
  /**
14506
14551
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
14507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-promise-with-resolvers.md
14552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-promise-with-resolvers.md
14508
14553
  */
14509
14554
  "unicorn/prefer-promise-with-resolvers"?: Linter.RuleEntry<[]>;
14510
14555
  /**
14511
14556
  * Prefer borrowing methods from the prototype instead of the instance.
14512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-prototype-methods.md
14557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-prototype-methods.md
14513
14558
  */
14514
14559
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
14515
14560
  /**
14516
14561
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
14517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-query-selector.md
14562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-query-selector.md
14518
14563
  */
14519
14564
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<UnicornPreferQuerySelector>;
14520
14565
  /**
14521
14566
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
14522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-queue-microtask.md
14567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-queue-microtask.md
14523
14568
  */
14524
14569
  "unicorn/prefer-queue-microtask"?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
14525
14570
  /**
14526
14571
  * Prefer `Reflect.apply()` over `Function#apply()`.
14527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-reflect-apply.md
14572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-reflect-apply.md
14528
14573
  */
14529
14574
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
14530
14575
  /**
14531
14576
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
14532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-regexp-escape.md
14577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-regexp-escape.md
14533
14578
  */
14534
14579
  "unicorn/prefer-regexp-escape"?: Linter.RuleEntry<[]>;
14535
14580
  /**
14536
14581
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
14537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-regexp-test.md
14582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-regexp-test.md
14538
14583
  */
14539
14584
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
14540
14585
  /**
14541
14586
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
14542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-response-static-json.md
14587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-response-static-json.md
14543
14588
  */
14544
14589
  "unicorn/prefer-response-static-json"?: Linter.RuleEntry<[]>;
14545
14590
  /**
14546
14591
  * Prefer `:scope` when using element query selector methods.
14547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-scoped-selector.md
14592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-scoped-selector.md
14548
14593
  */
14549
14594
  "unicorn/prefer-scoped-selector"?: Linter.RuleEntry<[]>;
14550
14595
  /**
14551
14596
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
14552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-set-has.md
14597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-has.md
14553
14598
  */
14554
14599
  "unicorn/prefer-set-has"?: Linter.RuleEntry<UnicornPreferSetHas>;
14600
+ /**
14601
+ * Prefer `Set` methods for Set operations.
14602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-methods.md
14603
+ */
14604
+ "unicorn/prefer-set-methods"?: Linter.RuleEntry<[]>;
14555
14605
  /**
14556
14606
  * Prefer using `Set#size` instead of `Array#length`.
14557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-set-size.md
14607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-size.md
14558
14608
  */
14559
14609
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
14560
14610
  /**
14561
14611
  * Prefer arrow function properties over methods with a single return.
14562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-short-arrow-method.md
14612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-short-arrow-method.md
14563
14613
  */
14564
14614
  "unicorn/prefer-short-arrow-method"?: Linter.RuleEntry<[]>;
14565
14615
  /**
14566
14616
  * Prefer simple conditions first in logical expressions.
14567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-simple-condition-first.md
14617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-simple-condition-first.md
14568
14618
  */
14569
14619
  "unicorn/prefer-simple-condition-first"?: Linter.RuleEntry<[]>;
14570
14620
  /**
14571
14621
  * Prefer a simple comparison function for `Array#sort()`.
14572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-simple-sort-comparator.md
14622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-simple-sort-comparator.md
14573
14623
  */
14574
14624
  "unicorn/prefer-simple-sort-comparator"?: Linter.RuleEntry<[]>;
14575
14625
  /**
14576
14626
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
14577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-array-predicate.md
14627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-array-predicate.md
14578
14628
  */
14579
14629
  "unicorn/prefer-single-array-predicate"?: Linter.RuleEntry<[]>;
14580
14630
  /**
14581
14631
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
14582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-call.md
14632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-call.md
14583
14633
  */
14584
14634
  "unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
14585
14635
  /**
14586
14636
  * Prefer a single object destructuring declaration per local const source.
14587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-object-destructuring.md
14637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-object-destructuring.md
14588
14638
  */
14589
14639
  "unicorn/prefer-single-object-destructuring"?: Linter.RuleEntry<[]>;
14590
14640
  /**
14591
14641
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
14592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-replace.md
14642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-replace.md
14593
14643
  */
14594
14644
  "unicorn/prefer-single-replace"?: Linter.RuleEntry<[]>;
14595
14645
  /**
14596
14646
  * Prefer declaring variables in the smallest possible scope.
14597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-smaller-scope.md
14647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-smaller-scope.md
14598
14648
  */
14599
14649
  "unicorn/prefer-smaller-scope"?: Linter.RuleEntry<[]>;
14600
14650
  /**
14601
14651
  * Prefer `String#split()` with a limit.
14602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-split-limit.md
14652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-split-limit.md
14603
14653
  */
14604
14654
  "unicorn/prefer-split-limit"?: Linter.RuleEntry<[]>;
14605
14655
  /**
14606
14656
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
14607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-spread.md
14657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-spread.md
14608
14658
  */
14609
14659
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
14610
14660
  /**
14611
14661
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
14612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-match-all.md
14662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-match-all.md
14613
14663
  */
14614
14664
  "unicorn/prefer-string-match-all"?: Linter.RuleEntry<[]>;
14615
14665
  /**
14616
14666
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
14617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-pad-start-end.md
14667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-pad-start-end.md
14618
14668
  */
14619
14669
  "unicorn/prefer-string-pad-start-end"?: Linter.RuleEntry<[]>;
14620
14670
  /**
14621
14671
  * Prefer using the `String.raw` tag to avoid escaping `\`.
14622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-raw.md
14672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-raw.md
14623
14673
  */
14624
14674
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
14625
14675
  /**
14626
14676
  * Prefer `String#repeat()` for repeated whitespace.
14627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-repeat.md
14677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-repeat.md
14628
14678
  */
14629
14679
  "unicorn/prefer-string-repeat"?: Linter.RuleEntry<UnicornPreferStringRepeat>;
14630
14680
  /**
14631
14681
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
14632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-replace-all.md
14682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-replace-all.md
14633
14683
  */
14634
14684
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
14635
14685
  /**
14636
14686
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
14637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-slice.md
14687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-slice.md
14638
14688
  */
14639
14689
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
14640
14690
  /**
14641
14691
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
14642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-starts-ends-with.md
14692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-starts-ends-with.md
14643
14693
  */
14644
14694
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
14645
14695
  /**
14646
14696
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
14647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-trim-start-end.md
14697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-trim-start-end.md
14648
14698
  */
14649
14699
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
14650
14700
  /**
14651
14701
  * Prefer using `structuredClone` to create a deep clone.
14652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-structured-clone.md
14702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-structured-clone.md
14653
14703
  */
14654
14704
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
14655
14705
  /**
14656
14706
  * Prefer `switch` over multiple `else-if`.
14657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-switch.md
14707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-switch.md
14658
14708
  */
14659
14709
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
14660
14710
  /**
14661
14711
  * Prefer `Temporal` over `Date`.
14662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-temporal.md
14712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-temporal.md
14663
14713
  */
14664
14714
  "unicorn/prefer-temporal"?: Linter.RuleEntry<UnicornPreferTemporal>;
14665
14715
  /**
14666
14716
  * Prefer ternary expressions over simple `if` statements that return or assign values.
14667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-ternary.md
14717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-ternary.md
14668
14718
  */
14669
14719
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
14720
+ /**
14721
+ * Prefer using `Element#toggleAttribute()` to toggle attributes.
14722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-toggle-attribute.md
14723
+ */
14724
+ "unicorn/prefer-toggle-attribute"?: Linter.RuleEntry<[]>;
14670
14725
  /**
14671
14726
  * Prefer top-level await over top-level promises and async function calls.
14672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-top-level-await.md
14727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-top-level-await.md
14673
14728
  */
14674
14729
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
14675
14730
  /**
14676
14731
  * Enforce throwing `TypeError` in type checking conditions.
14677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-type-error.md
14732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-type-error.md
14678
14733
  */
14679
14734
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
14680
14735
  /**
14681
14736
  * Require type literals to be last in union types.
14682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-type-literal-last.md
14737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-type-literal-last.md
14683
14738
  */
14684
14739
  "unicorn/prefer-type-literal-last"?: Linter.RuleEntry<[]>;
14685
14740
  /**
14686
14741
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
14687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-uint8array-base64.md
14742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-uint8array-base64.md
14688
14743
  */
14689
14744
  "unicorn/prefer-uint8array-base64"?: Linter.RuleEntry<[]>;
14690
14745
  /**
14691
14746
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
14692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-unary-minus.md
14747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-unary-minus.md
14693
14748
  */
14694
14749
  "unicorn/prefer-unary-minus"?: Linter.RuleEntry<[]>;
14695
14750
  /**
14696
14751
  * Prefer Unicode code point escapes over legacy escape sequences.
14697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-unicode-code-point-escapes.md
14752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-unicode-code-point-escapes.md
14698
14753
  */
14699
14754
  "unicorn/prefer-unicode-code-point-escapes"?: Linter.RuleEntry<[]>;
14700
14755
  /**
14701
14756
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
14702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-url-can-parse.md
14757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-can-parse.md
14703
14758
  */
14704
14759
  "unicorn/prefer-url-can-parse"?: Linter.RuleEntry<[]>;
14705
14760
  /**
14706
14761
  * Prefer `URL#href` over stringifying a `URL`.
14707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-url-href.md
14762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-href.md
14708
14763
  */
14709
14764
  "unicorn/prefer-url-href"?: Linter.RuleEntry<[]>;
14765
+ /**
14766
+ * Prefer `URLSearchParams` over manually splitting query strings.
14767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-search-parameters.md
14768
+ */
14769
+ "unicorn/prefer-url-search-parameters"?: Linter.RuleEntry<[]>;
14710
14770
  /**
14711
14771
  * Prefer putting the condition in the while statement.
14712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-while-loop-condition.md
14772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-while-loop-condition.md
14713
14773
  */
14714
14774
  "unicorn/prefer-while-loop-condition"?: Linter.RuleEntry<[]>;
14715
14775
  /**
14716
14776
  * Renamed to `unicorn/name-replacements`.
14717
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
14777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
14718
14778
  * @deprecated
14719
14779
  */
14720
14780
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<[]>;
14721
14781
  /**
14722
14782
  * Enforce consistent relative URL style.
14723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/relative-url-style.md
14783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/relative-url-style.md
14724
14784
  */
14725
14785
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
14726
14786
  /**
14727
14787
  * Enforce using the separator argument with `Array#join()`.
14728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-array-join-separator.md
14788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-array-join-separator.md
14729
14789
  */
14730
14790
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
14731
14791
  /**
14732
14792
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
14733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-array-sort-compare.md
14793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-array-sort-compare.md
14734
14794
  */
14735
14795
  "unicorn/require-array-sort-compare"?: Linter.RuleEntry<[]>;
14736
14796
  /**
14737
14797
  * Require `CSS.escape()` for interpolated values in CSS selectors.
14738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-css-escape.md
14798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-css-escape.md
14739
14799
  */
14740
14800
  "unicorn/require-css-escape"?: Linter.RuleEntry<UnicornRequireCssEscape>;
14741
14801
  /**
14742
14802
  * Require non-empty module attributes for imports and exports
14743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-module-attributes.md
14803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-module-attributes.md
14744
14804
  */
14745
14805
  "unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
14746
14806
  /**
14747
14807
  * Require non-empty specifier list in import and export statements.
14748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-module-specifiers.md
14808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-module-specifiers.md
14749
14809
  */
14750
14810
  "unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
14751
14811
  /**
14752
14812
  * Enforce using the digits argument with `Number#toFixed()`.
14753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-number-to-fixed-digits-argument.md
14813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-number-to-fixed-digits-argument.md
14754
14814
  */
14755
14815
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
14756
14816
  /**
14757
14817
  * Require passive event listeners for high-frequency events.
14758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-passive-events.md
14818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-passive-events.md
14759
14819
  */
14760
14820
  "unicorn/require-passive-events"?: Linter.RuleEntry<[]>;
14761
14821
  /**
14762
14822
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
14763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-post-message-target-origin.md
14823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-post-message-target-origin.md
14764
14824
  */
14765
14825
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
14766
14826
  /**
14767
14827
  * Require boolean-returning Proxy traps to return booleans.
14768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-proxy-trap-boolean-return.md
14828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-proxy-trap-boolean-return.md
14769
14829
  */
14770
14830
  "unicorn/require-proxy-trap-boolean-return"?: Linter.RuleEntry<[]>;
14771
14831
  /**
14772
14832
  * Enforce better string content.
14773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/string-content.md
14833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/string-content.md
14774
14834
  */
14775
14835
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
14776
14836
  /**
14777
14837
  * Enforce consistent brace style for `case` clauses.
14778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/switch-case-braces.md
14838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/switch-case-braces.md
14779
14839
  */
14780
14840
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
14781
14841
  /**
14782
14842
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
14783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/switch-case-break-position.md
14843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/switch-case-break-position.md
14784
14844
  */
14785
14845
  "unicorn/switch-case-break-position"?: Linter.RuleEntry<[]>;
14786
14846
  /**
14787
14847
  * Fix whitespace-insensitive template indentation.
14788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/template-indent.md
14848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/template-indent.md
14789
14849
  */
14790
14850
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
14791
14851
  /**
14792
14852
  * Enforce consistent case for text encoding identifiers.
14793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/text-encoding-identifier-case.md
14853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/text-encoding-identifier-case.md
14794
14854
  */
14795
14855
  "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
14796
14856
  /**
14797
14857
  * Require `new` when creating an error.
14798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/throw-new-error.md
14858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/throw-new-error.md
14799
14859
  */
14800
14860
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
14801
14861
  /**
14802
14862
  * Limit the complexity of `try` blocks.
14803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/try-complexity.md
14863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/try-complexity.md
14804
14864
  */
14805
14865
  "unicorn/try-complexity"?: Linter.RuleEntry<UnicornTryComplexity>;
14806
14866
  }
@@ -14829,6 +14889,7 @@ type UnicornConsistentBooleanName = [] | [{
14829
14889
  prefixes?: {
14830
14890
  [k: string]: boolean | undefined;
14831
14891
  };
14892
+ ignore?: unknown[];
14832
14893
  }]; // ----- unicorn/consistent-class-member-order -----
14833
14894
  type UnicornConsistentClassMemberOrder = [] | [{
14834
14895
  order?: [("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method")];
@@ -15071,6 +15132,7 @@ type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
15071
15132
  minimumComparisons?: number;
15072
15133
  }]; // ----- unicorn/prefer-minimal-ternary -----
15073
15134
  type UnicornPreferMinimalTernary = [] | [{
15135
+ checkVaryingCallee?: boolean;
15074
15136
  checkComputedMemberAccess?: boolean;
15075
15137
  }]; // ----- unicorn/prefer-number-properties -----
15076
15138
  type UnicornPreferNumberProperties = [] | [{
@@ -16137,6 +16199,10 @@ type OptionsConfig = OptionsComponentExts & OptionsTypeScriptParserOptions & {
16137
16199
  * Enable debug mode.
16138
16200
  */
16139
16201
  debug?: boolean;
16202
+ /**
16203
+ * Enable warnings. (default: true)
16204
+ */
16205
+ warnings?: boolean;
16140
16206
  /**
16141
16207
  * Enable reporting of unused disable directives.
16142
16208
  * @default true
@@ -16285,7 +16351,7 @@ type OptionsConfig = OptionsComponentExts & OptionsTypeScriptParserOptions & {
16285
16351
  yaml?: Config["rules"];
16286
16352
  };
16287
16353
  };
16288
- type RenamePefix<T extends Record<string, unknown>, FromPref extends string, ToPref extends string> = { [K in keyof T as K extends `${FromPref}${infer Rest}` ? `${ToPref}${Rest}` : K]: T[K] };
16354
+ type RenamePrefix<T extends Record<string, unknown>, FromPref extends string, ToPref extends string> = { [K in keyof T as K extends `${FromPref}${infer Rest}` ? `${ToPref}${Rest}` : K]: T[K] };
16289
16355
  //#endregion
16290
16356
  //#region src/const.d.ts
16291
16357
  declare const SLOW_RULES: RuleName[];
@@ -16725,10 +16791,10 @@ declare const parserPlain: {
16725
16791
  };
16726
16792
  };
16727
16793
  };
16728
- declare function turnOffRules(configs: Config[], off: string[]): Config[];
16794
+ declare function turnOffRules(configs: Config[], off: string[], debug?: boolean): Config[];
16729
16795
  declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, level: Linter.RuleSeverity): Linter.RuleEntry<any>;
16730
16796
  declare function error2warn<T extends Config>(configs: T[]): T[];
16731
16797
  declare function warn2error<T extends Config>(configs: T[]): T[];
16732
- declare function replaceTypescriptEslintPrefix<T>(items: Record<string, T>, tsPrefix: string): void;
16798
+ declare function replaceTypescriptEslintPrefixInplace<T>(items: Record<string, T>, tsPrefix: string): void;
16733
16799
  //#endregion
16734
- export { type Awaitable, type Config, type EslintConfigFn, type JavascriptRuleOptions, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type RenamePefix, type RuleName, type RulesRecord, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItemWithId, type TypescriptConfigRules, type UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defaultOptions, defineConfig, error2warn, globs_d_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, interopDefault, isCI, isInEditor, jsseReact, normalizeOptions, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginRegexp, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, replaceTypescriptEslintPrefix, scopeTypeScriptRules, turnOffRules, uniqueStrings, warn2error };
16800
+ export { type Awaitable, type Config, type EslintConfigFn, type JavascriptRuleOptions, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type RenamePrefix, type RuleName, type RulesRecord, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItemWithId, type TypescriptConfigRules, type UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defaultOptions, defineConfig, error2warn, globs_d_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, interopDefault, isCI, isInEditor, jsseReact, normalizeOptions, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginRegexp, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, replaceTypescriptEslintPrefixInplace, scopeTypeScriptRules, turnOffRules, uniqueStrings, warn2error };