@anolilab/eslint-config 16.2.21 → 16.2.22

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.mts CHANGED
@@ -2593,7 +2593,7 @@ interface RuleOptions {
2593
2593
  * Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row
2594
2594
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md
2595
2595
  */
2596
- 'markdown/table-column-count'?: Linter.RuleEntry<[]>
2596
+ 'markdown/table-column-count'?: Linter.RuleEntry<MarkdownTableColumnCount>
2597
2597
  /**
2598
2598
  * require `return` statements after callbacks
2599
2599
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
@@ -6383,670 +6383,690 @@ interface RuleOptions {
6383
6383
  'tsdoc/syntax'?: Linter.RuleEntry<[]>
6384
6384
  /**
6385
6385
  * Improve regexes by making them shorter, consistent, and safer.
6386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
6386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/better-regex.md
6387
6387
  */
6388
6388
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
6389
6389
  /**
6390
6390
  * Enforce a specific parameter name in catch clauses.
6391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
6391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/catch-error-name.md
6392
6392
  */
6393
6393
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
6394
6394
  /**
6395
6395
  * Enforce consistent assertion style with `node:assert`.
6396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
6396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-assert.md
6397
6397
  */
6398
6398
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
6399
6399
  /**
6400
6400
  * Prefer passing `Date` directly to the constructor when cloning.
6401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
6401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-date-clone.md
6402
6402
  */
6403
6403
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
6404
6404
  /**
6405
6405
  * Use destructured variables over properties.
6406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
6406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-destructuring.md
6407
6407
  */
6408
6408
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
6409
6409
  /**
6410
6410
  * Prefer consistent types when spreading a ternary in an array literal.
6411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
6411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-empty-array-spread.md
6412
6412
  */
6413
6413
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
6414
6414
  /**
6415
6415
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
6416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-existence-index-check.md
6417
6417
  */
6418
6418
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
6419
6419
  /**
6420
6420
  * Move function definitions to the highest possible scope.
6421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
6421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-function-scoping.md
6422
6422
  */
6423
6423
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
6424
6424
  /**
6425
6425
  * Enforce correct `Error` subclassing.
6426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
6426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/custom-error-definition.md
6427
6427
  */
6428
6428
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
6429
6429
  /**
6430
6430
  * Enforce no spaces between braces.
6431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
6431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/empty-brace-spaces.md
6432
6432
  */
6433
6433
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
6434
6434
  /**
6435
6435
  * Enforce passing a `message` value when creating a built-in error.
6436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
6436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/error-message.md
6437
6437
  */
6438
6438
  'unicorn/error-message'?: Linter.RuleEntry<[]>
6439
6439
  /**
6440
6440
  * Require escape sequences to use uppercase or lowercase values.
6441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
6441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/escape-case.md
6442
6442
  */
6443
6443
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
6444
6444
  /**
6445
6445
  * Add expiration conditions to TODO comments.
6446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
6446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/expiring-todo-comments.md
6447
6447
  */
6448
6448
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
6449
6449
  /**
6450
6450
  * Enforce explicitly comparing the `length` or `size` property of a value.
6451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
6451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/explicit-length-check.md
6452
6452
  */
6453
6453
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
6454
6454
  /**
6455
6455
  * Enforce a case style for filenames.
6456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
6456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/filename-case.md
6457
6457
  */
6458
6458
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
6459
6459
  /**
6460
6460
  * Enforce specific import styles per module.
6461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
6461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/import-style.md
6462
6462
  */
6463
6463
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
6464
6464
  /**
6465
6465
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
6466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
6466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/new-for-builtins.md
6467
6467
  */
6468
6468
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
6469
6469
  /**
6470
6470
  * Enforce specifying rules to disable in `eslint-disable` comments.
6471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
6471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-abusive-eslint-disable.md
6472
6472
  */
6473
6473
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
6474
6474
  /**
6475
6475
  * Disallow recursive access to `this` within getters and setters.
6476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
6476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-accessor-recursion.md
6477
6477
  */
6478
6478
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
6479
6479
  /**
6480
6480
  * Disallow anonymous functions and classes as the default export.
6481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
6481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-anonymous-default-export.md
6482
6482
  */
6483
6483
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
6484
6484
  /**
6485
6485
  * Prevent passing a function reference directly to iterator methods.
6486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
6486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-callback-reference.md
6487
6487
  */
6488
6488
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
6489
6489
  /**
6490
6490
  * Prefer `for…of` over the `forEach` method.
6491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
6491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-for-each.md
6492
6492
  */
6493
6493
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
6494
6494
  /**
6495
6495
  * Disallow using the `this` argument in array methods.
6496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
6496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-method-this-argument.md
6497
6497
  */
6498
6498
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
6499
6499
  /**
6500
6500
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
6501
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-array-push-push
6502
6502
  * @deprecated
6503
6503
  */
6504
6504
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
6505
6505
  /**
6506
6506
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
6507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reduce.md
6508
6508
  */
6509
6509
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
6510
+ /**
6511
+ * Prefer `Array#toReversed()` over `Array#reverse()`.
6512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reverse.md
6513
+ */
6514
+ 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
6510
6515
  /**
6511
6516
  * Disallow member access from await expression.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
6517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-expression-member.md
6513
6518
  */
6514
6519
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
6515
6520
  /**
6516
6521
  * Disallow using `await` in `Promise` method parameters.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
6522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-in-promise-methods.md
6518
6523
  */
6519
6524
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
6520
6525
  /**
6521
6526
  * Do not use leading/trailing space between `console.log` parameters.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
6527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-console-spaces.md
6523
6528
  */
6524
6529
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
6525
6530
  /**
6526
6531
  * Do not use `document.cookie` directly.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
6532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-document-cookie.md
6528
6533
  */
6529
6534
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
6530
6535
  /**
6531
6536
  * Disallow empty files.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
6537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-empty-file.md
6533
6538
  */
6534
6539
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
6535
6540
  /**
6536
6541
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
6542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-for-loop.md
6538
6543
  */
6539
6544
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
6540
6545
  /**
6541
6546
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
6542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
6547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-hex-escape.md
6543
6548
  */
6544
6549
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
6545
6550
  /**
6546
6551
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
6552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-instanceof-array
6548
6553
  * @deprecated
6549
6554
  */
6550
6555
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
6551
6556
  /**
6552
6557
  * Disallow `instanceof` with built-in objects
6553
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
6558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-instanceof-builtins.md
6554
6559
  */
6555
6560
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
6556
6561
  /**
6557
6562
  * Disallow invalid options in `fetch()` and `new Request()`.
6558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
6563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-fetch-options.md
6559
6564
  */
6560
6565
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
6561
6566
  /**
6562
6567
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6563
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
6568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-remove-event-listener.md
6564
6569
  */
6565
6570
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
6566
6571
  /**
6567
6572
  * Disallow identifiers starting with `new` or `class`.
6568
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
6573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-keyword-prefix.md
6569
6574
  */
6570
6575
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
6571
6576
  /**
6572
6577
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
6578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-length-as-slice-end
6574
6579
  * @deprecated
6575
6580
  */
6576
6581
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
6577
6582
  /**
6578
6583
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
6584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-lonely-if.md
6580
6585
  */
6581
6586
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
6582
6587
  /**
6583
6588
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
6589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-magic-array-flat-depth.md
6585
6590
  */
6586
6591
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
6587
6592
  /**
6588
6593
  * Disallow named usage of default import and export.
6589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
6594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-named-default.md
6590
6595
  */
6591
6596
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
6592
6597
  /**
6593
6598
  * Disallow negated conditions.
6594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
6599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negated-condition.md
6595
6600
  */
6596
6601
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
6597
6602
  /**
6598
6603
  * Disallow negated expression in equality check.
6599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
6604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negation-in-equality-check.md
6600
6605
  */
6601
6606
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
6602
6607
  /**
6603
6608
  * Disallow nested ternary expressions.
6604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
6609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-nested-ternary.md
6605
6610
  */
6606
6611
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
6607
6612
  /**
6608
6613
  * Disallow `new Array()`.
6609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
6614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-array.md
6610
6615
  */
6611
6616
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
6612
6617
  /**
6613
6618
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
6619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-buffer.md
6615
6620
  */
6616
6621
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
6617
6622
  /**
6618
6623
  * Disallow the use of the `null` literal.
6619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
6624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-null.md
6620
6625
  */
6621
6626
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
6622
6627
  /**
6623
6628
  * Disallow the use of objects as default parameters.
6624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
6629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-object-as-default-parameter.md
6625
6630
  */
6626
6631
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
6627
6632
  /**
6628
6633
  * Disallow `process.exit()`.
6629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
6634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-process-exit.md
6630
6635
  */
6631
6636
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
6632
6637
  /**
6633
6638
  * Disallow passing single-element arrays to `Promise` methods.
6634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
6639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-single-promise-in-promise-methods.md
6635
6640
  */
6636
6641
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
6637
6642
  /**
6638
6643
  * Disallow classes that only have static members.
6639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
6644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-static-only-class.md
6640
6645
  */
6641
6646
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
6642
6647
  /**
6643
6648
  * Disallow `then` property.
6644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
6649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-thenable.md
6645
6650
  */
6646
6651
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
6647
6652
  /**
6648
6653
  * Disallow assigning `this` to a variable.
6649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
6654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-this-assignment.md
6650
6655
  */
6651
6656
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
6652
6657
  /**
6653
6658
  * Disallow comparing `undefined` using `typeof`.
6654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
6659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-typeof-undefined.md
6655
6660
  */
6656
6661
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
6657
6662
  /**
6658
6663
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
6664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6660
6665
  */
6661
6666
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
6662
6667
  /**
6663
6668
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
6669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-splice-count.md
6665
6670
  */
6666
6671
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
6667
6672
  /**
6668
6673
  * Disallow awaiting non-promise values.
6669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
6674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-await.md
6670
6675
  */
6671
6676
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
6672
6677
  /**
6673
6678
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
6679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-polyfills.md
6675
6680
  */
6676
6681
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
6677
6682
  /**
6678
6683
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
6684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-slice-end.md
6680
6685
  */
6681
6686
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
6682
6687
  /**
6683
6688
  * Disallow unreadable array destructuring.
6684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
6689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-array-destructuring.md
6685
6690
  */
6686
6691
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6687
6692
  /**
6688
6693
  * Disallow unreadable IIFEs.
6689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
6694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-iife.md
6690
6695
  */
6691
6696
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6692
6697
  /**
6693
6698
  * Disallow unused object properties.
6694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
6699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unused-properties.md
6695
6700
  */
6696
6701
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6702
+ /**
6703
+ * Disallow unnecessary `Error.captureStackTrace(…)`.
6704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6705
+ */
6706
+ 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
6697
6707
  /**
6698
6708
  * Disallow useless fallback when spreading in object literals.
6699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
6709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-fallback-in-spread.md
6700
6710
  */
6701
6711
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6702
6712
  /**
6703
6713
  * Disallow useless array length check.
6704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
6714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-length-check.md
6705
6715
  */
6706
6716
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6707
6717
  /**
6708
6718
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
6719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-promise-resolve-reject.md
6710
6720
  */
6711
6721
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6712
6722
  /**
6713
6723
  * Disallow unnecessary spread.
6714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
6724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-spread.md
6715
6725
  */
6716
6726
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6717
6727
  /**
6718
6728
  * Disallow useless case in switch statements.
6719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
6729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-switch-case.md
6720
6730
  */
6721
6731
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6722
6732
  /**
6723
6733
  * Disallow useless `undefined`.
6724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
6734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-undefined.md
6725
6735
  */
6726
6736
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6727
6737
  /**
6728
6738
  * Disallow number literals with zero fractions or dangling dots.
6729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
6739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-zero-fractions.md
6730
6740
  */
6731
6741
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6732
6742
  /**
6733
6743
  * Enforce proper case for numeric literals.
6734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
6744
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/number-literal-case.md
6735
6745
  */
6736
6746
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
6737
6747
  /**
6738
6748
  * Enforce the style of numeric separators by correctly grouping digits.
6739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
6749
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/numeric-separators-style.md
6740
6750
  */
6741
6751
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6742
6752
  /**
6743
6753
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
6754
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-add-event-listener.md
6745
6755
  */
6746
6756
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6747
6757
  /**
6748
6758
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
6759
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-find.md
6750
6760
  */
6751
6761
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6752
6762
  /**
6753
6763
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
6764
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat.md
6755
6765
  */
6756
6766
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6757
6767
  /**
6758
6768
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
6769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat-map.md
6760
6770
  */
6761
6771
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6762
6772
  /**
6763
6773
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
6774
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-index-of.md
6765
6775
  */
6766
6776
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6767
6777
  /**
6768
6778
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
6779
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-some.md
6770
6780
  */
6771
6781
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6772
6782
  /**
6773
6783
  * Prefer `.at()` method for index access and `String#charAt()`.
6774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
6784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-at.md
6775
6785
  */
6776
6786
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6777
6787
  /**
6778
6788
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
6789
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-blob-reading-methods.md
6780
6790
  */
6781
6791
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6792
+ /**
6793
+ * Prefer class field declarations over `this` assignments in constructors.
6794
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-class-fields.md
6795
+ */
6796
+ 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
6782
6797
  /**
6783
6798
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
6799
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-code-point.md
6785
6800
  */
6786
6801
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6787
6802
  /**
6788
6803
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
6804
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-date-now.md
6790
6805
  */
6791
6806
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6792
6807
  /**
6793
6808
  * Prefer default parameters over reassignment.
6794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
6809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-default-parameters.md
6795
6810
  */
6796
6811
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6797
6812
  /**
6798
6813
  * Prefer `Node#append()` over `Node#appendChild()`.
6799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
6814
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-append.md
6800
6815
  */
6801
6816
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6802
6817
  /**
6803
6818
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
6819
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-dataset.md
6805
6820
  */
6806
6821
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6807
6822
  /**
6808
6823
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
6824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-remove.md
6810
6825
  */
6811
6826
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6812
6827
  /**
6813
6828
  * Prefer `.textContent` over `.innerText`.
6814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
6829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-text-content.md
6815
6830
  */
6816
6831
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6817
6832
  /**
6818
6833
  * Prefer `EventTarget` over `EventEmitter`.
6819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
6834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-event-target.md
6820
6835
  */
6821
6836
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6822
6837
  /**
6823
6838
  * Prefer `export…from` when re-exporting.
6824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
6839
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-export-from.md
6825
6840
  */
6826
6841
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6827
6842
  /**
6828
6843
  * Prefer `globalThis` over `window`, `self`, and `global`.
6829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
6844
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-global-this.md
6830
6845
  */
6831
6846
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
6832
6847
  /**
6833
6848
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
6834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
6849
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-import-meta-properties.md
6835
6850
  */
6836
6851
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
6837
6852
  /**
6838
6853
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
6854
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-includes.md
6840
6855
  */
6841
6856
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6842
6857
  /**
6843
6858
  * Prefer reading a JSON file as a buffer.
6844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
6859
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-json-parse-buffer.md
6845
6860
  */
6846
6861
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6847
6862
  /**
6848
6863
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
6864
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-keyboard-event-key.md
6850
6865
  */
6851
6866
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6852
6867
  /**
6853
6868
  * Prefer using a logical operator over a ternary.
6854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
6869
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6855
6870
  */
6856
6871
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6857
6872
  /**
6858
6873
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
6874
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-min-max.md
6860
6875
  */
6861
6876
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
6862
6877
  /**
6863
6878
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
6879
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-trunc.md
6865
6880
  */
6866
6881
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6867
6882
  /**
6868
6883
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
6884
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-dom-apis.md
6870
6885
  */
6871
6886
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6872
6887
  /**
6873
6888
  * Prefer modern `Math` APIs over legacy patterns.
6874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
6889
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-math-apis.md
6875
6890
  */
6876
6891
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6877
6892
  /**
6878
6893
  * Prefer JavaScript modules (ESM) over CommonJS.
6879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
6894
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-module.md
6880
6895
  */
6881
6896
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6882
6897
  /**
6883
6898
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
6899
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-native-coercion-functions.md
6885
6900
  */
6886
6901
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6887
6902
  /**
6888
6903
  * Prefer negative index over `.length - index` when possible.
6889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
6904
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-negative-index.md
6890
6905
  */
6891
6906
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6892
6907
  /**
6893
6908
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
6909
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-node-protocol.md
6895
6910
  */
6896
6911
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6897
6912
  /**
6898
6913
  * Prefer `Number` static properties over global ones.
6899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
6914
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-number-properties.md
6900
6915
  */
6901
6916
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6902
6917
  /**
6903
6918
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
6919
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-object-from-entries.md
6905
6920
  */
6906
6921
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6907
6922
  /**
6908
6923
  * Prefer omitting the `catch` binding parameter.
6909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
6924
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-optional-catch-binding.md
6910
6925
  */
6911
6926
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6912
6927
  /**
6913
6928
  * Prefer borrowing methods from the prototype instead of the instance.
6914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
6929
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-prototype-methods.md
6915
6930
  */
6916
6931
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6917
6932
  /**
6918
6933
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
6934
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-query-selector.md
6920
6935
  */
6921
6936
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6922
6937
  /**
6923
6938
  * Prefer `Reflect.apply()` over `Function#apply()`.
6924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
6939
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-reflect-apply.md
6925
6940
  */
6926
6941
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6927
6942
  /**
6928
6943
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
6944
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-regexp-test.md
6930
6945
  */
6931
6946
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6932
6947
  /**
6933
6948
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
6949
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-has.md
6935
6950
  */
6936
6951
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6937
6952
  /**
6938
6953
  * Prefer using `Set#size` instead of `Array#length`.
6939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
6954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-size.md
6940
6955
  */
6941
6956
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6942
6957
  /**
6943
6958
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
6944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
6959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-single-call.md
6945
6960
  */
6946
6961
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
6947
6962
  /**
6948
6963
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
6964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-spread.md
6950
6965
  */
6951
6966
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6952
6967
  /**
6953
6968
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
6969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-raw.md
6955
6970
  */
6956
6971
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6957
6972
  /**
6958
6973
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
6974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-replace-all.md
6960
6975
  */
6961
6976
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6962
6977
  /**
6963
6978
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
6979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-slice.md
6965
6980
  */
6966
6981
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6967
6982
  /**
6968
6983
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
6984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-starts-ends-with.md
6970
6985
  */
6971
6986
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6972
6987
  /**
6973
6988
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
6989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-trim-start-end.md
6975
6990
  */
6976
6991
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6977
6992
  /**
6978
6993
  * Prefer using `structuredClone` to create a deep clone.
6979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
6994
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-structured-clone.md
6980
6995
  */
6981
6996
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6982
6997
  /**
6983
6998
  * Prefer `switch` over multiple `else-if`.
6984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
6999
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-switch.md
6985
7000
  */
6986
7001
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6987
7002
  /**
6988
7003
  * Prefer ternary expressions over simple `if-else` statements.
6989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
7004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-ternary.md
6990
7005
  */
6991
7006
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6992
7007
  /**
6993
7008
  * Prefer top-level await over top-level promises and async function calls.
6994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
7009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-top-level-await.md
6995
7010
  */
6996
7011
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6997
7012
  /**
6998
7013
  * Enforce throwing `TypeError` in type checking conditions.
6999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
7014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-type-error.md
7000
7015
  */
7001
7016
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
7002
7017
  /**
7003
7018
  * Prevent abbreviations.
7004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
7019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prevent-abbreviations.md
7005
7020
  */
7006
7021
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
7007
7022
  /**
7008
7023
  * Enforce consistent relative URL style.
7009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
7024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/relative-url-style.md
7010
7025
  */
7011
7026
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
7012
7027
  /**
7013
7028
  * Enforce using the separator argument with `Array#join()`.
7014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
7029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-array-join-separator.md
7015
7030
  */
7016
7031
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
7032
+ /**
7033
+ * Require non-empty specifier list in import and export statements.
7034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-module-specifiers.md
7035
+ */
7036
+ 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
7017
7037
  /**
7018
7038
  * Enforce using the digits argument with `Number#toFixed()`.
7019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
7039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7020
7040
  */
7021
7041
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
7022
7042
  /**
7023
7043
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
7044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-post-message-target-origin.md
7025
7045
  */
7026
7046
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
7027
7047
  /**
7028
7048
  * Enforce better string content.
7029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
7049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/string-content.md
7030
7050
  */
7031
7051
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
7032
7052
  /**
7033
7053
  * Enforce consistent brace style for `case` clauses.
7034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
7054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/switch-case-braces.md
7035
7055
  */
7036
7056
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
7037
7057
  /**
7038
7058
  * Fix whitespace-insensitive template indentation.
7039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
7059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/template-indent.md
7040
7060
  */
7041
7061
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
7042
7062
  /**
7043
7063
  * Enforce consistent case for text encoding identifiers.
7044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
7064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/text-encoding-identifier-case.md
7045
7065
  */
7046
7066
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
7047
7067
  /**
7048
7068
  * Require `new` when creating an error.
7049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
7069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/throw-new-error.md
7050
7070
  */
7051
7071
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
7052
7072
  /**
@@ -8711,11 +8731,12 @@ type StylisticPaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
8711
8731
  }]
8712
8732
  // ----- @stylistic/padding-line-between-statements -----
8713
8733
  type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
8714
- type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
8734
+ type _StylisticPaddingLineBetweenStatementsStatementOption = (_StylisticPaddingLineBetweenStatementsStatementType | [_StylisticPaddingLineBetweenStatementsStatementType, ...(_StylisticPaddingLineBetweenStatementsStatementType)[]])
8735
+ type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "return" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using")
8715
8736
  type StylisticPaddingLineBetweenStatements = {
8716
8737
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
8717
- prev: _StylisticPaddingLineBetweenStatementsStatementType
8718
- next: _StylisticPaddingLineBetweenStatementsStatementType
8738
+ prev: _StylisticPaddingLineBetweenStatementsStatementOption
8739
+ next: _StylisticPaddingLineBetweenStatementsStatementOption
8719
8740
  }[]
8720
8741
  // ----- @stylistic/quote-props -----
8721
8742
  type StylisticQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -9757,7 +9778,6 @@ type TypescriptEslintPreferDestructuring = []|[({
9757
9778
  enforceForDeclarationWithTypeAnnotation?: boolean
9758
9779
 
9759
9780
  enforceForRenamedProperties?: boolean
9760
- [k: string]: unknown | undefined
9761
9781
  }]
9762
9782
  // ----- @typescript-eslint/prefer-literal-enum-member -----
9763
9783
  type TypescriptEslintPreferLiteralEnumMember = []|[{
@@ -9786,7 +9806,6 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
9786
9806
  number?: boolean
9787
9807
 
9788
9808
  string?: boolean
9789
- [k: string]: unknown | undefined
9790
9809
  } | true)
9791
9810
 
9792
9811
  ignoreTernaryTests?: boolean
@@ -11512,6 +11531,10 @@ type MarkdownNoUnusedDefinitions = []|[{
11512
11531
  allowDefinitions?: string[]
11513
11532
  allowFootnoteDefinitions?: string[]
11514
11533
  }]
11534
+ // ----- markdown/table-column-count -----
11535
+ type MarkdownTableColumnCount = []|[{
11536
+ checkMissingCells?: boolean
11537
+ }]
11515
11538
  // ----- n/callback-return -----
11516
11539
  type NCallbackReturn = []|[string[]]
11517
11540
  // ----- n/exports-style -----
@@ -15887,6 +15910,10 @@ interface _UnicornImportStyle_BooleanObject {
15887
15910
  type UnicornNoArrayReduce = []|[{
15888
15911
  allowSimpleOperations?: boolean
15889
15912
  }]
15913
+ // ----- unicorn/no-array-reverse -----
15914
+ type UnicornNoArrayReverse = []|[{
15915
+ allowExpressionStatement?: boolean
15916
+ }]
15890
15917
  // ----- unicorn/no-instanceof-builtins -----
15891
15918
  type UnicornNoInstanceofBuiltins = []|[{
15892
15919
  useErrorIsError?: boolean