@ntnyq/eslint-config 7.0.0-beta.20 → 7.0.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.mts +807 -362
  2. package/dist/index.mjs +194 -129
  3. package/package.json +19 -18
package/dist/index.d.mts CHANGED
@@ -29,6 +29,7 @@ import pluginDeMorgan from "eslint-plugin-de-morgan";
29
29
  import pluginNoOnlyTests from "eslint-plugin-no-only-tests";
30
30
  import pluginGitHubAction from "eslint-plugin-github-action";
31
31
  import pluginPerfectionist from "eslint-plugin-perfectionist";
32
+ import pluginVuePerfectionist from "eslint-plugin-vue-perfectionist";
32
33
  import * as pluginESLintComments from "@eslint-community/eslint-plugin-eslint-comments";
33
34
  import processorVueBlocks, { Options } from "eslint-processor-vue-blocks";
34
35
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
@@ -61,10 +62,19 @@ export type Pretty<T> = { [P in keyof T]: T[P]; } & {};
61
62
  export type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
62
63
  //#endregion
63
64
  //#region src/configs/vue.d.ts
65
+ /**
66
+ * Options for a Vue config branch
67
+ */
68
+ export type ConfigVueBranchOptions = OptionsFiles & OptionsOverrides;
64
69
  /**
65
70
  * Options type of {@link configVue}
66
71
  */
