@infernodesign/eslint-config 2.13.0 → 2.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -642,6 +642,11 @@ interface RuleOptions {
642
642
  * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/enums.md
643
643
  */
644
644
  'erasable-syntax-only/enums'?: Linter.RuleEntry<[]>;
645
+ /**
646
+ * Avoid using TypeScript's export aliases.
647
+ * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/export-aliases.md
648
+ */
649
+ 'erasable-syntax-only/export-aliases'?: Linter.RuleEntry<[]>;
645
650
  /**
646
651
  * Avoid using TypeScript's import aliases.
647
652
  * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/import-aliases.md
@@ -1030,6 +1035,10 @@ interface RuleOptions {
1030
1035
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
1031
1036
  */
1032
1037
  'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
1038
+ /**
1039
+ * Reports redundant @type tags that match or broaden the naturally inferred TypeScript type.
1040
+ */
1041
+ 'jsdoc/no-unnecessary-type-assertion'?: Linter.RuleEntry<JsdocNoUnnecessaryTypeAssertion>;
1033
1042
  /**
1034
1043
  * Normalizes labeled links in `@see` tags to a canonical `{@link}` form.
1035
1044
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/normalize-see-links.md#repos-sticky-header
@@ -1225,6 +1234,11 @@ interface RuleOptions {
1225
1234
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
1226
1235
  */
1227
1236
  'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
1237
+ /**
1238
+ * Disallows (or requires descriptions for) `@ts-<directive>` comments, mirroring `@typescript-eslint/ban-ts-comment`.
1239
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-ban-ts-comment.md#repos-sticky-header
1240
+ */
1241
+ 'jsdoc/ts-ban-ts-comment'?: Linter.RuleEntry<JsdocTsBanTsComment>;
1228
1242
  /**
1229
1243
  * Prefers either function properties or method signatures
1230
1244
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
@@ -1893,6 +1907,11 @@ interface RuleOptions {
1893
1907
  * @see https://docs.medusajs.com/resources/lint/rules/admin-no-medusa-utils-import
1894
1908
  */
1895
1909
  'medusa/admin-no-medusa-utils-import'?: Linter.RuleEntry<[]>;
1910
+ /**
1911
+ * Allowed and disallowed fields must be set by a global middleware. Medusa runs a method-scoped middleware after it validates the query parameters, so `allowFields`, `req.allowed`, and `req.disallowed` have no effect there.
1912
+ * @see https://docs.medusajs.com/resources/lint/rules/allow-fields-must-be-global-middleware
1913
+ */
1914
+ 'medusa/allow-fields-must-be-global-middleware'?: Linter.RuleEntry<[]>;
1896
1915
  /**
1897
1916
  * API route opt-out flag must be exported as `AUTHENTICATE` with a boolean literal value. Other casings or non-boolean values are ignored by the framework.
1898
1917
  * @see https://docs.medusajs.com/resources/lint/rules/authenticate-flag-name-and-type
@@ -1998,6 +2017,11 @@ interface RuleOptions {
1998
2017
  * @see https://docs.medusajs.com/resources/lint/rules/no-mikroorm-direct-import
1999
2018
  */
2000
2019
  'medusa/no-mikroorm-direct-import'?: Linter.RuleEntry<[]>;
2020
+ /**
2021
+ * Disallow calling `when(...)` inside a `when().then()` callback in a workflow composition function. `when` tracks its pending condition in a single shared slot rather than a stack, so the inner `.then()` clears that slot before the outer `.then()` reads it — the workflow throws a `TypeError` at server boot instead of failing at build time.
2022
+ * @see https://docs.medusajs.com/resources/lint/rules/no-nested-when-in-workflow
2023
+ */
2024
+ 'medusa/no-nested-when-in-workflow'?: Linter.RuleEntry<[]>;
2001
2025
  /**
2002
2026
  * Disallow `new Date(...)` and any `Date.*(...)` static-method call directly inside a `createWorkflow` constructor or a `when().then()` callback. They evaluate at workflow-definition time, not execution time — wrap them in `transform` or compute inside a `createStep`.
2003
2027
  * @see https://docs.medusajs.com/resources/lint/rules/no-new-date-in-workflow
@@ -2028,6 +2052,11 @@ interface RuleOptions {
2028
2052
  * @see https://docs.medusajs.com/resources/lint/rules/no-throw-in-transform
2029
2053
  */
2030
2054
  'medusa/no-throw-in-transform'?: Linter.RuleEntry<[]>;
2055
+ /**
2056
+ * Disallow `throw` statements directly inside a `createWorkflow` constructor or a `when().then()` callback. Both run at definition time, not execution time — a bare throw there skips the compensation mechanism, leaving previously executed steps uncompensated.
2057
+ * @see https://docs.medusajs.com/resources/lint/rules/no-throw-in-workflow-constructor
2058
+ */
2059
+ 'medusa/no-throw-in-workflow-constructor'?: Linter.RuleEntry<[]>;
2031
2060
  /**
2032
2061
  * Route matchers passed to `defineMiddlewares(...)` should not end with a trailing slash; matchers without trailing slashes won't match URLs with trailing slashes.
2033
2062
  * @see https://docs.medusajs.com/resources/lint/rules/no-trailing-slash-in-route-matcher
@@ -2048,6 +2077,11 @@ interface RuleOptions {
2048
2077
  * @see https://docs.medusajs.com/resources/lint/rules/no-workflow-call-without-container
2049
2078
  */
2050
2079
  'medusa/no-workflow-call-without-container'?: Linter.RuleEntry<[]>;
2080
+ /**
2081
+ * Middlewares that add allowed fields should use the `allowFields` middleware from `@medusajs/framework/http` instead of writing to `req.allowed`.
2082
+ * @see https://docs.medusajs.com/resources/lint/rules/prefer-allow-fields-middleware
2083
+ */
2084
+ 'medusa/prefer-allow-fields-middleware'?: Linter.RuleEntry<[]>;
2051
2085
  /**
2052
2086
  * Prefer `ContainerRegistrationKeys.*` members over magic strings in `resolve(...)` calls.
2053
2087
  * @see https://docs.medusajs.com/resources/lint/rules/prefer-container-registration-keys
@@ -2193,6 +2227,11 @@ interface RuleOptions {
2193
2227
  * @see https://docs.medusajs.com/resources/lint/rules/use-validated-body-or-query
2194
2228
  */
2195
2229
  'medusa/use-validated-body-or-query'?: Linter.RuleEntry<[]>;
2230
+ /**
2231
+ * Require a `name` on `when(...)` calls whose `.then()` callback returns a value that isn't a step invocation. Medusa core assigns a random name at runtime in this case and logs a warning — pass `when(name, values, condition)` instead.
2232
+ * @see https://docs.medusajs.com/resources/lint/rules/when-block-must-have-name
2233
+ */
2234
+ 'medusa/when-block-must-have-name'?: Linter.RuleEntry<[]>;
2196
2235
  /**
2197
2236
  * Widget files must export a named `config` from `defineWidgetConfig(...)`.
2198
2237
  * @see https://docs.medusajs.com/resources/lint/rules/widget-must-export-config
@@ -3047,7 +3086,7 @@ interface RuleOptions {
3047
3086
  * Disallow unmodified loop conditions
3048
3087
  * @see https://eslint.org/docs/latest/rules/no-unmodified-loop-condition
3049
3088
  */
3050
- 'no-unmodified-loop-condition'?: Linter.RuleEntry<[]>;
3089
+ 'no-unmodified-loop-condition'?: Linter.RuleEntry<NoUnmodifiedLoopCondition>;
3051
3090
  /**
3052
3091
  * Disallow ternary operators when simpler alternatives exist
3053
3092
  * @see https://eslint.org/docs/latest/rules/no-unneeded-ternary
@@ -3599,6 +3638,11 @@ interface RuleOptions {
3599
3638
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
3600
3639
  */
3601
3640
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
3641
+ /**
3642
+ * Require blank lines around multi-line entries in `pnpm-workspace.yaml`, and disallow them between single-line entries
3643
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-blank-lines.test.ts
3644
+ */
3645
+ 'pnpm/yaml-blank-lines'?: Linter.RuleEntry<[]>;
3602
3646
  /**
3603
3647
  * Enforce settings in `pnpm-workspace.yaml`
3604
3648
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
@@ -3814,7 +3858,7 @@ interface RuleOptions {
3814
3858
  */
3815
3859
  'react/globals'?: Linter.RuleEntry<[]>;
3816
3860
  /**
3817
- * Validates against passing functions that mutate captured local variables into frozen contexts such as JSX props, hook arguments, and hook return values.
3861
+ * Validates against mutating props, state, and other immutable values, including through functions passed into frozen contexts such as JSX props, hook arguments, and hook return values.
3818
3862
  * @see https://eslint-react.xyz/docs/rules/immutability
3819
3863
  */
3820
3864
  'react/immutability'?: Linter.RuleEntry<[]>;
@@ -4169,7 +4213,7 @@ interface RuleOptions {
4169
4213
  */
4170
4214
  'react/x-globals'?: Linter.RuleEntry<[]>;
4171
4215
  /**
4172
- * Validates against passing functions that mutate captured local variables into frozen contexts such as JSX props, hook arguments, and hook return values.
4216
+ * Validates against mutating props, state, and other immutable values, including through functions passed into frozen contexts such as JSX props, hook arguments, and hook return values.
4173
4217
  * @see https://eslint-react.xyz/docs/rules/immutability
4174
4218
  */
4175
4219
  'react/x-immutability'?: Linter.RuleEntry<[]>;
@@ -5023,11 +5067,26 @@ interface RuleOptions {
5023
5067
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-uses-vars.md
5024
5068
  */
5025
5069
  'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>;
5070
+ /**
5071
+ * Disallow passing uncalled signal accessors or other functions as value-typed DOM element attributes.
5072
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-accessor-as-prop.md
5073
+ */
5074
+ 'solid/no-accessor-as-prop'?: Linter.RuleEntry<[]>;
5026
5075
  /**
5027
5076
  * Disallow usage of type-unsafe event handlers.
5028
5077
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-array-handlers.md
5029
5078
  */
5030
5079
  'solid/no-array-handlers'?: Linter.RuleEntry<[]>;
5080
+ /**
5081
+ * Disallow boolean values on enumerated attributes like draggable and tristate aria-*, which take string tokens — a boolean false removes the attribute instead of writing "false".
5082
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-boolean-enumerated-attribute.md
5083
+ */
5084
+ 'solid/no-boolean-enumerated-attribute'?: Linter.RuleEntry<[]>;
5085
+ /**
5086
+ * Disallow browser-only globals inside server functions, which run exclusively on the server.
5087
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-browser-globals-in-server-function.md
5088
+ */
5089
+ 'solid/no-browser-globals-in-server-function'?: Linter.RuleEntry<[]>;
5031
5090
  /**
5032
5091
  * Disallow destructuring props. In Solid, props must be used with property accesses (`props.foo`) to preserve reactivity. This rule only tracks destructuring in the parameter list.
5033
5092
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-destructure.md
@@ -5038,6 +5097,16 @@ interface RuleOptions {
5038
5097
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-innerhtml.md
5039
5098
  */
5040
5099
  'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>;
5100
+ /**
5101
+ * Disallow server functions from capturing variables in enclosing non-module scopes, mirroring the compiler's build-time validation.
5102
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-invalid-server-capture.md
5103
+ */
5104
+ 'solid/no-invalid-server-capture'?: Linter.RuleEntry<[]>;
5105
+ /**
5106
+ * Disallow reactive primitives at module scope, where state is shared across SSR requests.
5107
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-module-scope-reactive-primitive.md
5108
+ */
5109
+ 'solid/no-module-scope-reactive-primitive'?: Linter.RuleEntry<[]>;
5041
5110
  /**
5042
5111
  * Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
5043
5112
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-proxy-apis.md
@@ -5053,11 +5122,36 @@ interface RuleOptions {
5053
5122
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-specific-props.md
5054
5123
  */
5055
5124
  'solid/no-react-specific-props'?: Linter.RuleEntry<[]>;
5125
+ /**
5126
+ * Disallow restating a prop or option value that is already the default.
5127
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-restated-default-options.md
5128
+ */
5129
+ 'solid/no-restated-default-options'?: Linter.RuleEntry<[]>;
5130
+ /**
5131
+ * Require the two-argument `createEffect(compute, effect)` form used by Solid 2.0.
5132
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-single-arg-create-effect.md
5133
+ */
5134
+ 'solid/no-single-arg-create-effect'?: Linter.RuleEntry<[]>;
5135
+ /**
5136
+ * Disallow mutating a store's read proxy; store state changes only through the setter's mutable draft.
5137
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-store-mutation-outside-setter.md
5138
+ */
5139
+ 'solid/no-store-mutation-outside-setter'?: Linter.RuleEntry<[]>;
5056
5140
  /**
5057
5141
  * Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
5058
5142
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
5059
5143
  */
5060
5144
  'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>;
5145
+ /**
5146
+ * Disallow signals that are never written (use a plain value) or never read (dead state).
5147
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unused-signal.md
5148
+ */
5149
+ 'solid/no-unused-signal'?: Linter.RuleEntry<[]>;
5150
+ /**
5151
+ * Disallow writing signals or stores inside `createMemo`, the compute half of `createEffect`, or a component body, which are pure owned scopes.
5152
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-write-in-pure-computation.md
5153
+ */
5154
+ 'solid/no-write-in-pure-computation'?: Linter.RuleEntry<[]>;
5061
5155
  /**
5062
5156
  * Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
5063
5157
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-classlist.md
@@ -5069,16 +5163,36 @@ interface RuleOptions {
5069
5163
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-for.md
5070
5164
  */
5071
5165
  'solid/prefer-for'?: Linter.RuleEntry<[]>;
5166
+ /**
5167
+ * Enforce running side-effectful setup (timers, global listeners, observers) inside `onSettled` instead of the component body.
5168
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-onSettled-for-side-effects.md
5169
+ */
5170
+ 'solid/prefer-onSettled-for-side-effects'?: Linter.RuleEntry<[]>;
5072
5171
  /**
5073
5172
  * Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
5074
5173
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-show.md
5075
5174
  */
5076
5175
  'solid/prefer-show'?: Linter.RuleEntry<[]>;
5176
+ /**
5177
+ * Enforce using the structured array/object forms of the `class` prop over manually-built class strings.
5178
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-structured-class.md
5179
+ */
5180
+ 'solid/prefer-structured-class'?: Linter.RuleEntry<[]>;
5077
5181
  /**
5078
5182
  * Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
5079
5183
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/reactivity.md
5080
5184
  */
5081
5185
  'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>;
5186
+ /**
5187
+ * Disallow Solid 1.x APIs that were removed or renamed in Solid 2.0, with migration guidance.
5188
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/removed-api.md
5189
+ */
5190
+ 'solid/removed-api'?: Linter.RuleEntry<[]>;
5191
+ /**
5192
+ * Require server functions to be async, matching their client-side contract.
5193
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/require-async-server-function.md
5194
+ */
5195
+ 'solid/require-async-server-function'?: Linter.RuleEntry<[]>;
5082
5196
  /**
5083
5197
  * Disallow extra closing tags for components without children.
5084
5198
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/self-closing-comp.md
@@ -5089,6 +5203,11 @@ interface RuleOptions {
5089
5203
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/style-prop.md
5090
5204
  */
5091
5205
  'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>;
5206
+ /**
5207
+ * Enforce that "use server" directives are placed where the compiler honors them, and that module-level directive files export working server functions.
5208
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/valid-use-server.md
5209
+ */
5210
+ 'solid/valid-use-server'?: Linter.RuleEntry<SolidValidUseServer>;
5092
5211
  /**
5093
5212
  * Enforce sorted `import` declarations within modules
5094
5213
  * @see https://eslint.org/docs/latest/rules/sort-imports
@@ -6918,6 +7037,11 @@ interface RuleOptions {
6918
7037
  * @see https://typescript-eslint.io/rules/no-for-in-array
6919
7038
  */
6920
7039
  'ts/no-for-in-array'?: Linter.RuleEntry<[]>;
7040
+ /**
7041
+ * Disallow type operations that resolve to the "empty object" type
7042
+ * @see https://typescript-eslint.io/rules/no-generated-empty-object-type
7043
+ */
7044
+ 'ts/no-generated-empty-object-type'?: Linter.RuleEntry<[]>;
6921
7045
  /**
6922
7046
  * Disallow the use of `eval()`-like functions
6923
7047
  * @see https://typescript-eslint.io/rules/no-implied-eval
@@ -7117,6 +7241,11 @@ interface RuleOptions {
7117
7241
  * @see https://typescript-eslint.io/rules/no-unsafe-declaration-merging
7118
7242
  */
7119
7243
  'ts/no-unsafe-declaration-merging'?: Linter.RuleEntry<[]>;
7244
+ /**
7245
+ * Disallow assigning non-enum values to enum typed locations
7246
+ * @see https://typescript-eslint.io/rules/no-unsafe-enum-assignment
7247
+ */
7248
+ 'ts/no-unsafe-enum-assignment'?: Linter.RuleEntry<[]>;
7120
7249
  /**
7121
7250
  * Disallow comparing an enum value with a non-enum value
7122
7251
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
@@ -7393,1740 +7522,1841 @@ interface RuleOptions {
7393
7522
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
7394
7523
  /**
7395
7524
  * Prefer better DOM traversal APIs.
7396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/better-dom-traversing.md
7525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/better-dom-traversing.md
7397
7526
  */
7398
7527
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
7399
7528
  /**
7400
7529
  * Removed. Prefer `eslint-plugin-regexp`
7401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#better-regex
7530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#better-regex
7402
7531
  * @deprecated
7403
7532
  */
7404
7533
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
7405
7534
  /**
7406
7535
  * Enforce a specific parameter name in catch clauses.
7407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/catch-error-name.md
7536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/catch-error-name.md
7408
7537
  */
7409
7538
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
7410
7539
  /**
7411
7540
  * Enforce consistent class references in static methods.
7412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/class-reference-in-static-methods.md
7541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/class-reference-in-static-methods.md
7413
7542
  */
7414
7543
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
7415
7544
  /**
7416
7545
  * Enforce better comment content.
7417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/comment-content.md
7546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/comment-content.md
7418
7547
  */
7419
7548
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
7420
7549
  /**
7421
7550
  * Enforce a consistent return style for multiline arrow function bodies.
7422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-arrow-return-style.md
7551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-arrow-return-style.md
7423
7552
  */
7424
7553
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
7425
7554
  /**
7426
7555
  * Enforce consistent assertion style with `node:assert`.
7427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-assert.md
7556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-assert.md
7428
7557
  */
7429
7558
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
7430
7559
  /**
7431
7560
  * Enforce consistent naming for boolean names.
7432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-boolean-name.md
7561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-boolean-name.md
7433
7562
  */
7434
7563
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
7435
7564
  /**
7436
7565
  * Enforce consistent class member order.
7437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-class-member-order.md
7566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-class-member-order.md
7438
7567
  */
7439
7568
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
7440
7569
  /**
7441
7570
  * Enforce consistent spelling of compound words in identifiers.
7442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-compound-words.md
7571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-compound-words.md
7443
7572
  */
7444
7573
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
7445
7574
  /**
7446
7575
  * Enforce consistent conditional object spread style.
7447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-conditional-object-spread.md
7576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-conditional-object-spread.md
7448
7577
  */
7449
7578
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
7450
7579
  /**
7451
7580
  * Prefer passing `Date` directly to the constructor when cloning.
7452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-date-clone.md
7581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-date-clone.md
7453
7582
  */
7454
7583
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
7455
7584
  /**
7456
7585
  * Use destructured variables over properties.
7457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-destructuring.md
7586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-destructuring.md
7458
7587
  */
7459
7588
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
7460
7589
  /**
7461
7590
  * Prefer consistent types when spreading a ternary in an array literal.
7462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-empty-array-spread.md
7591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-empty-array-spread.md
7463
7592
  */
7464
7593
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
7465
7594
  /**
7466
7595
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
7467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-existence-index-check.md
7596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-existence-index-check.md
7468
7597
  */
7469
7598
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
7470
7599
  /**
7471
7600
  * Enforce consistent decorator position on exported classes.
7472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-export-decorator-position.md
7601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-export-decorator-position.md
7473
7602
  */
7474
7603
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
7475
7604
  /**
7476
7605
  * Move function definitions to the highest possible scope.
7477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-function-scoping.md
7606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-scoping.md
7478
7607
  */
7479
7608
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
7480
7609
  /**
7481
7610
  * Enforce function syntax by role.
7482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-function-style.md
7611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-style.md
7483
7612
  */
7484
7613
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
7485
7614
  /**
7486
7615
  * Enforce consistent JSON file reads before `JSON.parse()`.
7487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-json-file-read.md
7616
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-json-file-read.md
7488
7617
  */
7489
7618
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
7490
7619
  /**
7491
7620
  * Enforce consistent optional chaining for same-base member access.
7492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-optional-chaining.md
7621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-optional-chaining.md
7493
7622
  */
7494
7623
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
7495
7624
  /**
7496
7625
  * Enforce consistent style for escaping `${` in template literals.
7497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-template-literal-escape.md
7626
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-template-literal-escape.md
7498
7627
  */
7499
7628
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
7500
7629
  /**
7501
7630
  * Enforce consistent labels on tuple type elements.
7502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/consistent-tuple-labels.md
7631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-tuple-labels.md
7503
7632
  */
7504
7633
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
7505
7634
  /**
7506
7635
  * Enforce correct `Error` subclassing.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/custom-error-definition.md
7636
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/custom-error-definition.md
7508
7637
  */
7509
7638
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
7510
7639
  /**
7511
7640
  * Enforce consistent default export declarations.
7512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/default-export-style.md
7641
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/default-export-style.md
7513
7642
  */
7514
7643
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
7515
7644
  /**
7516
7645
  * Enforce consistent style for DOM element dataset access.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/dom-node-dataset.md
7646
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/dom-node-dataset.md
7518
7647
  */
7519
7648
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
7520
7649
  /**
7521
7650
  * Enforce no spaces between braces.
7522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/empty-brace-spaces.md
7651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/empty-brace-spaces.md
7523
7652
  */
7524
7653
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
7525
7654
  /**
7526
7655
  * Enforce passing a `message` value when creating a built-in error.
7527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/error-message.md
7656
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/error-message.md
7528
7657
  */
7529
7658
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
7530
7659
  /**
7531
7660
  * Require escape sequences to use uppercase or lowercase values.
7532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/escape-case.md
7661
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/escape-case.md
7533
7662
  */
7534
7663
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
7535
7664
  /**
7536
7665
  * Add expiration conditions to TODO comments.
7537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/expiring-todo-comments.md
7666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/expiring-todo-comments.md
7538
7667
  */
7539
7668
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
7540
7669
  /**
7541
7670
  * Enforce explicitly comparing the `length` or `size` property of a value.
7542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/explicit-length-check.md
7671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-length-check.md
7543
7672
  */
7544
7673
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
7545
7674
  /**
7546
7675
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
7547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/explicit-timer-delay.md
7676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-timer-delay.md
7548
7677
  */
7549
7678
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
7550
7679
  /**
7551
7680
  * Enforce a case style for filenames and directory names.
7552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/filename-case.md
7681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/filename-case.md
7553
7682
  */
7554
7683
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
7555
7684
  /**
7556
7685
  * Require identifiers to match a specified regular expression.
7557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/id-match.md
7686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/id-match.md
7558
7687
  */
7559
7688
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
7560
7689
  /**
7561
7690
  * Enforce specific import styles per module.
7562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/import-style.md
7691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/import-style.md
7563
7692
  */
7564
7693
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
7565
7694
  /**
7566
7695
  * Prevent usage of variables from outside the scope of isolated functions.
7567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/isolated-functions.md
7696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/isolated-functions.md
7568
7697
  */
7569
7698
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
7570
7699
  /**
7571
7700
  * Enforce a consistent style for optional loop sources.
7572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/iteration-fallback-style.md
7701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/iteration-fallback-style.md
7573
7702
  */
7574
7703
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
7575
7704
  /**
7576
7705
  * Require or disallow logical assignment operator shorthand
7577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/logical-assignment-operators.md
7706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/logical-assignment-operators.md
7578
7707
  */
7579
7708
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
7580
7709
  /**
7581
7710
  * Limit the depth of nested calls.
7582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/max-nested-calls.md
7711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/max-nested-calls.md
7583
7712
  */
7584
7713
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
7585
7714
  /**
7586
7715
  * Enforce replacements for variable, property, and filenames.
7587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/name-replacements.md
7716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/name-replacements.md
7588
7717
  */
7589
7718
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
7590
7719
  /**
7591
7720
  * Enforce correct use of `new` for builtin constructors.
7592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/new-for-builtins.md
7721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/new-for-builtins.md
7593
7722
  */
7594
7723
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
7595
7724
  /**
7596
7725
  * Enforce specifying rules to disable in `eslint-disable` comments.
7597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-abusive-eslint-disable.md
7726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-abusive-eslint-disable.md
7598
7727
  */
7599
7728
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
7600
7729
  /**
7601
7730
  * Disallow recursive access to `this` within getters and setters.
7602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-accessor-recursion.md
7731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accessor-recursion.md
7603
7732
  */
7604
7733
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
7605
7734
  /**
7606
7735
  * Disallow bitwise operators where a logical operator was likely intended.
7607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-accidental-bitwise-operator.md
7736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accidental-bitwise-operator.md
7608
7737
  */
7609
7738
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
7610
7739
  /**
7611
7740
  * Disallow anonymous functions and classes as the default export.
7612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-anonymous-default-export.md
7741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-anonymous-default-export.md
7613
7742
  */
7614
7743
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
7615
7744
  /**
7616
7745
  * Prevent passing a function reference directly to iterator methods.
7617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-callback-reference.md
7746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-callback-reference.md
7618
7747
  */
7619
7748
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
7620
7749
  /**
7621
7750
  * Disallow array accumulation with `Array#concat()` in loops.
7622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-concat-in-loop.md
7751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-concat-in-loop.md
7623
7752
  */
7624
7753
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
7625
7754
  /**
7626
7755
  * Disallow using reference values as `Array#fill()` values.
7627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-fill-with-reference-type.md
7756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-fill-with-reference-type.md
7628
7757
  */
7629
7758
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
7630
7759
  /**
7631
7760
  * Disallow `.fill()` after `Array.from({length: …})`.
7632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-from-fill.md
7761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-from-fill.md
7633
7762
  */
7634
7763
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
7635
7764
  /**
7636
7765
  * Disallow front-of-array mutation.
7637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-front-mutation.md
7766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-front-mutation.md
7638
7767
  */
7639
7768
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
7640
7769
  /**
7641
7770
  * Disallow using the `this` argument in array methods.
7642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-method-this-argument.md
7771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-method-this-argument.md
7643
7772
  */
7644
7773
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
7645
7774
  /**
7646
7775
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
7647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
7776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
7648
7777
  * @deprecated
7649
7778
  */
7650
7779
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
7651
7780
  /**
7652
7781
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
7653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-reduce.md
7782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reduce.md
7654
7783
  */
7655
7784
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
7656
7785
  /**
7657
7786
  * Prefer `Array#toReversed()` over `Array#reverse()`.
7658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-reverse.md
7787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reverse.md
7659
7788
  */
7660
7789
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
7661
7790
  /**
7662
7791
  * Prefer `Array#toSorted()` over `Array#sort()`.
7663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-sort.md
7792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort.md
7664
7793
  */
7665
7794
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
7666
7795
  /**
7667
7796
  * Disallow sorting arrays to get the minimum or maximum value.
7668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-sort-for-min-max.md
7797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort-for-min-max.md
7669
7798
  */
7670
7799
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
7671
7800
  /**
7672
7801
  * Prefer `Array#toSpliced()` over `Array#splice()`.
7673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-array-splice.md
7802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-splice.md
7674
7803
  */
7675
7804
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
7676
7805
  /**
7677
7806
  * Disallow asterisk prefixes in documentation comments.
7678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
7807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
7679
7808
  */
7680
7809
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
7810
+ /**
7811
+ * Disallow asynchronous callbacks in synchronous iterator helpers.
7812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-iterator-callback.md
7813
+ */
7814
+ 'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
7681
7815
  /**
7682
7816
  * Disallow async functions as `Promise#finally()` callbacks.
7683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-async-promise-finally.md
7817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-promise-finally.md
7684
7818
  */
7685
7819
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
7686
7820
  /**
7687
7821
  * Disallow member access from await expression.
7688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-await-expression-member.md
7822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-expression-member.md
7689
7823
  */
7690
7824
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
7691
7825
  /**
7692
7826
  * Disallow using `await` in `Promise` method parameters.
7693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-await-in-promise-methods.md
7827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-in-promise-methods.md
7694
7828
  */
7695
7829
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
7696
7830
  /**
7697
7831
  * Disallow barrel files.
7698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-barrel-files.md
7832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-barrel-files.md
7699
7833
  */
7700
7834
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
7701
7835
  /**
7702
7836
  * Disallow unnecessary `Blob` to `File` conversion.
7703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-blob-to-file.md
7837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-blob-to-file.md
7704
7838
  */
7705
7839
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
7706
7840
  /**
7707
7841
  * Disallow boolean-returning sort comparators.
7708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-boolean-sort-comparator.md
7842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-boolean-sort-comparator.md
7709
7843
  */
7710
7844
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
7711
7845
  /**
7712
- * Disallow `break` and `continue` in nested loops and switches inside loops.
7713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-break-in-nested-loop.md
7846
+ * Disallow `break` and optionally `continue` in nested loops and switches inside loops.
7847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-break-in-nested-loop.md
7714
7848
  */
7715
- 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
7849
+ 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
7716
7850
  /**
7717
7851
  * Prefer drawing canvases directly instead of converting them to images.
7718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-canvas-to-image.md
7852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-canvas-to-image.md
7719
7853
  */
7720
7854
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
7721
7855
  /**
7722
7856
  * Disallow chained comparisons such as `a < b < c`.
7723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-chained-comparison.md
7857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-chained-comparison.md
7724
7858
  */
7725
7859
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
7726
7860
  /**
7727
7861
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
7728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-collection-bracket-access.md
7862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-collection-bracket-access.md
7729
7863
  */
7730
7864
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
7731
7865
  /**
7732
7866
  * Disallow dynamic object property existence checks.
7733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-computed-property-existence-check.md
7867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-computed-property-existence-check.md
7734
7868
  */
7735
7869
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
7736
7870
  /**
7737
7871
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
7738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-confusing-array-splice.md
7872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-splice.md
7739
7873
  */
7740
7874
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
7741
7875
  /**
7742
7876
  * Disallow confusing uses of `Array#with()`.
7743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-confusing-array-with.md
7877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-with.md
7744
7878
  */
7745
7879
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
7746
7880
  /**
7747
7881
  * Do not use leading/trailing space between `console.log` parameters.
7748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-console-spaces.md
7882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-console-spaces.md
7749
7883
  */
7750
7884
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
7751
7885
  /**
7752
7886
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
7753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-constant-zero-expression.md
7887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-constant-zero-expression.md
7754
7888
  */
7755
7889
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
7756
7890
  /**
7757
7891
  * Disallow declarations before conditional early exits when they are only used after the exit.
7758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-declarations-before-early-exit.md
7892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-declarations-before-early-exit.md
7759
7893
  */
7760
7894
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
7895
+ /**
7896
+ * Disallow deprecated CSS features.
7897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-deprecated-css-features.md
7898
+ */
7899
+ 'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<UnicornNoDeprecatedCssFeatures>;
7761
7900
  /**
7762
7901
  * Do not use `document.cookie` directly.
7763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-document-cookie.md
7902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-document-cookie.md
7764
7903
  */
7765
7904
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
7766
7905
  /**
7767
7906
  * Disallow two comparisons of the same operands that can be combined into one.
7768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-double-comparison.md
7907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-double-comparison.md
7769
7908
  */
7770
7909
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
7910
+ /**
7911
+ * Disallow duplicate CSS selectors.
7912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-css-selectors.md
7913
+ */
7914
+ 'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
7915
+ /**
7916
+ * Disallow duplicate font family names.
7917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-font-family-names.md
7918
+ */
7919
+ 'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
7771
7920
  /**
7772
7921
  * Disallow duplicate adjacent branches in if chains.
7773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-if-branches.md
7922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-if-branches.md
7774
7923
  */
7775
7924
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
7776
7925
  /**
7777
7926
  * Disallow adjacent duplicate operands in logical expressions.
7778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-logical-operands.md
7927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-logical-operands.md
7779
7928
  */
7780
7929
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
7781
7930
  /**
7782
7931
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
7783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-loops.md
7932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-loops.md
7784
7933
  */
7785
7934
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
7786
7935
  /**
7787
7936
  * Disallow duplicate values in `Set` constructor array literals.
7788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-duplicate-set-values.md
7937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-set-values.md
7789
7938
  */
7790
7939
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
7791
7940
  /**
7792
7941
  * Disallow empty files.
7793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-empty-file.md
7942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-empty-file.md
7794
7943
  */
7795
7944
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
7796
7945
  /**
7797
7946
  * Disallow assigning to built-in error properties.
7798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-error-property-assignment.md
7947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-error-property-assignment.md
7799
7948
  */
7800
7949
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
7801
7950
  /**
7802
7951
  * Disallow exports in scripts.
7803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-exports-in-scripts.md
7952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-exports-in-scripts.md
7804
7953
  */
7805
7954
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
7806
7955
  /**
7807
7956
  * Prefer `for…of` over the `forEach` method.
7808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-for-each.md
7957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-each.md
7809
7958
  */
7810
7959
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
7811
7960
  /**
7812
7961
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
7813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-for-loop.md
7962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-loop.md
7814
7963
  */
7815
7964
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
7816
7965
  /**
7817
7966
  * Disallow assigning properties on the global object.
7818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-global-object-property-assignment.md
7967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-global-object-property-assignment.md
7819
7968
  */
7820
7969
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
7821
7970
  /**
7822
7971
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
7823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
7972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
7824
7973
  * @deprecated
7825
7974
  */
7826
7975
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
7827
7976
  /**
7828
7977
  * Disallow immediate mutation after variable assignment.
7829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-immediate-mutation.md
7978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-immediate-mutation.md
7830
7979
  */
7831
- 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
7980
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
7832
7981
  /**
7833
7982
  * Disallow impossible comparisons against `.length` or `.size`.
7834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-impossible-length-comparison.md
7983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-impossible-length-comparison.md
7835
7984
  */
7836
7985
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
7837
7986
  /**
7838
7987
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
7839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-incorrect-query-selector.md
7988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-query-selector.md
7840
7989
  */
7841
7990
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
7842
7991
  /**
7843
7992
  * Disallow incorrect template literal interpolation syntax.
7844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-incorrect-template-string-interpolation.md
7993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-template-string-interpolation.md
7845
7994
  */
7846
7995
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
7847
7996
  /**
7848
7997
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
7849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
7998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
7850
7999
  * @deprecated
7851
8000
  */
7852
8001
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
7853
8002
  /**
7854
8003
  * Disallow `instanceof` with built-in objects
7855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-instanceof-builtins.md
8004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-instanceof-builtins.md
7856
8005
  */
7857
8006
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
7858
8007
  /**
7859
8008
  * Disallow calling functions and constructors with an invalid number of arguments.
7860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-argument-count.md
8009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-argument-count.md
7861
8010
  */
7862
8011
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
7863
8012
  /**
7864
8013
  * Disallow comparing a single character from a string to a multi-character string.
7865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-character-comparison.md
8014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-character-comparison.md
7866
8015
  */
7867
8016
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
7868
8017
  /**
7869
8018
  * Disallow invalid options in `fetch()` and `new Request()`.
7870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-fetch-options.md
8019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-fetch-options.md
7871
8020
  */
7872
8021
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
7873
8022
  /**
7874
8023
  * Disallow invalid `accept` values on file inputs.
7875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-file-input-accept.md
8024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-file-input-accept.md
7876
8025
  */
7877
8026
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
8027
+ /**
8028
+ * Disallow unknown media features and invalid values for known media features.
8029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-media-features.md
8030
+ */
8031
+ 'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
7878
8032
  /**
7879
8033
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
7880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-remove-event-listener.md
8034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-remove-event-listener.md
7881
8035
  */
7882
8036
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
7883
8037
  /**
7884
8038
  * Disallow invalid implementations of well-known symbol methods.
7885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
8039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
7886
8040
  */
7887
8041
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
7888
8042
  /**
7889
8043
  * Disallow identifiers starting with `new` or `class`.
7890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-keyword-prefix.md
8044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-keyword-prefix.md
7891
8045
  */
7892
8046
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
7893
8047
  /**
7894
8048
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
7895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-late-current-target-access.md
8049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-current-target-access.md
7896
8050
  */
7897
8051
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
7898
8052
  /**
7899
8053
  * Disallow event-control method calls after the synchronous event dispatch has finished.
7900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-late-event-control.md
8054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-event-control.md
7901
8055
  */
7902
8056
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
7903
8057
  /**
7904
8058
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
7905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
8059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7906
8060
  * @deprecated
7907
8061
  */
7908
8062
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
7909
8063
  /**
7910
8064
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
7911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-lonely-if.md
8065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-lonely-if.md
7912
8066
  */
7913
8067
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
7914
8068
  /**
7915
8069
  * Disallow mutating a loop iterable during iteration.
7916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-loop-iterable-mutation.md
8070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-loop-iterable-mutation.md
7917
8071
  */
7918
8072
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
7919
8073
  /**
7920
8074
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
7921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-magic-array-flat-depth.md
8075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-magic-array-flat-depth.md
7922
8076
  */
7923
8077
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
7924
8078
  /**
7925
8079
  * Disallow manually wrapped comments.
7926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-manually-wrapped-comments.md
8080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-manually-wrapped-comments.md
7927
8081
  */
7928
8082
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
7929
8083
  /**
7930
8084
  * Disallow checking a Map key before accessing a different key.
7931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-mismatched-map-key.md
8085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-mismatched-map-key.md
7932
8086
  */
7933
8087
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
7934
8088
  /**
7935
8089
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
7936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-misrefactored-assignment.md
8090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-misrefactored-assignment.md
7937
8091
  */
7938
8092
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
7939
8093
  /**
7940
8094
  * Disallow references to missing local resources.
7941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-missing-local-resource.md
8095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-missing-local-resource.md
7942
8096
  */
7943
8097
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
7944
8098
  /**
7945
8099
  * Disallow calling Promise executor resolver functions more than once on the same execution path.
7946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-multiple-promise-resolver-calls.md
8100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-multiple-promise-resolver-calls.md
7947
8101
  */
7948
8102
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
7949
8103
  /**
7950
8104
  * Disallow named usage of default import and export.
7951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-named-default.md
8105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-named-default.md
7952
8106
  */
7953
8107
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
7954
8108
  /**
7955
8109
  * Disallow negated array predicate calls.
7956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-array-predicate.md
8110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-array-predicate.md
7957
8111
  */
7958
8112
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
7959
8113
  /**
7960
8114
  * Disallow negated comparisons.
7961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-comparison.md
8115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-comparison.md
7962
8116
  */
7963
8117
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
7964
8118
  /**
7965
8119
  * Disallow negated conditions.
7966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negated-condition.md
8120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-condition.md
7967
8121
  */
7968
8122
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
7969
8123
  /**
7970
8124
  * Disallow negated expression in equality check.
7971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-negation-in-equality-check.md
8125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negation-in-equality-check.md
7972
8126
  */
7973
8127
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
7974
8128
  /**
7975
8129
  * Disallow nested ternary expressions.
7976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-nested-ternary.md
8130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nested-ternary.md
7977
8131
  */
7978
8132
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
8133
+ /**
8134
+ * Disallow nesting under selector lists with mixed specificity.
8135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nesting-with-mixed-specificity.md
8136
+ */
8137
+ 'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
7979
8138
  /**
7980
8139
  * Disallow `new Array()`.
7981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-new-array.md
8140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-array.md
7982
8141
  */
7983
8142
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
7984
8143
  /**
7985
8144
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-new-buffer.md
8145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-buffer.md
7987
8146
  */
7988
8147
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
7989
8148
  /**
7990
8149
  * Disallow non-function values with function-style verb prefixes.
7991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-non-function-verb-prefix.md
8150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-non-function-verb-prefix.md
7992
8151
  */
7993
8152
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
7994
8153
  /**
7995
8154
  * Disallow non-standard properties on built-in objects.
7996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-nonstandard-builtin-properties.md
8155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nonstandard-builtin-properties.md
7997
8156
  */
7998
8157
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
7999
8158
  /**
8000
8159
  * Disallow the use of the `null` literal.
8001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-null.md
8160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-null.md
8002
8161
  */
8003
8162
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
8004
8163
  /**
8005
8164
  * Disallow the use of objects as default parameters.
8006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-object-as-default-parameter.md
8165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-as-default-parameter.md
8007
8166
  */
8008
8167
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
8009
8168
  /**
8010
8169
  * Disallow `Object` methods with `Map` or `Set`.
8011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-object-methods-with-collections.md
8170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-methods-with-collections.md
8012
8171
  */
8013
8172
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
8014
8173
  /**
8015
8174
  * Disallow optional chaining on undeclared variables.
8016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
8175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
8017
8176
  */
8018
8177
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
8019
8178
  /**
8020
8179
  * Disallow `process.exit()`.
8021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-process-exit.md
8180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-process-exit.md
8022
8181
  */
8023
8182
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
8024
8183
  /**
8025
8184
  * Disallow comparisons made redundant by an equality check in the same logical AND.
8026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-redundant-comparison.md
8185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-comparison.md
8027
8186
  */
8028
8187
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
8188
+ /**
8189
+ * Disallow nested style rules that do not modify the parent selector.
8190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-nested-style-rules.md
8191
+ */
8192
+ 'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
8029
8193
  /**
8030
8194
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
8031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-return-array-push.md
8195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-return-array-push.md
8032
8196
  */
8033
8197
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
8034
8198
  /**
8035
8199
  * Disallow selector syntax in DOM names.
8036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-selector-as-dom-name.md
8200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-selector-as-dom-name.md
8037
8201
  */
8038
8202
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
8039
8203
  /**
8040
8204
  * Disallow shorthand properties that override related longhand properties.
8041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-shorthand-property-overrides.md
8205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-shorthand-property-overrides.md
8042
8206
  */
8043
8207
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
8044
8208
  /**
8045
8209
  * Disallow passing single-element arrays to `Promise` methods.
8046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-single-promise-in-promise-methods.md
8210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-single-promise-in-promise-methods.md
8047
8211
  */
8048
8212
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
8049
8213
  /**
8050
8214
  * Disallow classes that only have static members.
8051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-static-only-class.md
8215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-static-only-class.md
8052
8216
  */
8053
8217
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
8054
8218
  /**
8055
8219
  * Prefer comparing values directly over subtracting and comparing to `0`.
8056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-subtraction-comparison.md
8220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-subtraction-comparison.md
8057
8221
  */
8058
8222
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
8059
8223
  /**
8060
8224
  * Disallow `then` property.
8061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-thenable.md
8225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-thenable.md
8062
8226
  */
8063
8227
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
8064
8228
  /**
8065
8229
  * Disallow assigning `this` to a variable.
8066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-this-assignment.md
8230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-assignment.md
8067
8231
  */
8068
8232
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
8069
8233
  /**
8070
8234
  * Disallow `this` outside of classes.
8071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-this-outside-of-class.md
8235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-outside-of-class.md
8072
8236
  */
8073
8237
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
8074
8238
  /**
8075
8239
  * Disallow assigning to top-level variables from inside functions.
8076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-top-level-assignment-in-function.md
8240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-assignment-in-function.md
8077
8241
  */
8078
8242
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
8079
8243
  /**
8080
8244
  * Disallow top-level side effects in exported modules.
8081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-top-level-side-effects.md
8245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-side-effects.md
8082
8246
  */
8083
8247
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
8084
8248
  /**
8085
8249
  * Disallow `all` as a transition property.
8086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-transition-all.md
8250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-transition-all.md
8087
8251
  */
8088
8252
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
8089
8253
  /**
8090
8254
  * Disallow comparing `undefined` using `typeof`.
8091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-typeof-undefined.md
8255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-typeof-undefined.md
8092
8256
  */
8093
8257
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
8094
8258
  /**
8095
8259
  * Disallow referencing methods without calling them.
8096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-uncalled-method.md
8260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-uncalled-method.md
8097
8261
  */
8098
8262
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
8099
8263
  /**
8100
8264
  * Require class members to be declared.
8101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-undeclared-class-members.md
8265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-undeclared-class-members.md
8102
8266
  */
8103
8267
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
8268
+ /**
8269
+ * Disallow unknown and noncanonical CSS annotations.
8270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-css-annotations.md
8271
+ */
8272
+ 'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
8273
+ /**
8274
+ * Disallow unknown pseudo-class and pseudo-element selectors.
8275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-pseudo-selectors.md
8276
+ */
8277
+ 'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<UnicornNoUnknownPseudoSelectors>;
8104
8278
  /**
8105
8279
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
8106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-flat-depth.md
8280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-depth.md
8107
8281
  */
8108
8282
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
8109
8283
  /**
8110
8284
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
8111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-flat-map.md
8285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-map.md
8112
8286
  */
8113
8287
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
8114
8288
  /**
8115
8289
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
8116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-array-splice-count.md
8290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-splice-count.md
8117
8291
  */
8118
8292
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
8119
8293
  /**
8120
8294
  * Disallow awaiting non-promise values.
8121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-await.md
8295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-await.md
8122
8296
  */
8123
8297
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
8124
8298
  /**
8125
8299
  * Disallow unnecessary comparisons against boolean literals.
8126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-boolean-comparison.md
8300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-boolean-comparison.md
8127
8301
  */
8128
8302
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
8129
8303
  /**
8130
8304
  * Disallow unnecessary options in `fetch()` and `new Request()`.
8131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-fetch-options.md
8305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-fetch-options.md
8132
8306
  */
8133
8307
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
8134
8308
  /**
8135
8309
  * Disallow unnecessary `globalThis` references.
8136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-global-this.md
8310
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-global-this.md
8137
8311
  */
8138
8312
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
8139
8313
  /**
8140
8314
  * Disallow unnecessary nested ternary expressions.
8141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-nested-ternary.md
8315
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-nested-ternary.md
8142
8316
  */
8143
8317
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
8144
8318
  /**
8145
8319
  * Enforce the use of built-in methods instead of unnecessary polyfills.
8146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-polyfills.md
8320
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-polyfills.md
8147
8321
  */
8148
8322
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
8149
8323
  /**
8150
8324
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
8151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-slice-end.md
8325
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-slice-end.md
8152
8326
  */
8153
8327
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
8154
8328
  /**
8155
8329
  * Disallow `Array#splice()` when simpler alternatives exist.
8156
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-splice.md
8330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-splice.md
8157
8331
  */
8158
8332
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
8159
8333
  /**
8160
8334
  * Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
8161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unnecessary-string-trim.md
8335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-string-trim.md
8162
8336
  */
8163
8337
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
8164
8338
  /**
8165
8339
  * Disallow unreadable array destructuring.
8166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-array-destructuring.md
8340
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-array-destructuring.md
8167
8341
  */
8168
8342
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
8169
8343
  /**
8170
8344
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
8171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-for-of-expression.md
8345
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-for-of-expression.md
8172
8346
  */
8173
8347
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
8174
8348
  /**
8175
8349
  * Disallow unreadable IIFEs.
8176
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-iife.md
8350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-iife.md
8177
8351
  */
8178
8352
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
8179
8353
  /**
8180
8354
  * Disallow unreadable `new` expressions.
8181
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-new-expression.md
8355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-new-expression.md
8182
8356
  */
8183
8357
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
8184
8358
  /**
8185
8359
  * Disallow unreadable object destructuring.
8186
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unreadable-object-destructuring.md
8360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-object-destructuring.md
8187
8361
  */
8188
8362
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
8189
8363
  /**
8190
8364
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
8191
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-buffer-conversion.md
8365
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-buffer-conversion.md
8192
8366
  */
8193
8367
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
8194
8368
  /**
8195
8369
  * Disallow unsafe DOM HTML APIs.
8196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-dom-html.md
8370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-dom-html.md
8197
8371
  */
8198
8372
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
8199
8373
  /**
8200
8374
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
8201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
8375
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
8202
8376
  */
8203
8377
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
8204
8378
  /**
8205
8379
  * Disallow unsafe values as property keys.
8206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-property-key.md
8380
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-property-key.md
8207
8381
  */
8208
8382
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
8209
8383
  /**
8210
8384
  * Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
8211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
8385
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
8212
8386
  */
8213
8387
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
8214
8388
  /**
8215
8389
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
8216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unsafe-string-replacement.md
8390
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-string-replacement.md
8217
8391
  */
8218
8392
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
8219
8393
  /**
8220
- * Disallow ignoring the return value of selected array methods.
8221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unused-array-method-return.md
8394
+ * Disallow unscoped CSS nesting selectors.
8395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unscoped-css-nesting-selector.md
8396
+ */
8397
+ 'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<UnicornNoUnscopedCssNestingSelector>;
8398
+ /**
8399
+ * Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
8400
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
8401
+ * @deprecated
8222
8402
  */
8223
8403
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
8404
+ /**
8405
+ * Disallow ignoring the return value of selected built-in methods.
8406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-builtin-method-return.md
8407
+ */
8408
+ 'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
8409
+ /**
8410
+ * Disallow discarding lazy iterator helpers.
8411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-iterator-helper.md
8412
+ */
8413
+ 'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
8224
8414
  /**
8225
8415
  * Disallow unused object properties.
8226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-unused-properties.md
8416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-properties.md
8227
8417
  */
8228
8418
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
8229
8419
  /**
8230
8420
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
8231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-boolean-cast.md
8421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-boolean-cast.md
8232
8422
  */
8233
8423
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
8234
8424
  /**
8235
8425
  * Disallow useless type coercions of values that are already of the target type.
8236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-coercion.md
8426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-coercion.md
8237
8427
  */
8238
8428
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
8239
8429
  /**
8240
8430
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
8241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-collection-argument.md
8431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-collection-argument.md
8242
8432
  */
8243
8433
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
8244
8434
  /**
8245
8435
  * Disallow useless compound assignments such as `x += 0`.
8246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-compound-assignment.md
8436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-compound-assignment.md
8247
8437
  */
8248
8438
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
8249
8439
  /**
8250
8440
  * Disallow useless concatenation of literals.
8251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-concat.md
8441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-concat.md
8252
8442
  */
8253
8443
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
8254
8444
  /**
8255
8445
  * Disallow useless `continue` statements.
8256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-continue.md
8446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-continue.md
8257
8447
  */
8258
8448
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
8259
8449
  /**
8260
8450
  * Disallow unnecessary existence checks before deletion.
8261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-delete-check.md
8451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-delete-check.md
8262
8452
  */
8263
8453
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
8264
8454
  /**
8265
8455
  * Disallow `else` after a statement that exits.
8266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-else.md
8456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-else.md
8267
8457
  */
8268
8458
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
8269
8459
  /**
8270
8460
  * Disallow unnecessary `Error.captureStackTrace(…)`.
8271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-error-capture-stack-trace.md
8461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-error-capture-stack-trace.md
8272
8462
  */
8273
8463
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
8274
8464
  /**
8275
8465
  * Disallow useless fallback when spreading in object literals.
8276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-fallback-in-spread.md
8466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-fallback-in-spread.md
8277
8467
  */
8278
8468
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
8279
8469
  /**
8280
8470
  * Disallow unnecessary `.toArray()` on iterators.
8281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-iterator-to-array.md
8471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-iterator-to-array.md
8282
8472
  */
8283
8473
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
8284
8474
  /**
8285
8475
  * Disallow useless array length check.
8286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-length-check.md
8476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-length-check.md
8287
8477
  */
8288
8478
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
8289
8479
  /**
8290
8480
  * Disallow unnecessary operands in logical expressions involving boolean literals.
8291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-logical-operand.md
8481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-logical-operand.md
8292
8482
  */
8293
8483
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
8294
8484
  /**
8295
8485
  * Disallow useless overrides of class methods.
8296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-override.md
8486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-override.md
8297
8487
  */
8298
8488
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
8299
8489
  /**
8300
8490
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
8301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-promise-resolve-reject.md
8491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-promise-resolve-reject.md
8302
8492
  */
8303
8493
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
8304
8494
  /**
8305
8495
  * Disallow redundant re-exports.
8306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-re-export.md
8496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-re-export.md
8307
8497
  */
8308
8498
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
8309
8499
  /**
8310
8500
  * Disallow simple recursive function calls that can be replaced with a loop.
8311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-recursion.md
8501
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-recursion.md
8312
8502
  */
8313
8503
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
8504
+ /**
8505
+ * Disallow unnecessary `Set` construction around `Set` methods.
8506
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-set-construction.md
8507
+ */
8508
+ 'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
8314
8509
  /**
8315
8510
  * Disallow unnecessary spread.
8316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-spread.md
8511
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-spread.md
8317
8512
  */
8318
8513
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
8319
8514
  /**
8320
8515
  * Disallow useless case in switch statements.
8321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-switch-case.md
8516
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-switch-case.md
8322
8517
  */
8323
8518
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
8324
8519
  /**
8325
8520
  * Disallow useless template literal expressions.
8326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-template-literals.md
8521
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-template-literals.md
8327
8522
  */
8328
8523
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
8329
8524
  /**
8330
8525
  * Disallow useless `undefined`.
8331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-useless-undefined.md
8526
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-undefined.md
8332
8527
  */
8333
8528
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
8529
+ /**
8530
+ * Disallow returning or exporting resources declared with `using`, including through capturing functions.
8531
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-using-resource-escape.md
8532
+ */
8533
+ 'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
8334
8534
  /**
8335
8535
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
8336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-xor-as-exponentiation.md
8536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-xor-as-exponentiation.md
8337
8537
  */
8338
8538
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
8339
8539
  /**
8340
8540
  * Disallow number literals with zero fractions or dangling dots.
8341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/no-zero-fractions.md
8541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-zero-fractions.md
8342
8542
  */
8343
8543
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
8344
8544
  /**
8345
8545
  * Enforce proper case for numeric literals.
8346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/number-literal-case.md
8546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/number-literal-case.md
8347
8547
  */
8348
8548
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
8349
8549
  /**
8350
8550
  * Enforce the style of numeric separators by correctly grouping digits.
8351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/numeric-separators-style.md
8551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/numeric-separators-style.md
8352
8552
  */
8353
8553
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
8354
8554
  /**
8355
8555
  * Require assignment operator shorthand where possible.
8356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/operator-assignment.md
8556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/operator-assignment.md
8357
8557
  */
8358
8558
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
8359
8559
  /**
8360
8560
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
8361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-abort-signal-any.md
8561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-any.md
8362
8562
  */
8363
8563
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
8364
8564
  /**
8365
8565
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
8366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-abort-signal-timeout.md
8566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-timeout.md
8367
8567
  */
8368
8568
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
8369
8569
  /**
8370
8570
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
8371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-add-event-listener.md
8571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener.md
8372
8572
  */
8373
8573
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
8374
8574
  /**
8375
8575
  * Prefer an options object over a boolean in `.addEventListener()`.
8376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-add-event-listener-options.md
8576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener-options.md
8377
8577
  */
8378
8578
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
8379
8579
  /**
8380
8580
  * Prefer `AggregateError` when throwing collected errors.
8381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-aggregate-error.md
8581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-aggregate-error.md
8382
8582
  */
8383
8583
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
8384
8584
  /**
8385
8585
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
8386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-find.md
8586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-find.md
8387
8587
  */
8388
8588
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
8389
8589
  /**
8390
8590
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
8391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-flat.md
8591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat.md
8392
8592
  */
8393
8593
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
8394
8594
  /**
8395
8595
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
8396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-flat-map.md
8596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat-map.md
8397
8597
  */
8398
8598
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
8399
8599
  /**
8400
- * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
8401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-async.md
8600
+ * Prefer `Array.fromAsync()` over array accumulation loops.
8601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-async.md
8402
8602
  */
8403
8603
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
8404
8604
  /**
8405
8605
  * Prefer using the `Array.from()` mapping function argument.
8406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-map.md
8606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-map.md
8407
8607
  */
8408
8608
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
8409
8609
  /**
8410
8610
  * Prefer `Array.from({length}, …)` when creating range arrays.
8411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-from-range.md
8611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-range.md
8412
8612
  */
8413
8613
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
8414
8614
  /**
8415
8615
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
8416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-index-of.md
8616
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-index-of.md
8417
8617
  */
8418
8618
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
8419
8619
  /**
8420
8620
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
8421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-iterable-methods.md
8621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-iterable-methods.md
8422
8622
  */
8423
8623
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
8424
8624
  /**
8425
8625
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
8426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-last-methods.md
8626
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-last-methods.md
8427
8627
  */
8428
8628
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
8429
8629
  /**
8430
8630
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
8431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-slice.md
8631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-slice.md
8432
8632
  */
8433
8633
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
8434
8634
  /**
8435
8635
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
8436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-array-some.md
8636
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-some.md
8437
8637
  */
8438
8638
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
8439
8639
  /**
8440
8640
  * Prefer `.at()` method for index access and `String#charAt()`.
8441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-at.md
8641
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-at.md
8442
8642
  */
8443
8643
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
8444
8644
  /**
8445
8645
  * Prefer `await` over promise chaining.
8446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-await.md
8646
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-await.md
8447
8647
  */
8448
8648
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
8449
8649
  /**
8450
8650
  * Prefer `BigInt` literals over the constructor.
8451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-bigint-literals.md
8651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-bigint-literals.md
8452
8652
  */
8453
8653
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
8454
8654
  /**
8455
8655
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
8456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-blob-reading-methods.md
8656
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-blob-reading-methods.md
8457
8657
  */
8458
8658
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
8459
8659
  /**
8460
8660
  * Prefer block statements over IIFEs used only for scoping.
8461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-block-statement-over-iife.md
8661
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-block-statement-over-iife.md
8462
8662
  */
8463
8663
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
8464
8664
  /**
8465
8665
  * Prefer directly returning boolean expressions over `if` statements.
8466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-boolean-return.md
8666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-boolean-return.md
8467
8667
  */
8468
8668
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
8469
8669
  /**
8470
8670
  * Prefer class field declarations over `this` assignments in constructors.
8471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-class-fields.md
8671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-class-fields.md
8472
8672
  */
8473
8673
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
8474
8674
  /**
8475
8675
  * Prefer using `Element#classList.toggle()` to toggle class names.
8476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-classlist-toggle.md
8676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-classlist-toggle.md
8477
8677
  */
8478
8678
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
8479
8679
  /**
8480
8680
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
8481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-code-point.md
8681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-code-point.md
8482
8682
  */
8483
8683
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
8484
8684
  /**
8485
- * Prefer early continues over whole-loop conditional wrapping.
8486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-continue.md
8685
+ * Prefer combining consecutive guards with identical exit statements.
8686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-combined-guards.md
8687
+ */
8688
+ 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
8689
+ /**
8690
+ * Prefer early continues over conditionals wrapping the remainder of the loop body.
8691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-continue.md
8487
8692
  */
8488
8693
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
8489
8694
  /**
8490
8695
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
8491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-date-now.md
8696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-date-now.md
8492
8697
  */
8493
8698
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
8494
8699
  /**
8495
8700
  * Prefer default parameters over reassignment.
8496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-default-parameters.md
8701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-default-parameters.md
8497
8702
  */
8498
8703
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
8499
8704
  /**
8500
8705
  * Prefer direct iteration over default iterator method calls.
8501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-direct-iteration.md
8706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-direct-iteration.md
8502
8707
  */
8503
8708
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
8504
8709
  /**
8505
8710
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
8506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dispose.md
8711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dispose.md
8507
8712
  */
8508
8713
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
8509
8714
  /**
8510
8715
  * Prefer `Element#append()` over `Node#appendChild()`.
8511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-append.md
8716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-append.md
8512
8717
  */
8513
8718
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
8514
8719
  /**
8515
8720
  * Renamed to `unicorn/dom-node-dataset`.
8516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
8721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
8517
8722
  * @deprecated
8518
8723
  */
8519
8724
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
8520
8725
  /**
8521
8726
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
8522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-html-methods.md
8727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-html-methods.md
8523
8728
  */
8524
8729
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
8525
8730
  /**
8526
8731
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
8527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-remove.md
8732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-remove.md
8528
8733
  */
8529
8734
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
8530
8735
  /**
8531
- * Prefer `.replaceChildren()` when emptying DOM children.
8532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-replace-children.md
8736
+ * Prefer `.replaceChildren()` when replacing DOM children.
8737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-replace-children.md
8533
8738
  */
8534
8739
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
8535
8740
  /**
8536
8741
  * Prefer `.textContent` over `.innerText`.
8537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-dom-node-text-content.md
8742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-text-content.md
8538
8743
  */
8539
8744
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
8540
8745
  /**
8541
- * Prefer early returns over full-function conditional wrapping.
8542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-early-return.md
8746
+ * Prefer early returns over conditionals wrapping the remainder of the function body.
8747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-early-return.md
8543
8748
  */
8544
8749
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
8545
8750
  /**
8546
8751
  * Prefer `else if` over adjacent `if` statements with related conditions.
8547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-else-if.md
8752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-else-if.md
8548
8753
  */
8549
8754
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
8550
8755
  /**
8551
8756
  * Prefer `Error.isError()` when checking for errors.
8552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-error-is-error.md
8757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-error-is-error.md
8553
8758
  */
8554
8759
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
8555
8760
  /**
8556
8761
  * Prefer `EventTarget` over `EventEmitter`.
8557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-event-target.md
8762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-event-target.md
8558
8763
  */
8559
8764
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
8560
8765
  /**
8561
8766
  * Prefer explicit viewport units.
8562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-explicit-viewport-units.md
8767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-explicit-viewport-units.md
8563
8768
  */
8564
8769
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
8565
8770
  /**
8566
8771
  * Prefer `export…from` when re-exporting.
8567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-export-from.md
8772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-export-from.md
8568
8773
  */
8569
8774
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
8570
8775
  /**
8571
8776
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
8572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-flat-math-min-max.md
8777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-flat-math-min-max.md
8573
8778
  */
8574
8779
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
8575
8780
  /**
8576
8781
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
8577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-get-or-insert-computed.md
8782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-get-or-insert-computed.md
8578
8783
  */
8579
8784
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
8580
8785
  /**
8581
8786
  * Prefer global numeric constants over `Number` static properties.
8582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-global-number-constants.md
8787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-number-constants.md
8583
8788
  */
8584
8789
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
8585
8790
  /**
8586
8791
  * Prefer `globalThis` over `window`, `self`, and `global`.
8587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-global-this.md
8792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-this.md
8588
8793
  */
8589
8794
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
8590
8795
  /**
8591
- * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
8592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-group-by.md
8796
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
8797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-group-by.md
8593
8798
  */
8594
8799
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
8595
8800
  /**
8596
8801
  * Prefer `.has()` when checking existence.
8597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-has-check.md
8802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-has-check.md
8598
8803
  */
8599
8804
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
8600
8805
  /**
8601
8806
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
8602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-hoisting-branch-code.md
8807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-hoisting-branch-code.md
8603
8808
  */
8604
8809
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
8605
8810
  /**
8606
8811
  * Prefer HTTPS over HTTP.
8607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-https.md
8812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-https.md
8608
8813
  */
8609
8814
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
8610
8815
  /**
8611
8816
  * Prefer identifiers over string literals in import and export specifiers.
8612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
8817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
8613
8818
  */
8614
8819
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
8615
8820
  /**
8616
8821
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
8617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-import-meta-properties.md
8822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-import-meta-properties.md
8618
8823
  */
8619
8824
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
8620
8825
  /**
8621
8826
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
8622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-includes.md
8827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes.md
8623
8828
  */
8624
8829
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
8625
8830
  /**
8626
8831
  * Prefer `.includes()` over repeated equality comparisons.
8627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
8832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
8628
8833
  */
8629
8834
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
8630
8835
  /**
8631
8836
  * Prefer passing iterables directly to constructors instead of filling empty collections.
8632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterable-in-constructor.md
8837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterable-in-constructor.md
8633
8838
  */
8634
8839
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
8635
8840
  /**
8636
8841
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
8637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-concat.md
8842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-concat.md
8638
8843
  */
8639
8844
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
8640
8845
  /**
8641
8846
  * Prefer iterator helpers over temporary arrays from iterators.
8642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-helpers.md
8847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-helpers.md
8643
8848
  */
8644
8849
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
8645
8850
  /**
8646
8851
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
8647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-to-array.md
8852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array.md
8648
8853
  */
8649
8854
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
8650
8855
  /**
8651
8856
  * Prefer moving `.toArray()` to the end of iterator helper chains.
8652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-iterator-to-array-at-end.md
8857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array-at-end.md
8653
8858
  */
8654
8859
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
8860
+ /**
8861
+ * Prefer `Iterator.zip()` over parallel-array indexing.
8862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-zip.md
8863
+ */
8864
+ 'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
8865
+ /**
8866
+ * Prefer JSON imports over reading and parsing JSON files.
8867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-json-import.md
8868
+ */
8869
+ 'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
8655
8870
  /**
8656
8871
  * Renamed to `unicorn/consistent-json-file-read`.
8657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
8872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
8658
8873
  * @deprecated
8659
8874
  */
8660
8875
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
8661
8876
  /**
8662
8877
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
8663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-keyboard-event-key.md
8878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-keyboard-event-key.md
8664
8879
  */
8665
8880
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
8666
8881
  /**
8667
8882
  * Prefer `location.assign()` over assigning to `location.href`.
8668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-location-assign.md
8883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-location-assign.md
8669
8884
  */
8670
8885
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
8671
8886
  /**
8672
8887
  * Prefer using a logical operator over a ternary.
8673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-logical-operator-over-ternary.md
8888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-logical-operator-over-ternary.md
8674
8889
  */
8675
8890
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
8676
8891
  /**
8677
8892
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
8678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-map-from-entries.md
8893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-map-from-entries.md
8679
8894
  */
8680
8895
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
8681
8896
  /**
8682
8897
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
8683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-abs.md
8898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-abs.md
8684
8899
  */
8685
8900
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
8686
8901
  /**
8687
8902
  * Prefer `Math` constants over their approximate numeric values.
8688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-constants.md
8903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-constants.md
8689
8904
  */
8690
8905
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
8691
8906
  /**
8692
8907
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
8693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-min-max.md
8908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-min-max.md
8694
8909
  */
8695
8910
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
8696
8911
  /**
8697
8912
  * Prefer `Math.trunc()` for truncating numbers.
8698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-math-trunc.md
8913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-trunc.md
8699
8914
  */
8700
8915
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
8916
+ /**
8917
+ * Prefer modern media feature range syntax.
8918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-media-feature-range-syntax.md
8919
+ */
8920
+ 'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
8701
8921
  /**
8702
8922
  * Prefer moving ternaries into the minimal varying part of an expression.
8703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-minimal-ternary.md
8923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-minimal-ternary.md
8704
8924
  */
8705
8925
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
8706
8926
  /**
8707
8927
  * Prefer modern DOM APIs.
8708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-modern-dom-apis.md
8928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-dom-apis.md
8709
8929
  */
8710
8930
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
8711
8931
  /**
8712
8932
  * Prefer modern `Math` APIs over legacy patterns.
8713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-modern-math-apis.md
8933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-math-apis.md
8714
8934
  */
8715
8935
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
8716
8936
  /**
8717
8937
  * Prefer JavaScript modules (ESM) over CommonJS.
8718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-module.md
8938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-module.md
8719
8939
  */
8720
8940
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
8721
8941
  /**
8722
8942
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
8723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-native-coercion-functions.md
8943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-native-coercion-functions.md
8724
8944
  */
8725
8945
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
8726
8946
  /**
8727
8947
  * Prefer negative index over `.length - index` when possible.
8728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-negative-index.md
8948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-negative-index.md
8729
8949
  */
8730
8950
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
8731
8951
  /**
8732
8952
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
8733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-node-protocol.md
8953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-node-protocol.md
8734
8954
  */
8735
8955
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
8736
8956
  /**
8737
8957
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
8738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-coercion.md
8958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-coercion.md
8739
8959
  */
8740
8960
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
8741
8961
  /**
8742
8962
  * Prefer `Number.isSafeInteger()` over integer checks.
8743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-is-safe-integer.md
8963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-is-safe-integer.md
8744
8964
  */
8745
8965
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
8746
8966
  /**
8747
8967
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
8748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-number-properties.md
8968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-properties.md
8749
8969
  */
8750
8970
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
8751
8971
  /**
8752
8972
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
8753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-define-properties.md
8973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-define-properties.md
8754
8974
  */
8755
8975
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
8756
8976
  /**
8757
8977
  * Prefer object destructuring defaults over default object literals with spread.
8758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-destructuring-defaults.md
8978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-destructuring-defaults.md
8759
8979
  */
8760
8980
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
8761
8981
  /**
8762
8982
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
8763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-from-entries.md
8983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-from-entries.md
8764
8984
  */
8765
8985
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
8766
8986
  /**
8767
8987
  * Prefer the most specific `Object` iterable method.
8768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-object-iterable-methods.md
8988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-iterable-methods.md
8769
8989
  */
8770
8990
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
8771
8991
  /**
8772
8992
  * Prefer observer APIs over resize and scroll listeners with layout reads.
8773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-observer-apis.md
8993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-observer-apis.md
8774
8994
  */
8775
8995
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
8776
8996
  /**
8777
8997
  * Prefer omitting the `catch` binding parameter.
8778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-optional-catch-binding.md
8998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-optional-catch-binding.md
8779
8999
  */
8780
9000
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
8781
9001
  /**
8782
9002
  * Prefer `Path2D` for repeatedly drawn canvas paths.
8783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-path2d.md
9003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-path2d.md
8784
9004
  */
8785
9005
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
8786
9006
  /**
8787
9007
  * Prefer private class fields over the underscore-prefix convention.
8788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-private-class-fields.md
9008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-private-class-fields.md
8789
9009
  */
8790
9010
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
8791
9011
  /**
8792
9012
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
8793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-promise-try.md
9013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-try.md
8794
9014
  */
8795
9015
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
8796
9016
  /**
8797
9017
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
8798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-promise-with-resolvers.md
9018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-with-resolvers.md
8799
9019
  */
8800
9020
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
8801
9021
  /**
8802
9022
  * Prefer borrowing methods from the prototype instead of the instance.
8803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-prototype-methods.md
9023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-prototype-methods.md
8804
9024
  */
8805
9025
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
8806
9026
  /**
8807
9027
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
8808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-query-selector.md
9028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-query-selector.md
8809
9029
  */
8810
9030
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
8811
9031
  /**
8812
9032
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
8813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-queue-microtask.md
9033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-queue-microtask.md
8814
9034
  */
8815
9035
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
8816
9036
  /**
8817
9037
  * Prefer `Reflect.apply()` over `Function#apply()`.
8818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-reflect-apply.md
9038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-reflect-apply.md
8819
9039
  */
8820
9040
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
8821
9041
  /**
8822
9042
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
8823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-regexp-escape.md
9043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-escape.md
8824
9044
  */
8825
9045
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
8826
9046
  /**
8827
9047
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
8828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-regexp-test.md
9048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-test.md
8829
9049
  */
8830
9050
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
8831
9051
  /**
8832
9052
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
8833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-response-static-json.md
9053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-response-static-json.md
8834
9054
  */
8835
9055
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
8836
9056
  /**
8837
9057
  * Prefer `:scope` when using element query selector methods.
8838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-scoped-selector.md
9058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-scoped-selector.md
8839
9059
  */
8840
9060
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
8841
9061
  /**
8842
9062
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
8843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-has.md
9063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-has.md
8844
9064
  */
8845
9065
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
8846
9066
  /**
8847
9067
  * Prefer `Set` methods for Set operations.
8848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-methods.md
9068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-methods.md
8849
9069
  */
8850
9070
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
8851
9071
  /**
8852
9072
  * Prefer using `Set#size` instead of `Array#length`.
8853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-set-size.md
9073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-size.md
8854
9074
  */
8855
9075
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
8856
9076
  /**
8857
9077
  * Prefer arrow function properties over methods with a single return.
8858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-short-arrow-method.md
9078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-short-arrow-method.md
8859
9079
  */
8860
9080
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
8861
9081
  /**
8862
9082
  * Prefer simple conditions first in logical expressions.
8863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simple-condition-first.md
9083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-condition-first.md
8864
9084
  */
8865
9085
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
8866
9086
  /**
8867
9087
  * Prefer a simple comparison function for `Array#sort()`.
8868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simple-sort-comparator.md
9088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-sort-comparator.md
8869
9089
  */
8870
9090
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
8871
9091
  /**
8872
9092
  * Prefer simplified conditions.
8873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-simplified-conditions.md
9093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simplified-conditions.md
8874
9094
  */
8875
9095
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
8876
9096
  /**
8877
9097
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
8878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-array-predicate.md
9098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-array-predicate.md
8879
9099
  */
8880
9100
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
8881
9101
  /**
8882
9102
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
8883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-call.md
9103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-call.md
8884
9104
  */
8885
9105
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
8886
9106
  /**
8887
9107
  * Prefer a single object destructuring declaration per local const source.
8888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-object-destructuring.md
9108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-object-destructuring.md
8889
9109
  */
8890
9110
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
8891
9111
  /**
8892
9112
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
8893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-single-replace.md
9113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-replace.md
8894
9114
  */
8895
9115
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
8896
9116
  /**
8897
9117
  * Prefer declaring variables in the smallest possible scope.
8898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-smaller-scope.md
9118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-smaller-scope.md
8899
9119
  */
8900
9120
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
8901
9121
  /**
8902
9122
  * Prefer `String#split()` with a limit.
8903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-split-limit.md
9123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-split-limit.md
8904
9124
  */
8905
9125
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
8906
9126
  /**
8907
9127
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
8908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-spread.md
9128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-spread.md
8909
9129
  */
8910
9130
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
8911
9131
  /**
8912
9132
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
8913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-match-all.md
9133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-match-all.md
8914
9134
  */
8915
9135
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
8916
9136
  /**
8917
9137
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
8918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-pad-start-end.md
9138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-pad-start-end.md
8919
9139
  */
8920
9140
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
8921
9141
  /**
8922
9142
  * Prefer using the `String.raw` tag to avoid escaping `\`.
8923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-raw.md
9143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-raw.md
8924
9144
  */
8925
9145
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
8926
9146
  /**
8927
9147
  * Prefer `String#repeat()` for repeated whitespace.
8928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-repeat.md
9148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-repeat.md
8929
9149
  */
8930
9150
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
8931
9151
  /**
8932
9152
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
8933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-replace-all.md
9153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-replace-all.md
8934
9154
  */
8935
9155
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
8936
9156
  /**
8937
9157
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
8938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-slice.md
9158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-slice.md
8939
9159
  */
8940
9160
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
8941
9161
  /**
8942
9162
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
8943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-starts-ends-with.md
9163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-starts-ends-with.md
8944
9164
  */
8945
9165
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
8946
9166
  /**
8947
9167
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
8948
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-string-trim-start-end.md
9168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-trim-start-end.md
8949
9169
  */
8950
9170
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
8951
9171
  /**
8952
9172
  * Prefer using `structuredClone` to create a deep clone.
8953
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-structured-clone.md
9173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-structured-clone.md
8954
9174
  */
8955
9175
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
8956
9176
  /**
8957
9177
  * Prefer `switch` over multiple `else-if`.
8958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-switch.md
9178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-switch.md
8959
9179
  */
8960
9180
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
8961
9181
  /**
8962
9182
  * Prefer `Temporal` over `Date`.
8963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-temporal.md
9183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal.md
8964
9184
  */
8965
9185
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
9186
+ /**
9187
+ * Prefer direct Temporal conversion methods.
9188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal-conversion.md
9189
+ */
9190
+ 'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
8966
9191
  /**
8967
9192
  * Prefer ternary expressions over simple `if` statements that return or assign values.
8968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-ternary.md
9193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-ternary.md
8969
9194
  */
8970
9195
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
8971
9196
  /**
8972
9197
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
8973
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-then-catch.md
9198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-then-catch.md
8974
9199
  */
8975
9200
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
8976
9201
  /**
8977
9202
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
8978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-toggle-attribute.md
9203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-toggle-attribute.md
8979
9204
  */
8980
9205
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
8981
9206
  /**
8982
9207
  * Prefer top-level await over top-level promises and async function calls.
8983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-top-level-await.md
9208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-top-level-await.md
8984
9209
  */
8985
9210
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
8986
9211
  /**
8987
9212
  * Enforce throwing `TypeError` in type checking conditions.
8988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-type-error.md
9213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-error.md
8989
9214
  */
8990
9215
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
8991
9216
  /**
8992
9217
  * Require type literals to be last in union types.
8993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-type-literal-last.md
9218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-literal-last.md
8994
9219
  */
8995
9220
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
8996
9221
  /**
8997
- * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
8998
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-uint8array-base64.md
9222
+ * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
9223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-base64.md
8999
9224
  */
9000
9225
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
9226
+ /**
9227
+ * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
9228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-hex.md
9229
+ */
9230
+ 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
9001
9231
  /**
9002
9232
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
9003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-unary-minus.md
9233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unary-minus.md
9004
9234
  */
9005
9235
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
9006
9236
  /**
9007
9237
  * Prefer Unicode code point escapes over legacy escape sequences.
9008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-unicode-code-point-escapes.md
9238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unicode-code-point-escapes.md
9009
9239
  */
9010
9240
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
9011
9241
  /**
9012
9242
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
9013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-can-parse.md
9243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-can-parse.md
9014
9244
  */
9015
9245
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
9016
9246
  /**
9017
9247
  * Prefer `URL#href` over stringifying a `URL`.
9018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-href.md
9248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-href.md
9019
9249
  */
9020
9250
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
9021
9251
  /**
9022
9252
  * Prefer `URLSearchParams` over manually splitting query strings.
9023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-url-search-parameters.md
9253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-search-parameters.md
9024
9254
  */
9025
9255
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
9026
9256
  /**
9027
9257
  * Prefer putting the condition in the while statement.
9028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/prefer-while-loop-condition.md
9258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-while-loop-condition.md
9029
9259
  */
9030
9260
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
9031
9261
  /**
9032
9262
  * Renamed to `unicorn/name-replacements`.
9033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
9263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
9034
9264
  * @deprecated
9035
9265
  */
9036
9266
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
9037
9267
  /**
9038
9268
  * Enforce consistent relative URL style.
9039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/relative-url-style.md
9269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/relative-url-style.md
9040
9270
  */
9041
9271
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
9042
9272
  /**
9043
9273
  * Enforce using the separator argument with `Array#join()`.
9044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-array-join-separator.md
9274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-join-separator.md
9045
9275
  */
9046
9276
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
9047
9277
  /**
9048
9278
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
9049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-array-sort-compare.md
9279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-sort-compare.md
9050
9280
  */
9051
9281
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
9052
9282
  /**
9053
9283
  * Require `CSS.escape()` for interpolated values in CSS selectors.
9054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-css-escape.md
9284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-css-escape.md
9055
9285
  */
9056
9286
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
9057
9287
  /**
9058
9288
  * Require configured YAML frontmatter fields.
9059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-frontmatter-fields.md
9289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-frontmatter-fields.md
9060
9290
  */
9061
9291
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
9062
9292
  /**
9063
9293
  * Require non-empty module attributes for imports and exports
9064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-module-attributes.md
9294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-attributes.md
9065
9295
  */
9066
9296
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
9067
9297
  /**
9068
9298
  * Require non-empty specifier list in import and export statements.
9069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-module-specifiers.md
9299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-specifiers.md
9070
9300
  */
9071
9301
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
9072
9302
  /**
9073
9303
  * Enforce using the digits argument with `Number#toFixed()`.
9074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-number-to-fixed-digits-argument.md
9304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-number-to-fixed-digits-argument.md
9075
9305
  */
9076
9306
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
9077
9307
  /**
9078
9308
  * Require passive event listeners for high-frequency events.
9079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-passive-events.md
9309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-passive-events.md
9080
9310
  */
9081
9311
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
9082
9312
  /**
9083
9313
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
9084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-post-message-target-origin.md
9314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-post-message-target-origin.md
9085
9315
  */
9086
9316
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
9087
9317
  /**
9088
9318
  * Require boolean-returning Proxy traps to return booleans.
9089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/require-proxy-trap-boolean-return.md
9319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-proxy-trap-boolean-return.md
9090
9320
  */
9091
9321
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
9092
9322
  /**
9093
9323
  * Enforce a consistent style for single-line block comments.
9094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/single-line-block-comment-style.md
9324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/single-line-block-comment-style.md
9095
9325
  */
9096
9326
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
9097
9327
  /**
9098
9328
  * Enforce better string content.
9099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/string-content.md
9329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/string-content.md
9100
9330
  */
9101
9331
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
9102
9332
  /**
9103
9333
  * Enforce consistent brace style for `case` clauses.
9104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/switch-case-braces.md
9334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-braces.md
9105
9335
  */
9106
9336
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
9107
9337
  /**
9108
9338
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
9109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/switch-case-break-position.md
9339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-break-position.md
9110
9340
  */
9111
9341
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
9112
9342
  /**
9113
9343
  * Fix whitespace-insensitive template indentation.
9114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/template-indent.md
9344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/template-indent.md
9115
9345
  */
9116
9346
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
9117
9347
  /**
9118
9348
  * Enforce consistent case for text encoding identifiers.
9119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/text-encoding-identifier-case.md
9349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/text-encoding-identifier-case.md
9120
9350
  */
9121
9351
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
9122
9352
  /**
9123
9353
  * Require `new` when creating an error.
9124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/throw-new-error.md
9354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/throw-new-error.md
9125
9355
  */
9126
9356
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
9127
9357
  /**
9128
9358
  * Limit the complexity of `try` blocks.
9129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v73.0.0/docs/rules/try-complexity.md
9359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/try-complexity.md
9130
9360
  */
9131
9361
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
9132
9362
  /**
@@ -9932,6 +10162,11 @@ interface RuleOptions {
9932
10162
  * @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
9933
10163
  */
9934
10164
  'vue/no-setup-props-reactivity-loss'?: Linter.RuleEntry<[]>;
10165
+ /**
10166
+ * disallow the use of event names that collide with native web event names
10167
+ * @see https://eslint.vuejs.org/rules/no-shadow-native-events.html
10168
+ */
10169
+ 'vue/no-shadow-native-events'?: Linter.RuleEntry<[]>;
9935
10170
  /**
9936
10171
  * enforce component's data property to be a function
9937
10172
  * @see https://eslint.vuejs.org/rules/no-shared-component-data.html
@@ -11101,10 +11336,12 @@ type EslintCommentsDisableEnablePair = [] | [{
11101
11336
  type EslintCommentsNoRestrictedDisable = string[];
11102
11337
  // ----- eslint-comments/no-use -----
11103
11338
  type EslintCommentsNoUse = [] | [{
11104
- allow?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
11339
+ additionalDirectives?: string[];
11340
+ allow?: string[];
11105
11341
  }];
11106
11342
  // ----- eslint-comments/require-description -----
11107
11343
  type EslintCommentsRequireDescription = [] | [{
11344
+ additionalDirectives?: string[];
11108
11345
  ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
11109
11346
  }];
11110
11347
  // ----- format/dprint -----
@@ -11315,6 +11552,7 @@ type JsdocCheckExamples = [] | [{
11315
11552
  // ----- jsdoc/check-indentation -----
11316
11553
  type JsdocCheckIndentation = [] | [{
11317
11554
  allowIndentedSections?: boolean;
11555
+ allowNoSpaceAfterAsterisk?: boolean;
11318
11556
  excludeTags?: string[];
11319
11557
  }];
11320
11558
  // ----- jsdoc/check-line-alignment -----
@@ -11524,6 +11762,14 @@ type JsdocNoUndefinedTypes = [] | [{
11524
11762
  disableReporting?: boolean;
11525
11763
  markVariablesAsUsed?: boolean;
11526
11764
  }];
11765
+ // ----- jsdoc/no-unnecessary-type-assertion -----
11766
+ type JsdocNoUnnecessaryTypeAssertion = [] | [{
11767
+ checkLiteralConstAssertions?: boolean;
11768
+ enableFixer?: boolean;
11769
+ preferConstToLiteralTuples?: boolean;
11770
+ treatAnyAsRedundant?: boolean;
11771
+ typesToIgnore?: string[];
11772
+ }];
11527
11773
  // ----- jsdoc/normalize-see-links -----
11528
11774
  type JsdocNormalizeSeeLinks = [] | [{
11529
11775
  canonicalForm?: ("pipe" | "prefix");
@@ -11726,7 +11972,6 @@ type JsdocRequireTags = [] | [{
11726
11972
  tags?: (string | {
11727
11973
  context?: string;
11728
11974
  tag?: string;
11729
- [k: string]: unknown | undefined;
11730
11975
  })[];
11731
11976
  }];
11732
11977
  // ----- jsdoc/require-template -----
@@ -11797,6 +12042,22 @@ type JsdocTextEscaping = [] | [{
11797
12042
  escapeHTML?: boolean;
11798
12043
  escapeMarkdown?: boolean;
11799
12044
  }];
12045
+ // ----- jsdoc/ts-ban-ts-comment -----
12046
+ type JsdocTsBanTsComment = [] | [{
12047
+ minimumDescriptionLength?: number;
12048
+ "ts-check"?: (boolean | "allow-with-description" | {
12049
+ descriptionFormat?: string;
12050
+ });
12051
+ "ts-expect-error"?: (boolean | "allow-with-description" | {
12052
+ descriptionFormat?: string;
12053
+ });
12054
+ "ts-ignore"?: (boolean | "allow-with-description" | {
12055
+ descriptionFormat?: string;
12056
+ });
12057
+ "ts-nocheck"?: (boolean | "allow-with-description" | {
12058
+ descriptionFormat?: string;
12059
+ });
12060
+ }];
11800
12061
  // ----- jsdoc/ts-method-signature-style -----
11801
12062
  type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
11802
12063
  enableFixer?: boolean;
@@ -13240,6 +13501,10 @@ type NoUnderscoreDangle = [] | [{
13240
13501
  allowInArrayDestructuring?: boolean;
13241
13502
  allowInObjectDestructuring?: boolean;
13242
13503
  }];
13504
+ // ----- no-unmodified-loop-condition -----
13505
+ type NoUnmodifiedLoopCondition = [] | [{
13506
+ checkConditionalExpressions?: boolean;
13507
+ }];
13243
13508
  // ----- no-unneeded-ternary -----
13244
13509
  type NoUnneededTernary = [] | [{
13245
13510
  defaultAssignment?: boolean;
@@ -14886,10 +15151,6 @@ type PerfectionistSortImports = {
14886
15151
  sortBy?: ("specifier" | "path");
14887
15152
  })[];
14888
15153
  newlinesBetween?: ("ignore" | number);
14889
- tsconfig?: {
14890
- rootDir: string;
14891
- filename?: string;
14892
- };
14893
15154
  maxLineLength?: number;
14894
15155
  sortSideEffects?: boolean;
14895
15156
  environment?: ("node" | "bun");
@@ -14924,6 +15185,10 @@ type PerfectionistSortImports = {
14924
15185
  pattern: string;
14925
15186
  flags?: string;
14926
15187
  } | string));
15188
+ tsconfig?: {
15189
+ rootDir: string;
15190
+ filename?: string;
15191
+ };
14927
15192
  }[];
14928
15193
  // ----- perfectionist/sort-interfaces -----
14929
15194
  type PerfectionistSortInterfaces = {
@@ -15508,6 +15773,7 @@ type PerfectionistSortModules = [] | [{
15508
15773
  order?: ("asc" | "desc");
15509
15774
  })[];
15510
15775
  newlinesBetween?: ("ignore" | number);
15776
+ additionalModuleBlockTypes?: string[];
15511
15777
  useExperimentalDependencyDetection?: boolean;
15512
15778
  newlinesBetweenOverloadSignatures?: ("ignore" | number);
15513
15779
  partitionByComment?: (boolean | (({
@@ -15533,6 +15799,10 @@ type PerfectionistSortModules = [] | [{
15533
15799
  } | string)));
15534
15800
  });
15535
15801
  partitionByNewLine?: boolean;
15802
+ tsconfig?: {
15803
+ rootDir: string;
15804
+ filename?: string;
15805
+ };
15536
15806
  }];
15537
15807
  // ----- perfectionist/sort-named-exports -----
15538
15808
  type PerfectionistSortNamedExports = {
@@ -16061,6 +16331,13 @@ type PerfectionistSortObjects = {
16061
16331
  partitionByComputedKey?: boolean;
16062
16332
  styledComponents?: boolean;
16063
16333
  useExperimentalDependencyDetection?: boolean;
16334
+ ignoreCallbackDependenciesPatterns?: (({
16335
+ pattern: string;
16336
+ flags?: string;
16337
+ } | string)[] | ({
16338
+ pattern: string;
16339
+ flags?: string;
16340
+ } | string));
16064
16341
  partitionByComment?: (boolean | (({
16065
16342
  pattern: string;
16066
16343
  flags?: string;
@@ -16396,6 +16673,13 @@ type PerfectionistSortVariableDeclarations = {
16396
16673
  matchesAstSelector?: string;
16397
16674
  };
16398
16675
  useExperimentalDependencyDetection?: boolean;
16676
+ ignoreCallbackDependenciesPatterns?: (({
16677
+ pattern: string;
16678
+ flags?: string;
16679
+ } | string)[] | ({
16680
+ pattern: string;
16681
+ flags?: string;
16682
+ } | string));
16399
16683
  partitionByComment?: (boolean | (({
16400
16684
  pattern: string;
16401
16685
  flags?: string;
@@ -16532,6 +16816,7 @@ type ReactRefreshOnlyExportComponents = [] | [{
16532
16816
  extraHOCs?: string[];
16533
16817
  allowExportNames?: string[];
16534
16818
  allowConstantExport?: boolean;
16819
+ allowCompoundComponents?: boolean;
16535
16820
  checkJS?: boolean;
16536
16821
  }];
16537
16822
  // ----- react/dom-no-unknown-property -----
@@ -16772,6 +17057,10 @@ type SolidStyleProp = [] | [{
16772
17057
  styleProps?: [string, ...(string)[]];
16773
17058
  allowString?: boolean;
16774
17059
  }];
17060
+ // ----- solid/valid-use-server -----
17061
+ type SolidValidUseServer = [] | [{
17062
+ clientWrappers?: string[];
17063
+ }];
16775
17064
  // ----- sort-imports -----
16776
17065
  type SortImports = [] | [{
16777
17066
  ignoreCase?: boolean;
@@ -19155,7 +19444,9 @@ type TsNoMeaninglessVoidOperator = [] | [{
19155
19444
  }];
19156
19445
  // ----- ts/no-misused-promises -----
19157
19446
  type TsNoMisusedPromises = [] | [{
19158
- checksConditionals?: boolean;
19447
+ checksConditionals?: (boolean | {
19448
+ flagUnions?: ("all" | "strict" | "none");
19449
+ });
19159
19450
  checksSpreads?: boolean;
19160
19451
  checksVoidReturn?: (boolean | {
19161
19452
  arguments?: boolean;
@@ -19669,6 +19960,9 @@ type UnicornFilenameCase = [] | [({
19669
19960
  })[];
19670
19961
  multipleFileExtensions?: boolean;
19671
19962
  checkDirectories?: boolean;
19963
+ directoryRoots?: (string | {
19964
+ [k: string]: unknown | undefined;
19965
+ })[];
19672
19966
  } | {
19673
19967
  cases?: {
19674
19968
  camelCase?: boolean;
@@ -19682,6 +19976,9 @@ type UnicornFilenameCase = [] | [({
19682
19976
  })[];
19683
19977
  multipleFileExtensions?: boolean;
19684
19978
  checkDirectories?: boolean;
19979
+ directoryRoots?: (string | {
19980
+ [k: string]: unknown | undefined;
19981
+ })[];
19685
19982
  })];
19686
19983
  // ----- unicorn/id-match -----
19687
19984
  type UnicornIdMatch = [] | [string] | [string, {
@@ -19768,10 +20065,22 @@ type UnicornNoArrayReverse = [] | [{
19768
20065
  type UnicornNoArraySort = [] | [{
19769
20066
  allowExpressionStatement?: boolean;
19770
20067
  }];
20068
+ // ----- unicorn/no-break-in-nested-loop -----
20069
+ type UnicornNoBreakInNestedLoop = [] | [{
20070
+ checkContinue?: boolean;
20071
+ }];
20072
+ // ----- unicorn/no-deprecated-css-features -----
20073
+ type UnicornNoDeprecatedCssFeatures = [] | [{
20074
+ allow?: string[];
20075
+ }];
19771
20076
  // ----- unicorn/no-empty-file -----
19772
20077
  type UnicornNoEmptyFile = [] | [{
19773
20078
  allowComments?: boolean;
19774
20079
  }];
20080
+ // ----- unicorn/no-immediate-mutation -----
20081
+ type UnicornNoImmediateMutation = [] | [{
20082
+ checkConditionals?: boolean;
20083
+ }];
19775
20084
  // ----- unicorn/no-instanceof-builtins -----
19776
20085
  type UnicornNoInstanceofBuiltins = [] | [{
19777
20086
  useErrorIsError?: boolean;
@@ -19812,6 +20121,10 @@ type UnicornNoNull = [] | [{
19812
20121
  type UnicornNoTypeofUndefined = [] | [{
19813
20122
  checkGlobalVariables?: boolean;
19814
20123
  }];
20124
+ // ----- unicorn/no-unknown-pseudo-selectors -----
20125
+ type UnicornNoUnknownPseudoSelectors = [] | [{
20126
+ allow?: string[];
20127
+ }];
19815
20128
  // ----- unicorn/no-unnecessary-polyfills -----
19816
20129
  type UnicornNoUnnecessaryPolyfills = [] | [{
19817
20130
  targets?: (string | string[] | {
@@ -19822,6 +20135,10 @@ type UnicornNoUnnecessaryPolyfills = [] | [{
19822
20135
  type UnicornNoUnreadableArrayDestructuring = [] | [{
19823
20136
  maximumIgnoredElements?: number;
19824
20137
  }];
20138
+ // ----- unicorn/no-unscoped-css-nesting-selector -----
20139
+ type UnicornNoUnscopedCssNestingSelector = [] | [{
20140
+ scopingRootAtRules?: string[];
20141
+ }];
19825
20142
  // ----- unicorn/no-useless-undefined -----
19826
20143
  type UnicornNoUselessUndefined = [] | [{
19827
20144
  checkArguments?: boolean;
@@ -19875,9 +20192,14 @@ type UnicornPreferAt = [] | [{
19875
20192
  getLastElementFunctions?: string[];
19876
20193
  checkAllIndexAccess?: boolean;
19877
20194
  }];
20195
+ // ----- unicorn/prefer-combined-guards -----
20196
+ type UnicornPreferCombinedGuards = [] | [{
20197
+ checkCompoundConditions?: boolean;
20198
+ }];
19878
20199
  // ----- unicorn/prefer-continue -----
19879
20200
  type UnicornPreferContinue = [] | [{
19880
20201
  maximumStatements?: number;
20202
+ checkShortBodies?: boolean;
19881
20203
  }];
19882
20204
  // ----- unicorn/prefer-dom-node-html-methods -----
19883
20205
  type UnicornPreferDomNodeHtmlMethods = [] | [{
@@ -19887,6 +20209,7 @@ type UnicornPreferDomNodeHtmlMethods = [] | [{
19887
20209
  // ----- unicorn/prefer-early-return -----
19888
20210
  type UnicornPreferEarlyReturn = [] | [{
19889
20211
  maximumStatements?: number;
20212
+ checkShortBodies?: boolean;
19890
20213
  }];
19891
20214
  // ----- unicorn/prefer-explicit-viewport-units -----
19892
20215
  type UnicornPreferExplicitViewportUnits = [] | [{
@@ -20894,7 +21217,7 @@ type VueNoDeprecatedSlotAttribute = [] | [{
20894
21217
  }];
20895
21218
  // ----- vue/no-dupe-keys -----
20896
21219
  type VueNoDupeKeys = [] | [{
20897
- groups?: unknown[];
21220
+ groups?: string[];
20898
21221
  }];
20899
21222
  // ----- vue/no-duplicate-attr-inheritance -----
20900
21223
  type VueNoDuplicateAttrInheritance = [] | [{
@@ -21024,8 +21347,8 @@ type VueNoReservedComponentNames = [] | [{
21024
21347
  }];
21025
21348
  // ----- vue/no-reserved-keys -----
21026
21349
  type VueNoReservedKeys = [] | [{
21027
- reserved?: unknown[];
21028
- groups?: unknown[];
21350
+ reserved?: string[];
21351
+ groups?: string[];
21029
21352
  }];
21030
21353
  // ----- vue/no-reserved-props -----
21031
21354
  type VueNoReservedProps = [] | [{
@@ -21113,7 +21436,7 @@ type VueNoTemplateTargetBlank = [] | [{
21113
21436
  }];
21114
21437
  // ----- vue/no-undef-components -----
21115
21438
  type VueNoUndefComponents = [] | [{
21116
- ignorePatterns?: unknown[];
21439
+ ignorePatterns?: string[];
21117
21440
  }];
21118
21441
  // ----- vue/no-undef-directives -----
21119
21442
  type VueNoUndefDirectives = [] | [{
@@ -21247,7 +21570,7 @@ type VueOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("
21247
21570
  }];
21248
21571
  // ----- vue/order-in-components -----
21249
21572
  type VueOrderInComponents = [] | [{
21250
- order?: unknown[];
21573
+ order?: (string | string[])[];
21251
21574
  }];
21252
21575
  // ----- vue/padding-line-between-blocks -----
21253
21576
  type VuePaddingLineBetweenBlocks = [] | [("never" | "always")];
@@ -21336,8 +21659,8 @@ type VueSlotNameCasing = [] | [("camelCase" | "kebab-case" | "singleword")];
21336
21659
  // ----- vue/sort-keys -----
21337
21660
  type VueSortKeys = [] | [("asc" | "desc")] | [("asc" | "desc"), {
21338
21661
  caseSensitive?: boolean;
21339
- ignoreChildrenOf?: unknown[];
21340
- ignoreGrandchildrenOf?: unknown[];
21662
+ ignoreChildrenOf?: string[];
21663
+ ignoreGrandchildrenOf?: string[];
21341
21664
  minKeys?: number;
21342
21665
  natural?: boolean;
21343
21666
  allowLineSeparatedGroups?: boolean;
@@ -21397,7 +21720,7 @@ type VueValidVFor = [] | [{
21397
21720
  }];
21398
21721
  // ----- vue/valid-v-on -----
21399
21722
  type VueValidVOn = [] | [{
21400
- modifiers?: unknown[];
21723
+ modifiers?: string[];
21401
21724
  }];
21402
21725
  // ----- vue/valid-v-slot -----
21403
21726
  type VueValidVSlot = [] | [{
@@ -21770,8 +22093,8 @@ interface VendoredPrettierOptionsRequired {
21770
22093
  }
21771
22094
  //#endregion
21772
22095
  //#region src/types.d.ts
21773
- type Awaitable<T> = Promise<T> | T;
21774
- interface OptionsComponentExts {
22096
+ export type Awaitable<T> = Promise<T> | T;
22097
+ export interface OptionsComponentExts {
21775
22098
  /**
21776
22099
  * Additional extensions for components.
21777
22100
  *
@@ -21781,7 +22104,7 @@ interface OptionsComponentExts {
21781
22104
  */
21782
22105
  componentExts?: string[];
21783
22106
  }
21784
- interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
22107
+ export interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
21785
22108
  /**
21786
22109
  * Enable ASTRO support.
21787
22110
  *
@@ -22058,7 +22381,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
22058
22381
  */
22059
22382
  yaml?: boolean | OptionsOverrides;
22060
22383
  }
22061
- interface OptionsE18e extends OptionsOverrides {
22384
+ export interface OptionsE18e extends OptionsOverrides {
22062
22385
  /**
22063
22386
  * Include modernization rules
22064
22387
  *
@@ -22081,13 +22404,13 @@ interface OptionsE18e extends OptionsOverrides {
22081
22404
  */
22082
22405
  performanceImprovements?: boolean;
22083
22406
  }
22084
- interface OptionsFiles {
22407
+ export interface OptionsFiles {
22085
22408
  /**
22086
22409
  * Override the `files` option to provide custom globs.
22087
22410
  */
22088
22411
  files?: string[];
22089
22412
  }
22090
- interface OptionsFormatters {
22413
+ export interface OptionsFormatters {
22091
22414
  /**
22092
22415
  * Enable formatting support for Astro.
22093
22416
  *
@@ -22151,16 +22474,16 @@ interface OptionsFormatters {
22151
22474
  */
22152
22475
  xml?: boolean | 'prettier';
22153
22476
  }
22154
- interface OptionsHasTypeScript {
22477
+ export interface OptionsHasTypeScript {
22155
22478
  typescript?: boolean;
22156
22479
  }
22157
- interface OptionsHasTypeScript {
22480
+ export interface OptionsHasTypeScript {
22158
22481
  typescript?: boolean;
22159
22482
  }
22160
- interface OptionsIsInEditor {
22483
+ export interface OptionsIsInEditor {
22161
22484
  isInEditor?: boolean;
22162
22485
  }
22163
- interface OptionsJSX {
22486
+ export interface OptionsJSX {
22164
22487
  /**
22165
22488
  * Enable JSX accessibility rules.
22166
22489
  *
@@ -22173,8 +22496,8 @@ interface OptionsJSX {
22173
22496
  */
22174
22497
  a11y?: boolean | OptionsJSXA11y;
22175
22498
  }
22176
- interface OptionsJSXA11y extends OptionsOverrides {}
22177
- interface OptionsMedusa extends OptionsOverrides {
22499
+ export interface OptionsJSXA11y extends OptionsOverrides {}
22500
+ export interface OptionsMedusa extends OptionsOverrides {
22178
22501
  /**
22179
22502
  * Medusa rule preset.
22180
22503
  *
@@ -22188,7 +22511,7 @@ interface OptionsMedusa extends OptionsOverrides {
22188
22511
  */
22189
22512
  preset?: 'modules' | 'recommended' | 'strict';
22190
22513
  }
22191
- interface OptionsNextjs {
22514
+ export interface OptionsNextjs {
22192
22515
  /**
22193
22516
  * Specify a root directory within a monorepo.
22194
22517
  *
@@ -22225,10 +22548,10 @@ interface OptionsNextjs {
22225
22548
  */
22226
22549
  rootDir?: string | string[];
22227
22550
  }
22228
- interface OptionsOverrides {
22551
+ export interface OptionsOverrides {
22229
22552
  overrides?: TypedFlatConfigItem['rules'];
22230
22553
  }
22231
- interface OptionsPnpm extends OptionsIsInEditor {
22554
+ export interface OptionsPnpm extends OptionsIsInEditor {
22232
22555
  /**
22233
22556
  * Requires catalogs usage
22234
22557
  *
@@ -22254,7 +22577,7 @@ interface OptionsPnpm extends OptionsIsInEditor {
22254
22577
  */
22255
22578
  sort?: boolean;
22256
22579
  }
22257
- interface OptionsProjectType {
22580
+ export interface OptionsProjectType {
22258
22581
  /**
22259
22582
  * Type of the project. `lib` will enable more strict rules for libraries.
22260
22583
  *
@@ -22262,7 +22585,7 @@ interface OptionsProjectType {
22262
22585
  */
22263
22586
  type?: 'app' | 'lib';
22264
22587
  }
22265
- interface OptionsReact extends OptionsOverrides {
22588
+ export interface OptionsReact extends OptionsOverrides {
22266
22589
  /**
22267
22590
  * Enable React Compiler support.
22268
22591
  *
@@ -22273,13 +22596,13 @@ interface OptionsReact extends OptionsOverrides {
22273
22596
  */
22274
22597
  reactCompiler?: boolean;
22275
22598
  }
22276
- interface OptionsRegExp {
22599
+ export interface OptionsRegExp {
22277
22600
  /**
22278
22601
  * Override rulelevels
22279
22602
  */
22280
22603
  level?: 'error' | 'warn';
22281
22604
  }
22282
- interface OptionsSanity extends OptionsFiles, OptionsOverrides {
22605
+ export interface OptionsSanity extends OptionsFiles, OptionsOverrides {
22283
22606
  /**
22284
22607
  * Working directory for resolving the Sanity schema path.
22285
22608
  *
@@ -22327,7 +22650,7 @@ interface OptionsSanity extends OptionsFiles, OptionsOverrides {
22327
22650
  */
22328
22651
  schemaPath?: string;
22329
22652
  }
22330
- interface OptionsStylistic {
22653
+ export interface OptionsStylistic {
22331
22654
  /**
22332
22655
  * Enable stylistic rules.
22333
22656
  *
@@ -22344,7 +22667,7 @@ interface OptionsStylistic {
22344
22667
  *
22345
22668
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss
22346
22669
  */
22347
- interface OptionsTailwindcss {
22670
+ export interface OptionsTailwindcss {
22348
22671
  /**
22349
22672
  * Detect component classes.
22350
22673
  *
@@ -22398,8 +22721,8 @@ interface OptionsTailwindcss {
22398
22721
  */
22399
22722
  entryPoint?: string;
22400
22723
  }
22401
- type OptionsTypescript = (OptionsTypeScriptParserOptions & OptionsOverrides & OptionsTypeScriptErasableOnly) | (OptionsTypeScriptWithTypes & OptionsOverrides & OptionsTypeScriptErasableOnly);
22402
- interface OptionsTypeScriptErasableOnly {
22724
+ export type OptionsTypescript = (OptionsTypeScriptParserOptions & OptionsOverrides & OptionsTypeScriptErasableOnly) | (OptionsTypeScriptWithTypes & OptionsOverrides & OptionsTypeScriptErasableOnly);
22725
+ export interface OptionsTypeScriptErasableOnly {
22403
22726
  /**
22404
22727
  * Enable erasable syntax only rules.
22405
22728
  *
@@ -22408,7 +22731,7 @@ interface OptionsTypeScriptErasableOnly {
22408
22731
  */
22409
22732
  erasableOnly?: boolean;
22410
22733
  }
22411
- interface OptionsTypeScriptParserOptions {
22734
+ export interface OptionsTypeScriptParserOptions {
22412
22735
  /**
22413
22736
  * Additional parser options for TypeScript.
22414
22737
  */
@@ -22430,7 +22753,7 @@ interface OptionsTypeScriptParserOptions {
22430
22753
  */
22431
22754
  strict?: boolean;
22432
22755
  }
22433
- interface OptionsTypeScriptWithTypes {
22756
+ export interface OptionsTypeScriptWithTypes {
22434
22757
  /**
22435
22758
  * When this options is provided, type aware rules will be enabled.
22436
22759
  * @see https://typescript-eslint.io/linting/typed-linting/
@@ -22441,7 +22764,7 @@ interface OptionsTypeScriptWithTypes {
22441
22764
  */
22442
22765
  overridesTypeAware?: TypedFlatConfigItem['rules'];
22443
22766
  }
22444
- interface OptionsUnicorn extends OptionsOverrides {
22767
+ export interface OptionsUnicorn extends OptionsOverrides {
22445
22768
  /**
22446
22769
  * Include all rules recommended by `eslint-plugin-unicorn`.
22447
22770
  *
@@ -22449,7 +22772,7 @@ interface OptionsUnicorn extends OptionsOverrides {
22449
22772
  */
22450
22773
  allRecommended?: boolean;
22451
22774
  }
22452
- interface OptionsUnoCSS extends OptionsOverrides {
22775
+ export interface OptionsUnoCSS extends OptionsOverrides {
22453
22776
  /**
22454
22777
  * Enable attributify support.
22455
22778
  *
@@ -22463,7 +22786,7 @@ interface OptionsUnoCSS extends OptionsOverrides {
22463
22786
  */
22464
22787
  strict?: boolean;
22465
22788
  }
22466
- interface OptionsVue extends OptionsOverrides {
22789
+ export interface OptionsVue extends OptionsOverrides {
22467
22790
  /**
22468
22791
  * Vue accessibility plugin. Help check a11y issue in `.vue` files upon enabled
22469
22792
  *
@@ -22487,8 +22810,8 @@ interface OptionsVue extends OptionsOverrides {
22487
22810
  */
22488
22811
  vueVersion?: 2 | 3;
22489
22812
  }
22490
- type Rules = Record<string, Linter.RuleEntry<any> | undefined> & RuleOptions;
22491
- interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'arrowParens' | 'blockSpacing' | 'braceStyle' | 'commaDangle' | 'experimental' | 'indent' | 'jsx' | 'quoteProps' | 'quotes' | 'semi'> {
22813
+ export type Rules = Record<string, Linter.RuleEntry<any> | undefined> & RuleOptions;
22814
+ export interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'arrowParens' | 'blockSpacing' | 'braceStyle' | 'commaDangle' | 'experimental' | 'indent' | 'jsx' | 'quoteProps' | 'quotes' | 'semi'> {
22492
22815
  /**
22493
22816
  * Enable or disable the opinionated spacing rules (space in parenthesis, objects, arrays, etc.).
22494
22817
  *
@@ -22501,7 +22824,7 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'arrowParens'
22501
22824
  * for `rules` and relaxes type limitations for `plugins` and `rules`, because
22502
22825
  * many plugins still lack proper type definitions.
22503
22826
  */
22504
- type TypedFlatConfigItem = Omit<ConfigWithExtends, 'plugins' | 'rules'> & {
22827
+ export type TypedFlatConfigItem = Omit<ConfigWithExtends, 'plugins' | 'rules'> & {
22505
22828
  /**
22506
22829
  * An object containing a name-value mapping of plugin names to plugin objects.
22507
22830
  * When `files` is specified, these plugins are only available to the matching files.
@@ -22517,7 +22840,7 @@ type TypedFlatConfigItem = Omit<ConfigWithExtends, 'plugins' | 'rules'> & {
22517
22840
  };
22518
22841
  //#endregion
22519
22842
  //#region src/factory.d.ts
22520
- declare const defaultPluginRenaming: {
22843
+ export declare const defaultPluginRenaming: {
22521
22844
  '@eslint-react': string;
22522
22845
  '@eslint-react/dom': string;
22523
22846
  '@eslint-react/naming-convention': string;
@@ -22531,7 +22854,7 @@ declare const defaultPluginRenaming: {
22531
22854
  vitest: string;
22532
22855
  yml: string;
22533
22856
  };
22534
- type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
22857
+ export type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
22535
22858
  /**
22536
22859
  * Construct an array of ESLint flat config items.
22537
22860
  *
@@ -22542,40 +22865,40 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
22542
22865
  * @returns {TypedFlatConfigItem[]}
22543
22866
  * The merged ESLint configurations.
22544
22867
  */
22545
- declare function config(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files' | 'ignores'>, ...userConfigs: Awaitable<FlatConfigComposer<any, any> | Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
22546
- declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
22547
- declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
22868
+ export declare function config(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files' | 'ignores'>, ...userConfigs: Awaitable<FlatConfigComposer<any, any> | Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
22869
+ export declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
22870
+ export declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
22548
22871
  //#endregion
22549
22872
  //#region src/config-presets.d.ts
22550
- declare const CONFIG_PRESET_FULL_ON: OptionsConfig;
22551
- declare const CONFIG_PRESET_FULL_OFF: OptionsConfig;
22873
+ export declare const CONFIG_PRESET_FULL_ON: OptionsConfig;
22874
+ export declare const CONFIG_PRESET_FULL_OFF: OptionsConfig;
22552
22875
  //#endregion
22553
22876
  //#region src/configs/astro.d.ts
22554
- declare function astro(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22877
+ export declare function astro(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22555
22878
  //#endregion
22556
22879
  //#region src/configs/command.d.ts
22557
- declare function command(): Promise<TypedFlatConfigItem[]>;
22880
+ export declare function command(): Promise<TypedFlatConfigItem[]>;
22558
22881
  //#endregion
22559
22882
  //#region src/configs/comments.d.ts
22560
- declare function comments(): Promise<TypedFlatConfigItem[]>;
22883
+ export declare function comments(): Promise<TypedFlatConfigItem[]>;
22561
22884
  //#endregion
22562
22885
  //#region src/configs/disables.d.ts
22563
- declare function disables(): Promise<TypedFlatConfigItem[]>;
22886
+ export declare function disables(): Promise<TypedFlatConfigItem[]>;
22564
22887
  //#endregion
22565
22888
  //#region src/configs/e18e.d.ts
22566
- declare function e18e(options?: OptionsE18e & OptionsProjectType & OptionsIsInEditor): Promise<TypedFlatConfigItem[]>;
22889
+ export declare function e18e(options?: OptionsE18e & OptionsProjectType & OptionsIsInEditor): Promise<TypedFlatConfigItem[]>;
22567
22890
  //#endregion
22568
22891
  //#region src/configs/formatters.d.ts
22569
- declare function formatters(options?: true | OptionsFormatters, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
22892
+ export declare function formatters(options?: true | OptionsFormatters, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
22570
22893
  //#endregion
22571
22894
  //#region src/configs/ignores.d.ts
22572
- declare function ignores(userIgnores?: ((originals: string[]) => string[]) | string[], ignoreTypeScript?: boolean): Promise<TypedFlatConfigItem[]>;
22895
+ export declare function ignores(userIgnores?: ((originals: string[]) => string[]) | string[], ignoreTypeScript?: boolean): Promise<TypedFlatConfigItem[]>;
22573
22896
  //#endregion
22574
22897
  //#region src/configs/imports.d.ts
22575
- declare function imports(options?: OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22898
+ export declare function imports(options?: OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22576
22899
  //#endregion
22577
22900
  //#region src/configs/javascript.d.ts
22578
- declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22901
+ export declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22579
22902
  //#endregion
22580
22903
  //#region src/configs/jsdoc.d.ts
22581
22904
  /**
@@ -22584,25 +22907,25 @@ declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Pro
22584
22907
  * @param {OptionsStylistic} options The options for the JSDoc configuration.
22585
22908
  * @returns {Promise<TypedFlatConfigItem[]>} The JSDoc configuration.
22586
22909
  */
22587
- declare function jsdoc(options?: OptionsOverrides & OptionsProjectType & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22910
+ export declare function jsdoc(options?: OptionsOverrides & OptionsProjectType & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22588
22911
  //#endregion
22589
22912
  //#region src/configs/jsonc.d.ts
22590
- declare function jsonc(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22913
+ export declare function jsonc(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22591
22914
  //#endregion
22592
22915
  //#region src/configs/jsx.d.ts
22593
- declare function jsx(options?: OptionsJSX): Promise<TypedFlatConfigItem[]>;
22916
+ export declare function jsx(options?: OptionsJSX): Promise<TypedFlatConfigItem[]>;
22594
22917
  //#endregion
22595
22918
  //#region src/configs/markdown.d.ts
22596
- declare function markdown(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22919
+ export declare function markdown(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22597
22920
  //#endregion
22598
22921
  //#region src/configs/medusa.d.ts
22599
- declare function medusa(options?: OptionsMedusa & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22922
+ export declare function medusa(options?: OptionsMedusa & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22600
22923
  //#endregion
22601
22924
  //#region src/configs/nextjs.d.ts
22602
- declare function nextjs(options?: OptionsFiles & OptionsNextjs & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22925
+ export declare function nextjs(options?: OptionsFiles & OptionsNextjs & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22603
22926
  //#endregion
22604
22927
  //#region src/configs/node.d.ts
22605
- declare function node(): Promise<TypedFlatConfigItem[]>;
22928
+ export declare function node(): Promise<TypedFlatConfigItem[]>;
22606
22929
  //#endregion
22607
22930
  //#region src/configs/perfectionist.d.ts
22608
22931
  /**
@@ -22610,22 +22933,22 @@ declare function node(): Promise<TypedFlatConfigItem[]>;
22610
22933
  *
22611
22934
  * @see https://perfectionist.dev
22612
22935
  */
22613
- declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
22936
+ export declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
22614
22937
  //#endregion
22615
22938
  //#region src/configs/pnpm.d.ts
22616
- declare function pnpm(options: OptionsPnpm): Promise<TypedFlatConfigItem[]>;
22939
+ export declare function pnpm(options: OptionsPnpm): Promise<TypedFlatConfigItem[]>;
22617
22940
  //#endregion
22618
22941
  //#region src/configs/react.d.ts
22619
- declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsReact & OptionsFiles): Promise<TypedFlatConfigItem[]>;
22942
+ export declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsReact & OptionsFiles): Promise<TypedFlatConfigItem[]>;
22620
22943
  //#endregion
22621
22944
  //#region src/configs/regexp.d.ts
22622
- declare function regexp(options?: OptionsOverrides & OptionsRegExp): Promise<TypedFlatConfigItem[]>;
22945
+ export declare function regexp(options?: OptionsOverrides & OptionsRegExp): Promise<TypedFlatConfigItem[]>;
22623
22946
  //#endregion
22624
22947
  //#region src/configs/sanity.d.ts
22625
- declare function sanity(options?: OptionsFiles & OptionsOverrides & OptionsSanity): Promise<TypedFlatConfigItem[]>;
22948
+ export declare function sanity(options?: OptionsFiles & OptionsOverrides & OptionsSanity): Promise<TypedFlatConfigItem[]>;
22626
22949
  //#endregion
22627
22950
  //#region src/configs/solid.d.ts
22628
- declare function solid(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
22951
+ export declare function solid(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
22629
22952
  //#endregion
22630
22953
  //#region src/configs/sort.d.ts
22631
22954
  /**
@@ -22652,20 +22975,20 @@ declare function solid(options?: OptionsFiles & OptionsHasTypeScript & OptionsOv
22652
22975
  *
22653
22976
  * @returns {string[]} Returns the package.json sort order
22654
22977
  */
22655
- declare const packageSortOrder: string[];
22656
- declare const packageExportsSortOrder: string[];
22978
+ export declare const packageSortOrder: string[];
22979
+ export declare const packageExportsSortOrder: string[];
22657
22980
  /**
22658
22981
  * Sort package.json
22659
22982
  *
22660
22983
  * Requires `jsonc` config
22661
22984
  */
22662
- declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
22985
+ export declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
22663
22986
  /**
22664
22987
  * Sort tsconfig.json
22665
22988
  *
22666
22989
  * Requires `jsonc` config
22667
22990
  */
22668
- declare function sortTsconfig(): TypedFlatConfigItem[];
22991
+ export declare function sortTsconfig(): TypedFlatConfigItem[];
22669
22992
  //#endregion
22670
22993
  //#region src/configs/storybook.d.ts
22671
22994
  /**
@@ -22676,79 +22999,79 @@ declare function sortTsconfig(): TypedFlatConfigItem[];
22676
22999
  * @param {OptionsFiles & OptionsOverrides} options Options
22677
23000
  * @returns {Promise<TypedFlatConfigItem[]>} Returns the Storybook config
22678
23001
  */
22679
- declare function storybook(options?: OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
23002
+ export declare function storybook(options?: OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22680
23003
  //#endregion
22681
23004
  //#region src/configs/stylistic.d.ts
22682
- declare const StylisticConfigDefaults: StylisticConfig;
22683
- interface StylisticOptions extends OptionsOverrides, StylisticConfig {
23005
+ export declare const StylisticConfigDefaults: StylisticConfig;
23006
+ export interface StylisticOptions extends OptionsOverrides, StylisticConfig {
22684
23007
  lessOpinionated?: boolean;
22685
23008
  }
22686
- declare function stylistic(options?: StylisticOptions): Promise<TypedFlatConfigItem[]>;
23009
+ export declare function stylistic(options?: StylisticOptions): Promise<TypedFlatConfigItem[]>;
22687
23010
  //#endregion
22688
23011
  //#region src/configs/svelte.d.ts
22689
- declare function svelte(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
23012
+ export declare function svelte(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22690
23013
  //#endregion
22691
23014
  //#region src/configs/tailwindcss.d.ts
22692
- declare function tailwindcss(options?: OptionsFiles & OptionsOverrides & OptionsTailwindcss & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
23015
+ export declare function tailwindcss(options?: OptionsFiles & OptionsOverrides & OptionsTailwindcss & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
22693
23016
  //#endregion
22694
23017
  //#region src/configs/test.d.ts
22695
- declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
23018
+ export declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
22696
23019
  //#endregion
22697
23020
  //#region src/configs/toml.d.ts
22698
- declare function toml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
23021
+ export declare function toml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22699
23022
  //#endregion
22700
23023
  //#region src/configs/typescript.d.ts
22701
- declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType & OptionsTypeScriptErasableOnly): Promise<TypedFlatConfigItem[]>;
23024
+ export declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType & OptionsTypeScriptErasableOnly): Promise<TypedFlatConfigItem[]>;
22702
23025
  //#endregion
22703
23026
  //#region src/configs/unicorn.d.ts
22704
- declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
23027
+ export declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
22705
23028
  //#endregion
22706
23029
  //#region src/configs/unocss.d.ts
22707
- declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
23030
+ export declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
22708
23031
  //#endregion
22709
23032
  //#region src/configs/vue.d.ts
22710
- declare function vue(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsVue): Promise<TypedFlatConfigItem[]>;
23033
+ export declare function vue(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsVue): Promise<TypedFlatConfigItem[]>;
22711
23034
  //#endregion
22712
23035
  //#region src/configs/yaml.d.ts
22713
- declare function yaml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
23036
+ export declare function yaml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
22714
23037
  //#endregion
22715
23038
  //#region src/constants.d.ts
22716
- declare const PACKAGE_NAME: "@infernodesign/eslint-config";
23039
+ export declare const PACKAGE_NAME: "@infernodesign/eslint-config";
22717
23040
  //#endregion
22718
23041
  //#region src/globs.d.ts
22719
- declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
22720
- declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
22721
- declare const GLOB_JS = "**/*.?([cm])js";
22722
- declare const GLOB_JSX = "**/*.?([cm])jsx";
22723
- declare const GLOB_TS = "**/*.?([cm])ts";
22724
- declare const GLOB_TSX = "**/*.?([cm])tsx";
22725
- declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
22726
- declare const GLOB_CSS = "**/*.css";
22727
- declare const GLOB_POSTCSS = "**/*.{p,post}css";
22728
- declare const GLOB_LESS = "**/*.less";
22729
- declare const GLOB_SCSS = "**/*.scss";
22730
- declare const GLOB_JSON = "**/*.json";
22731
- declare const GLOB_JSON5 = "**/*.json5";
22732
- declare const GLOB_JSONC = "**/*.jsonc";
22733
- declare const GLOB_MARKDOWN = "**/*.md";
22734
- declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
22735
- declare const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
22736
- declare const GLOB_VUE = "**/*.vue";
22737
- declare const GLOB_YAML = "**/*.y?(a)ml";
22738
- declare const GLOB_TOML = "**/*.toml";
22739
- declare const GLOB_XML = "**/*.xml";
22740
- declare const GLOB_SVG = "**/*.svg";
22741
- declare const GLOB_HTML = "**/*.htm?(l)";
22742
- declare const GLOB_ASTRO = "**/*.astro";
22743
- declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
22744
- declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
22745
- declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
22746
- declare const GLOB_STORYBOOK: string[];
22747
- declare const GLOB_SANITY: string[];
22748
- declare const GLOB_TESTS: string[];
22749
- declare const GLOB_ALL_SRC: string[];
22750
- declare const GLOB_EXCLUDE: string[];
22751
- declare const GLOB_SEARCH_EXCLUDE: Set<string>;
23042
+ export declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
23043
+ export declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
23044
+ export declare const GLOB_JS = "**/*.?([cm])js";
23045
+ export declare const GLOB_JSX = "**/*.?([cm])jsx";
23046
+ export declare const GLOB_TS = "**/*.?([cm])ts";
23047
+ export declare const GLOB_TSX = "**/*.?([cm])tsx";
23048
+ export declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
23049
+ export declare const GLOB_CSS = "**/*.css";
23050
+ export declare const GLOB_POSTCSS = "**/*.{p,post}css";
23051
+ export declare const GLOB_LESS = "**/*.less";
23052
+ export declare const GLOB_SCSS = "**/*.scss";
23053
+ export declare const GLOB_JSON = "**/*.json";
23054
+ export declare const GLOB_JSON5 = "**/*.json5";
23055
+ export declare const GLOB_JSONC = "**/*.jsonc";
23056
+ export declare const GLOB_MARKDOWN = "**/*.md";
23057
+ export declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
23058
+ export declare const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
23059
+ export declare const GLOB_VUE = "**/*.vue";
23060
+ export declare const GLOB_YAML = "**/*.y?(a)ml";
23061
+ export declare const GLOB_TOML = "**/*.toml";
23062
+ export declare const GLOB_XML = "**/*.xml";
23063
+ export declare const GLOB_SVG = "**/*.svg";
23064
+ export declare const GLOB_HTML = "**/*.htm?(l)";
23065
+ export declare const GLOB_ASTRO = "**/*.astro";
23066
+ export declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
23067
+ export declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
23068
+ export declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
23069
+ export declare const GLOB_STORYBOOK: string[];
23070
+ export declare const GLOB_SANITY: string[];
23071
+ export declare const GLOB_TESTS: string[];
23072
+ export declare const GLOB_ALL_SRC: string[];
23073
+ export declare const GLOB_EXCLUDE: string[];
23074
+ export declare const GLOB_SEARCH_EXCLUDE: Set<string>;
22752
23075
  //#endregion
22753
23076
  //#region src/utils.d.ts
22754
23077
  /**
@@ -22756,7 +23079,7 @@ declare const GLOB_SEARCH_EXCLUDE: Set<string>;
22756
23079
  *
22757
23080
  * @returns {Linter.Parser} The plain parser.
22758
23081
  */
22759
- declare const parserPlain: {
23082
+ export declare const parserPlain: {
22760
23083
  meta: {
22761
23084
  name: string;
22762
23085
  };
@@ -22787,21 +23110,21 @@ declare const parserPlain: {
22787
23110
  * @param {Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]} configs The configs to be combined.
22788
23111
  * @returns {Promise<TypedFlatConfigItem[]>} The combined configs.
22789
23112
  */
22790
- declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
23113
+ export declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
22791
23114
  /**
22792
23115
  * Ensure packages are installed.
22793
23116
  *
22794
23117
  * @param {string[]} packages The packages to ensure are installed.
22795
23118
  * @returns {Promise<void>} The promise to ensure packages are installed.
22796
23119
  */
22797
- declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
23120
+ export declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
22798
23121
  /**
22799
23122
  * Interop default.
22800
23123
  *
22801
23124
  * @param {Awaitable<T>} m The module to interop default from.
22802
23125
  * @returns {Promise<T extends { default: infer U } ? U : T>} The interop default.
22803
23126
  */
22804
- declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
23127
+ export declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
22805
23128
  default: infer U;
22806
23129
  } ? U : T>;
22807
23130
  /**
@@ -22809,39 +23132,39 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
22809
23132
  *
22810
23133
  * @returns {boolean} True if running in Cursor Agent, false otherwise.
22811
23134
  */
22812
- declare function isInCursorAgent(): boolean;
23135
+ export declare function isInCursorAgent(): boolean;
22813
23136
  /**
22814
23137
  * Check if running in editor environment.
22815
23138
  *
22816
23139
  * @returns {boolean} True if running in editor environment, false otherwise.
22817
23140
  */
22818
- declare function isInEditorEnv(): boolean;
23141
+ export declare function isInEditorEnv(): boolean;
22819
23142
  /**
22820
23143
  * Check if running in git hooks or lint staged.
22821
23144
  *
22822
23145
  * @returns {boolean} True if running in git hooks or lint staged, false otherwise.
22823
23146
  */
22824
- declare function isInGitHooksOrLintStaged(): boolean;
23147
+ export declare function isInGitHooksOrLintStaged(): boolean;
22825
23148
  /**
22826
23149
  * Check if running in VSCode ESLint extension host process
22827
23150
  *
22828
23151
  * @returns {boolean} True if running in VSCode ESLint extension host process, false otherwise.
22829
23152
  */
22830
- declare function isInVSCodeESLintExtension(): boolean;
23153
+ export declare function isInVSCodeESLintExtension(): boolean;
22831
23154
  /**
22832
23155
  * Check if package is in scope.
22833
23156
  *
22834
23157
  * @param {string} name The name of the package to check.
22835
23158
  * @returns {boolean} True if package is in scope, false otherwise.
22836
23159
  */
22837
- declare function isPackageInScope(name: string): boolean;
23160
+ export declare function isPackageInScope(name: string): boolean;
22838
23161
  /**
22839
23162
  * Normalize rules.
22840
23163
  *
22841
23164
  * @param {Record<string, any>} rules The rules to normalize.
22842
23165
  * @returns {Record<string, any>} The normalized rules.
22843
23166
  */
22844
- declare function normalizeRules(rules: Record<string, any>): Record<string, any>;
23167
+ export declare function normalizeRules(rules: Record<string, any>): Record<string, any>;
22845
23168
  /**
22846
23169
  * Rename plugin names a flat configs array.
22847
23170
  *
@@ -22849,7 +23172,7 @@ declare function normalizeRules(rules: Record<string, any>): Record<string, any>
22849
23172
  * @param {Record<string, string>} map The map of plugin names to rename.
22850
23173
  * @returns {TypedFlatConfigItem[]} The configs with renamed plugin names.
22851
23174
  */
22852
- declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
23175
+ export declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
22853
23176
  /**
22854
23177
  * Rename plugin prefixes in a rule object.
22855
23178
  * Accepts a map of prefixes to rename.
@@ -22858,13 +23181,13 @@ declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Reco
22858
23181
  * @param {Record<string, string>} map The map of plugin prefixes to rename.
22859
23182
  * @returns {Record<string, any>} The rules with renamed plugin prefixes.
22860
23183
  */
22861
- declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
23184
+ export declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
22862
23185
  /**
22863
23186
  * Convert value to array.
22864
23187
  *
22865
23188
  * @param {T | T[]} value The value to convert to array.
22866
23189
  * @returns {T[]} The value as array.
22867
23190
  */
22868
- declare function toArray<T>(value: T | T[]): T[];
23191
+ export declare function toArray<T>(value: T | T[]): T[];
22869
23192
  //#endregion
22870
- export { Awaitable, CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SANITY, GLOB_SCSS, GLOB_SEARCH_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsE18e, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSX, OptionsJSXA11y, OptionsMedusa, OptionsNextjs, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsReact, OptionsRegExp, OptionsSanity, OptionsStylistic, OptionsTailwindcss, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, PACKAGE_NAME, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, StylisticOptions, TypedFlatConfigItem, astro, combine, command, comments, config, config as inferno, defaultPluginRenaming, disables, e18e, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInCursorAgent, isInEditorEnv, isInGitHooksOrLintStaged, isInVSCodeESLintExtension, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, medusa, nextjs, node, normalizeRules, packageExportsSortOrder, packageSortOrder, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sanity, solid, sortPackageJson, sortTsconfig, storybook, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
23193
+ export { type ConfigNames, config as inferno };