@ntnyq/eslint-config 7.0.0-beta.14 → 7.0.0-beta.15

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +449 -364
  2. package/package.json +17 -17
package/dist/index.d.mts CHANGED
@@ -6436,1715 +6436,1740 @@ interface RuleOptions {
6436
6436
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6437
6437
  /**
6438
6438
  * Prefer better DOM traversal APIs.
6439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/better-dom-traversing.md
6439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/better-dom-traversing.md
6440
6440
  */
6441
6441
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
6442
6442
  /**
6443
6443
  * Removed. Prefer `eslint-plugin-regexp`
6444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6445
6445
  * @deprecated
6446
6446
  */
6447
6447
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
6448
6448
  /**
6449
6449
  * Enforce a specific parameter name in catch clauses.
6450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/catch-error-name.md
6450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/catch-error-name.md
6451
6451
  */
6452
6452
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6453
6453
  /**
6454
6454
  * Enforce consistent class references in static methods.
6455
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/class-reference-in-static-methods.md
6455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/class-reference-in-static-methods.md
6456
6456
  */
6457
6457
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
6458
6458
  /**
6459
6459
  * Enforce better comment content.
6460
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/comment-content.md
6460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/comment-content.md
6461
6461
  */
6462
6462
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
6463
+ /**
6464
+ * Enforce a consistent return style for multiline arrow function bodies.
6465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-arrow-return-style.md
6466
+ */
6467
+ 'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
6463
6468
  /**
6464
6469
  * Enforce consistent assertion style with `node:assert`.
6465
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-assert.md
6470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-assert.md
6466
6471
  */
6467
6472
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6468
6473
  /**
6469
6474
  * Enforce consistent naming for boolean names.
6470
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-boolean-name.md
6475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-boolean-name.md
6471
6476
  */
6472
6477
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
6473
6478
  /**
6474
6479
  * Enforce consistent class member order.
6475
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-class-member-order.md
6480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-class-member-order.md
6476
6481
  */
6477
6482
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
6478
6483
  /**
6479
6484
  * Enforce consistent spelling of compound words in identifiers.
6480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-compound-words.md
6485
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-compound-words.md
6481
6486
  */
6482
6487
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
6483
6488
  /**
6484
6489
  * Enforce consistent conditional object spread style.
6485
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-conditional-object-spread.md
6490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-conditional-object-spread.md
6486
6491
  */
6487
6492
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
6488
6493
  /**
6489
6494
  * Prefer passing `Date` directly to the constructor when cloning.
6490
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-date-clone.md
6495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-date-clone.md
6491
6496
  */
6492
6497
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6493
6498
  /**
6494
6499
  * Use destructured variables over properties.
6495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-destructuring.md
6500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-destructuring.md
6496
6501
  */
6497
6502
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6498
6503
  /**
6499
6504
  * Prefer consistent types when spreading a ternary in an array literal.
6500
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-empty-array-spread.md
6505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-empty-array-spread.md
6501
6506
  */
6502
6507
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6503
6508
  /**
6504
6509
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-existence-index-check.md
6510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-existence-index-check.md
6506
6511
  */
6507
6512
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6508
6513
  /**
6509
6514
  * Enforce consistent decorator position on exported classes.
6510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-export-decorator-position.md
6515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-export-decorator-position.md
6511
6516
  */
6512
6517
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
6513
6518
  /**
6514
6519
  * Move function definitions to the highest possible scope.
6515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-function-scoping.md
6520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-function-scoping.md
6516
6521
  */
6517
6522
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6518
6523
  /**
6519
6524
  * Enforce function syntax by role.
6520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-function-style.md
6525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-function-style.md
6521
6526
  */
6522
6527
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
6523
6528
  /**
6524
6529
  * Enforce consistent JSON file reads before `JSON.parse()`.
6525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-json-file-read.md
6530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-json-file-read.md
6526
6531
  */
6527
6532
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
6528
6533
  /**
6529
6534
  * Enforce consistent optional chaining for same-base member access.
6530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-optional-chaining.md
6535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-optional-chaining.md
6531
6536
  */
6532
6537
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
6533
6538
  /**
6534
6539
  * Enforce consistent style for escaping `${` in template literals.
6535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-template-literal-escape.md
6540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-template-literal-escape.md
6536
6541
  */
6537
6542
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6538
6543
  /**
6539
6544
  * Enforce consistent labels on tuple type elements.
6540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/consistent-tuple-labels.md
6545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-tuple-labels.md
6541
6546
  */
6542
6547
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6543
6548
  /**
6544
6549
  * Enforce correct `Error` subclassing.
6545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/custom-error-definition.md
6550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/custom-error-definition.md
6546
6551
  */
6547
6552
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6548
6553
  /**
6549
6554
  * Enforce consistent default export declarations.
6550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/default-export-style.md
6555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/default-export-style.md
6551
6556
  */
6552
6557
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6553
6558
  /**
6554
6559
  * Enforce consistent style for DOM element dataset access.
6555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/dom-node-dataset.md
6560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/dom-node-dataset.md
6556
6561
  */
6557
6562
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6558
6563
  /**
6559
6564
  * Enforce no spaces between braces.
6560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/empty-brace-spaces.md
6565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/empty-brace-spaces.md
6561
6566
  */
6562
6567
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6563
6568
  /**
6564
6569
  * Enforce passing a `message` value when creating a built-in error.
6565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/error-message.md
6570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/error-message.md
6566
6571
  */
6567
6572
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6568
6573
  /**
6569
6574
  * Require escape sequences to use uppercase or lowercase values.
6570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/escape-case.md
6575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/escape-case.md
6571
6576
  */
6572
6577
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6573
6578
  /**
6574
6579
  * Add expiration conditions to TODO comments.
6575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/expiring-todo-comments.md
6580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/expiring-todo-comments.md
6576
6581
  */
6577
6582
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6578
6583
  /**
6579
6584
  * Enforce explicitly comparing the `length` or `size` property of a value.
6580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/explicit-length-check.md
6585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/explicit-length-check.md
6581
6586
  */
6582
6587
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6583
6588
  /**
6584
6589
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
6585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/explicit-timer-delay.md
6590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/explicit-timer-delay.md
6586
6591
  */
6587
6592
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6588
6593
  /**
6589
6594
  * Enforce a case style for filenames and directory names.
6590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/filename-case.md
6595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/filename-case.md
6591
6596
  */
6592
6597
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6593
6598
  /**
6594
6599
  * Require identifiers to match a specified regular expression.
6595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/id-match.md
6600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/id-match.md
6596
6601
  */
6597
6602
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6598
6603
  /**
6599
6604
  * Enforce specific import styles per module.
6600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/import-style.md
6605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/import-style.md
6601
6606
  */
6602
6607
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6603
6608
  /**
6604
6609
  * Prevent usage of variables from outside the scope of isolated functions.
6605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/isolated-functions.md
6610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/isolated-functions.md
6606
6611
  */
6607
6612
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6613
+ /**
6614
+ * Enforce a consistent style for optional loop sources.
6615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/iteration-fallback-style.md
6616
+ */
6617
+ 'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
6608
6618
  /**
6609
6619
  * Require or disallow logical assignment operator shorthand
6610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/logical-assignment-operators.md
6620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/logical-assignment-operators.md
6611
6621
  */
6612
6622
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6613
6623
  /**
6614
6624
  * Limit the depth of nested calls.
6615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/max-nested-calls.md
6625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/max-nested-calls.md
6616
6626
  */
6617
6627
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6618
6628
  /**
6619
6629
  * Enforce replacements for variable, property, and filenames.
6620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/name-replacements.md
6630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/name-replacements.md
6621
6631
  */
6622
6632
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6623
6633
  /**
6624
6634
  * Enforce correct use of `new` for builtin constructors.
6625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/new-for-builtins.md
6635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/new-for-builtins.md
6626
6636
  */
6627
6637
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6628
6638
  /**
6629
6639
  * Enforce specifying rules to disable in `eslint-disable` comments.
6630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-abusive-eslint-disable.md
6640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-abusive-eslint-disable.md
6631
6641
  */
6632
6642
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6633
6643
  /**
6634
6644
  * Disallow recursive access to `this` within getters and setters.
6635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-accessor-recursion.md
6645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-accessor-recursion.md
6636
6646
  */
6637
6647
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6638
6648
  /**
6639
6649
  * Disallow bitwise operators where a logical operator was likely intended.
6640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-accidental-bitwise-operator.md
6650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-accidental-bitwise-operator.md
6641
6651
  */
6642
6652
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6643
6653
  /**
6644
6654
  * Disallow anonymous functions and classes as the default export.
6645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-anonymous-default-export.md
6655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-anonymous-default-export.md
6646
6656
  */
6647
6657
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6648
6658
  /**
6649
6659
  * Prevent passing a function reference directly to iterator methods.
6650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-callback-reference.md
6660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-callback-reference.md
6651
6661
  */
6652
6662
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6653
6663
  /**
6654
6664
  * Disallow array accumulation with `Array#concat()` in loops.
6655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-concat-in-loop.md
6665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-concat-in-loop.md
6656
6666
  */
6657
6667
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6658
6668
  /**
6659
6669
  * Disallow using reference values as `Array#fill()` values.
6660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-fill-with-reference-type.md
6670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-fill-with-reference-type.md
6661
6671
  */
6662
6672
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6663
6673
  /**
6664
6674
  * Disallow `.fill()` after `Array.from({length: …})`.
6665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-from-fill.md
6675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-from-fill.md
6666
6676
  */
6667
6677
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6668
6678
  /**
6669
6679
  * Disallow front-of-array mutation.
6670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-front-mutation.md
6680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-front-mutation.md
6671
6681
  */
6672
6682
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6673
6683
  /**
6674
6684
  * Disallow using the `this` argument in array methods.
6675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-method-this-argument.md
6685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-method-this-argument.md
6676
6686
  */
6677
6687
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6678
6688
  /**
6679
6689
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6681
6691
  * @deprecated
6682
6692
  */
6683
6693
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6684
6694
  /**
6685
6695
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-reduce.md
6696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-reduce.md
6687
6697
  */
6688
6698
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6689
6699
  /**
6690
6700
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-reverse.md
6701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-reverse.md
6692
6702
  */
6693
6703
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6694
6704
  /**
6695
6705
  * Prefer `Array#toSorted()` over `Array#sort()`.
6696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-sort.md
6706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-sort.md
6697
6707
  */
6698
6708
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6699
6709
  /**
6700
6710
  * Disallow sorting arrays to get the minimum or maximum value.
6701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-sort-for-min-max.md
6711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-sort-for-min-max.md
6702
6712
  */
6703
6713
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6704
6714
  /**
6705
6715
  * Prefer `Array#toSpliced()` over `Array#splice()`.
6706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-array-splice.md
6716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-splice.md
6707
6717
  */
6708
6718
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6709
6719
  /**
6710
6720
  * Disallow asterisk prefixes in documentation comments.
6711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6712
6722
  */
6713
6723
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
6714
6724
  /**
6715
6725
  * Disallow async functions as `Promise#finally()` callbacks.
6716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-async-promise-finally.md
6726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-async-promise-finally.md
6717
6727
  */
6718
6728
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
6719
6729
  /**
6720
6730
  * Disallow member access from await expression.
6721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-await-expression-member.md
6731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-await-expression-member.md
6722
6732
  */
6723
6733
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6724
6734
  /**
6725
6735
  * Disallow using `await` in `Promise` method parameters.
6726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-await-in-promise-methods.md
6736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-await-in-promise-methods.md
6727
6737
  */
6728
6738
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6739
+ /**
6740
+ * Disallow barrel files.
6741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-barrel-files.md
6742
+ */
6743
+ 'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
6729
6744
  /**
6730
6745
  * Disallow unnecessary `Blob` to `File` conversion.
6731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-blob-to-file.md
6746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-blob-to-file.md
6732
6747
  */
6733
6748
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6734
6749
  /**
6735
6750
  * Disallow boolean-returning sort comparators.
6736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-boolean-sort-comparator.md
6751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-boolean-sort-comparator.md
6737
6752
  */
6738
6753
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6739
6754
  /**
6740
6755
  * Disallow `break` and `continue` in nested loops and switches inside loops.
6741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-break-in-nested-loop.md
6756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-break-in-nested-loop.md
6742
6757
  */
6743
6758
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6744
6759
  /**
6745
6760
  * Prefer drawing canvases directly instead of converting them to images.
6746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-canvas-to-image.md
6761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-canvas-to-image.md
6747
6762
  */
6748
6763
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6749
6764
  /**
6750
6765
  * Disallow chained comparisons such as `a < b < c`.
6751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-chained-comparison.md
6766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-chained-comparison.md
6752
6767
  */
6753
6768
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6754
6769
  /**
6755
6770
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
6756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-collection-bracket-access.md
6771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-collection-bracket-access.md
6757
6772
  */
6758
6773
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6759
6774
  /**
6760
6775
  * Disallow dynamic object property existence checks.
6761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-computed-property-existence-check.md
6776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-computed-property-existence-check.md
6762
6777
  */
6763
6778
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6764
6779
  /**
6765
6780
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
6766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-confusing-array-splice.md
6781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-confusing-array-splice.md
6767
6782
  */
6768
6783
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6769
6784
  /**
6770
6785
  * Disallow confusing uses of `Array#with()`.
6771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-confusing-array-with.md
6786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-confusing-array-with.md
6772
6787
  */
6773
6788
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6774
6789
  /**
6775
6790
  * Do not use leading/trailing space between `console.log` parameters.
6776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-console-spaces.md
6791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-console-spaces.md
6777
6792
  */
6778
6793
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6779
6794
  /**
6780
6795
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
6781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-constant-zero-expression.md
6796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-constant-zero-expression.md
6782
6797
  */
6783
6798
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6784
6799
  /**
6785
6800
  * Disallow declarations before conditional early exits when they are only used after the exit.
6786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-declarations-before-early-exit.md
6801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-declarations-before-early-exit.md
6787
6802
  */
6788
6803
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6789
6804
  /**
6790
6805
  * Do not use `document.cookie` directly.
6791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-document-cookie.md
6806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-document-cookie.md
6792
6807
  */
6793
6808
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6794
6809
  /**
6795
6810
  * Disallow two comparisons of the same operands that can be combined into one.
6796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-double-comparison.md
6811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-double-comparison.md
6797
6812
  */
6798
6813
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6799
6814
  /**
6800
6815
  * Disallow duplicate adjacent branches in if chains.
6801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-duplicate-if-branches.md
6816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-if-branches.md
6802
6817
  */
6803
6818
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6804
6819
  /**
6805
6820
  * Disallow adjacent duplicate operands in logical expressions.
6806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-duplicate-logical-operands.md
6821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-logical-operands.md
6807
6822
  */
6808
6823
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6809
6824
  /**
6810
6825
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
6811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-duplicate-loops.md
6826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-loops.md
6812
6827
  */
6813
6828
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6814
6829
  /**
6815
6830
  * Disallow duplicate values in `Set` constructor array literals.
6816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-duplicate-set-values.md
6831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-set-values.md
6817
6832
  */
6818
6833
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6819
6834
  /**
6820
6835
  * Disallow empty files.
6821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-empty-file.md
6836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-empty-file.md
6822
6837
  */
6823
6838
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6824
6839
  /**
6825
6840
  * Disallow assigning to built-in error properties.
6826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-error-property-assignment.md
6841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-error-property-assignment.md
6827
6842
  */
6828
6843
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6829
6844
  /**
6830
6845
  * Disallow exports in scripts.
6831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-exports-in-scripts.md
6846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-exports-in-scripts.md
6832
6847
  */
6833
6848
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6834
6849
  /**
6835
6850
  * Prefer `for…of` over the `forEach` method.
6836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-for-each.md
6851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-for-each.md
6837
6852
  */
6838
6853
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6839
6854
  /**
6840
6855
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-for-loop.md
6856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-for-loop.md
6842
6857
  */
6843
6858
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6844
6859
  /**
6845
6860
  * Disallow assigning properties on the global object.
6846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-global-object-property-assignment.md
6861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-global-object-property-assignment.md
6847
6862
  */
6848
6863
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6849
6864
  /**
6850
6865
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
6851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6852
6867
  * @deprecated
6853
6868
  */
6854
6869
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6855
6870
  /**
6856
6871
  * Disallow immediate mutation after variable assignment.
6857
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-immediate-mutation.md
6872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-immediate-mutation.md
6858
6873
  */
6859
6874
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6860
6875
  /**
6861
6876
  * Disallow impossible comparisons against `.length` or `.size`.
6862
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-impossible-length-comparison.md
6877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-impossible-length-comparison.md
6863
6878
  */
6864
6879
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6865
6880
  /**
6866
6881
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
6867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-incorrect-query-selector.md
6882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-incorrect-query-selector.md
6868
6883
  */
6869
6884
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6870
6885
  /**
6871
6886
  * Disallow incorrect template literal interpolation syntax.
6872
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6873
6888
  */
6874
6889
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6875
6890
  /**
6876
6891
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6878
6893
  * @deprecated
6879
6894
  */
6880
6895
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6881
6896
  /**
6882
6897
  * Disallow `instanceof` with built-in objects
6883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-instanceof-builtins.md
6898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-instanceof-builtins.md
6884
6899
  */
6885
6900
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6886
6901
  /**
6887
6902
  * Disallow calling functions and constructors with an invalid number of arguments.
6888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-argument-count.md
6903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-argument-count.md
6889
6904
  */
6890
6905
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6891
6906
  /**
6892
6907
  * Disallow comparing a single character from a string to a multi-character string.
6893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-character-comparison.md
6908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-character-comparison.md
6894
6909
  */
6895
6910
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
6896
6911
  /**
6897
6912
  * Disallow invalid options in `fetch()` and `new Request()`.
6898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-fetch-options.md
6913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-fetch-options.md
6899
6914
  */
6900
6915
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6901
6916
  /**
6902
6917
  * Disallow invalid `accept` values on file inputs.
6903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-file-input-accept.md
6918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-file-input-accept.md
6904
6919
  */
6905
6920
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
6906
6921
  /**
6907
6922
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-remove-event-listener.md
6923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-remove-event-listener.md
6909
6924
  */
6910
6925
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6911
6926
  /**
6912
6927
  * Disallow invalid implementations of well-known symbol methods.
6913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6914
6929
  */
6915
6930
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
6916
6931
  /**
6917
6932
  * Disallow identifiers starting with `new` or `class`.
6918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-keyword-prefix.md
6933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-keyword-prefix.md
6919
6934
  */
6920
6935
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6921
6936
  /**
6922
6937
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
6923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-late-current-target-access.md
6938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-late-current-target-access.md
6924
6939
  */
6925
6940
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
6926
6941
  /**
6927
6942
  * Disallow event-control method calls after the synchronous event dispatch has finished.
6928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-late-event-control.md
6943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-late-event-control.md
6929
6944
  */
6930
6945
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
6931
6946
  /**
6932
6947
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6934
6949
  * @deprecated
6935
6950
  */
6936
6951
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6937
6952
  /**
6938
6953
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-lonely-if.md
6954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-lonely-if.md
6940
6955
  */
6941
6956
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6942
6957
  /**
6943
6958
  * Disallow mutating a loop iterable during iteration.
6944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-loop-iterable-mutation.md
6959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-loop-iterable-mutation.md
6945
6960
  */
6946
6961
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
6947
6962
  /**
6948
6963
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-magic-array-flat-depth.md
6964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-magic-array-flat-depth.md
6950
6965
  */
6951
6966
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6952
6967
  /**
6953
6968
  * Disallow manually wrapped comments.
6954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-manually-wrapped-comments.md
6969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-manually-wrapped-comments.md
6955
6970
  */
6956
6971
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
6957
6972
  /**
6958
6973
  * Disallow checking a Map key before accessing a different key.
6959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-mismatched-map-key.md
6974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-mismatched-map-key.md
6960
6975
  */
6961
6976
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
6962
6977
  /**
6963
6978
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
6964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-misrefactored-assignment.md
6979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-misrefactored-assignment.md
6965
6980
  */
6966
6981
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
6967
6982
  /**
6968
6983
  * Disallow references to missing local resources.
6969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-missing-local-resource.md
6984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-missing-local-resource.md
6970
6985
  */
6971
6986
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
6972
6987
  /**
6973
6988
  * Disallow calling Promise executor resolver functions more than once on the same execution path.
6974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-multiple-promise-resolver-calls.md
6989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-multiple-promise-resolver-calls.md
6975
6990
  */
6976
6991
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
6977
6992
  /**
6978
6993
  * Disallow named usage of default import and export.
6979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-named-default.md
6994
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-named-default.md
6980
6995
  */
6981
6996
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6982
6997
  /**
6983
6998
  * Disallow negated array predicate calls.
6984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-negated-array-predicate.md
6999
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-array-predicate.md
6985
7000
  */
6986
7001
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
6987
7002
  /**
6988
7003
  * Disallow negated comparisons.
6989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-negated-comparison.md
7004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-comparison.md
6990
7005
  */
6991
7006
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
6992
7007
  /**
6993
7008
  * Disallow negated conditions.
6994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-negated-condition.md
7009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-condition.md
6995
7010
  */
6996
7011
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6997
7012
  /**
6998
7013
  * Disallow negated expression in equality check.
6999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-negation-in-equality-check.md
7014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negation-in-equality-check.md
7000
7015
  */
7001
7016
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
7002
7017
  /**
7003
7018
  * Disallow nested ternary expressions.
7004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-nested-ternary.md
7019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-nested-ternary.md
7005
7020
  */
7006
7021
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
7007
7022
  /**
7008
7023
  * Disallow `new Array()`.
7009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-new-array.md
7024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-new-array.md
7010
7025
  */
7011
7026
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
7012
7027
  /**
7013
7028
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-new-buffer.md
7029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-new-buffer.md
7015
7030
  */
7016
7031
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
7017
7032
  /**
7018
7033
  * Disallow non-function values with function-style verb prefixes.
7019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-non-function-verb-prefix.md
7034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-non-function-verb-prefix.md
7020
7035
  */
7021
7036
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
7022
7037
  /**
7023
7038
  * Disallow non-standard properties on built-in objects.
7024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-nonstandard-builtin-properties.md
7039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-nonstandard-builtin-properties.md
7025
7040
  */
7026
7041
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
7027
7042
  /**
7028
7043
  * Disallow the use of the `null` literal.
7029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-null.md
7044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-null.md
7030
7045
  */
7031
7046
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
7032
7047
  /**
7033
7048
  * Disallow the use of objects as default parameters.
7034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-object-as-default-parameter.md
7049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-object-as-default-parameter.md
7035
7050
  */
7036
7051
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
7037
7052
  /**
7038
7053
  * Disallow `Object` methods with `Map` or `Set`.
7039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-object-methods-with-collections.md
7054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-object-methods-with-collections.md
7040
7055
  */
7041
7056
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
7042
7057
  /**
7043
7058
  * Disallow optional chaining on undeclared variables.
7044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7045
7060
  */
7046
7061
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
7047
7062
  /**
7048
7063
  * Disallow `process.exit()`.
7049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-process-exit.md
7064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-process-exit.md
7050
7065
  */
7051
7066
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
7052
7067
  /**
7053
7068
  * Disallow comparisons made redundant by an equality check in the same logical AND.
7054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-redundant-comparison.md
7069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-redundant-comparison.md
7055
7070
  */
7056
7071
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
7057
7072
  /**
7058
7073
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
7059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-return-array-push.md
7074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-return-array-push.md
7060
7075
  */
7061
7076
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
7062
7077
  /**
7063
7078
  * Disallow selector syntax in DOM names.
7064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-selector-as-dom-name.md
7079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-selector-as-dom-name.md
7065
7080
  */
7066
7081
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
7067
7082
  /**
7068
7083
  * Disallow shorthand properties that override related longhand properties.
7069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-shorthand-property-overrides.md
7084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-shorthand-property-overrides.md
7070
7085
  */
7071
7086
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
7072
7087
  /**
7073
7088
  * Disallow passing single-element arrays to `Promise` methods.
7074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-single-promise-in-promise-methods.md
7089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-single-promise-in-promise-methods.md
7075
7090
  */
7076
7091
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
7077
7092
  /**
7078
7093
  * Disallow classes that only have static members.
7079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-static-only-class.md
7094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-static-only-class.md
7080
7095
  */
7081
7096
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
7082
7097
  /**
7083
7098
  * Prefer comparing values directly over subtracting and comparing to `0`.
7084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-subtraction-comparison.md
7099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-subtraction-comparison.md
7085
7100
  */
7086
7101
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
7087
7102
  /**
7088
7103
  * Disallow `then` property.
7089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-thenable.md
7104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-thenable.md
7090
7105
  */
7091
7106
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
7092
7107
  /**
7093
7108
  * Disallow assigning `this` to a variable.
7094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-this-assignment.md
7109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-this-assignment.md
7095
7110
  */
7096
7111
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
7097
7112
  /**
7098
7113
  * Disallow `this` outside of classes.
7099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-this-outside-of-class.md
7114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-this-outside-of-class.md
7100
7115
  */
7101
7116
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
7102
7117
  /**
7103
7118
  * Disallow assigning to top-level variables from inside functions.
7104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-top-level-assignment-in-function.md
7119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-top-level-assignment-in-function.md
7105
7120
  */
7106
7121
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
7107
7122
  /**
7108
7123
  * Disallow top-level side effects in exported modules.
7109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-top-level-side-effects.md
7124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-top-level-side-effects.md
7110
7125
  */
7111
7126
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
7112
7127
  /**
7113
7128
  * Disallow `all` as a transition property.
7114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-transition-all.md
7129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-transition-all.md
7115
7130
  */
7116
7131
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
7117
7132
  /**
7118
7133
  * Disallow comparing `undefined` using `typeof`.
7119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-typeof-undefined.md
7134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-typeof-undefined.md
7120
7135
  */
7121
7136
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7122
7137
  /**
7123
7138
  * Disallow referencing methods without calling them.
7124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-uncalled-method.md
7139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-uncalled-method.md
7125
7140
  */
7126
7141
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
7127
7142
  /**
7128
7143
  * Require class members to be declared.
7129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-undeclared-class-members.md
7144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-undeclared-class-members.md
7130
7145
  */
7131
7146
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
7132
7147
  /**
7133
7148
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7135
7150
  */
7136
7151
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7137
7152
  /**
7138
7153
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
7139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-array-flat-map.md
7154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-flat-map.md
7140
7155
  */
7141
7156
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
7142
7157
  /**
7143
7158
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-array-splice-count.md
7159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-splice-count.md
7145
7160
  */
7146
7161
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7147
7162
  /**
7148
7163
  * Disallow awaiting non-promise values.
7149
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-await.md
7164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-await.md
7150
7165
  */
7151
7166
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7152
7167
  /**
7153
7168
  * Disallow unnecessary comparisons against boolean literals.
7154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7155
7170
  */
7156
7171
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
7157
7172
  /**
7158
7173
  * Disallow unnecessary options in `fetch()` and `new Request()`.
7159
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-fetch-options.md
7174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-fetch-options.md
7160
7175
  */
7161
7176
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
7162
7177
  /**
7163
7178
  * Disallow unnecessary `globalThis` references.
7164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-global-this.md
7179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-global-this.md
7165
7180
  */
7166
7181
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
7167
7182
  /**
7168
7183
  * Disallow unnecessary nested ternary expressions.
7169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-nested-ternary.md
7184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-nested-ternary.md
7170
7185
  */
7171
7186
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
7172
7187
  /**
7173
7188
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-polyfills.md
7189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-polyfills.md
7175
7190
  */
7176
7191
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7177
7192
  /**
7178
7193
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-slice-end.md
7194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-slice-end.md
7180
7195
  */
7181
7196
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7182
7197
  /**
7183
7198
  * Disallow `Array#splice()` when simpler alternatives exist.
7184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-splice.md
7199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-splice.md
7185
7200
  */
7186
7201
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
7187
7202
  /**
7188
7203
  * Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
7189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unnecessary-string-trim.md
7204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-string-trim.md
7190
7205
  */
7191
7206
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
7192
7207
  /**
7193
7208
  * Disallow unreadable array destructuring.
7194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unreadable-array-destructuring.md
7209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-array-destructuring.md
7195
7210
  */
7196
7211
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
7197
7212
  /**
7198
7213
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
7199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unreadable-for-of-expression.md
7214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-for-of-expression.md
7200
7215
  */
7201
7216
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
7202
7217
  /**
7203
7218
  * Disallow unreadable IIFEs.
7204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unreadable-iife.md
7219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-iife.md
7205
7220
  */
7206
7221
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7207
7222
  /**
7208
7223
  * Disallow unreadable `new` expressions.
7209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unreadable-new-expression.md
7224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-new-expression.md
7210
7225
  */
7211
7226
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
7212
7227
  /**
7213
7228
  * Disallow unreadable object destructuring.
7214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unreadable-object-destructuring.md
7229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-object-destructuring.md
7215
7230
  */
7216
7231
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
7217
7232
  /**
7218
7233
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
7219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unsafe-buffer-conversion.md
7234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-buffer-conversion.md
7220
7235
  */
7221
7236
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
7222
7237
  /**
7223
7238
  * Disallow unsafe DOM HTML APIs.
7224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unsafe-dom-html.md
7239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-dom-html.md
7225
7240
  */
7226
7241
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
7227
7242
  /**
7228
7243
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
7229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7230
7245
  */
7231
7246
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
7232
7247
  /**
7233
7248
  * Disallow unsafe values as property keys.
7234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unsafe-property-key.md
7249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-property-key.md
7235
7250
  */
7236
7251
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
7252
+ /**
7253
+ * Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
7254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7255
+ */
7256
+ 'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
7237
7257
  /**
7238
7258
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
7239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unsafe-string-replacement.md
7259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-string-replacement.md
7240
7260
  */
7241
7261
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
7242
7262
  /**
7243
7263
  * Disallow ignoring the return value of selected array methods.
7244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unused-array-method-return.md
7264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unused-array-method-return.md
7245
7265
  */
7246
7266
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
7247
7267
  /**
7248
7268
  * Disallow unused object properties.
7249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-unused-properties.md
7269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unused-properties.md
7250
7270
  */
7251
7271
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
7252
7272
  /**
7253
7273
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
7254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-boolean-cast.md
7274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-boolean-cast.md
7255
7275
  */
7256
7276
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
7257
7277
  /**
7258
7278
  * Disallow useless type coercions of values that are already of the target type.
7259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-coercion.md
7279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-coercion.md
7260
7280
  */
7261
7281
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
7262
7282
  /**
7263
7283
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
7264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-collection-argument.md
7284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-collection-argument.md
7265
7285
  */
7266
7286
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
7267
7287
  /**
7268
7288
  * Disallow useless compound assignments such as `x += 0`.
7269
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-compound-assignment.md
7289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-compound-assignment.md
7270
7290
  */
7271
7291
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
7272
7292
  /**
7273
7293
  * Disallow useless concatenation of literals.
7274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-concat.md
7294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-concat.md
7275
7295
  */
7276
7296
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
7277
7297
  /**
7278
7298
  * Disallow useless `continue` statements.
7279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-continue.md
7299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-continue.md
7280
7300
  */
7281
7301
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
7282
7302
  /**
7283
7303
  * Disallow unnecessary existence checks before deletion.
7284
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-delete-check.md
7304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-delete-check.md
7285
7305
  */
7286
7306
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
7287
7307
  /**
7288
7308
  * Disallow `else` after a statement that exits.
7289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-else.md
7309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-else.md
7290
7310
  */
7291
7311
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
7292
7312
  /**
7293
7313
  * Disallow unnecessary `Error.captureStackTrace(…)`.
7294
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7295
7315
  */
7296
7316
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
7297
7317
  /**
7298
7318
  * Disallow useless fallback when spreading in object literals.
7299
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-fallback-in-spread.md
7319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-fallback-in-spread.md
7300
7320
  */
7301
7321
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
7302
7322
  /**
7303
7323
  * Disallow unnecessary `.toArray()` on iterators.
7304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-iterator-to-array.md
7324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-iterator-to-array.md
7305
7325
  */
7306
7326
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
7307
7327
  /**
7308
7328
  * Disallow useless array length check.
7309
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-length-check.md
7329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-length-check.md
7310
7330
  */
7311
7331
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7312
7332
  /**
7313
7333
  * Disallow unnecessary operands in logical expressions involving boolean literals.
7314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-logical-operand.md
7334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-logical-operand.md
7315
7335
  */
7316
7336
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
7317
7337
  /**
7318
7338
  * Disallow useless overrides of class methods.
7319
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-override.md
7339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-override.md
7320
7340
  */
7321
7341
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7322
7342
  /**
7323
7343
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-promise-resolve-reject.md
7344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-promise-resolve-reject.md
7325
7345
  */
7326
7346
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7327
7347
  /**
7328
7348
  * Disallow redundant re-exports.
7329
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-re-export.md
7349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-re-export.md
7330
7350
  */
7331
7351
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
7332
7352
  /**
7333
7353
  * Disallow simple recursive function calls that can be replaced with a loop.
7334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-recursion.md
7354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-recursion.md
7335
7355
  */
7336
7356
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7337
7357
  /**
7338
7358
  * Disallow unnecessary spread.
7339
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-spread.md
7359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-spread.md
7340
7360
  */
7341
7361
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7342
7362
  /**
7343
7363
  * Disallow useless case in switch statements.
7344
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-switch-case.md
7364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-switch-case.md
7345
7365
  */
7346
7366
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7347
7367
  /**
7348
7368
  * Disallow useless template literal expressions.
7349
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-template-literals.md
7369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-template-literals.md
7350
7370
  */
7351
7371
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7352
7372
  /**
7353
7373
  * Disallow useless `undefined`.
7354
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-useless-undefined.md
7374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-undefined.md
7355
7375
  */
7356
7376
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7357
7377
  /**
7358
7378
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
7359
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-xor-as-exponentiation.md
7379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-xor-as-exponentiation.md
7360
7380
  */
7361
7381
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7362
7382
  /**
7363
7383
  * Disallow number literals with zero fractions or dangling dots.
7364
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/no-zero-fractions.md
7384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-zero-fractions.md
7365
7385
  */
7366
7386
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7367
7387
  /**
7368
7388
  * Enforce proper case for numeric literals.
7369
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/number-literal-case.md
7389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/number-literal-case.md
7370
7390
  */
7371
7391
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7372
7392
  /**
7373
7393
  * Enforce the style of numeric separators by correctly grouping digits.
7374
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/numeric-separators-style.md
7394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/numeric-separators-style.md
7375
7395
  */
7376
7396
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7377
7397
  /**
7378
7398
  * Require assignment operator shorthand where possible.
7379
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/operator-assignment.md
7399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/operator-assignment.md
7380
7400
  */
7381
7401
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
7382
7402
  /**
7383
7403
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
7384
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-abort-signal-any.md
7404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-abort-signal-any.md
7385
7405
  */
7386
7406
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
7387
7407
  /**
7388
7408
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
7389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-abort-signal-timeout.md
7409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-abort-signal-timeout.md
7390
7410
  */
7391
7411
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7392
7412
  /**
7393
7413
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7394
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-add-event-listener.md
7414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-add-event-listener.md
7395
7415
  */
7396
7416
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7397
7417
  /**
7398
7418
  * Prefer an options object over a boolean in `.addEventListener()`.
7399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-add-event-listener-options.md
7419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-add-event-listener-options.md
7400
7420
  */
7401
7421
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7402
7422
  /**
7403
7423
  * Prefer `AggregateError` when throwing collected errors.
7404
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-aggregate-error.md
7424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-aggregate-error.md
7405
7425
  */
7406
7426
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7407
7427
  /**
7408
7428
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-find.md
7429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-find.md
7410
7430
  */
7411
7431
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7412
7432
  /**
7413
7433
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7414
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-flat.md
7434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-flat.md
7415
7435
  */
7416
7436
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7417
7437
  /**
7418
7438
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
7419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-flat-map.md
7439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-flat-map.md
7420
7440
  */
7421
7441
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7422
7442
  /**
7423
7443
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
7424
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-from-async.md
7444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-async.md
7425
7445
  */
7426
7446
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7427
7447
  /**
7428
7448
  * Prefer using the `Array.from()` mapping function argument.
7429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-from-map.md
7449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-map.md
7430
7450
  */
7431
7451
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
7432
7452
  /**
7433
7453
  * Prefer `Array.from({length}, …)` when creating range arrays.
7434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-from-range.md
7454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-range.md
7435
7455
  */
7436
7456
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
7437
7457
  /**
7438
7458
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-index-of.md
7459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-index-of.md
7440
7460
  */
7441
7461
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7442
7462
  /**
7443
7463
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
7444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-iterable-methods.md
7464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-iterable-methods.md
7445
7465
  */
7446
7466
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7447
7467
  /**
7448
7468
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
7449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-last-methods.md
7469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-last-methods.md
7450
7470
  */
7451
7471
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7452
7472
  /**
7453
7473
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
7454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-slice.md
7474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-slice.md
7455
7475
  */
7456
7476
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7457
7477
  /**
7458
7478
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-array-some.md
7479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-some.md
7460
7480
  */
7461
7481
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7462
7482
  /**
7463
7483
  * Prefer `.at()` method for index access and `String#charAt()`.
7464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-at.md
7484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-at.md
7465
7485
  */
7466
7486
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7467
7487
  /**
7468
7488
  * Prefer `await` over promise chaining.
7469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-await.md
7489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-await.md
7470
7490
  */
7471
7491
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7472
7492
  /**
7473
7493
  * Prefer `BigInt` literals over the constructor.
7474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-bigint-literals.md
7494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-bigint-literals.md
7475
7495
  */
7476
7496
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7477
7497
  /**
7478
7498
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-blob-reading-methods.md
7499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-blob-reading-methods.md
7480
7500
  */
7481
7501
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7482
7502
  /**
7483
7503
  * Prefer block statements over IIFEs used only for scoping.
7484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-block-statement-over-iife.md
7504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-block-statement-over-iife.md
7485
7505
  */
7486
7506
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
7487
7507
  /**
7488
7508
  * Prefer directly returning boolean expressions over `if` statements.
7489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-boolean-return.md
7509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-boolean-return.md
7490
7510
  */
7491
7511
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7492
7512
  /**
7493
7513
  * Prefer class field declarations over `this` assignments in constructors.
7494
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-class-fields.md
7514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-class-fields.md
7495
7515
  */
7496
7516
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7497
7517
  /**
7498
7518
  * Prefer using `Element#classList.toggle()` to toggle class names.
7499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-classlist-toggle.md
7519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-classlist-toggle.md
7500
7520
  */
7501
7521
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7502
7522
  /**
7503
7523
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-code-point.md
7524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-code-point.md
7505
7525
  */
7506
7526
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7507
7527
  /**
7508
7528
  * Prefer early continues over whole-loop conditional wrapping.
7509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-continue.md
7529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-continue.md
7510
7530
  */
7511
7531
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7512
7532
  /**
7513
7533
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-date-now.md
7534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-date-now.md
7515
7535
  */
7516
7536
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7517
7537
  /**
7518
7538
  * Prefer default parameters over reassignment.
7519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-default-parameters.md
7539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-default-parameters.md
7520
7540
  */
7521
7541
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7522
7542
  /**
7523
7543
  * Prefer direct iteration over default iterator method calls.
7524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-direct-iteration.md
7544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-direct-iteration.md
7525
7545
  */
7526
7546
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7527
7547
  /**
7528
7548
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
7529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dispose.md
7549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dispose.md
7530
7550
  */
7531
7551
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7532
7552
  /**
7533
7553
  * Prefer `Element#append()` over `Node#appendChild()`.
7534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dom-node-append.md
7554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-append.md
7535
7555
  */
7536
7556
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7537
7557
  /**
7538
7558
  * Renamed to `unicorn/dom-node-dataset`.
7539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7540
7560
  * @deprecated
7541
7561
  */
7542
7562
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7543
7563
  /**
7544
7564
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
7545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dom-node-html-methods.md
7565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-html-methods.md
7546
7566
  */
7547
7567
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
7548
7568
  /**
7549
7569
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dom-node-remove.md
7570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-remove.md
7551
7571
  */
7552
7572
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7553
7573
  /**
7554
7574
  * Prefer `.replaceChildren()` when emptying DOM children.
7555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dom-node-replace-children.md
7575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-replace-children.md
7556
7576
  */
7557
7577
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7558
7578
  /**
7559
7579
  * Prefer `.textContent` over `.innerText`.
7560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-dom-node-text-content.md
7580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-text-content.md
7561
7581
  */
7562
7582
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7563
7583
  /**
7564
7584
  * Prefer early returns over full-function conditional wrapping.
7565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-early-return.md
7585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-early-return.md
7566
7586
  */
7567
7587
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7568
7588
  /**
7569
7589
  * Prefer `else if` over adjacent `if` statements with related conditions.
7570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-else-if.md
7590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-else-if.md
7571
7591
  */
7572
7592
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7573
7593
  /**
7574
7594
  * Prefer `Error.isError()` when checking for errors.
7575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-error-is-error.md
7595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-error-is-error.md
7576
7596
  */
7577
7597
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7578
7598
  /**
7579
7599
  * Prefer `EventTarget` over `EventEmitter`.
7580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-event-target.md
7600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-event-target.md
7581
7601
  */
7582
7602
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7583
7603
  /**
7584
7604
  * Prefer explicit viewport units.
7585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-explicit-viewport-units.md
7605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-explicit-viewport-units.md
7586
7606
  */
7587
7607
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
7588
7608
  /**
7589
7609
  * Prefer `export…from` when re-exporting.
7590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-export-from.md
7610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-export-from.md
7591
7611
  */
7592
7612
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7593
7613
  /**
7594
7614
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
7595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-flat-math-min-max.md
7615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-flat-math-min-max.md
7596
7616
  */
7597
7617
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7598
7618
  /**
7599
7619
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
7600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-get-or-insert-computed.md
7620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-get-or-insert-computed.md
7601
7621
  */
7602
7622
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7603
7623
  /**
7604
7624
  * Prefer global numeric constants over `Number` static properties.
7605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-global-number-constants.md
7625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-global-number-constants.md
7606
7626
  */
7607
7627
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7608
7628
  /**
7609
7629
  * Prefer `globalThis` over `window`, `self`, and `global`.
7610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-global-this.md
7630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-global-this.md
7611
7631
  */
7612
7632
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7613
7633
  /**
7614
7634
  * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
7615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-group-by.md
7635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-group-by.md
7616
7636
  */
7617
7637
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
7618
7638
  /**
7619
7639
  * Prefer `.has()` when checking existence.
7620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-has-check.md
7640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-has-check.md
7621
7641
  */
7622
7642
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7623
7643
  /**
7624
7644
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
7625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-hoisting-branch-code.md
7645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-hoisting-branch-code.md
7626
7646
  */
7627
7647
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7628
7648
  /**
7629
7649
  * Prefer HTTPS over HTTP.
7630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-https.md
7650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-https.md
7631
7651
  */
7632
- 'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
7652
+ 'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
7633
7653
  /**
7634
7654
  * Prefer identifiers over string literals in import and export specifiers.
7635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7636
7656
  */
7637
7657
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7638
7658
  /**
7639
7659
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-import-meta-properties.md
7660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-import-meta-properties.md
7641
7661
  */
7642
7662
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7643
7663
  /**
7644
7664
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-includes.md
7665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-includes.md
7646
7666
  */
7647
7667
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7648
7668
  /**
7649
7669
  * Prefer `.includes()` over repeated equality comparisons.
7650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7651
7671
  */
7652
7672
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7653
7673
  /**
7654
7674
  * Prefer passing iterables directly to constructors instead of filling empty collections.
7655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-iterable-in-constructor.md
7675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterable-in-constructor.md
7656
7676
  */
7657
7677
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7658
7678
  /**
7659
7679
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
7660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-iterator-concat.md
7680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-concat.md
7661
7681
  */
7662
7682
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
7663
7683
  /**
7664
7684
  * Prefer iterator helpers over temporary arrays from iterators.
7665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-iterator-helpers.md
7685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-helpers.md
7666
7686
  */
7667
7687
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
7668
7688
  /**
7669
7689
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
7670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-iterator-to-array.md
7690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-to-array.md
7671
7691
  */
7672
7692
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7673
7693
  /**
7674
7694
  * Prefer moving `.toArray()` to the end of iterator helper chains.
7675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7676
7696
  */
7677
7697
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7678
7698
  /**
7679
7699
  * Renamed to `unicorn/consistent-json-file-read`.
7680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7681
7701
  * @deprecated
7682
7702
  */
7683
7703
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7684
7704
  /**
7685
7705
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
7686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-keyboard-event-key.md
7706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-keyboard-event-key.md
7687
7707
  */
7688
7708
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7689
7709
  /**
7690
7710
  * Prefer `location.assign()` over assigning to `location.href`.
7691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-location-assign.md
7711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-location-assign.md
7692
7712
  */
7693
7713
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7694
7714
  /**
7695
7715
  * Prefer using a logical operator over a ternary.
7696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7697
7717
  */
7698
7718
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7699
7719
  /**
7700
7720
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
7701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-map-from-entries.md
7721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-map-from-entries.md
7702
7722
  */
7703
7723
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7704
7724
  /**
7705
7725
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
7706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-math-abs.md
7726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-abs.md
7707
7727
  */
7708
7728
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7709
7729
  /**
7710
7730
  * Prefer `Math` constants over their approximate numeric values.
7711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-math-constants.md
7731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-constants.md
7712
7732
  */
7713
7733
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7714
7734
  /**
7715
7735
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-math-min-max.md
7736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-min-max.md
7717
7737
  */
7718
7738
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7719
7739
  /**
7720
7740
  * Prefer `Math.trunc()` for truncating numbers.
7721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-math-trunc.md
7741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-trunc.md
7722
7742
  */
7723
7743
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7724
7744
  /**
7725
7745
  * Prefer moving ternaries into the minimal varying part of an expression.
7726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-minimal-ternary.md
7746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-minimal-ternary.md
7727
7747
  */
7728
7748
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7729
7749
  /**
7730
7750
  * Prefer modern DOM APIs.
7731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-modern-dom-apis.md
7751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-modern-dom-apis.md
7732
7752
  */
7733
7753
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7734
7754
  /**
7735
7755
  * Prefer modern `Math` APIs over legacy patterns.
7736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-modern-math-apis.md
7756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-modern-math-apis.md
7737
7757
  */
7738
7758
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7739
7759
  /**
7740
7760
  * Prefer JavaScript modules (ESM) over CommonJS.
7741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-module.md
7761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-module.md
7742
7762
  */
7743
7763
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7744
7764
  /**
7745
7765
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-native-coercion-functions.md
7766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-native-coercion-functions.md
7747
7767
  */
7748
7768
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7749
7769
  /**
7750
7770
  * Prefer negative index over `.length - index` when possible.
7751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-negative-index.md
7771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-negative-index.md
7752
7772
  */
7753
7773
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7754
7774
  /**
7755
7775
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-node-protocol.md
7776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-node-protocol.md
7757
7777
  */
7758
7778
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7759
7779
  /**
7760
7780
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
7761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-number-coercion.md
7781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-coercion.md
7762
7782
  */
7763
7783
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7764
7784
  /**
7765
7785
  * Prefer `Number.isSafeInteger()` over integer checks.
7766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-number-is-safe-integer.md
7786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-is-safe-integer.md
7767
7787
  */
7768
7788
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7769
7789
  /**
7770
7790
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
7771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-number-properties.md
7791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-properties.md
7772
7792
  */
7773
7793
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7774
7794
  /**
7775
7795
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
7776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-object-define-properties.md
7796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-define-properties.md
7777
7797
  */
7778
7798
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7779
7799
  /**
7780
7800
  * Prefer object destructuring defaults over default object literals with spread.
7781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-object-destructuring-defaults.md
7801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-destructuring-defaults.md
7782
7802
  */
7783
7803
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7784
7804
  /**
7785
7805
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-object-from-entries.md
7806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-from-entries.md
7787
7807
  */
7788
7808
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7789
7809
  /**
7790
7810
  * Prefer the most specific `Object` iterable method.
7791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-object-iterable-methods.md
7811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-iterable-methods.md
7792
7812
  */
7793
7813
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7794
7814
  /**
7795
7815
  * Prefer observer APIs over resize and scroll listeners with layout reads.
7796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-observer-apis.md
7816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-observer-apis.md
7797
7817
  */
7798
7818
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7799
7819
  /**
7800
7820
  * Prefer omitting the `catch` binding parameter.
7801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-optional-catch-binding.md
7821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-optional-catch-binding.md
7802
7822
  */
7803
7823
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7804
7824
  /**
7805
7825
  * Prefer `Path2D` for repeatedly drawn canvas paths.
7806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-path2d.md
7826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-path2d.md
7807
7827
  */
7808
7828
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7809
7829
  /**
7810
7830
  * Prefer private class fields over the underscore-prefix convention.
7811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-private-class-fields.md
7831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-private-class-fields.md
7812
7832
  */
7813
7833
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
7814
7834
  /**
7815
7835
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
7816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-promise-try.md
7836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-promise-try.md
7817
7837
  */
7818
7838
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7819
7839
  /**
7820
7840
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
7821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-promise-with-resolvers.md
7841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-promise-with-resolvers.md
7822
7842
  */
7823
7843
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7824
7844
  /**
7825
7845
  * Prefer borrowing methods from the prototype instead of the instance.
7826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-prototype-methods.md
7846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-prototype-methods.md
7827
7847
  */
7828
7848
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7829
7849
  /**
7830
7850
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
7831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-query-selector.md
7851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-query-selector.md
7832
7852
  */
7833
7853
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7834
7854
  /**
7835
7855
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
7836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-queue-microtask.md
7856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-queue-microtask.md
7837
7857
  */
7838
7858
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7839
7859
  /**
7840
7860
  * Prefer `Reflect.apply()` over `Function#apply()`.
7841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-reflect-apply.md
7861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-reflect-apply.md
7842
7862
  */
7843
7863
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7844
7864
  /**
7845
7865
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
7846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-regexp-escape.md
7866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-regexp-escape.md
7847
7867
  */
7848
7868
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7849
7869
  /**
7850
7870
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
7851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-regexp-test.md
7871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-regexp-test.md
7852
7872
  */
7853
7873
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7854
7874
  /**
7855
7875
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-response-static-json.md
7876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-response-static-json.md
7857
7877
  */
7858
7878
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7859
7879
  /**
7860
7880
  * Prefer `:scope` when using element query selector methods.
7861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-scoped-selector.md
7881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-scoped-selector.md
7862
7882
  */
7863
7883
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7864
7884
  /**
7865
7885
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-set-has.md
7886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-has.md
7867
7887
  */
7868
7888
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7869
7889
  /**
7870
7890
  * Prefer `Set` methods for Set operations.
7871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-set-methods.md
7891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-methods.md
7872
7892
  */
7873
7893
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7874
7894
  /**
7875
7895
  * Prefer using `Set#size` instead of `Array#length`.
7876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-set-size.md
7896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-size.md
7877
7897
  */
7878
7898
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7879
7899
  /**
7880
7900
  * Prefer arrow function properties over methods with a single return.
7881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-short-arrow-method.md
7901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-short-arrow-method.md
7882
7902
  */
7883
7903
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
7884
7904
  /**
7885
7905
  * Prefer simple conditions first in logical expressions.
7886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-simple-condition-first.md
7906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simple-condition-first.md
7887
7907
  */
7888
7908
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7889
7909
  /**
7890
7910
  * Prefer a simple comparison function for `Array#sort()`.
7891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-simple-sort-comparator.md
7911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simple-sort-comparator.md
7892
7912
  */
7893
7913
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
7894
7914
  /**
7895
7915
  * Prefer simplified conditions.
7896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-simplified-conditions.md
7916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simplified-conditions.md
7897
7917
  */
7898
7918
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
7899
7919
  /**
7900
7920
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
7901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-single-array-predicate.md
7921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-array-predicate.md
7902
7922
  */
7903
7923
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7904
7924
  /**
7905
7925
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-single-call.md
7926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-call.md
7907
7927
  */
7908
7928
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7909
7929
  /**
7910
7930
  * Prefer a single object destructuring declaration per local const source.
7911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-single-object-destructuring.md
7931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-object-destructuring.md
7912
7932
  */
7913
7933
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7914
7934
  /**
7915
7935
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
7916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-single-replace.md
7936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-replace.md
7917
7937
  */
7918
7938
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
7919
7939
  /**
7920
7940
  * Prefer declaring variables in the smallest possible scope.
7921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-smaller-scope.md
7941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-smaller-scope.md
7922
7942
  */
7923
7943
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
7924
7944
  /**
7925
7945
  * Prefer `String#split()` with a limit.
7926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-split-limit.md
7946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-split-limit.md
7927
7947
  */
7928
7948
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
7929
7949
  /**
7930
7950
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
7931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-spread.md
7951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-spread.md
7932
7952
  */
7933
7953
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7934
7954
  /**
7935
7955
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
7936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-match-all.md
7956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-match-all.md
7937
7957
  */
7938
7958
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
7939
7959
  /**
7940
7960
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
7941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-pad-start-end.md
7961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-pad-start-end.md
7942
7962
  */
7943
7963
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
7944
7964
  /**
7945
7965
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-raw.md
7966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-raw.md
7947
7967
  */
7948
7968
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7949
7969
  /**
7950
7970
  * Prefer `String#repeat()` for repeated whitespace.
7951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-repeat.md
7971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-repeat.md
7952
7972
  */
7953
7973
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
7954
7974
  /**
7955
7975
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
7956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-replace-all.md
7976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-replace-all.md
7957
7977
  */
7958
7978
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7959
7979
  /**
7960
7980
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-slice.md
7981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-slice.md
7962
7982
  */
7963
7983
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7964
7984
  /**
7965
7985
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
7966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-starts-ends-with.md
7986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-starts-ends-with.md
7967
7987
  */
7968
7988
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7969
7989
  /**
7970
7990
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-string-trim-start-end.md
7991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-trim-start-end.md
7972
7992
  */
7973
7993
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7974
7994
  /**
7975
7995
  * Prefer using `structuredClone` to create a deep clone.
7976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-structured-clone.md
7996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-structured-clone.md
7977
7997
  */
7978
7998
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7979
7999
  /**
7980
8000
  * Prefer `switch` over multiple `else-if`.
7981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-switch.md
8001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-switch.md
7982
8002
  */
7983
8003
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7984
8004
  /**
7985
8005
  * Prefer `Temporal` over `Date`.
7986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-temporal.md
8006
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-temporal.md
7987
8007
  */
7988
8008
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
7989
8009
  /**
7990
8010
  * Prefer ternary expressions over simple `if` statements that return or assign values.
7991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-ternary.md
8011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-ternary.md
7992
8012
  */
7993
8013
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7994
8014
  /**
7995
8015
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
7996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-then-catch.md
8016
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-then-catch.md
7997
8017
  */
7998
8018
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
7999
8019
  /**
8000
8020
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
8001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-toggle-attribute.md
8021
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-toggle-attribute.md
8002
8022
  */
8003
8023
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
8004
8024
  /**
8005
8025
  * Prefer top-level await over top-level promises and async function calls.
8006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-top-level-await.md
8026
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-top-level-await.md
8007
8027
  */
8008
8028
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
8009
8029
  /**
8010
8030
  * Enforce throwing `TypeError` in type checking conditions.
8011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-type-error.md
8031
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-type-error.md
8012
8032
  */
8013
8033
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
8014
8034
  /**
8015
8035
  * Require type literals to be last in union types.
8016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-type-literal-last.md
8036
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-type-literal-last.md
8017
8037
  */
8018
8038
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
8019
8039
  /**
8020
8040
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
8021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-uint8array-base64.md
8041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-uint8array-base64.md
8022
8042
  */
8023
8043
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
8024
8044
  /**
8025
8045
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
8026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-unary-minus.md
8046
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-unary-minus.md
8027
8047
  */
8028
8048
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
8029
8049
  /**
8030
8050
  * Prefer Unicode code point escapes over legacy escape sequences.
8031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8032
8052
  */
8033
8053
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
8034
8054
  /**
8035
8055
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
8036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-url-can-parse.md
8056
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-can-parse.md
8037
8057
  */
8038
8058
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
8039
8059
  /**
8040
8060
  * Prefer `URL#href` over stringifying a `URL`.
8041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-url-href.md
8061
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-href.md
8042
8062
  */
8043
8063
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
8044
8064
  /**
8045
8065
  * Prefer `URLSearchParams` over manually splitting query strings.
8046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-url-search-parameters.md
8066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-search-parameters.md
8047
8067
  */
8048
8068
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
8049
8069
  /**
8050
8070
  * Prefer putting the condition in the while statement.
8051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/prefer-while-loop-condition.md
8071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-while-loop-condition.md
8052
8072
  */
8053
8073
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
8054
8074
  /**
8055
8075
  * Renamed to `unicorn/name-replacements`.
8056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8057
8077
  * @deprecated
8058
8078
  */
8059
8079
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
8060
8080
  /**
8061
8081
  * Enforce consistent relative URL style.
8062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/relative-url-style.md
8082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/relative-url-style.md
8063
8083
  */
8064
8084
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
8065
8085
  /**
8066
8086
  * Enforce using the separator argument with `Array#join()`.
8067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-array-join-separator.md
8087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-array-join-separator.md
8068
8088
  */
8069
8089
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
8070
8090
  /**
8071
8091
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
8072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-array-sort-compare.md
8092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-array-sort-compare.md
8073
8093
  */
8074
8094
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
8075
8095
  /**
8076
8096
  * Require `CSS.escape()` for interpolated values in CSS selectors.
8077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-css-escape.md
8097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-css-escape.md
8078
8098
  */
8079
8099
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
8080
8100
  /**
8081
8101
  * Require configured YAML frontmatter fields.
8082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-frontmatter-fields.md
8102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-frontmatter-fields.md
8083
8103
  */
8084
8104
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
8085
8105
  /**
8086
8106
  * Require non-empty module attributes for imports and exports
8087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-module-attributes.md
8107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-module-attributes.md
8088
8108
  */
8089
8109
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
8090
8110
  /**
8091
8111
  * Require non-empty specifier list in import and export statements.
8092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-module-specifiers.md
8112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-module-specifiers.md
8093
8113
  */
8094
8114
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
8095
8115
  /**
8096
8116
  * Enforce using the digits argument with `Number#toFixed()`.
8097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8098
8118
  */
8099
8119
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
8100
8120
  /**
8101
8121
  * Require passive event listeners for high-frequency events.
8102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-passive-events.md
8122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-passive-events.md
8103
8123
  */
8104
8124
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
8105
8125
  /**
8106
8126
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
8107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-post-message-target-origin.md
8127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-post-message-target-origin.md
8108
8128
  */
8109
8129
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
8110
8130
  /**
8111
8131
  * Require boolean-returning Proxy traps to return booleans.
8112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/require-proxy-trap-boolean-return.md
8132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-proxy-trap-boolean-return.md
8113
8133
  */
8114
8134
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
8135
+ /**
8136
+ * Enforce a consistent style for single-line block comments.
8137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/single-line-block-comment-style.md
8138
+ */
8139
+ 'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
8115
8140
  /**
8116
8141
  * Enforce better string content.
8117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/string-content.md
8142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/string-content.md
8118
8143
  */
8119
8144
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
8120
8145
  /**
8121
8146
  * Enforce consistent brace style for `case` clauses.
8122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/switch-case-braces.md
8147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/switch-case-braces.md
8123
8148
  */
8124
8149
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
8125
8150
  /**
8126
8151
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
8127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/switch-case-break-position.md
8152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/switch-case-break-position.md
8128
8153
  */
8129
8154
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
8130
8155
  /**
8131
8156
  * Fix whitespace-insensitive template indentation.
8132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/template-indent.md
8157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/template-indent.md
8133
8158
  */
8134
8159
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
8135
8160
  /**
8136
8161
  * Enforce consistent case for text encoding identifiers.
8137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/text-encoding-identifier-case.md
8162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/text-encoding-identifier-case.md
8138
8163
  */
8139
8164
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
8140
8165
  /**
8141
8166
  * Require `new` when creating an error.
8142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/throw-new-error.md
8167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/throw-new-error.md
8143
8168
  */
8144
8169
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
8145
8170
  /**
8146
8171
  * Limit the complexity of `try` blocks.
8147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v72.0.0/docs/rules/try-complexity.md
8172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/try-complexity.md
8148
8173
  */
8149
8174
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
8150
8175
  /**
@@ -9940,6 +9965,11 @@ interface RuleOptions {
9940
9965
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
9941
9966
  */
9942
9967
  'yml/key-spacing'?: Linter.RuleEntry<YmlKeySpacing>;
9968
+ /**
9969
+ * disallow boolean mapping keys
9970
+ * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
9971
+ */
9972
+ 'yml/no-boolean-key'?: Linter.RuleEntry<[]>;
9943
9973
  /**
9944
9974
  * disallow empty document
9945
9975
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html
@@ -12639,15 +12669,19 @@ type JsoncSortKeys = ([{
12639
12669
  hasProperties?: string[];
12640
12670
  order: ((string | {
12641
12671
  keyPattern?: string;
12642
- order?: {
12672
+ order?: ({
12643
12673
  type?: ("asc" | "desc");
12644
12674
  caseSensitive?: boolean;
12645
12675
  natural?: boolean;
12646
- };
12676
+ } | {
12677
+ type: "ignore";
12678
+ });
12647
12679
  })[] | {
12648
12680
  type?: ("asc" | "desc");
12649
12681
  caseSensitive?: boolean;
12650
12682
  natural?: boolean;
12683
+ } | {
12684
+ type: "ignore";
12651
12685
  });
12652
12686
  minKeys?: number;
12653
12687
  allowLineSeparatedGroups?: boolean;
@@ -12656,15 +12690,19 @@ type JsoncSortKeys = ([{
12656
12690
  hasProperties?: string[];
12657
12691
  order: ((string | {
12658
12692
  keyPattern?: string;
12659
- order?: {
12693
+ order?: ({
12660
12694
  type?: ("asc" | "desc");
12661
12695
  caseSensitive?: boolean;
12662
12696
  natural?: boolean;
12663
- };
12697
+ } | {
12698
+ type: "ignore";
12699
+ });
12664
12700
  })[] | {
12665
12701
  type?: ("asc" | "desc");
12666
12702
  caseSensitive?: boolean;
12667
12703
  natural?: boolean;
12704
+ } | {
12705
+ type: "ignore";
12668
12706
  });
12669
12707
  minKeys?: number;
12670
12708
  allowLineSeparatedGroups?: boolean;
@@ -18111,7 +18149,9 @@ type UnicodeBom = [] | [("always" | "never")];
18111
18149
  // ----- unicorn/catch-error-name -----
18112
18150
  type UnicornCatchErrorName = [] | [{
18113
18151
  name?: string;
18114
- ignore?: unknown[];
18152
+ ignore?: (string | {
18153
+ [k: string]: unknown | undefined;
18154
+ })[];
18115
18155
  }];
18116
18156
  // ----- unicorn/class-reference-in-static-methods -----
18117
18157
  type UnicornClassReferenceInStaticMethods = [] | [{
@@ -18131,11 +18171,23 @@ type UnicornCommentContent = [] | [{
18131
18171
  }];
18132
18172
  // ----- unicorn/consistent-boolean-name -----
18133
18173
  type UnicornConsistentBooleanName = [] | [{
18134
- checkProperties?: boolean;
18174
+ checkVariables?: ("always" | "prohibit" | "never");
18175
+ checkArguments?: ("always" | "prohibit" | "never");
18176
+ checkFunctions?: ("always" | "prohibit" | "never");
18177
+ checkMethods?: ("always" | "prohibit" | "never");
18178
+ checkFields?: ("always" | "prohibit" | "never");
18135
18179
  prefixes?: {
18136
18180
  [k: string]: boolean | undefined;
18137
18181
  };
18182
+ wrappers?: {
18183
+ [k: string]: string | undefined;
18184
+ };
18138
18185
  ignore?: unknown[];
18186
+ [k: string]: (unknown | ("always" | "prohibit" | "never") | ("always" | "prohibit" | "never") | ("always" | "prohibit" | "never") | ("always" | "prohibit" | "never") | ("always" | "prohibit" | "never") | {
18187
+ [k: string]: boolean | undefined;
18188
+ } | {
18189
+ [k: string]: string | undefined;
18190
+ } | unknown[] | undefined);
18139
18191
  }];
18140
18192
  // ----- unicorn/consistent-class-member-order -----
18141
18193
  type UnicornConsistentClassMemberOrder = [] | [{
@@ -18169,6 +18221,7 @@ type UnicornConsistentFunctionScoping = [] | [{
18169
18221
  // ----- unicorn/consistent-function-style -----
18170
18222
  type UnicornConsistentFunctionStyle = [] | [{
18171
18223
  default?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
18224
+ defaultExport?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
18172
18225
  namedFunctions?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
18173
18226
  namedExports?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
18174
18227
  callbacks?: ("function-expression" | "arrow-function" | "ignore");
@@ -18192,7 +18245,9 @@ type UnicornEscapeCase = [] | [("uppercase" | "lowercase")];
18192
18245
  // ----- unicorn/expiring-todo-comments -----
18193
18246
  type UnicornExpiringTodoComments = [] | [{
18194
18247
  terms?: string[];
18195
- ignore?: unknown[];
18248
+ ignore?: (string | {
18249
+ [k: string]: unknown | undefined;
18250
+ })[];
18196
18251
  checkDates?: boolean;
18197
18252
  checkDatesOnPullRequests?: boolean;
18198
18253
  allowWarningComments?: boolean;
@@ -18207,7 +18262,9 @@ type UnicornExplicitTimerDelay = [] | [("always" | "never")];
18207
18262
  // ----- unicorn/filename-case -----
18208
18263
  type UnicornFilenameCase = [] | [({
18209
18264
  case?: ("camelCase" | "camelCaseWithAcronyms" | "snakeCase" | "kebabCase" | "pascalCase");
18210
- ignore?: unknown[];
18265
+ ignore?: (string | {
18266
+ [k: string]: unknown | undefined;
18267
+ })[];
18211
18268
  multipleFileExtensions?: boolean;
18212
18269
  checkDirectories?: boolean;
18213
18270
  } | {
@@ -18218,7 +18275,9 @@ type UnicornFilenameCase = [] | [({
18218
18275
  kebabCase?: boolean;
18219
18276
  pascalCase?: boolean;
18220
18277
  };
18221
- ignore?: unknown[];
18278
+ ignore?: (string | {
18279
+ [k: string]: unknown | undefined;
18280
+ })[];
18222
18281
  multipleFileExtensions?: boolean;
18223
18282
  checkDirectories?: boolean;
18224
18283
  })];
@@ -18255,6 +18314,8 @@ type UnicornIsolatedFunctions = [] | [{
18255
18314
  selectors?: string[];
18256
18315
  comments?: string[];
18257
18316
  }];
18317
+ // ----- unicorn/iteration-fallback-style -----
18318
+ type UnicornIterationFallbackStyle = [] | [("guard" | "fallback")];
18258
18319
  // ----- unicorn/logical-assignment-operators -----
18259
18320
  type UnicornLogicalAssignmentOperators = (([] | ["always"] | ["always", {
18260
18321
  enforceForIfStatements?: boolean;
@@ -18275,7 +18336,9 @@ type UnicornNameReplacements = [] | [{
18275
18336
  replacements?: _UnicornNameReplacements_NameReplacements;
18276
18337
  extendDefaultAllowList?: boolean;
18277
18338
  allowList?: _UnicornNameReplacements_BooleanObject1;
18278
- ignore?: unknown[];
18339
+ ignore?: (string | {
18340
+ [k: string]: unknown | undefined;
18341
+ })[];
18279
18342
  }];
18280
18343
  type _UnicornNameReplacementsReplacements = (false | _UnicornNameReplacements_BooleanObject) | undefined;
18281
18344
  interface _UnicornNameReplacements_NameReplacements {
@@ -18323,7 +18386,7 @@ type UnicornNoInvalidArgumentCount = [] | [{
18323
18386
  }];
18324
18387
  // ----- unicorn/no-keyword-prefix -----
18325
18388
  type UnicornNoKeywordPrefix = [] | [{
18326
- disallowedPrefixes?: [] | [string];
18389
+ disallowedPrefixes?: string[];
18327
18390
  checkProperties?: boolean;
18328
18391
  onlyCamelCase?: boolean;
18329
18392
  }];
@@ -18334,7 +18397,9 @@ type UnicornNoNegatedComparison = [] | [{
18334
18397
  // ----- unicorn/no-non-function-verb-prefix -----
18335
18398
  type UnicornNoNonFunctionVerbPrefix = [] | [{
18336
18399
  verbs?: string[];
18337
- ignore?: unknown[];
18400
+ ignore?: (string | {
18401
+ [k: string]: unknown | undefined;
18402
+ })[];
18338
18403
  }];
18339
18404
  // ----- unicorn/no-null -----
18340
18405
  type UnicornNoNull = [] | [{
@@ -18347,7 +18412,7 @@ type UnicornNoTypeofUndefined = [] | [{
18347
18412
  }];
18348
18413
  // ----- unicorn/no-unnecessary-polyfills -----
18349
18414
  type UnicornNoUnnecessaryPolyfills = [] | [{
18350
- targets?: (string | unknown[] | {
18415
+ targets?: (string | string[] | {
18351
18416
  [k: string]: unknown | undefined;
18352
18417
  });
18353
18418
  }];
@@ -18401,11 +18466,11 @@ type UnicornPreferArrayFind = [] | [{
18401
18466
  }];
18402
18467
  // ----- unicorn/prefer-array-flat -----
18403
18468
  type UnicornPreferArrayFlat = [] | [{
18404
- functions?: unknown[];
18469
+ functions?: string[];
18405
18470
  }];
18406
18471
  // ----- unicorn/prefer-at -----
18407
18472
  type UnicornPreferAt = [] | [{
18408
- getLastElementFunctions?: unknown[];
18473
+ getLastElementFunctions?: string[];
18409
18474
  checkAllIndexAccess?: boolean;
18410
18475
  }];
18411
18476
  // ----- unicorn/prefer-continue -----
@@ -18429,6 +18494,12 @@ type UnicornPreferExplicitViewportUnits = [] | [{
18429
18494
  type UnicornPreferExportFrom = [] | [{
18430
18495
  checkUsedVariables?: boolean;
18431
18496
  }];
18497
+ // ----- unicorn/prefer-https -----
18498
+ type UnicornPreferHttps = [] | [{
18499
+ ignore?: (string | {
18500
+ [k: string]: unknown | undefined;
18501
+ })[];
18502
+ }];
18432
18503
  // ----- unicorn/prefer-includes-over-repeated-comparisons -----
18433
18504
  type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
18434
18505
  minimumComparisons?: number;
@@ -18445,7 +18516,7 @@ type UnicornPreferNumberProperties = [] | [{
18445
18516
  }];
18446
18517
  // ----- unicorn/prefer-object-from-entries -----
18447
18518
  type UnicornPreferObjectFromEntries = [] | [{
18448
- functions?: unknown[];
18519
+ functions?: string[];
18449
18520
  }];
18450
18521
  // ----- unicorn/prefer-query-selector -----
18451
18522
  type UnicornPreferQuerySelector = [] | [{
@@ -18464,7 +18535,7 @@ type UnicornPreferSetHas = [] | [{
18464
18535
  type UnicornPreferShortArrowMethod = [] | [("always" | "consistent-as-needed")];
18465
18536
  // ----- unicorn/prefer-single-call -----
18466
18537
  type UnicornPreferSingleCall = [] | [{
18467
- ignore?: unknown[];
18538
+ ignore?: string[];
18468
18539
  }];
18469
18540
  // ----- unicorn/prefer-string-repeat -----
18470
18541
  type UnicornPreferStringRepeat = [] | [{
@@ -18472,7 +18543,7 @@ type UnicornPreferStringRepeat = [] | [{
18472
18543
  }];
18473
18544
  // ----- unicorn/prefer-structured-clone -----
18474
18545
  type UnicornPreferStructuredClone = [] | [{
18475
- functions?: unknown[];
18546
+ functions?: string[];
18476
18547
  }];
18477
18548
  // ----- unicorn/prefer-switch -----
18478
18549
  type UnicornPreferSwitch = [] | [{
@@ -18497,6 +18568,12 @@ type UnicornRequireCssEscape = [] | [{
18497
18568
  type UnicornRequireFrontmatterFields = [] | [{
18498
18569
  fields?: string[];
18499
18570
  }];
18571
+ // ----- unicorn/single-line-block-comment-style -----
18572
+ type UnicornSingleLineBlockCommentStyle = [] | [("multiline" | "single-line")] | [("multiline" | "single-line"), {
18573
+ ignore?: (string | {
18574
+ [k: string]: unknown | undefined;
18575
+ })[];
18576
+ }];
18500
18577
  // ----- unicorn/string-content -----
18501
18578
  type UnicornStringContent = [] | [{
18502
18579
  patterns?: {
@@ -20016,15 +20093,19 @@ type YmlSortKeys = ([{
20016
20093
  hasProperties?: string[];
20017
20094
  order: ((string | {
20018
20095
  keyPattern?: string;
20019
- order?: {
20096
+ order?: ({
20020
20097
  type?: ("asc" | "desc");
20021
20098
  caseSensitive?: boolean;
20022
20099
  natural?: boolean;
20023
- };
20100
+ } | {
20101
+ type: "ignore";
20102
+ });
20024
20103
  })[] | {
20025
20104
  type?: ("asc" | "desc");
20026
20105
  caseSensitive?: boolean;
20027
20106
  natural?: boolean;
20107
+ } | {
20108
+ type: "ignore";
20028
20109
  });
20029
20110
  minKeys?: number;
20030
20111
  allowLineSeparatedGroups?: boolean;
@@ -20033,15 +20114,19 @@ type YmlSortKeys = ([{
20033
20114
  hasProperties?: string[];
20034
20115
  order: ((string | {
20035
20116
  keyPattern?: string;
20036
- order?: {
20117
+ order?: ({
20037
20118
  type?: ("asc" | "desc");
20038
20119
  caseSensitive?: boolean;
20039
20120
  natural?: boolean;
20040
- };
20121
+ } | {
20122
+ type: "ignore";
20123
+ });
20041
20124
  })[] | {
20042
20125
  type?: ("asc" | "desc");
20043
20126
  caseSensitive?: boolean;
20044
20127
  natural?: boolean;
20128
+ } | {
20129
+ type: "ignore";
20045
20130
  });
20046
20131
  minKeys?: number;
20047
20132
  allowLineSeparatedGroups?: boolean;