67
72
  export type ConfigVueOptions = OptionsFiles & OptionsOverrides & OptionsShareable & OptionsFormatter & {
73
+ /**
74
+ * Configure vue-perfectionist plugin rules
75
+ * @default false
76
+ */
77
+ vuePerfectionist?: boolean | ConfigVueBranchOptions;
68
78
  /**
69
79
  * Create virtual files for Vue SFC blocks to enable linting.
70
80
  *
@@ -2429,7 +2439,7 @@ interface RuleOptions {
2429
2439
  * Transforms the negation of a disjunction !(A || B) into the equivalent !A && !B according to De Morgan’s law
2430
2440
  * @see https://github.com/azat-io/eslint-plugin-de-morgan/blob/main/docs/no-negated-disjunction.md
2431
2441
  */
2432
- 'de-morgan/no-negated-disjunction'?: Linter.RuleEntry<[]>;
2442
+ 'de-morgan/no-negated-disjunction'?: Linter.RuleEntry<DeMorganNoNegatedDisjunction>;
2433
2443
  /**
2434
2444
  * Require `default` cases in `switch` statements
2435
2445
  * @see https://eslint.org/docs/latest/rules/default-case
@@ -5037,6 +5047,11 @@ interface RuleOptions {
5037
5047
  * @see https://eslint-plugin.ntnyq.com/rules/no-only-tests.html
5038
5048
  */
5039
5049
  'ntnyq/no-only-tests'?: Linter.RuleEntry<NtnyqNoOnlyTests>;
5050
+ /**
5051
+ * disallow specified binding names in selected regions and scopes
5052
+ * @see https://eslint-plugin.ntnyq.com/rules/no-restricted-bindings.html
5053
+ */
5054
+ 'ntnyq/no-restricted-bindings'?: Linter.RuleEntry<NtnyqNoRestrictedBindings>;
5040
5055
  /**
5041
5056
  * require a newline after file header
5042
5057
  * @see https://eslint-plugin.ntnyq.com/rules/prefer-newline-after-file-header.html
@@ -6501,1740 +6516,1841 @@ interface RuleOptions {
6501
6516
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6502
6517
  /**
6503
6518
  * Prefer better DOM traversal APIs.
6504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/better-dom-traversing.md
6519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/better-dom-traversing.md
6505
6520
  */
6506
6521
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
6507
6522
  /**
6508
6523
  * Removed. Prefer `eslint-plugin-regexp`
6509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6510
6525
  * @deprecated
6511
6526
  */
6512
6527
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
6513
6528
  /**
6514
6529
  * Enforce a specific parameter name in catch clauses.
6515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/catch-error-name.md
6530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/catch-error-name.md
6516
6531
  */
6517
6532
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6518
6533
  /**
6519
6534
  * Enforce consistent class references in static methods.
6520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/class-reference-in-static-methods.md
6535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/class-reference-in-static-methods.md
6521
6536
  */
6522
6537
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
6523
6538
  /**
6524
6539
  * Enforce better comment content.
6525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/comment-content.md
6540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/comment-content.md
6526
6541
  */
6527
6542
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
6528
6543
  /**
6529
6544
  * Enforce a consistent return style for multiline arrow function bodies.
6530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-arrow-return-style.md
6545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-arrow-return-style.md
6531
6546
  */
6532
6547
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
6533
6548
  /**
6534
6549
  * Enforce consistent assertion style with `node:assert`.
6535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-assert.md
6550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-assert.md
6536
6551
  */
6537
6552
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6538
6553
  /**
6539
6554
  * Enforce consistent naming for boolean names.
6540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-boolean-name.md
6555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-boolean-name.md
6541
6556
  */
6542
6557
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
6543
6558
  /**
6544
6559
  * Enforce consistent class member order.
6545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-class-member-order.md
6560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-class-member-order.md
6546
6561
  */
6547
6562
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
6548
6563
  /**
6549
6564
  * Enforce consistent spelling of compound words in identifiers.
6550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-compound-words.md
6565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-compound-words.md
6551
6566
  */
6552
6567
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
6553
6568
  /**
6554
6569
  * Enforce consistent conditional object spread style.
6555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-conditional-object-spread.md
6570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-conditional-object-spread.md
6556
6571
  */
6557
6572
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
6558
6573
  /**
6559
6574
  * Prefer passing `Date` directly to the constructor when cloning.
6560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-date-clone.md
6575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-date-clone.md
6561
6576
  */
6562
6577
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6563
6578
  /**
6564
6579
  * Use destructured variables over properties.
6565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-destructuring.md
6580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-destructuring.md
6566
6581
  */
6567
6582
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6568
6583
  /**
6569
6584
  * Prefer consistent types when spreading a ternary in an array literal.
6570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-empty-array-spread.md
6585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-empty-array-spread.md
6571
6586
  */
6572
6587
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6573
6588
  /**
6574
6589
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-existence-index-check.md
6590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-existence-index-check.md
6576
6591
  */
6577
6592
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6578
6593
  /**
6579
6594
  * Enforce consistent decorator position on exported classes.
6580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-export-decorator-position.md
6595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-export-decorator-position.md
6581
6596
  */
6582
6597
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
6583
6598
  /**
6584
6599
  * Move function definitions to the highest possible scope.
6585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-function-scoping.md
6600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-scoping.md
6586
6601
  */
6587
6602
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6588
6603
  /**
6589
6604
  * Enforce function syntax by role.
6590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-function-style.md
6605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-style.md
6591
6606
  */
6592
6607
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
6593
6608
  /**
6594
6609
  * Enforce consistent JSON file reads before `JSON.parse()`.
6595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-json-file-read.md
6610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-json-file-read.md
6596
6611
  */
6597
6612
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
6598
6613
  /**
6599
6614
  * Enforce consistent optional chaining for same-base member access.
6600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-optional-chaining.md
6615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-optional-chaining.md
6601
6616
  */
6602
6617
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
6603
6618
  /**
6604
6619
  * Enforce consistent style for escaping `${` in template literals.
6605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-template-literal-escape.md
6620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-template-literal-escape.md
6606
6621
  */
6607
6622
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6608
6623
  /**
6609
6624
  * Enforce consistent labels on tuple type elements.
6610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-tuple-labels.md
6625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-tuple-labels.md
6611
6626
  */
6612
6627
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6613
6628
  /**
6614
6629
  * Enforce correct `Error` subclassing.
6615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/custom-error-definition.md
6630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/custom-error-definition.md
6616
6631
  */
6617
6632
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6618
6633
  /**
6619
6634
  * Enforce consistent default export declarations.
6620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/default-export-style.md
6635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/default-export-style.md
6621
6636
  */
6622
6637
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6623
6638
  /**
6624
6639
  * Enforce consistent style for DOM element dataset access.
6625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/dom-node-dataset.md
6640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/dom-node-dataset.md
6626
6641
  */
6627
6642
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6628
6643
  /**
6629
6644
  * Enforce no spaces between braces.
6630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/empty-brace-spaces.md
6645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/empty-brace-spaces.md
6631
6646
  */
6632
6647
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6633
6648
  /**
6634
6649
  * Enforce passing a `message` value when creating a built-in error.
6635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/error-message.md
6650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/error-message.md
6636
6651
  */
6637
6652
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6638
6653
  /**
6639
6654
  * Require escape sequences to use uppercase or lowercase values.
6640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/escape-case.md
6655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/escape-case.md
6641
6656
  */
6642
6657
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6643
6658
  /**
6644
6659
  * Add expiration conditions to TODO comments.
6645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/expiring-todo-comments.md
6660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/expiring-todo-comments.md
6646
6661
  */
6647
6662
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6648
6663
  /**
6649
6664
  * Enforce explicitly comparing the `length` or `size` property of a value.
6650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/explicit-length-check.md
6665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-length-check.md
6651
6666
  */
6652
6667
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6653
6668
  /**
6654
6669
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
6655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/explicit-timer-delay.md
6670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-timer-delay.md
6656
6671
  */
6657
6672
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6658
6673
  /**
6659
6674
  * Enforce a case style for filenames and directory names.
6660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/filename-case.md
6675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/filename-case.md
6661
6676
  */
6662
6677
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6663
6678
  /**
6664
6679
  * Require identifiers to match a specified regular expression.
6665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/id-match.md
6680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/id-match.md
6666
6681
  */
6667
6682
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6668
6683
  /**
6669
6684
  * Enforce specific import styles per module.
6670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/import-style.md
6685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/import-style.md
6671
6686
  */
6672
6687
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6673
6688
  /**
6674
6689
  * Prevent usage of variables from outside the scope of isolated functions.
6675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/isolated-functions.md
6690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/isolated-functions.md
6676
6691
  */
6677
6692
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6678
6693
  /**
6679
6694
  * Enforce a consistent style for optional loop sources.
6680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/iteration-fallback-style.md
6695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/iteration-fallback-style.md
6681
6696
  */
6682
6697
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
6683
6698
  /**
6684
6699
  * Require or disallow logical assignment operator shorthand
6685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/logical-assignment-operators.md
6700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/logical-assignment-operators.md
6686
6701
  */
6687
6702
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6688
6703
  /**
6689
6704
  * Limit the depth of nested calls.
6690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/max-nested-calls.md
6705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/max-nested-calls.md
6691
6706
  */
6692
6707
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6693
6708
  /**
6694
6709
  * Enforce replacements for variable, property, and filenames.
6695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/name-replacements.md
6710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/name-replacements.md
6696
6711
  */
6697
6712
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6698
6713
  /**
6699
6714
  * Enforce correct use of `new` for builtin constructors.
6700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/new-for-builtins.md
6715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/new-for-builtins.md
6701
6716
  */
6702
6717
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6703
6718
  /**
6704
6719
  * Enforce specifying rules to disable in `eslint-disable` comments.
6705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-abusive-eslint-disable.md
6720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-abusive-eslint-disable.md
6706
6721
  */
6707
6722
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6708
6723
  /**
6709
6724
  * Disallow recursive access to `this` within getters and setters.
6710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-accessor-recursion.md
6725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accessor-recursion.md
6711
6726
  */
6712
6727
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6713
6728
  /**
6714
6729
  * Disallow bitwise operators where a logical operator was likely intended.
6715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-accidental-bitwise-operator.md
6730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accidental-bitwise-operator.md
6716
6731
  */
6717
6732
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6718
6733
  /**
6719
6734
  * Disallow anonymous functions and classes as the default export.
6720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-anonymous-default-export.md
6735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-anonymous-default-export.md
6721
6736
  */
6722
6737
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6723
6738
  /**
6724
6739
  * Prevent passing a function reference directly to iterator methods.
6725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-callback-reference.md
6740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-callback-reference.md
6726
6741
  */
6727
6742
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6728
6743
  /**
6729
6744
  * Disallow array accumulation with `Array#concat()` in loops.
6730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-concat-in-loop.md
6745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-concat-in-loop.md
6731
6746
  */
6732
6747
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6733
6748
  /**
6734
6749
  * Disallow using reference values as `Array#fill()` values.
6735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-fill-with-reference-type.md
6750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-fill-with-reference-type.md
6736
6751
  */
6737
6752
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6738
6753
  /**
6739
6754
  * Disallow `.fill()` after `Array.from({length: …})`.
6740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-from-fill.md
6755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-from-fill.md
6741
6756
  */
6742
6757
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6743
6758
  /**
6744
6759
  * Disallow front-of-array mutation.
6745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-front-mutation.md
6760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-front-mutation.md
6746
6761
  */
6747
6762
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6748
6763
  /**
6749
6764
  * Disallow using the `this` argument in array methods.
6750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-method-this-argument.md
6765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-method-this-argument.md
6751
6766
  */
6752
6767
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6753
6768
  /**
6754
6769
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6756
6771
  * @deprecated
6757
6772
  */
6758
6773
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6759
6774
  /**
6760
6775
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-reduce.md
6776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reduce.md
6762
6777
  */
6763
6778
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6764
6779
  /**
6765
6780
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-reverse.md
6781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reverse.md
6767
6782
  */
6768
6783
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6769
6784
  /**
6770
6785
  * Prefer `Array#toSorted()` over `Array#sort()`.
6771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-sort.md
6786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort.md
6772
6787
  */
6773
6788
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6774
6789
  /**
6775
6790
  * Disallow sorting arrays to get the minimum or maximum value.
6776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-sort-for-min-max.md
6791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort-for-min-max.md
6777
6792
  */
6778
6793
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6779
6794
  /**
6780
6795
  * Prefer `Array#toSpliced()` over `Array#splice()`.
6781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-splice.md
6796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-splice.md
6782
6797
  */
6783
6798
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6784
6799
  /**
6785
6800
  * Disallow asterisk prefixes in documentation comments.
6786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6787
6802
  */
6788
6803
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
6804
+ /**
6805
+ * Disallow asynchronous callbacks in synchronous iterator helpers.
6806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-iterator-callback.md
6807
+ */
6808
+ 'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
6789
6809
  /**
6790
6810
  * Disallow async functions as `Promise#finally()` callbacks.
6791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-async-promise-finally.md
6811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-promise-finally.md
6792
6812
  */
6793
6813
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
6794
6814
  /**
6795
6815
  * Disallow member access from await expression.
6796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-await-expression-member.md
6816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-expression-member.md
6797
6817
  */
6798
6818
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6799
6819
  /**
6800
6820
  * Disallow using `await` in `Promise` method parameters.
6801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-await-in-promise-methods.md
6821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-in-promise-methods.md
6802
6822
  */
6803
6823
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6804
6824
  /**
6805
6825
  * Disallow barrel files.
6806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-barrel-files.md
6826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-barrel-files.md
6807
6827
  */
6808
6828
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
6809
6829
  /**
6810
6830
  * Disallow unnecessary `Blob` to `File` conversion.
6811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-blob-to-file.md
6831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-blob-to-file.md
6812
6832
  */
6813
6833
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6814
6834
  /**
6815
6835
  * Disallow boolean-returning sort comparators.
6816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-boolean-sort-comparator.md
6836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-boolean-sort-comparator.md
6817
6837
  */
6818
6838
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6819
6839
  /**
6820
- * Disallow `break` and `continue` in nested loops and switches inside loops.
6821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-break-in-nested-loop.md
6840
+ * Disallow `break` and optionally `continue` in nested loops and switches inside loops.
6841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-break-in-nested-loop.md
6822
6842
  */
6823
- 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6843
+ 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
6824
6844
  /**
6825
6845
  * Prefer drawing canvases directly instead of converting them to images.
6826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-canvas-to-image.md
6846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-canvas-to-image.md
6827
6847
  */
6828
6848
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6829
6849
  /**
6830
6850
  * Disallow chained comparisons such as `a < b < c`.
6831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-chained-comparison.md
6851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-chained-comparison.md
6832
6852
  */
6833
6853
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6834
6854
  /**
6835
6855
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
6836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-collection-bracket-access.md
6856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-collection-bracket-access.md
6837
6857
  */
6838
6858
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6839
6859
  /**
6840
6860
  * Disallow dynamic object property existence checks.
6841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-computed-property-existence-check.md
6861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-computed-property-existence-check.md
6842
6862
  */
6843
6863
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6844
6864
  /**
6845
6865
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
6846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-confusing-array-splice.md
6866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-splice.md
6847
6867
  */
6848
6868
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6849
6869
  /**
6850
6870
  * Disallow confusing uses of `Array#with()`.
6851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-confusing-array-with.md
6871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-with.md
6852
6872
  */
6853
6873
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6854
6874
  /**
6855
6875
  * Do not use leading/trailing space between `console.log` parameters.
6856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-console-spaces.md
6876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-console-spaces.md
6857
6877
  */
6858
6878
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6859
6879
  /**
6860
6880
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
6861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-constant-zero-expression.md
6881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-constant-zero-expression.md
6862
6882
  */
6863
6883
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6864
6884
  /**
6865
6885
  * Disallow declarations before conditional early exits when they are only used after the exit.
6866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-declarations-before-early-exit.md
6886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-declarations-before-early-exit.md
6867
6887
  */
6868
6888
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6889
+ /**
6890
+ * Disallow deprecated CSS features.
6891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-deprecated-css-features.md
6892
+ */
6893
+ 'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<UnicornNoDeprecatedCssFeatures>;
6869
6894
  /**
6870
6895
  * Do not use `document.cookie` directly.
6871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-document-cookie.md
6896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-document-cookie.md
6872
6897
  */
6873
6898
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6874
6899
  /**
6875
6900
  * Disallow two comparisons of the same operands that can be combined into one.
6876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-double-comparison.md
6901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-double-comparison.md
6877
6902
  */
6878
6903
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6904
+ /**
6905
+ * Disallow duplicate CSS selectors.
6906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-css-selectors.md
6907
+ */
6908
+ 'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
6909
+ /**
6910
+ * Disallow duplicate font family names.
6911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-font-family-names.md
6912
+ */
6913
+ 'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
6879
6914
  /**
6880
6915
  * Disallow duplicate adjacent branches in if chains.
6881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-if-branches.md
6916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-if-branches.md
6882
6917
  */
6883
6918
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6884
6919
  /**
6885
6920
  * Disallow adjacent duplicate operands in logical expressions.
6886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-logical-operands.md
6921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-logical-operands.md
6887
6922
  */
6888
6923
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6889
6924
  /**
6890
6925
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
6891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-loops.md
6926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-loops.md
6892
6927
  */
6893
6928
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6894
6929
  /**
6895
6930
  * Disallow duplicate values in `Set` constructor array literals.
6896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-set-values.md
6931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-set-values.md
6897
6932
  */
6898
6933
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6899
6934
  /**
6900
6935
  * Disallow empty files.
6901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-empty-file.md
6936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-empty-file.md
6902
6937
  */
6903
6938
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6904
6939
  /**
6905
6940
  * Disallow assigning to built-in error properties.
6906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-error-property-assignment.md
6941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-error-property-assignment.md
6907
6942
  */
6908
6943
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6909
6944
  /**
6910
6945
  * Disallow exports in scripts.
6911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-exports-in-scripts.md
6946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-exports-in-scripts.md
6912
6947
  */
6913
6948
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6914
6949
  /**
6915
6950
  * Prefer `for…of` over the `forEach` method.
6916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-for-each.md
6951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-each.md
6917
6952
  */
6918
6953
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6919
6954
  /**
6920
6955
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-for-loop.md
6956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-loop.md
6922
6957
  */
6923
6958
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6924
6959
  /**
6925
6960
  * Disallow assigning properties on the global object.
6926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-global-object-property-assignment.md
6961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-global-object-property-assignment.md
6927
6962
  */
6928
6963
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6929
6964
  /**
6930
6965
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
6931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6932
6967
  * @deprecated
6933
6968
  */
6934
6969
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6935
6970
  /**
6936
6971
  * Disallow immediate mutation after variable assignment.
6937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-immediate-mutation.md
6972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-immediate-mutation.md
6938
6973
  */
6939
- 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6974
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
6940
6975
  /**
6941
6976
  * Disallow impossible comparisons against `.length` or `.size`.
6942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-impossible-length-comparison.md
6977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-impossible-length-comparison.md
6943
6978
  */
6944
6979
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6945
6980
  /**
6946
6981
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
6947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-incorrect-query-selector.md
6982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-query-selector.md
6948
6983
  */
6949
6984
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6950
6985
  /**
6951
6986
  * Disallow incorrect template literal interpolation syntax.
6952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6953
6988
  */
6954
6989
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6955
6990
  /**
6956
6991
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6958
6993
  * @deprecated
6959
6994
  */
6960
6995
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6961
6996
  /**
6962
6997
  * Disallow `instanceof` with built-in objects
6963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-instanceof-builtins.md
6998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-instanceof-builtins.md
6964
6999
  */
6965
7000
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6966
7001
  /**
6967
7002
  * Disallow calling functions and constructors with an invalid number of arguments.
6968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-argument-count.md
7003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-argument-count.md
6969
7004
  */
6970
7005
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6971
7006
  /**
6972
7007
  * Disallow comparing a single character from a string to a multi-character string.
6973
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-character-comparison.md
7008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-character-comparison.md
6974
7009
  */
6975
7010
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
6976
7011
  /**
6977
7012
  * Disallow invalid options in `fetch()` and `new Request()`.
6978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-fetch-options.md
7013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-fetch-options.md
6979
7014
  */
6980
7015
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6981
7016
  /**
6982
7017
  * Disallow invalid `accept` values on file inputs.
6983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-file-input-accept.md
7018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-file-input-accept.md
6984
7019
  */
6985
7020
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
7021
+ /**
7022
+ * Disallow unknown media features and invalid values for known media features.
7023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-media-features.md
7024
+ */
7025
+ 'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
6986
7026
  /**
6987
7027
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-remove-event-listener.md
7028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-remove-event-listener.md
6989
7029
  */
6990
7030
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6991
7031
  /**
6992
7032
  * Disallow invalid implementations of well-known symbol methods.
6993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
7033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6994
7034
  */
6995
7035
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
6996
7036
  /**
6997
7037
  * Disallow identifiers starting with `new` or `class`.
6998
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-keyword-prefix.md
7038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-keyword-prefix.md
6999
7039
  */
7000
7040
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
7001
7041
  /**
7002
7042
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
7003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-late-current-target-access.md
7043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-current-target-access.md
7004
7044
  */
7005
7045
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
7006
7046
  /**
7007
7047
  * Disallow event-control method calls after the synchronous event dispatch has finished.
7008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-late-event-control.md
7048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-event-control.md
7009
7049
  */
7010
7050
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
7011
7051
  /**
7012
7052
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
7013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7014
7054
  * @deprecated
7015
7055
  */
7016
7056
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
7017
7057
  /**
7018
7058
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
7019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-lonely-if.md
7059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-lonely-if.md
7020
7060
  */
7021
7061
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
7022
7062
  /**
7023
7063
  * Disallow mutating a loop iterable during iteration.
7024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-loop-iterable-mutation.md
7064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-loop-iterable-mutation.md
7025
7065
  */
7026
7066
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
7027
7067
  /**
7028
7068
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
7029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-magic-array-flat-depth.md
7069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-magic-array-flat-depth.md
7030
7070
  */
7031
7071
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
7032
7072
  /**
7033
7073
  * Disallow manually wrapped comments.
7034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-manually-wrapped-comments.md
7074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-manually-wrapped-comments.md
7035
7075
  */
7036
7076
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
7037
7077
  /**
7038
7078
  * Disallow checking a Map key before accessing a different key.
7039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-mismatched-map-key.md
7079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-mismatched-map-key.md
7040
7080
  */
7041
7081
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
7042
7082
  /**
7043
7083
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
7044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-misrefactored-assignment.md
7084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-misrefactored-assignment.md
7045
7085
  */
7046
7086
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
7047
7087
  /**
7048
7088
  * Disallow references to missing local resources.
7049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-missing-local-resource.md
7089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-missing-local-resource.md
7050
7090
  */
7051
7091
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
7052
7092
  /**
7053
7093
  * Disallow calling Promise executor resolver functions more than once on the same execution path.
7054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-multiple-promise-resolver-calls.md
7094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-multiple-promise-resolver-calls.md
7055
7095
  */
7056
7096
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
7057
7097
  /**
7058
7098
  * Disallow named usage of default import and export.
7059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-named-default.md
7099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-named-default.md
7060
7100
  */
7061
7101
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
7062
7102
  /**
7063
7103
  * Disallow negated array predicate calls.
7064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-array-predicate.md
7104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-array-predicate.md
7065
7105
  */
7066
7106
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
7067
7107
  /**
7068
7108
  * Disallow negated comparisons.
7069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-comparison.md
7109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-comparison.md
7070
7110
  */
7071
7111
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
7072
7112
  /**
7073
7113
  * Disallow negated conditions.
7074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-condition.md
7114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-condition.md
7075
7115
  */
7076
7116
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
7077
7117
  /**
7078
7118
  * Disallow negated expression in equality check.
7079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negation-in-equality-check.md
7119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negation-in-equality-check.md
7080
7120
  */
7081
7121
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
7082
7122
  /**
7083
7123
  * Disallow nested ternary expressions.
7084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-nested-ternary.md
7124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nested-ternary.md
7085
7125
  */
7086
7126
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
7127
+ /**
7128
+ * Disallow nesting under selector lists with mixed specificity.
7129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nesting-with-mixed-specificity.md
7130
+ */
7131
+ 'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
7087
7132
  /**
7088
7133
  * Disallow `new Array()`.
7089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-new-array.md
7134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-array.md
7090
7135
  */
7091
7136
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
7092
7137
  /**
7093
7138
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-new-buffer.md
7139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-buffer.md
7095
7140
  */
7096
7141
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
7097
7142
  /**
7098
7143
  * Disallow non-function values with function-style verb prefixes.
7099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-non-function-verb-prefix.md
7144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-non-function-verb-prefix.md
7100
7145
  */
7101
7146
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
7102
7147
  /**
7103
7148
  * Disallow non-standard properties on built-in objects.
7104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-nonstandard-builtin-properties.md
7149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nonstandard-builtin-properties.md
7105
7150
  */
7106
7151
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
7107
7152
  /**
7108
7153
  * Disallow the use of the `null` literal.
7109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-null.md
7154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-null.md
7110
7155
  */
7111
7156
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
7112
7157
  /**
7113
7158
  * Disallow the use of objects as default parameters.
7114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-object-as-default-parameter.md
7159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-as-default-parameter.md
7115
7160
  */
7116
7161
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
7117
7162
  /**
7118
7163
  * Disallow `Object` methods with `Map` or `Set`.
7119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-object-methods-with-collections.md
7164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-methods-with-collections.md
7120
7165
  */
7121
7166
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
7122
7167
  /**
7123
7168
  * Disallow optional chaining on undeclared variables.
7124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7125
7170
  */
7126
7171
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
7127
7172
  /**
7128
7173
  * Disallow `process.exit()`.
7129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-process-exit.md
7174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-process-exit.md
7130
7175
  */
7131
7176
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
7132
7177
  /**
7133
7178
  * Disallow comparisons made redundant by an equality check in the same logical AND.
7134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-redundant-comparison.md
7179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-comparison.md
7135
7180
  */
7136
7181
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
7182
+ /**
7183
+ * Disallow nested style rules that do not modify the parent selector.
7184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-nested-style-rules.md
7185
+ */
7186
+ 'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
7137
7187
  /**
7138
7188
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
7139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-return-array-push.md
7189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-return-array-push.md
7140
7190
  */
7141
7191
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
7142
7192
  /**
7143
7193
  * Disallow selector syntax in DOM names.
7144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-selector-as-dom-name.md
7194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-selector-as-dom-name.md
7145
7195
  */
7146
7196
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
7147
7197
  /**
7148
7198
  * Disallow shorthand properties that override related longhand properties.
7149
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-shorthand-property-overrides.md
7199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-shorthand-property-overrides.md
7150
7200
  */
7151
7201
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
7152
7202
  /**
7153
7203
  * Disallow passing single-element arrays to `Promise` methods.
7154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-single-promise-in-promise-methods.md
7204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-single-promise-in-promise-methods.md
7155
7205
  */
7156
7206
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
7157
7207
  /**
7158
7208
  * Disallow classes that only have static members.
7159
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-static-only-class.md
7209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-static-only-class.md
7160
7210
  */
7161
7211
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
7162
7212
  /**
7163
7213
  * Prefer comparing values directly over subtracting and comparing to `0`.
7164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-subtraction-comparison.md
7214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-subtraction-comparison.md
7165
7215
  */
7166
7216
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
7167
7217
  /**
7168
7218
  * Disallow `then` property.
7169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-thenable.md
7219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-thenable.md
7170
7220
  */
7171
7221
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
7172
7222
  /**
7173
7223
  * Disallow assigning `this` to a variable.
7174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-this-assignment.md
7224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-assignment.md
7175
7225
  */
7176
7226
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
7177
7227
  /**
7178
7228
  * Disallow `this` outside of classes.
7179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-this-outside-of-class.md
7229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-outside-of-class.md
7180
7230
  */
7181
7231
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
7182
7232
  /**
7183
7233
  * Disallow assigning to top-level variables from inside functions.
7184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-top-level-assignment-in-function.md
7234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-assignment-in-function.md
7185
7235
  */
7186
7236
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
7187
7237
  /**
7188
7238
  * Disallow top-level side effects in exported modules.
7189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-top-level-side-effects.md
7239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-side-effects.md
7190
7240
  */
7191
7241
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
7192
7242
  /**
7193
7243
  * Disallow `all` as a transition property.
7194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-transition-all.md
7244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-transition-all.md
7195
7245
  */
7196
7246
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
7197
7247
  /**
7198
7248
  * Disallow comparing `undefined` using `typeof`.
7199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-typeof-undefined.md
7249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-typeof-undefined.md
7200
7250
  */
7201
7251
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7202
7252
  /**
7203
7253
  * Disallow referencing methods without calling them.
7204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-uncalled-method.md
7254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-uncalled-method.md
7205
7255
  */
7206
7256
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
7207
7257
  /**
7208
7258
  * Require class members to be declared.
7209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-undeclared-class-members.md
7259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-undeclared-class-members.md
7210
7260
  */
7211
7261
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
7262
+ /**
7263
+ * Disallow unknown and noncanonical CSS annotations.
7264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-css-annotations.md
7265
+ */
7266
+ 'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
7267
+ /**
7268
+ * Disallow unknown pseudo-class and pseudo-element selectors.
7269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-pseudo-selectors.md
7270
+ */
7271
+ 'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<UnicornNoUnknownPseudoSelectors>;
7212
7272
  /**
7213
7273
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7215
7275
  */
7216
7276
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7217
7277
  /**
7218
7278
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
7219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-flat-map.md
7279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-map.md
7220
7280
  */
7221
7281
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
7222
7282
  /**
7223
7283
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-splice-count.md
7284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-splice-count.md
7225
7285
  */
7226
7286
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7227
7287
  /**
7228
7288
  * Disallow awaiting non-promise values.
7229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-await.md
7289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-await.md
7230
7290
  */
7231
7291
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7232
7292
  /**
7233
7293
  * Disallow unnecessary comparisons against boolean literals.
7234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7235
7295
  */
7236
7296
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
7237
7297
  /**
7238
7298
  * Disallow unnecessary options in `fetch()` and `new Request()`.
7239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-fetch-options.md
7299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-fetch-options.md
7240
7300
  */
7241
7301
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
7242
7302
  /**
7243
7303
  * Disallow unnecessary `globalThis` references.
7244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-global-this.md
7304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-global-this.md
7245
7305
  */
7246
7306
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
7247
7307
  /**
7248
7308
  * Disallow unnecessary nested ternary expressions.
7249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-nested-ternary.md
7309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-nested-ternary.md
7250
7310
  */
7251
7311
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
7252
7312
  /**
7253
7313
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-polyfills.md
7314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-polyfills.md
7255
7315
  */
7256
7316
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7257
7317
  /**
7258
7318
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-slice-end.md
7319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-slice-end.md
7260
7320
  */
7261
7321
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7262
7322
  /**
7263
7323
  * Disallow `Array#splice()` when simpler alternatives exist.
7264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-splice.md
7324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-splice.md
7265
7325
  */
7266
7326
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
7267
7327
  /**
7268
7328
  * Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
7269
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-string-trim.md
7329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-string-trim.md
7270
7330
  */
7271
7331
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
7272
7332
  /**
7273
7333
  * Disallow unreadable array destructuring.
7274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-array-destructuring.md
7334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-array-destructuring.md
7275
7335
  */
7276
7336
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
7277
7337
  /**
7278
7338
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
7279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-for-of-expression.md
7339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-for-of-expression.md
7280
7340
  */
7281
7341
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
7282
7342
  /**
7283
7343
  * Disallow unreadable IIFEs.
7284
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-iife.md
7344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-iife.md
7285
7345
  */
7286
7346
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7287
7347
  /**
7288
7348
  * Disallow unreadable `new` expressions.
7289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-new-expression.md
7349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-new-expression.md
7290
7350
  */
7291
7351
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
7292
7352
  /**
7293
7353
  * Disallow unreadable object destructuring.
7294
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-object-destructuring.md
7354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-object-destructuring.md
7295
7355
  */
7296
7356
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
7297
7357
  /**
7298
7358
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
7299
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-buffer-conversion.md
7359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-buffer-conversion.md
7300
7360
  */
7301
7361
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
7302
7362
  /**
7303
7363
  * Disallow unsafe DOM HTML APIs.
7304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-dom-html.md
7364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-dom-html.md
7305
7365
  */
7306
7366
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
7307
7367
  /**
7308
7368
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
7309
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7310
7370
  */
7311
7371
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
7312
7372
  /**
7313
7373
  * Disallow unsafe values as property keys.
7314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-property-key.md
7374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-property-key.md
7315
7375
  */
7316
7376
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
7317
7377
  /**
7318
7378
  * Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
7319
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7320
7380
  */
7321
7381
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
7322
7382
  /**
7323
7383
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
7324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-string-replacement.md
7384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-string-replacement.md
7325
7385
  */
7326
7386
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
7327
7387
  /**
7328
- * Disallow ignoring the return value of selected array methods.
7329
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unused-array-method-return.md
7388
+ * Disallow unscoped CSS nesting selectors.
7389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unscoped-css-nesting-selector.md
7390
+ */
7391
+ 'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<UnicornNoUnscopedCssNestingSelector>;
7392
+ /**
7393
+ * Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
7394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
7395
+ * @deprecated
7330
7396
  */
7331
7397
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
7398
+ /**
7399
+ * Disallow ignoring the return value of selected built-in methods.
7400
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-builtin-method-return.md
7401
+ */
7402
+ 'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
7403
+ /**
7404
+ * Disallow discarding lazy iterator helpers.
7405
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-iterator-helper.md
7406
+ */
7407
+ 'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
7332
7408
  /**
7333
7409
  * Disallow unused object properties.
7334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unused-properties.md
7410
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-properties.md
7335
7411
  */
7336
7412
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
7337
7413
  /**
7338
7414
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
7339
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-boolean-cast.md
7415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-boolean-cast.md
7340
7416
  */
7341
7417
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
7342
7418
  /**
7343
7419
  * Disallow useless type coercions of values that are already of the target type.
7344
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-coercion.md
7420
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-coercion.md
7345
7421
  */
7346
7422
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
7347
7423
  /**
7348
7424
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
7349
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-collection-argument.md
7425
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-collection-argument.md
7350
7426
  */
7351
7427
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
7352
7428
  /**
7353
7429
  * Disallow useless compound assignments such as `x += 0`.
7354
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-compound-assignment.md
7430
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-compound-assignment.md
7355
7431
  */
7356
7432
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
7357
7433
  /**
7358
7434
  * Disallow useless concatenation of literals.
7359
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-concat.md
7435
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-concat.md
7360
7436
  */
7361
7437
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
7362
7438
  /**
7363
7439
  * Disallow useless `continue` statements.
7364
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-continue.md
7440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-continue.md
7365
7441
  */
7366
7442
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
7367
7443
  /**
7368
7444
  * Disallow unnecessary existence checks before deletion.
7369
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-delete-check.md
7445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-delete-check.md
7370
7446
  */
7371
7447
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
7372
7448
  /**
7373
7449
  * Disallow `else` after a statement that exits.
7374
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-else.md
7450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-else.md
7375
7451
  */
7376
7452
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
7377
7453
  /**
7378
7454
  * Disallow unnecessary `Error.captureStackTrace(…)`.
7379
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7380
7456
  */
7381
7457
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
7382
7458
  /**
7383
7459
  * Disallow useless fallback when spreading in object literals.
7384
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-fallback-in-spread.md
7460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-fallback-in-spread.md
7385
7461
  */
7386
7462
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
7387
7463
  /**
7388
7464
  * Disallow unnecessary `.toArray()` on iterators.
7389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-iterator-to-array.md
7465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-iterator-to-array.md
7390
7466
  */
7391
7467
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
7392
7468
  /**
7393
7469
  * Disallow useless array length check.
7394
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-length-check.md
7470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-length-check.md
7395
7471
  */
7396
7472
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7397
7473
  /**
7398
7474
  * Disallow unnecessary operands in logical expressions involving boolean literals.
7399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-logical-operand.md
7475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-logical-operand.md
7400
7476
  */
7401
7477
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
7402
7478
  /**
7403
7479
  * Disallow useless overrides of class methods.
7404
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-override.md
7480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-override.md
7405
7481
  */
7406
7482
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7407
7483
  /**
7408
7484
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-promise-resolve-reject.md
7485
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-promise-resolve-reject.md
7410
7486
  */
7411
7487
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7412
7488
  /**
7413
7489
  * Disallow redundant re-exports.
7414
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-re-export.md
7490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-re-export.md
7415
7491
  */
7416
7492
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
7417
7493
  /**
7418
7494
  * Disallow simple recursive function calls that can be replaced with a loop.
7419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-recursion.md
7495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-recursion.md
7420
7496
  */
7421
7497
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7498
+ /**
7499
+ * Disallow unnecessary `Set` construction around `Set` methods.
7500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-set-construction.md
7501
+ */
7502
+ 'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
7422
7503
  /**
7423
7504
  * Disallow unnecessary spread.
7424
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-spread.md
7505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-spread.md
7425
7506
  */
7426
7507
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7427
7508
  /**
7428
7509
  * Disallow useless case in switch statements.
7429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-switch-case.md
7510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-switch-case.md
7430
7511
  */
7431
7512
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7432
7513
  /**
7433
7514
  * Disallow useless template literal expressions.
7434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-template-literals.md
7515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-template-literals.md
7435
7516
  */
7436
7517
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7437
7518
  /**
7438
7519
  * Disallow useless `undefined`.
7439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-undefined.md
7520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-undefined.md
7440
7521
  */
7441
7522
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7523
+ /**
7524
+ * Disallow returning or exporting resources declared with `using`, including through capturing functions.
7525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-using-resource-escape.md
7526
+ */
7527
+ 'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
7442
7528
  /**
7443
7529
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
7444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-xor-as-exponentiation.md
7530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-xor-as-exponentiation.md
7445
7531
  */
7446
7532
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7447
7533
  /**
7448
7534
  * Disallow number literals with zero fractions or dangling dots.
7449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-zero-fractions.md
7535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-zero-fractions.md
7450
7536
  */
7451
7537
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7452
7538
  /**
7453
7539
  * Enforce proper case for numeric literals.
7454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/number-literal-case.md
7540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/number-literal-case.md
7455
7541
  */
7456
7542
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7457
7543
  /**
7458
7544
  * Enforce the style of numeric separators by correctly grouping digits.
7459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/numeric-separators-style.md
7545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/numeric-separators-style.md
7460
7546
  */
7461
7547
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7462
7548
  /**
7463
7549
  * Require assignment operator shorthand where possible.
7464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/operator-assignment.md
7550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/operator-assignment.md
7465
7551
  */
7466
7552
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
7467
7553
  /**
7468
7554
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
7469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-abort-signal-any.md
7555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-any.md
7470
7556
  */
7471
7557
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
7472
7558
  /**
7473
7559
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
7474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-abort-signal-timeout.md
7560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-timeout.md
7475
7561
  */
7476
7562
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7477
7563
  /**
7478
7564
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-add-event-listener.md
7565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener.md
7480
7566
  */
7481
7567
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7482
7568
  /**
7483
7569
  * Prefer an options object over a boolean in `.addEventListener()`.
7484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-add-event-listener-options.md
7570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener-options.md
7485
7571
  */
7486
7572
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7487
7573
  /**
7488
7574
  * Prefer `AggregateError` when throwing collected errors.
7489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-aggregate-error.md
7575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-aggregate-error.md
7490
7576
  */
7491
7577
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7492
7578
  /**
7493
7579
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7494
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-find.md
7580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-find.md
7495
7581
  */
7496
7582
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7497
7583
  /**
7498
7584
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-flat.md
7585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat.md
7500
7586
  */
7501
7587
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7502
7588
  /**
7503
7589
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
7504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-flat-map.md
7590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat-map.md
7505
7591
  */
7506
7592
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7507
7593
  /**
7508
- * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
7509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-async.md
7594
+ * Prefer `Array.fromAsync()` over array accumulation loops.
7595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-async.md
7510
7596
  */
7511
7597
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7512
7598
  /**
7513
7599
  * Prefer using the `Array.from()` mapping function argument.
7514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-map.md
7600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-map.md
7515
7601
  */
7516
7602
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
7517
7603
  /**
7518
7604
  * Prefer `Array.from({length}, …)` when creating range arrays.
7519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-range.md
7605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-range.md
7520
7606
  */
7521
7607
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
7522
7608
  /**
7523
7609
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-index-of.md
7610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-index-of.md
7525
7611
  */
7526
7612
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7527
7613
  /**
7528
7614
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
7529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-iterable-methods.md
7615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-iterable-methods.md
7530
7616
  */
7531
7617
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7532
7618
  /**
7533
7619
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
7534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-last-methods.md
7620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-last-methods.md
7535
7621
  */
7536
7622
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7537
7623
  /**
7538
7624
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
7539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-slice.md
7625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-slice.md
7540
7626
  */
7541
7627
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7542
7628
  /**
7543
7629
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7544
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-some.md
7630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-some.md
7545
7631
  */
7546
7632
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7547
7633
  /**
7548
7634
  * Prefer `.at()` method for index access and `String#charAt()`.
7549
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-at.md
7635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-at.md
7550
7636
  */
7551
7637
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7552
7638
  /**
7553
7639
  * Prefer `await` over promise chaining.
7554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-await.md
7640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-await.md
7555
7641
  */
7556
7642
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7557
7643
  /**
7558
7644
  * Prefer `BigInt` literals over the constructor.
7559
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-bigint-literals.md
7645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-bigint-literals.md
7560
7646
  */
7561
7647
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7562
7648
  /**
7563
7649
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7564
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-blob-reading-methods.md
7650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-blob-reading-methods.md
7565
7651
  */
7566
7652
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7567
7653
  /**
7568
7654
  * Prefer block statements over IIFEs used only for scoping.
7569
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-block-statement-over-iife.md
7655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-block-statement-over-iife.md
7570
7656
  */
7571
7657
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
7572
7658
  /**
7573
7659
  * Prefer directly returning boolean expressions over `if` statements.
7574
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-boolean-return.md
7660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-boolean-return.md
7575
7661
  */
7576
7662
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7577
7663
  /**
7578
7664
  * Prefer class field declarations over `this` assignments in constructors.
7579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-class-fields.md
7665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-class-fields.md
7580
7666
  */
7581
7667
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7582
7668
  /**
7583
7669
  * Prefer using `Element#classList.toggle()` to toggle class names.
7584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-classlist-toggle.md
7670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-classlist-toggle.md
7585
7671
  */
7586
7672
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7587
7673
  /**
7588
7674
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-code-point.md
7675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-code-point.md
7590
7676
  */
7591
7677
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7592
7678
  /**
7593
- * Prefer early continues over whole-loop conditional wrapping.
7594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-continue.md
7679
+ * Prefer combining consecutive guards with identical exit statements.
7680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-combined-guards.md
7681
+ */
7682
+ 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
7683
+ /**
7684
+ * Prefer early continues over conditionals wrapping the remainder of the loop body.
7685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-continue.md
7595
7686
  */
7596
7687
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7597
7688
  /**
7598
7689
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-date-now.md
7690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-date-now.md
7600
7691
  */
7601
7692
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7602
7693
  /**
7603
7694
  * Prefer default parameters over reassignment.
7604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-default-parameters.md
7695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-default-parameters.md
7605
7696
  */
7606
7697
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7607
7698
  /**
7608
7699
  * Prefer direct iteration over default iterator method calls.
7609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-direct-iteration.md
7700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-direct-iteration.md
7610
7701
  */
7611
7702
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7612
7703
  /**
7613
7704
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
7614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dispose.md
7705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dispose.md
7615
7706
  */
7616
7707
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7617
7708
  /**
7618
7709
  * Prefer `Element#append()` over `Node#appendChild()`.
7619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-append.md
7710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-append.md
7620
7711
  */
7621
7712
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7622
7713
  /**
7623
7714
  * Renamed to `unicorn/dom-node-dataset`.
7624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7625
7716
  * @deprecated
7626
7717
  */
7627
7718
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7628
7719
  /**
7629
7720
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
7630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-html-methods.md
7721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-html-methods.md
7631
7722
  */
7632
7723
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
7633
7724
  /**
7634
7725
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-remove.md
7726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-remove.md
7636
7727
  */
7637
7728
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7638
7729
  /**
7639
- * Prefer `.replaceChildren()` when emptying DOM children.
7640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-replace-children.md
7730
+ * Prefer `.replaceChildren()` when replacing DOM children.
7731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-replace-children.md
7641
7732
  */
7642
7733
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7643
7734
  /**
7644
7735
  * Prefer `.textContent` over `.innerText`.
7645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-text-content.md
7736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-text-content.md
7646
7737
  */
7647
7738
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7648
7739
  /**
7649
- * Prefer early returns over full-function conditional wrapping.
7650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-early-return.md
7740
+ * Prefer early returns over conditionals wrapping the remainder of the function body.
7741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-early-return.md
7651
7742
  */
7652
7743
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7653
7744
  /**
7654
7745
  * Prefer `else if` over adjacent `if` statements with related conditions.
7655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-else-if.md
7746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-else-if.md
7656
7747
  */
7657
7748
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7658
7749
  /**
7659
7750
  * Prefer `Error.isError()` when checking for errors.
7660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-error-is-error.md
7751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-error-is-error.md
7661
7752
  */
7662
7753
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7663
7754
  /**
7664
7755
  * Prefer `EventTarget` over `EventEmitter`.
7665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-event-target.md
7756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-event-target.md
7666
7757
  */
7667
7758
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7668
7759
  /**
7669
7760
  * Prefer explicit viewport units.
7670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-explicit-viewport-units.md
7761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-explicit-viewport-units.md
7671
7762
  */
7672
7763
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
7673
7764
  /**
7674
7765
  * Prefer `export…from` when re-exporting.
7675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-export-from.md
7766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-export-from.md
7676
7767
  */
7677
7768
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7678
7769
  /**
7679
7770
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
7680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-flat-math-min-max.md
7771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-flat-math-min-max.md
7681
7772
  */
7682
7773
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7683
7774
  /**
7684
7775
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
7685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-get-or-insert-computed.md
7776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-get-or-insert-computed.md
7686
7777
  */
7687
7778
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7688
7779
  /**
7689
7780
  * Prefer global numeric constants over `Number` static properties.
7690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-global-number-constants.md
7781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-number-constants.md
7691
7782
  */
7692
7783
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7693
7784
  /**
7694
7785
  * Prefer `globalThis` over `window`, `self`, and `global`.
7695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-global-this.md
7786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-this.md
7696
7787
  */
7697
7788
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7698
7789
  /**
7699
- * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
7700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-group-by.md
7790
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
7791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-group-by.md
7701
7792
  */
7702
7793
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
7703
7794
  /**
7704
7795
  * Prefer `.has()` when checking existence.
7705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-has-check.md
7796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-has-check.md
7706
7797
  */
7707
7798
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7708
7799
  /**
7709
7800
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
7710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-hoisting-branch-code.md
7801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-hoisting-branch-code.md
7711
7802
  */
7712
7803
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7713
7804
  /**
7714
7805
  * Prefer HTTPS over HTTP.
7715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-https.md
7806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-https.md
7716
7807
  */
7717
7808
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
7718
7809
  /**
7719
7810
  * Prefer identifiers over string literals in import and export specifiers.
7720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7721
7812
  */
7722
7813
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7723
7814
  /**
7724
7815
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-import-meta-properties.md
7816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-import-meta-properties.md
7726
7817
  */
7727
7818
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7728
7819
  /**
7729
7820
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-includes.md
7821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes.md
7731
7822
  */
7732
7823
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7733
7824
  /**
7734
7825
  * Prefer `.includes()` over repeated equality comparisons.
7735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7736
7827
  */
7737
7828
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7738
7829
  /**
7739
7830
  * Prefer passing iterables directly to constructors instead of filling empty collections.
7740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterable-in-constructor.md
7831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterable-in-constructor.md
7741
7832
  */
7742
7833
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7743
7834
  /**
7744
7835
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
7745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-concat.md
7836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-concat.md
7746
7837
  */
7747
7838
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
7748
7839
  /**
7749
7840
  * Prefer iterator helpers over temporary arrays from iterators.
7750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-helpers.md
7841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-helpers.md
7751
7842
  */
7752
7843
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
7753
7844
  /**
7754
7845
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
7755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-to-array.md
7846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array.md
7756
7847
  */
7757
7848
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7758
7849
  /**
7759
7850
  * Prefer moving `.toArray()` to the end of iterator helper chains.
7760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7761
7852
  */
7762
7853
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7854
+ /**
7855
+ * Prefer `Iterator.zip()` over parallel-array indexing.
7856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-zip.md
7857
+ */
7858
+ 'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
7859
+ /**
7860
+ * Prefer JSON imports over reading and parsing JSON files.
7861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-json-import.md
7862
+ */
7863
+ 'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
7763
7864
  /**
7764
7865
  * Renamed to `unicorn/consistent-json-file-read`.
7765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7766
7867
  * @deprecated
7767
7868
  */
7768
7869
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7769
7870
  /**
7770
7871
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
7771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-keyboard-event-key.md
7872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-keyboard-event-key.md
7772
7873
  */
7773
7874
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7774
7875
  /**
7775
7876
  * Prefer `location.assign()` over assigning to `location.href`.
7776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-location-assign.md
7877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-location-assign.md
7777
7878
  */
7778
7879
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7779
7880
  /**
7780
7881
  * Prefer using a logical operator over a ternary.
7781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7782
7883
  */
7783
7884
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7784
7885
  /**
7785
7886
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
7786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-map-from-entries.md
7887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-map-from-entries.md
7787
7888
  */
7788
7889
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7789
7890
  /**
7790
7891
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
7791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-abs.md
7892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-abs.md
7792
7893
  */
7793
7894
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7794
7895
  /**
7795
7896
  * Prefer `Math` constants over their approximate numeric values.
7796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-constants.md
7897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-constants.md
7797
7898
  */
7798
7899
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7799
7900
  /**
7800
7901
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-min-max.md
7902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-min-max.md
7802
7903
  */
7803
7904
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7804
7905
  /**
7805
7906
  * Prefer `Math.trunc()` for truncating numbers.
7806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-trunc.md
7907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-trunc.md
7807
7908
  */
7808
7909
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7910
+ /**
7911
+ * Prefer modern media feature range syntax.
7912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-media-feature-range-syntax.md
7913
+ */
7914
+ 'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
7809
7915
  /**
7810
7916
  * Prefer moving ternaries into the minimal varying part of an expression.
7811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-minimal-ternary.md
7917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-minimal-ternary.md
7812
7918
  */
7813
7919
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7814
7920
  /**
7815
7921
  * Prefer modern DOM APIs.
7816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-modern-dom-apis.md
7922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-dom-apis.md
7817
7923
  */
7818
7924
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7819
7925
  /**
7820
7926
  * Prefer modern `Math` APIs over legacy patterns.
7821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-modern-math-apis.md
7927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-math-apis.md
7822
7928
  */
7823
7929
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7824
7930
  /**
7825
7931
  * Prefer JavaScript modules (ESM) over CommonJS.
7826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-module.md
7932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-module.md
7827
7933
  */
7828
7934
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7829
7935
  /**
7830
7936
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-native-coercion-functions.md
7937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-native-coercion-functions.md
7832
7938
  */
7833
7939
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7834
7940
  /**
7835
7941
  * Prefer negative index over `.length - index` when possible.
7836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-negative-index.md
7942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-negative-index.md
7837
7943
  */
7838
7944
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7839
7945
  /**
7840
7946
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-node-protocol.md
7947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-node-protocol.md
7842
7948
  */
7843
7949
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7844
7950
  /**
7845
7951
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
7846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-coercion.md
7952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-coercion.md
7847
7953
  */
7848
7954
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7849
7955
  /**
7850
7956
  * Prefer `Number.isSafeInteger()` over integer checks.
7851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-is-safe-integer.md
7957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-is-safe-integer.md
7852
7958
  */
7853
7959
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7854
7960
  /**
7855
7961
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
7856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-properties.md
7962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-properties.md
7857
7963
  */
7858
7964
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7859
7965
  /**
7860
7966
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
7861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-define-properties.md
7967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-define-properties.md
7862
7968
  */
7863
7969
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7864
7970
  /**
7865
7971
  * Prefer object destructuring defaults over default object literals with spread.
7866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-destructuring-defaults.md
7972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-destructuring-defaults.md
7867
7973
  */
7868
7974
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7869
7975
  /**
7870
7976
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-from-entries.md
7977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-from-entries.md
7872
7978
  */
7873
7979
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7874
7980
  /**
7875
7981
  * Prefer the most specific `Object` iterable method.
7876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-iterable-methods.md
7982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-iterable-methods.md
7877
7983
  */
7878
7984
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7879
7985
  /**
7880
7986
  * Prefer observer APIs over resize and scroll listeners with layout reads.
7881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-observer-apis.md
7987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-observer-apis.md
7882
7988
  */
7883
7989
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7884
7990
  /**
7885
7991
  * Prefer omitting the `catch` binding parameter.
7886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-optional-catch-binding.md
7992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-optional-catch-binding.md
7887
7993
  */
7888
7994
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7889
7995
  /**
7890
7996
  * Prefer `Path2D` for repeatedly drawn canvas paths.
7891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-path2d.md
7997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-path2d.md
7892
7998
  */
7893
7999
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7894
8000
  /**
7895
8001
  * Prefer private class fields over the underscore-prefix convention.
7896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-private-class-fields.md
8002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-private-class-fields.md
7897
8003
  */
7898
8004
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
7899
8005
  /**
7900
8006
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
7901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-promise-try.md
8007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-try.md
7902
8008
  */
7903
8009
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7904
8010
  /**
7905
8011
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
7906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-promise-with-resolvers.md
8012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-with-resolvers.md
7907
8013
  */
7908
8014
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7909
8015
  /**
7910
8016
  * Prefer borrowing methods from the prototype instead of the instance.
7911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-prototype-methods.md
8017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-prototype-methods.md
7912
8018
  */
7913
8019
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7914
8020
  /**
7915
8021
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
7916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-query-selector.md
8022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-query-selector.md
7917
8023
  */
7918
8024
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7919
8025
  /**
7920
8026
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
7921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-queue-microtask.md
8027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-queue-microtask.md
7922
8028
  */
7923
8029
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7924
8030
  /**
7925
8031
  * Prefer `Reflect.apply()` over `Function#apply()`.
7926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-reflect-apply.md
8032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-reflect-apply.md
7927
8033
  */
7928
8034
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7929
8035
  /**
7930
8036
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
7931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-regexp-escape.md
8037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-escape.md
7932
8038
  */
7933
8039
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7934
8040
  /**
7935
8041
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
7936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-regexp-test.md
8042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-test.md
7937
8043
  */
7938
8044
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7939
8045
  /**
7940
8046
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-response-static-json.md
8047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-response-static-json.md
7942
8048
  */
7943
8049
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7944
8050
  /**
7945
8051
  * Prefer `:scope` when using element query selector methods.
7946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-scoped-selector.md
8052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-scoped-selector.md
7947
8053
  */
7948
8054
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7949
8055
  /**
7950
8056
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-has.md
8057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-has.md
7952
8058
  */
7953
8059
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7954
8060
  /**
7955
8061
  * Prefer `Set` methods for Set operations.
7956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-methods.md
8062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-methods.md
7957
8063
  */
7958
8064
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7959
8065
  /**
7960
8066
  * Prefer using `Set#size` instead of `Array#length`.
7961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-size.md
8067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-size.md
7962
8068
  */
7963
8069
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7964
8070
  /**
7965
8071
  * Prefer arrow function properties over methods with a single return.
7966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-short-arrow-method.md
8072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-short-arrow-method.md
7967
8073
  */
7968
8074
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
7969
8075
  /**
7970
8076
  * Prefer simple conditions first in logical expressions.
7971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simple-condition-first.md
8077
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-condition-first.md
7972
8078
  */
7973
8079
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7974
8080
  /**
7975
8081
  * Prefer a simple comparison function for `Array#sort()`.
7976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simple-sort-comparator.md
8082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-sort-comparator.md
7977
8083
  */
7978
8084
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
7979
8085
  /**
7980
8086
  * Prefer simplified conditions.
7981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simplified-conditions.md
8087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simplified-conditions.md
7982
8088
  */
7983
8089
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
7984
8090
  /**
7985
8091
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
7986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-array-predicate.md
8092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-array-predicate.md
7987
8093
  */
7988
8094
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7989
8095
  /**
7990
8096
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-call.md
8097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-call.md
7992
8098
  */
7993
8099
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7994
8100
  /**
7995
8101
  * Prefer a single object destructuring declaration per local const source.
7996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-object-destructuring.md
8102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-object-destructuring.md
7997
8103
  */
7998
8104
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7999
8105
  /**
8000
8106
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
8001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-replace.md
8107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-replace.md
8002
8108
  */
8003
8109
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
8004
8110
  /**
8005
8111
  * Prefer declaring variables in the smallest possible scope.
8006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-smaller-scope.md
8112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-smaller-scope.md
8007
8113
  */
8008
8114
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
8009
8115
  /**
8010
8116
  * Prefer `String#split()` with a limit.
8011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-split-limit.md
8117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-split-limit.md
8012
8118
  */
8013
8119
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
8014
8120
  /**
8015
8121
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
8016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-spread.md
8122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-spread.md
8017
8123
  */
8018
8124
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
8019
8125
  /**
8020
8126
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
8021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-match-all.md
8127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-match-all.md
8022
8128
  */
8023
8129
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
8024
8130
  /**
8025
8131
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
8026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-pad-start-end.md
8132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-pad-start-end.md
8027
8133
  */
8028
8134
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
8029
8135
  /**
8030
8136
  * Prefer using the `String.raw` tag to avoid escaping `\`.
8031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-raw.md
8137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-raw.md
8032
8138
  */
8033
8139
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
8034
8140
  /**
8035
8141
  * Prefer `String#repeat()` for repeated whitespace.
8036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-repeat.md
8142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-repeat.md
8037
8143
  */
8038
8144
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
8039
8145
  /**
8040
8146
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
8041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-replace-all.md
8147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-replace-all.md
8042
8148
  */
8043
8149
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
8044
8150
  /**
8045
8151
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
8046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-slice.md
8152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-slice.md
8047
8153
  */
8048
8154
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
8049
8155
  /**
8050
8156
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
8051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-starts-ends-with.md
8157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-starts-ends-with.md
8052
8158
  */
8053
8159
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
8054
8160
  /**
8055
8161
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
8056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-trim-start-end.md
8162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-trim-start-end.md
8057
8163
  */
8058
8164
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
8059
8165
  /**
8060
8166
  * Prefer using `structuredClone` to create a deep clone.
8061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-structured-clone.md
8167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-structured-clone.md
8062
8168
  */
8063
8169
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
8064
8170
  /**
8065
8171
  * Prefer `switch` over multiple `else-if`.
8066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-switch.md
8172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-switch.md
8067
8173
  */
8068
8174
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
8069
8175
  /**
8070
8176
  * Prefer `Temporal` over `Date`.
8071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-temporal.md
8177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal.md
8072
8178
  */
8073
8179
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
8180
+ /**
8181
+ * Prefer direct Temporal conversion methods.
8182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal-conversion.md
8183
+ */
8184
+ 'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
8074
8185
  /**
8075
8186
  * Prefer ternary expressions over simple `if` statements that return or assign values.
8076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-ternary.md
8187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-ternary.md
8077
8188
  */
8078
8189
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
8079
8190
  /**
8080
8191
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
8081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-then-catch.md
8192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-then-catch.md
8082
8193
  */
8083
8194
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
8084
8195
  /**
8085
8196
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
8086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-toggle-attribute.md
8197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-toggle-attribute.md
8087
8198
  */
8088
8199
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
8089
8200
  /**
8090
8201
  * Prefer top-level await over top-level promises and async function calls.
8091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-top-level-await.md
8202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-top-level-await.md
8092
8203
  */
8093
8204
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
8094
8205
  /**
8095
8206
  * Enforce throwing `TypeError` in type checking conditions.
8096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-type-error.md
8207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-error.md
8097
8208
  */
8098
8209
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
8099
8210
  /**
8100
8211
  * Require type literals to be last in union types.
8101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-type-literal-last.md
8212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-literal-last.md
8102
8213
  */
8103
8214
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
8104
8215
  /**
8105
- * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
8106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-uint8array-base64.md
8216
+ * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
8217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-base64.md
8107
8218
  */
8108
8219
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
8220
+ /**
8221
+ * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
8222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-hex.md
8223
+ */
8224
+ 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
8109
8225
  /**
8110
8226
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
8111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-unary-minus.md
8227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unary-minus.md
8112
8228
  */
8113
8229
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
8114
8230
  /**
8115
8231
  * Prefer Unicode code point escapes over legacy escape sequences.
8116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8117
8233
  */
8118
8234
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
8119
8235
  /**
8120
8236
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
8121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-can-parse.md
8237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-can-parse.md
8122
8238
  */
8123
8239
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
8124
8240
  /**
8125
8241
  * Prefer `URL#href` over stringifying a `URL`.
8126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-href.md
8242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-href.md
8127
8243
  */
8128
8244
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
8129
8245
  /**
8130
8246
  * Prefer `URLSearchParams` over manually splitting query strings.
8131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-search-parameters.md
8247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-search-parameters.md
8132
8248
  */
8133
8249
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
8134
8250
  /**
8135
8251
  * Prefer putting the condition in the while statement.
8136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-while-loop-condition.md
8252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-while-loop-condition.md
8137
8253
  */
8138
8254
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
8139
8255
  /**
8140
8256
  * Renamed to `unicorn/name-replacements`.
8141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8142
8258
  * @deprecated
8143
8259
  */
8144
8260
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
8145
8261
  /**
8146
8262
  * Enforce consistent relative URL style.
8147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/relative-url-style.md
8263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/relative-url-style.md
8148
8264
  */
8149
8265
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
8150
8266
  /**
8151
8267
  * Enforce using the separator argument with `Array#join()`.
8152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-array-join-separator.md
8268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-join-separator.md
8153
8269
  */
8154
8270
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
8155
8271
  /**
8156
8272
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
8157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-array-sort-compare.md
8273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-sort-compare.md
8158
8274
  */
8159
8275
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
8160
8276
  /**
8161
8277
  * Require `CSS.escape()` for interpolated values in CSS selectors.
8162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-css-escape.md
8278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-css-escape.md
8163
8279
  */
8164
8280
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
8165
8281
  /**
8166
8282
  * Require configured YAML frontmatter fields.
8167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-frontmatter-fields.md
8283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-frontmatter-fields.md
8168
8284
  */
8169
8285
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
8170
8286
  /**
8171
8287
  * Require non-empty module attributes for imports and exports
8172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-module-attributes.md
8288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-attributes.md
8173
8289
  */
8174
8290
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
8175
8291
  /**
8176
8292
  * Require non-empty specifier list in import and export statements.
8177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-module-specifiers.md
8293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-specifiers.md
8178
8294
  */
8179
8295
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
8180
8296
  /**
8181
8297
  * Enforce using the digits argument with `Number#toFixed()`.
8182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8183
8299
  */
8184
8300
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
8185
8301
  /**
8186
8302
  * Require passive event listeners for high-frequency events.
8187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-passive-events.md
8303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-passive-events.md
8188
8304
  */
8189
8305
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
8190
8306
  /**
8191
8307
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
8192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-post-message-target-origin.md
8308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-post-message-target-origin.md
8193
8309
  */
8194
8310
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
8195
8311
  /**
8196
8312
  * Require boolean-returning Proxy traps to return booleans.
8197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-proxy-trap-boolean-return.md
8313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-proxy-trap-boolean-return.md
8198
8314
  */
8199
8315
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
8200
8316
  /**
8201
8317
  * Enforce a consistent style for single-line block comments.
8202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/single-line-block-comment-style.md
8318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/single-line-block-comment-style.md
8203
8319
  */
8204
8320
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
8205
8321
  /**
8206
8322
  * Enforce better string content.
8207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/string-content.md
8323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/string-content.md
8208
8324
  */
8209
8325
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
8210
8326
  /**
8211
8327
  * Enforce consistent brace style for `case` clauses.
8212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/switch-case-braces.md
8328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-braces.md
8213
8329
  */
8214
8330
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
8215
8331
  /**
8216
8332
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
8217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/switch-case-break-position.md
8333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-break-position.md
8218
8334
  */
8219
8335
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
8220
8336
  /**
8221
8337
  * Fix whitespace-insensitive template indentation.
8222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/template-indent.md
8338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/template-indent.md
8223
8339
  */
8224
8340
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
8225
8341
  /**
8226
8342
  * Enforce consistent case for text encoding identifiers.
8227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/text-encoding-identifier-case.md
8343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/text-encoding-identifier-case.md
8228
8344
  */
8229
8345
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
8230
8346
  /**
8231
8347
  * Require `new` when creating an error.
8232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/throw-new-error.md
8348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/throw-new-error.md
8233
8349
  */
8234
8350
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
8235
8351
  /**
8236
8352
  * Limit the complexity of `try` blocks.
8237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/try-complexity.md
8353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/try-complexity.md
8238
8354
  */
8239
8355
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
8240
8356
  /**
@@ -8683,6 +8799,46 @@ interface RuleOptions {
8683
8799
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
8684
8800
  */
8685
8801
  'vitest/warn-todo'?: Linter.RuleEntry<[]>;
8802
+ /**
8803
+ * enforce inline callback function and body styles for Vue APIs.
8804
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/callback-style.md
8805
+ */
8806
+ 'vue-perfectionist/callback-style'?: Linter.RuleEntry<VuePerfectionistCallbackStyle>;
8807
+ /**
8808
+ * enforce configured prop value types at Vue component usage sites.
8809
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/component-prop-types.md
8810
+ */
8811
+ 'vue-perfectionist/component-prop-types'?: Linter.RuleEntry<VuePerfectionistComponentPropTypes>;
8812
+ /**
8813
+ * enforce configured prop value constraints at Vue component usage sites.
8814
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/component-prop-values.md
8815
+ */
8816
+ 'vue-perfectionist/component-prop-values'?: Linter.RuleEntry<VuePerfectionistComponentPropValues>;
8817
+ /**
8818
+ * require template ref variable names to match their keys.
8819
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/consistent-template-ref-name.md
8820
+ */
8821
+ 'vue-perfectionist/consistent-template-ref-name'?: Linter.RuleEntry<[]>;
8822
+ /**
8823
+ * require multiline inline declarations in Vue compiler macros.
8824
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/define-macros-newline.md
8825
+ */
8826
+ 'vue-perfectionist/define-macros-newline'?: Linter.RuleEntry<VuePerfectionistDefineMacrosNewline>;
8827
+ /**
8828
+ * enforce a naming pattern for Vue template references.
8829
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/prefer-ref-pattern.md
8830
+ */
8831
+ 'vue-perfectionist/prefer-ref-pattern'?: Linter.RuleEntry<VuePerfectionistPreferRefPattern>;
8832
+ /**
8833
+ * require configured props at Vue component usage sites.
8834
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/require-component-props.md
8835
+ */
8836
+ 'vue-perfectionist/require-component-props'?: Linter.RuleEntry<VuePerfectionistRequireComponentProps>;
8837
+ /**
8838
+ * enforce consistent ordering of Vue 3 script setup statements.
8839
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/sort-script-setup.md
8840
+ */
8841
+ 'vue-perfectionist/sort-script-setup'?: Linter.RuleEntry<VuePerfectionistSortScriptSetup>;
8686
8842
  /**
8687
8843
  * Enforce linebreaks after opening and before closing array brackets in `<template>`
8688
8844
  * @see https://eslint.vuejs.org/rules/array-bracket-newline.html
@@ -11436,6 +11592,10 @@ type ConsistentReturn = [] | [{
11436
11592
  type ConsistentThis = string[];
11437
11593
  // ----- curly -----
11438
11594
  type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
11595
+ // ----- de-morgan/no-negated-disjunction -----
11596
+ type DeMorganNoNegatedDisjunction = [] | [{
11597
+ enforceForMixedOperators?: boolean;
11598
+ }];
11439
11599
  // ----- default-case -----
11440
11600
  type DefaultCase = [] | [{
11441
11601
  commentPattern?: string;
@@ -14116,6 +14276,16 @@ type NtnyqNoOnlyTests = [] | [{
14116
14276
  functions?: string[];
14117
14277
  fix?: boolean;
14118
14278
  }];
14279
+ // ----- ntnyq/no-restricted-bindings -----
14280
+ type NtnyqNoRestrictedBindings = [] | [{
14281
+ restrictions: {
14282
+ names: [string, ...(string)[]];
14283
+ regions?: [("script" | "vue-script" | "vue-script-setup"), ...(("script" | "vue-script" | "vue-script-setup"))[]];
14284
+ scope?: ("top-level" | "nested" | "all");
14285
+ except?: ("catch-parameter")[];
14286
+ message?: string;
14287
+ }[];
14288
+ }];
14119
14289
  // ----- ntnyq/prefer-newline-after-file-header -----
14120
14290
  type NtnyqPreferNewlineAfterFileHeader = [] | [{
14121
14291
  tags?: string[];
@@ -18422,6 +18592,9 @@ type UnicornFilenameCase = [] | [({
18422
18592
  })[];
18423
18593
  multipleFileExtensions?: boolean;
18424
18594
  checkDirectories?: boolean;
18595
+ directoryRoots?: (string | {
18596
+ [k: string]: unknown | undefined;
18597
+ })[];
18425
18598
  } | {
18426
18599
  cases?: {
18427
18600
  camelCase?: boolean;
@@ -18435,6 +18608,9 @@ type UnicornFilenameCase = [] | [({
18435
18608
  })[];
18436
18609
  multipleFileExtensions?: boolean;
18437
18610
  checkDirectories?: boolean;
18611
+ directoryRoots?: (string | {
18612
+ [k: string]: unknown | undefined;
18613
+ })[];
18438
18614
  })];
18439
18615
  // ----- unicorn/id-match -----
18440
18616
  type UnicornIdMatch = [] | [string] | [string, {
@@ -18521,10 +18697,22 @@ type UnicornNoArrayReverse = [] | [{
18521
18697
  type UnicornNoArraySort = [] | [{
18522
18698
  allowExpressionStatement?: boolean;
18523
18699
  }];
18700
+ // ----- unicorn/no-break-in-nested-loop -----
18701
+ type UnicornNoBreakInNestedLoop = [] | [{
18702
+ checkContinue?: boolean;
18703
+ }];
18704
+ // ----- unicorn/no-deprecated-css-features -----
18705
+ type UnicornNoDeprecatedCssFeatures = [] | [{
18706
+ allow?: string[];
18707
+ }];
18524
18708
  // ----- unicorn/no-empty-file -----
18525
18709
  type UnicornNoEmptyFile = [] | [{
18526
18710
  allowComments?: boolean;
18527
18711
  }];
18712
+ // ----- unicorn/no-immediate-mutation -----
18713
+ type UnicornNoImmediateMutation = [] | [{
18714
+ checkConditionals?: boolean;
18715
+ }];
18528
18716
  // ----- unicorn/no-instanceof-builtins -----
18529
18717
  type UnicornNoInstanceofBuiltins = [] | [{
18530
18718
  useErrorIsError?: boolean;
@@ -18565,6 +18753,10 @@ type UnicornNoNull = [] | [{
18565
18753
  type UnicornNoTypeofUndefined = [] | [{
18566
18754
  checkGlobalVariables?: boolean;
18567
18755
  }];
18756
+ // ----- unicorn/no-unknown-pseudo-selectors -----
18757
+ type UnicornNoUnknownPseudoSelectors = [] | [{
18758
+ allow?: string[];
18759
+ }];
18568
18760
  // ----- unicorn/no-unnecessary-polyfills -----
18569
18761
  type UnicornNoUnnecessaryPolyfills = [] | [{
18570
18762
  targets?: (string | string[] | {
@@ -18575,6 +18767,10 @@ type UnicornNoUnnecessaryPolyfills = [] | [{
18575
18767
  type UnicornNoUnreadableArrayDestructuring = [] | [{
18576
18768
  maximumIgnoredElements?: number;
18577
18769
  }];
18770
+ // ----- unicorn/no-unscoped-css-nesting-selector -----
18771
+ type UnicornNoUnscopedCssNestingSelector = [] | [{
18772
+ scopingRootAtRules?: string[];
18773
+ }];
18578
18774
  // ----- unicorn/no-useless-undefined -----
18579
18775
  type UnicornNoUselessUndefined = [] | [{
18580
18776
  checkArguments?: boolean;
@@ -18628,9 +18824,14 @@ type UnicornPreferAt = [] | [{
18628
18824
  getLastElementFunctions?: string[];
18629
18825
  checkAllIndexAccess?: boolean;
18630
18826
  }];
18827
+ // ----- unicorn/prefer-combined-guards -----
18828
+ type UnicornPreferCombinedGuards = [] | [{
18829
+ checkCompoundConditions?: boolean;
18830
+ }];
18631
18831
  // ----- unicorn/prefer-continue -----
18632
18832
  type UnicornPreferContinue = [] | [{
18633
18833
  maximumStatements?: number;
18834
+ checkShortBodies?: boolean;
18634
18835
  }];
18635
18836
  // ----- unicorn/prefer-dom-node-html-methods -----
18636
18837
  type UnicornPreferDomNodeHtmlMethods = [] | [{
@@ -18640,6 +18841,7 @@ type UnicornPreferDomNodeHtmlMethods = [] | [{
18640
18841
  // ----- unicorn/prefer-early-return -----
18641
18842
  type UnicornPreferEarlyReturn = [] | [{
18642
18843
  maximumStatements?: number;
18844
+ checkShortBodies?: boolean;
18643
18845
  }];
18644
18846
  // ----- unicorn/prefer-explicit-viewport-units -----
18645
18847
  type UnicornPreferExplicitViewportUnits = [] | [{
@@ -18896,6 +19098,248 @@ type VitestValidTitle = [] | [{
18896
19098
  [k: string]: (string | [string] | [string, string]) | undefined;
18897
19099
  } | boolean | boolean | string[] | undefined);
18898
19100
  }];
19101
+ // ----- vue-perfectionist/callback-style -----
19102
+ type VuePerfectionistCallbackStyle = [] | [{
19103
+ groups?: ("lifecycle" | "watch" | "cleanup" | "scheduler")[];
19104
+ functionStyle?: ("arrow" | "any");
19105
+ bodyStyle?: ("block" | "any");
19106
+ exclude?: string[];
19107
+ vueGlobals?: string[];
19108
+ vueImportSources?: string[];
19109
+ customCallbacks?: {
19110
+ source: string;
19111
+ name: string;
19112
+ callbackIndices: [number, ...(number)[]];
19113
+ }[];
19114
+ }];
19115
+ // ----- vue-perfectionist/component-prop-types -----
19116
+ type VuePerfectionistComponentPropTypes = [] | [{
19117
+ targets?: {
19118
+ components: [string, ...(string)[]];
19119
+ props: {
19120
+ [k: string]: ((("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined") | [("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined"), ...(("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined"))[]]) | {
19121
+ type: (("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined") | [("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined"), ...(("string" | "number" | "boolean" | "array" | "object" | "function" | "bigint" | "symbol" | "null" | "undefined"))[]]);
19122
+ booleanCasting?: boolean;
19123
+ }) | undefined;
19124
+ };
19125
+ }[];
19126
+ unknownValues?: ("ignore" | "report");
19127
+ }];
19128
+ // ----- vue-perfectionist/component-prop-values -----
19129
+ type VuePerfectionistComponentPropValues = [] | [{
19130
+ targets?: {
19131
+ components: [string, ...(string)[]];
19132
+ props: {
19133
+ [k: string]: {
19134
+ maximum?: number;
19135
+ minimum?: number;
19136
+ enum?: [(string | number | boolean | null), ...((string | number | boolean | null))[]];
19137
+ maxLength?: number;
19138
+ minLength?: number;
19139
+ multipleOf?: number;
19140
+ pattern?: string;
19141
+ } | undefined;
19142
+ };
19143
+ }[];
19144
+ unknownValues?: ("ignore" | "report");
19145
+ }];
19146
+ // ----- vue-perfectionist/define-macros-newline -----
19147
+ type VuePerfectionistDefineMacrosNewline = [] | [{
19148
+ macros?: ("defineProps" | "defineEmits" | "defineSlots" | "defineExpose" | "defineOptions")[];
19149
+ }];
19150
+ // ----- vue-perfectionist/prefer-ref-pattern -----
19151
+ type VuePerfectionistPreferRefPattern = [] | [{
19152
+ pattern?: string;
19153
+ targets?: ("template" | "useTemplateRef" | "render")[];
19154
+ }];
19155
+ // ----- vue-perfectionist/require-component-props -----
19156
+ type VuePerfectionistRequireComponentProps = [] | [{
19157
+ targets?: {
19158
+ components: [string, ...(string)[]];
19159
+ props: [string, ...(string)[]];
19160
+ }[];
19161
+ unknownBindings?: ("report" | "ignore");
19162
+ }];
19163
+ // ----- vue-perfectionist/sort-script-setup -----
19164
+ type VuePerfectionistSortScriptSetup = [] | [{
19165
+ newlinesInside?: ((number | "ignore") | "newlinesBetween");
19166
+ fallbackSort?: {
19167
+ order?: ("asc" | "desc");
19168
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
19169
+ };
19170
+ order?: ("asc" | "desc");
19171
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
19172
+ newlinesBetween?: (number | "ignore");
19173
+ alphabet?: string;
19174
+ ignoreCase?: boolean;
19175
+ locales?: (string | [string, ...(string)[]]);
19176
+ partitionByComment?: ((boolean | ((string | {
19177
+ flags?: string;
19178
+ pattern: string;
19179
+ }) | [(string | {
19180
+ flags?: string;
19181
+ pattern: string;
19182
+ }), ...((string | {
19183
+ flags?: string;
19184
+ pattern: string;
19185
+ }))[]])) | {
19186
+ block?: (boolean | ((string | {
19187
+ flags?: string;
19188
+ pattern: string;
19189
+ }) | [(string | {
19190
+ flags?: string;
19191
+ pattern: string;
19192
+ }), ...((string | {
19193
+ flags?: string;
19194
+ pattern: string;
19195
+ }))[]]));
19196
+ line?: (boolean | ((string | {
19197
+ flags?: string;
19198
+ pattern: string;
19199
+ }) | [(string | {
19200
+ flags?: string;
19201
+ pattern: string;
19202
+ }), ...((string | {
19203
+ flags?: string;
19204
+ pattern: string;
19205
+ }))[]]));
19206
+ });
19207
+ partitionByNewLine?: boolean;
19208
+ specialCharacters?: ("keep" | "trim" | "remove");
19209
+ vueImportSources?: string[];
19210
+ customGroups?: ({
19211
+ groupName: string;
19212
+ newlinesInside?: (number | "ignore");
19213
+ fallbackSort?: {
19214
+ order?: ("asc" | "desc");
19215
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
19216
+ };
19217
+ order?: ("asc" | "desc");
19218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
19219
+ callNamePattern?: ((string | {
19220
+ flags?: string;
19221
+ pattern: string;
19222
+ }) | [(string | {
19223
+ flags?: string;
19224
+ pattern: string;
19225
+ }), ...((string | {
19226
+ flags?: string;
19227
+ pattern: string;
19228
+ }))[]]);
19229
+ elementNamePattern?: ((string | {
19230
+ flags?: string;
19231
+ pattern: string;
19232
+ }) | [(string | {
19233
+ flags?: string;
19234
+ pattern: string;
19235
+ }), ...((string | {
19236
+ flags?: string;
19237
+ pattern: string;
19238
+ }))[]]);
19239
+ importSourcePattern?: ((string | {
19240
+ flags?: string;
19241
+ pattern: string;
19242
+ }) | [(string | {
19243
+ flags?: string;
19244
+ pattern: string;
19245
+ }), ...((string | {
19246
+ flags?: string;
19247
+ pattern: string;
19248
+ }))[]]);
19249
+ modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
19250
+ selector?: ("interface" | "type" | "enum" | "class" | "define-options" | "define-props" | "define-emits" | "define-slots" | "define-model" | "define-expose" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
19251
+ } | {
19252
+ groupName: string;
19253
+ newlinesInside?: (number | "ignore");
19254
+ fallbackSort?: {
19255
+ order?: ("asc" | "desc");
19256
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
19257
+ };
19258
+ order?: ("asc" | "desc");
19259
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
19260
+ anyOf: [{
19261
+ callNamePattern?: ((string | {
19262
+ flags?: string;
19263
+ pattern: string;
19264
+ }) | [(string | {
19265
+ flags?: string;
19266
+ pattern: string;
19267
+ }), ...((string | {
19268
+ flags?: string;
19269
+ pattern: string;
19270
+ }))[]]);
19271
+ elementNamePattern?: ((string | {
19272
+ flags?: string;
19273
+ pattern: string;
19274
+ }) | [(string | {
19275
+ flags?: string;
19276
+ pattern: string;
19277
+ }), ...((string | {
19278
+ flags?: string;
19279
+ pattern: string;
19280
+ }))[]]);
19281
+ importSourcePattern?: ((string | {
19282
+ flags?: string;
19283
+ pattern: string;
19284
+ }) | [(string | {
19285
+ flags?: string;
19286
+ pattern: string;
19287
+ }), ...((string | {
19288
+ flags?: string;
19289
+ pattern: string;
19290
+ }))[]]);
19291
+ modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
19292
+ selector?: ("interface" | "type" | "enum" | "class" | "define-options" | "define-props" | "define-emits" | "define-slots" | "define-model" | "define-expose" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
19293
+ }, ...({
19294
+ callNamePattern?: ((string | {
19295
+ flags?: string;
19296
+ pattern: string;
19297
+ }) | [(string | {
19298
+ flags?: string;
19299
+ pattern: string;
19300
+ }), ...((string | {
19301
+ flags?: string;
19302
+ pattern: string;
19303
+ }))[]]);
19304
+ elementNamePattern?: ((string | {
19305
+ flags?: string;
19306
+ pattern: string;
19307
+ }) | [(string | {
19308
+ flags?: string;
19309
+ pattern: string;
19310
+ }), ...((string | {
19311
+ flags?: string;
19312
+ pattern: string;
19313
+ }))[]]);
19314
+ importSourcePattern?: ((string | {
19315
+ flags?: string;
19316
+ pattern: string;
19317
+ }) | [(string | {
19318
+ flags?: string;
19319
+ pattern: string;
19320
+ }), ...((string | {
19321
+ flags?: string;
19322
+ pattern: string;
19323
+ }))[]]);
19324
+ modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
19325
+ selector?: ("interface" | "type" | "enum" | "class" | "define-options" | "define-props" | "define-emits" | "define-slots" | "define-model" | "define-expose" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
19326
+ })[]];
19327
+ })[];
19328
+ fix?: ("safe" | "none");
19329
+ groups?: ((string | [string, ...(string)[]]) | {
19330
+ group: (string | [string, ...(string)[]]);
19331
+ newlinesInside?: (number | "ignore");
19332
+ fallbackSort?: {
19333
+ order?: ("asc" | "desc");
19334
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
19335
+ };
19336
+ order?: ("asc" | "desc");
19337
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
19338
+ } | {
19339
+ newlinesBetween: (number | "ignore");
19340
+ })[];
19341
+ vueGlobals?: string[];
19342
+ }];
18899
19343
  // ----- vue/array-bracket-newline -----
18900
19344
  type VueArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
18901
19345
  multiline?: boolean;
@@ -20338,7 +20782,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
20338
20782
  onlyEquality?: boolean;
20339
20783
  }];
20340
20784
  // Names of all the configs
20341
- type ConfigNames = 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/jsx' | 'ntnyq/node' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/javascript/recommended' | 'ntnyq/javascript/core' | 'ntnyq/import-x' | 'ntnyq/jsdoc/base' | 'ntnyq/jsdoc/javascript' | 'ntnyq/jsdoc/typescript' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/unicorn' | 'ntnyq/pinia' | 'ntnyq/de-morgan' | 'ntnyq/regexp' | 'ntnyq/typescript/setup' | 'ntnyq/typescript/parser' | 'ntnyq/typescript/parser-type-aware' | 'ntnyq/typescript/rules' | 'ntnyq/typescript/rules/type-aware' | 'ntnyq/typescript/types' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yml' | 'ntnyq/toml' | 'ntnyq/jsonc' | 'ntnyq/astro' | 'ntnyq/svelte' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/json-schema' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/unocss' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/code-blocks' | 'ntnyq/antfu' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/ntnyq' | 'ntnyq/github-action' | 'ntnyq/eslint-plugin' | 'ntnyq/pnpm/package-json' | 'ntnyq/pnpm/pnpm-workspace-yaml' | 'ntnyq/svgo' | 'ntnyq/html' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/specials/shadcn-vue' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/oxfmt/native-files' | 'ntnyq/oxfmt/plain-parser-files';
20785
+ type ConfigNames = 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/jsx' | 'ntnyq/node' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/javascript/recommended' | 'ntnyq/javascript/core' | 'ntnyq/import-x' | 'ntnyq/jsdoc/base' | 'ntnyq/jsdoc/javascript' | 'ntnyq/jsdoc/typescript' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/unicorn' | 'ntnyq/pinia' | 'ntnyq/de-morgan' | 'ntnyq/regexp' | 'ntnyq/typescript/setup' | 'ntnyq/typescript/parser' | 'ntnyq/typescript/parser-type-aware' | 'ntnyq/typescript/rules' | 'ntnyq/typescript/rules/type-aware' | 'ntnyq/typescript/types' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/vue/vue-perfectionist' | 'ntnyq/yml' | 'ntnyq/toml' | 'ntnyq/jsonc' | 'ntnyq/astro' | 'ntnyq/svelte' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/json-schema' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/unocss' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/code-blocks' | 'ntnyq/antfu' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/ntnyq' | 'ntnyq/github-action' | 'ntnyq/eslint-plugin' | 'ntnyq/pnpm/package-json' | 'ntnyq/pnpm/pnpm-workspace-yaml' | 'ntnyq/svgo' | 'ntnyq/html' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/specials/shadcn-vue' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/oxfmt/native-files' | 'ntnyq/oxfmt/plain-parser-files';
20342
20786
  //#endregion
20343
20787
  //#region src/types/eslint.d.ts
20344
20788
  /**
@@ -20520,6 +20964,9 @@ export declare const GLOB_TSX: string;
20520
20964
  export declare const GLOB_TSX_ONLY: string;
20521
20965
  export declare const GLOB_DTS: string;
20522
20966
  export declare const GLOB_TYPES: string[];
20967
+ export declare const GLOB_VUE: string;
20968
+ export declare const GLOB_PINIA_STORE: string;
20969
+ export declare const GLOB_VUE_COMPOSABLES: string[];
20523
20970
  export declare const GLOB_TYPE_TEST: string[];
20524
20971
  export declare const GLOB_TEST: string[];
20525
20972
  export declare const GLOB_STYLE: string;
@@ -20535,8 +20982,8 @@ export declare const GLOB_JSON_SCHEMA: string[];
20535
20982
  export declare const GLOB_TSCONFIG_JSON: string[];
20536
20983
  export declare const GLOB_YAML: string;
20537
20984
  export declare const GLOB_PNPM_WORKSPACE_YAML: string;
20985
+ export declare const GLOB_GITHUB_ACTION: string;
20538
20986
  export declare const GLOB_SVG: string;
20539
- export declare const GLOB_VUE: string;
20540
20987
  export declare const GLOB_SVELTE: string;
20541
20988
  export declare const GLOB_TOML: string;
20542
20989
  export declare const GLOB_HTML: string;
@@ -20547,8 +20994,6 @@ export declare const GLOB_MARKDOWN_CODE: string;
20547
20994
  export declare const GLOB_MARKDOWN_NESTED: string;
20548
20995
  export declare const GLOB_SRC_EXTENSIONS: string[];
20549
20996
  export declare const GLOB_ALL_SRC: string[];
20550
- export declare const GLOB_PINIA_STORE: string;
20551
- export declare const GLOB_GITHUB_ACTION: string;
20552
20997
  export declare const GLOB_NODE_MODULES: string;
20553
20998
  export declare const GLOB_DIST: string;
20554
20999
  export declare const GLOB_LOCKFILE: string[];
@@ -20673,4 +21118,4 @@ export declare const PERFECTIONIST: Readonly<{
20673
21118
  sortObjectsGroups: string[];
20674
21119
  }>;
20675
21120
  //#endregion
20676
- export { type ConfigNames, type RuleOptions, configsTypeScript, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginYml, processorPassThrough, processorVueBlocks };
21121
+ export { type ConfigNames, type RuleOptions, configsTypeScript, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginVuePerfectionist, pluginYml, processorPassThrough, processorVueBlocks };