@fabdeh/eslint-config 0.11.2 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.mts +394 -187
  2. package/dist/index.mjs +13 -15
  3. package/package.json +21 -22
package/dist/index.d.mts CHANGED
@@ -63,12 +63,6 @@ interface AngularEslintRuleOptions {
63
63
  * @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-attribute-decorator.md
64
64
  */
65
65
  '@angular-eslint/no-attribute-decorator'?: Linter.RuleEntry<[]>;
66
- /*
67
- * Ensures that directives do not implement conflicting lifecycle interfaces.
68
- * @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-conflicting-lifecycle.md
69
- * @deprecated
70
- */
71
- '@angular-eslint/no-conflicting-lifecycle'?: Linter.RuleEntry<[]>;
72
66
  /*
73
67
  * Disallow using code which is marked as developer preview
74
68
  * @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-developer-preview.md
@@ -170,7 +164,7 @@ interface AngularEslintRuleOptions {
170
164
  */
171
165
  '@angular-eslint/prefer-inject'?: Linter.RuleEntry<[]>;
172
166
  /*
173
- * Ensures component's `changeDetection` is set to `ChangeDetectionStrategy.OnPush`
167
+ * Ensures components do not opt out of the default `ChangeDetectionStrategy.OnPush` change detection strategy
174
168
  * @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-on-push-component-change-detection.md
175
169
  */
176
170
  '@angular-eslint/prefer-on-push-component-change-detection'?: Linter.RuleEntry<[]>;
@@ -16027,771 +16021,956 @@ type UnifiedSignatures = [] | [{
16027
16021
  //#region src/typegen/unicorn-rules.d.ts
16028
16022
  interface UnicornRuleOptions {
16029
16023
  /*
16030
- * Improve regexes by making them shorter, consistent, and safer.
16031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
16024
+ * Prefer better DOM traversal APIs.
16025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/better-dom-traversing.md
16026
+ */
16027
+ 'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
16028
+ /*
16029
+ * Removed. Prefer `eslint-plugin-regexp`
16030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#better-regex
16031
+ * @deprecated
16032
16032
  */
16033
- 'unicorn/better-regex'?: Linter.RuleEntry<BetterRegex>;
16033
+ 'unicorn/better-regex'?: Linter.RuleEntry<[]>;
16034
16034
  /*
16035
16035
  * Enforce a specific parameter name in catch clauses.
16036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
16036
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/catch-error-name.md
16037
16037
  */
16038
16038
  'unicorn/catch-error-name'?: Linter.RuleEntry<CatchErrorName>;
16039
16039
  /*
16040
16040
  * Enforce consistent assertion style with `node:assert`.
16041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
16041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-assert.md
16042
16042
  */
16043
16043
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
16044
+ /*
16045
+ * Enforce consistent spelling of compound words in identifiers.
16046
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-compound-words.md
16047
+ */
16048
+ 'unicorn/consistent-compound-words'?: Linter.RuleEntry<ConsistentCompoundWords>;
16044
16049
  /*
16045
16050
  * Prefer passing `Date` directly to the constructor when cloning.
16046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
16051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-date-clone.md
16047
16052
  */
16048
16053
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
16049
16054
  /*
16050
16055
  * Use destructured variables over properties.
16051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
16056
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-destructuring.md
16052
16057
  */
16053
16058
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
16054
16059
  /*
16055
16060
  * Prefer consistent types when spreading a ternary in an array literal.
16056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
16061
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-empty-array-spread.md
16057
16062
  */
16058
16063
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
16059
16064
  /*
16060
16065
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
16061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
16066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-existence-index-check.md
16062
16067
  */
16063
16068
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
16064
16069
  /*
16065
16070
  * Move function definitions to the highest possible scope.
16066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
16071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-function-scoping.md
16067
16072
  */
16068
16073
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<ConsistentFunctionScoping>;
16074
+ /*
16075
+ * Enforce consistent JSON file reads before `JSON.parse()`.
16076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-json-file-read.md
16077
+ */
16078
+ 'unicorn/consistent-json-file-read'?: Linter.RuleEntry<ConsistentJsonFileRead>;
16069
16079
  /*
16070
16080
  * Enforce consistent style for escaping `${` in template literals.
16071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
16081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-template-literal-escape.md
16072
16082
  */
16073
16083
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
16074
16084
  /*
16075
16085
  * Enforce correct `Error` subclassing.
16076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
16086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/custom-error-definition.md
16077
16087
  */
16078
16088
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
16089
+ /*
16090
+ * Enforce consistent style for DOM element dataset access.
16091
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/dom-node-dataset.md
16092
+ */
16093
+ 'unicorn/dom-node-dataset'?: Linter.RuleEntry<DomNodeDataset>;
16079
16094
  /*
16080
16095
  * Enforce no spaces between braces.
16081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
16096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/empty-brace-spaces.md
16082
16097
  */
16083
16098
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
16084
16099
  /*
16085
16100
  * Enforce passing a `message` value when creating a built-in error.
16086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
16101
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/error-message.md
16087
16102
  */
16088
16103
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
16089
16104
  /*
16090
16105
  * Require escape sequences to use uppercase or lowercase values.
16091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
16106
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/escape-case.md
16092
16107
  */
16093
16108
  'unicorn/escape-case'?: Linter.RuleEntry<EscapeCase>;
16094
16109
  /*
16095
16110
  * Add expiration conditions to TODO comments.
16096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
16111
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/expiring-todo-comments.md
16097
16112
  */
16098
16113
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<ExpiringTodoComments>;
16099
16114
  /*
16100
16115
  * Enforce explicitly comparing the `length` or `size` property of a value.
16101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
16116
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/explicit-length-check.md
16102
16117
  */
16103
16118
  'unicorn/explicit-length-check'?: Linter.RuleEntry<ExplicitLengthCheck>;
16104
16119
  /*
16105
- * Enforce a case style for filenames.
16106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
16120
+ * Enforce a case style for filenames and directory names.
16121
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/filename-case.md
16107
16122
  */
16108
16123
  'unicorn/filename-case'?: Linter.RuleEntry<FilenameCase>;
16109
16124
  /*
16110
16125
  * Enforce specific import styles per module.
16111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
16126
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/import-style.md
16112
16127
  */
16113
16128
  'unicorn/import-style'?: Linter.RuleEntry<ImportStyle>;
16114
16129
  /*
16115
16130
  * Prevent usage of variables from outside the scope of isolated functions.
16116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
16131
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/isolated-functions.md
16117
16132
  */
16118
16133
  'unicorn/isolated-functions'?: Linter.RuleEntry<IsolatedFunctions>;
16119
16134
  /*
16120
16135
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
16121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
16136
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/new-for-builtins.md
16122
16137
  */
16123
16138
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
16124
16139
  /*
16125
16140
  * Enforce specifying rules to disable in `eslint-disable` comments.
16126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
16141
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-abusive-eslint-disable.md
16127
16142
  */
16128
16143
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
16129
16144
  /*
16130
16145
  * Disallow recursive access to `this` within getters and setters.
16131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
16146
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-accessor-recursion.md
16132
16147
  */
16133
16148
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
16134
16149
  /*
16135
16150
  * Disallow anonymous functions and classes as the default export.
16136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
16151
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-anonymous-default-export.md
16137
16152
  */
16138
16153
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
16139
16154
  /*
16140
16155
  * Prevent passing a function reference directly to iterator methods.
16141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
16156
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-callback-reference.md
16157
+ */
16158
+ 'unicorn/no-array-callback-reference'?: Linter.RuleEntry<NoArrayCallbackReference>;
16159
+ /*
16160
+ * Disallow using reference values as `Array#fill()` values.
16161
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-fill-with-reference-type.md
16142
16162
  */
16143
- 'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
16163
+ 'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
16144
16164
  /*
16145
16165
  * Prefer `for…of` over the `forEach` method.
16146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
16166
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-for-each.md
16147
16167
  */
16148
16168
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
16169
+ /*
16170
+ * Disallow `.fill()` after `Array.from({length: …})`.
16171
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-from-fill.md
16172
+ */
16173
+ 'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
16149
16174
  /*
16150
16175
  * Disallow using the `this` argument in array methods.
16151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
16176
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-method-this-argument.md
16152
16177
  */
16153
16178
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
16154
16179
  /*
16155
16180
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
16156
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
16181
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-array-push-push
16157
16182
  * @deprecated
16158
16183
  */
16159
16184
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
16160
16185
  /*
16161
16186
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
16162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
16187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reduce.md
16163
16188
  */
16164
16189
  'unicorn/no-array-reduce'?: Linter.RuleEntry<NoArrayReduce>;
16165
16190
  /*
16166
16191
  * Prefer `Array#toReversed()` over `Array#reverse()`.
16167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
16192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reverse.md
16168
16193
  */
16169
16194
  'unicorn/no-array-reverse'?: Linter.RuleEntry<NoArrayReverse>;
16170
16195
  /*
16171
16196
  * Prefer `Array#toSorted()` over `Array#sort()`.
16172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
16197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-sort.md
16173
16198
  */
16174
16199
  'unicorn/no-array-sort'?: Linter.RuleEntry<NoArraySort>;
16175
16200
  /*
16176
16201
  * Disallow member access from await expression.
16177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
16202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-expression-member.md
16178
16203
  */
16179
16204
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
16180
16205
  /*
16181
16206
  * Disallow using `await` in `Promise` method parameters.
16182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
16207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-in-promise-methods.md
16183
16208
  */
16184
16209
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
16210
+ /*
16211
+ * Disallow unnecessary `Blob` to `File` conversion.
16212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-blob-to-file.md
16213
+ */
16214
+ 'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
16215
+ /*
16216
+ * Prefer drawing canvases directly instead of converting them to images.
16217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-canvas-to-image.md
16218
+ */
16219
+ 'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
16220
+ /*
16221
+ * Disallow confusing uses of `Array#{splice,toSpliced}()`.
16222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-confusing-array-splice.md
16223
+ */
16224
+ 'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
16185
16225
  /*
16186
16226
  * Do not use leading/trailing space between `console.log` parameters.
16187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
16227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-console-spaces.md
16188
16228
  */
16189
16229
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
16190
16230
  /*
16191
16231
  * Do not use `document.cookie` directly.
16192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
16232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-document-cookie.md
16193
16233
  */
16194
16234
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
16235
+ /*
16236
+ * Disallow duplicate values in `Set` constructor array literals.
16237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-duplicate-set-values.md
16238
+ */
16239
+ 'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
16195
16240
  /*
16196
16241
  * Disallow empty files.
16197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
16242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-empty-file.md
16243
+ */
16244
+ 'unicorn/no-empty-file'?: Linter.RuleEntry<NoEmptyFile>;
16245
+ /*
16246
+ * Disallow exports in scripts.
16247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-exports-in-scripts.md
16198
16248
  */
16199
- 'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
16249
+ 'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
16200
16250
  /*
16201
16251
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
16202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
16252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-for-loop.md
16203
16253
  */
16204
16254
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
16205
16255
  /*
16206
16256
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
16207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
16257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-hex-escape.md
16208
16258
  */
16209
16259
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
16210
16260
  /*
16211
16261
  * Disallow immediate mutation after variable assignment.
16212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
16262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-immediate-mutation.md
16213
16263
  */
16214
16264
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
16265
+ /*
16266
+ * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
16267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-incorrect-query-selector.md
16268
+ */
16269
+ 'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
16215
16270
  /*
16216
16271
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
16217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
16272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-instanceof-array
16218
16273
  * @deprecated
16219
16274
  */
16220
16275
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
16221
16276
  /*
16222
16277
  * Disallow `instanceof` with built-in objects
16223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
16278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-instanceof-builtins.md
16224
16279
  */
16225
16280
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<NoInstanceofBuiltins>;
16226
16281
  /*
16227
16282
  * Disallow invalid options in `fetch()` and `new Request()`.
16228
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
16283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-fetch-options.md
16229
16284
  */
16230
16285
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
16286
+ /*
16287
+ * Disallow invalid `accept` values on file inputs.
16288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-file-input-accept.md
16289
+ */
16290
+ 'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
16231
16291
  /*
16232
16292
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
16233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
16293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-remove-event-listener.md
16234
16294
  */
16235
16295
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
16236
16296
  /*
16237
16297
  * Disallow identifiers starting with `new` or `class`.
16238
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
16298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-keyword-prefix.md
16239
16299
  */
16240
16300
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<NoKeywordPrefix>;
16301
+ /*
16302
+ * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
16303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-late-current-target-access.md
16304
+ */
16305
+ 'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
16241
16306
  /*
16242
16307
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
16243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
16308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
16244
16309
  * @deprecated
16245
16310
  */
16246
16311
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
16247
16312
  /*
16248
16313
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
16249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
16314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-lonely-if.md
16250
16315
  */
16251
16316
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
16252
16317
  /*
16253
16318
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
16254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
16319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-magic-array-flat-depth.md
16255
16320
  */
16256
16321
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
16322
+ /*
16323
+ * Disallow manually wrapped comments.
16324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-manually-wrapped-comments.md
16325
+ */
16326
+ 'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
16257
16327
  /*
16258
16328
  * Disallow named usage of default import and export.
16259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
16329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-named-default.md
16260
16330
  */
16261
16331
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
16262
16332
  /*
16263
16333
  * Disallow negated conditions.
16264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
16334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negated-condition.md
16265
16335
  */
16266
16336
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
16267
16337
  /*
16268
16338
  * Disallow negated expression in equality check.
16269
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
16339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negation-in-equality-check.md
16270
16340
  */
16271
16341
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
16272
16342
  /*
16273
16343
  * Disallow nested ternary expressions.
16274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
16344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-nested-ternary.md
16275
16345
  */
16276
16346
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
16277
16347
  /*
16278
16348
  * Disallow `new Array()`.
16279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
16349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-array.md
16280
16350
  */
16281
16351
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
16282
16352
  /*
16283
16353
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
16284
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
16354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-buffer.md
16285
16355
  */
16286
16356
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
16287
16357
  /*
16288
16358
  * Disallow the use of the `null` literal.
16289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
16359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-null.md
16290
16360
  */
16291
16361
  'unicorn/no-null'?: Linter.RuleEntry<NoNull>;
16292
16362
  /*
16293
16363
  * Disallow the use of objects as default parameters.
16294
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
16364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-object-as-default-parameter.md
16295
16365
  */
16296
16366
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
16297
16367
  /*
16298
16368
  * Disallow `process.exit()`.
16299
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
16369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-process-exit.md
16300
16370
  */
16301
16371
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
16302
16372
  /*
16303
16373
  * Disallow passing single-element arrays to `Promise` methods.
16304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
16374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-single-promise-in-promise-methods.md
16305
16375
  */
16306
16376
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
16307
16377
  /*
16308
16378
  * Disallow classes that only have static members.
16309
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
16379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-static-only-class.md
16310
16380
  */
16311
16381
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
16312
16382
  /*
16313
16383
  * Disallow `then` property.
16314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
16384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-thenable.md
16315
16385
  */
16316
16386
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
16317
16387
  /*
16318
16388
  * Disallow assigning `this` to a variable.
16319
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
16389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-assignment.md
16320
16390
  */
16321
16391
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
16392
+ /*
16393
+ * Disallow `this` outside of classes.
16394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-outside-of-class.md
16395
+ */
16396
+ 'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
16322
16397
  /*
16323
16398
  * Disallow comparing `undefined` using `typeof`.
16324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
16399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-typeof-undefined.md
16325
16400
  */
16326
16401
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<NoTypeofUndefined>;
16327
16402
  /*
16328
16403
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
16329
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
16404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-flat-depth.md
16330
16405
  */
16331
16406
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
16332
16407
  /*
16333
16408
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
16334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
16409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-splice-count.md
16335
16410
  */
16336
16411
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
16337
16412
  /*
16338
16413
  * Disallow awaiting non-promise values.
16339
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
16414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-await.md
16340
16415
  */
16341
16416
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
16417
+ /*
16418
+ * Disallow unnecessary nested ternary expressions.
16419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-nested-ternary.md
16420
+ */
16421
+ 'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
16342
16422
  /*
16343
16423
  * Enforce the use of built-in methods instead of unnecessary polyfills.
16344
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
16424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-polyfills.md
16345
16425
  */
16346
16426
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<NoUnnecessaryPolyfills>;
16347
16427
  /*
16348
16428
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
16349
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
16429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-slice-end.md
16350
16430
  */
16351
16431
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
16352
16432
  /*
16353
16433
  * Disallow unreadable array destructuring.
16354
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
16434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-array-destructuring.md
16355
16435
  */
16356
16436
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
16357
16437
  /*
16358
16438
  * Disallow unreadable IIFEs.
16359
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
16439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-iife.md
16360
16440
  */
16361
16441
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
16442
+ /*
16443
+ * Disallow ignoring the return value of selected array methods.
16444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-array-method-return.md
16445
+ */
16446
+ 'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
16362
16447
  /*
16363
16448
  * Disallow unused object properties.
16364
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
16449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-properties.md
16365
16450
  */
16366
16451
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
16367
16452
  /*
16368
16453
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
16369
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
16454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-collection-argument.md
16370
16455
  */
16371
16456
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
16372
16457
  /*
16373
16458
  * Disallow unnecessary `Error.captureStackTrace(…)`.
16374
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
16459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-error-capture-stack-trace.md
16375
16460
  */
16376
16461
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
16377
16462
  /*
16378
16463
  * Disallow useless fallback when spreading in object literals.
16379
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
16464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-fallback-in-spread.md
16380
16465
  */
16381
16466
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
16382
16467
  /*
16383
16468
  * Disallow unnecessary `.toArray()` on iterators.
16384
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
16469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-iterator-to-array.md
16385
16470
  */
16386
16471
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
16387
16472
  /*
16388
16473
  * Disallow useless array length check.
16389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
16474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-length-check.md
16390
16475
  */
16391
16476
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
16392
16477
  /*
16393
16478
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
16394
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
16479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-promise-resolve-reject.md
16395
16480
  */
16396
16481
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
16397
16482
  /*
16398
16483
  * Disallow unnecessary spread.
16399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
16484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-spread.md
16400
16485
  */
16401
16486
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
16402
16487
  /*
16403
16488
  * Disallow useless case in switch statements.
16404
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
16489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-switch-case.md
16405
16490
  */
16406
16491
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
16407
16492
  /*
16408
16493
  * Disallow useless `undefined`.
16409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
16494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-undefined.md
16410
16495
  */
16411
16496
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<NoUselessUndefined>;
16412
16497
  /*
16413
16498
  * Disallow number literals with zero fractions or dangling dots.
16414
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
16499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-zero-fractions.md
16415
16500
  */
16416
16501
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
16417
16502
  /*
16418
16503
  * Enforce proper case for numeric literals.
16419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
16504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/number-literal-case.md
16420
16505
  */
16421
16506
  'unicorn/number-literal-case'?: Linter.RuleEntry<NumberLiteralCase>;
16422
16507
  /*
16423
16508
  * Enforce the style of numeric separators by correctly grouping digits.
16424
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
16509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/numeric-separators-style.md
16425
16510
  */
16426
16511
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<NumericSeparatorsStyle>;
16427
16512
  /*
16428
16513
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
16429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
16514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-add-event-listener.md
16430
16515
  */
16431
16516
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<PreferAddEventListener>;
16432
16517
  /*
16433
16518
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
16434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
16519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-find.md
16435
16520
  */
16436
16521
  'unicorn/prefer-array-find'?: Linter.RuleEntry<PreferArrayFind>;
16437
16522
  /*
16438
16523
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
16439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
16524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat.md
16440
16525
  */
16441
16526
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<PreferArrayFlat>;
16442
16527
  /*
16443
16528
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
16444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
16529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat-map.md
16445
16530
  */
16446
16531
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
16447
16532
  /*
16448
16533
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
16449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
16534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-index-of.md
16450
16535
  */
16451
16536
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
16537
+ /*
16538
+ * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
16539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-last-methods.md
16540
+ */
16541
+ 'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
16452
16542
  /*
16453
16543
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
16454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
16544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-some.md
16455
16545
  */
16456
16546
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
16457
16547
  /*
16458
16548
  * Prefer `.at()` method for index access and `String#charAt()`.
16459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
16549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-at.md
16460
16550
  */
16461
16551
  'unicorn/prefer-at'?: Linter.RuleEntry<PreferAt>;
16462
16552
  /*
16463
16553
  * Prefer `BigInt` literals over the constructor.
16464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
16554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-bigint-literals.md
16465
16555
  */
16466
16556
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
16467
16557
  /*
16468
16558
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
16469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
16559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-blob-reading-methods.md
16470
16560
  */
16471
16561
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
16472
16562
  /*
16473
16563
  * Prefer class field declarations over `this` assignments in constructors.
16474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
16564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-class-fields.md
16475
16565
  */
16476
16566
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
16477
16567
  /*
16478
16568
  * Prefer using `Element#classList.toggle()` to toggle class names.
16479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
16569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-classlist-toggle.md
16480
16570
  */
16481
16571
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
16482
16572
  /*
16483
16573
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
16484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
16574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-code-point.md
16485
16575
  */
16486
16576
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
16487
16577
  /*
16488
16578
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
16489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
16579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-date-now.md
16490
16580
  */
16491
16581
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
16492
16582
  /*
16493
16583
  * Prefer default parameters over reassignment.
16494
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
16584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-default-parameters.md
16495
16585
  */
16496
16586
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
16497
16587
  /*
16498
- * Prefer `Node#append()` over `Node#appendChild()`.
16499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
16588
+ * Prefer `Element#append()` over `Node#appendChild()`.
16589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-append.md
16500
16590
  */
16501
16591
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
16502
16592
  /*
16503
- * Prefer using `.dataset` on DOM elements over calling attribute methods.
16504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
16593
+ * Renamed to `unicorn/dom-node-dataset`.
16594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
16595
+ * @deprecated
16505
16596
  */
16506
16597
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
16507
16598
  /*
16508
16599
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
16509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
16600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-remove.md
16510
16601
  */
16511
16602
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
16512
16603
  /*
16513
16604
  * Prefer `.textContent` over `.innerText`.
16514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
16605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-text-content.md
16515
16606
  */
16516
16607
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
16517
16608
  /*
16518
16609
  * Prefer `EventTarget` over `EventEmitter`.
16519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
16610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-event-target.md
16520
16611
  */
16521
16612
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
16522
16613
  /*
16523
16614
  * Prefer `export…from` when re-exporting.
16524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
16615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-export-from.md
16525
16616
  */
16526
16617
  'unicorn/prefer-export-from'?: Linter.RuleEntry<PreferExportFrom>;
16618
+ /*
16619
+ * Prefer `.getOrInsertComputed()` when the default value has side effects.
16620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-get-or-insert-computed.md
16621
+ */
16622
+ 'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
16527
16623
  /*
16528
16624
  * Prefer `globalThis` over `window`, `self`, and `global`.
16529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
16625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-global-this.md
16530
16626
  */
16531
16627
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
16628
+ /*
16629
+ * Prefer HTTPS over HTTP.
16630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-https.md
16631
+ */
16632
+ 'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
16532
16633
  /*
16533
16634
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
16534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
16635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-import-meta-properties.md
16535
16636
  */
16536
16637
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
16537
16638
  /*
16538
16639
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
16539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
16640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes.md
16540
16641
  */
16541
16642
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
16542
16643
  /*
16543
- * Prefer reading a JSON file as a buffer.
16544
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
16644
+ * Prefer `.includes()` over repeated equality comparisons.
16645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes-over-repeated-comparisons.md
16646
+ */
16647
+ 'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<PreferIncludesOverRepeatedComparisons>;
16648
+ /*
16649
+ * Prefer `Iterator.concat(…)` over temporary spread arrays.
16650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-concat.md
16651
+ */
16652
+ 'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
16653
+ /*
16654
+ * Prefer moving `.toArray()` to the end of iterator helper chains.
16655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-to-array-at-end.md
16656
+ */
16657
+ 'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
16658
+ /*
16659
+ * Renamed to `unicorn/consistent-json-file-read`.
16660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
16661
+ * @deprecated
16545
16662
  */
16546
16663
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
16547
16664
  /*
16548
- * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
16549
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
16665
+ * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
16666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-keyboard-event-key.md
16550
16667
  */
16551
16668
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
16552
16669
  /*
16553
16670
  * Prefer using a logical operator over a ternary.
16554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
16671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-logical-operator-over-ternary.md
16555
16672
  */
16556
16673
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
16674
+ /*
16675
+ * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
16676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-abs.md
16677
+ */
16678
+ 'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
16557
16679
  /*
16558
16680
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
16559
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
16681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-min-max.md
16560
16682
  */
16561
16683
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
16562
16684
  /*
16563
16685
  * Enforce the use of `Math.trunc` instead of bitwise operators.
16564
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
16686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-trunc.md
16565
16687
  */
16566
16688
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
16567
16689
  /*
16568
16690
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
16569
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
16691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-dom-apis.md
16570
16692
  */
16571
16693
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
16572
16694
  /*
16573
16695
  * Prefer modern `Math` APIs over legacy patterns.
16574
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
16696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-math-apis.md
16575
16697
  */
16576
16698
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
16577
16699
  /*
16578
16700
  * Prefer JavaScript modules (ESM) over CommonJS.
16579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
16701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-module.md
16580
16702
  */
16581
16703
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
16582
16704
  /*
16583
16705
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
16584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
16706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-native-coercion-functions.md
16585
16707
  */
16586
16708
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
16587
16709
  /*
16588
16710
  * Prefer negative index over `.length - index` when possible.
16589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
16711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-negative-index.md
16590
16712
  */
16591
16713
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
16592
16714
  /*
16593
16715
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
16594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
16716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-node-protocol.md
16595
16717
  */
16596
16718
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
16597
16719
  /*
16598
16720
  * Prefer `Number` static properties over global ones.
16599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
16721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-number-properties.md
16600
16722
  */
16601
16723
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<PreferNumberProperties>;
16602
16724
  /*
16603
16725
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
16604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
16726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-object-from-entries.md
16605
16727
  */
16606
16728
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<PreferObjectFromEntries>;
16607
16729
  /*
16608
16730
  * Prefer omitting the `catch` binding parameter.
16609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
16731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-optional-catch-binding.md
16610
16732
  */
16611
16733
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
16612
16734
  /*
16613
16735
  * Prefer borrowing methods from the prototype instead of the instance.
16614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
16736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-prototype-methods.md
16615
16737
  */
16616
16738
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
16617
16739
  /*
16618
- * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
16619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
16740
+ * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
16741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-query-selector.md
16742
+ */
16743
+ 'unicorn/prefer-query-selector'?: Linter.RuleEntry<PreferQuerySelector>;
16744
+ /*
16745
+ * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
16746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-queue-microtask.md
16620
16747
  */
16621
- 'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
16748
+ 'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<PreferQueueMicrotask>;
16622
16749
  /*
16623
16750
  * Prefer `Reflect.apply()` over `Function#apply()`.
16624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
16751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-reflect-apply.md
16625
16752
  */
16626
16753
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
16627
16754
  /*
16628
16755
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
16629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
16756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-regexp-test.md
16630
16757
  */
16631
16758
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
16632
16759
  /*
16633
16760
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
16634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
16761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-response-static-json.md
16635
16762
  */
16636
16763
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
16637
16764
  /*
16638
16765
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
16639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
16766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-has.md
16640
16767
  */
16641
- 'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
16768
+ 'unicorn/prefer-set-has'?: Linter.RuleEntry<PreferSetHas>;
16642
16769
  /*
16643
16770
  * Prefer using `Set#size` instead of `Array#length`.
16644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
16771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-size.md
16645
16772
  */
16646
16773
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
16647
16774
  /*
16648
16775
  * Prefer simple conditions first in logical expressions.
16649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
16776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-simple-condition-first.md
16650
16777
  */
16651
16778
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
16652
16779
  /*
16653
- * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
16654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
16780
+ * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
16781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-single-call.md
16655
16782
  */
16656
16783
  'unicorn/prefer-single-call'?: Linter.RuleEntry<PreferSingleCall>;
16784
+ /*
16785
+ * Prefer `String#split()` with a limit.
16786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-split-limit.md
16787
+ */
16788
+ 'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
16657
16789
  /*
16658
16790
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
16659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
16791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-spread.md
16660
16792
  */
16661
16793
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
16794
+ /*
16795
+ * Prefer `String#matchAll()` over `RegExp#exec()` loops.
16796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-match-all.md
16797
+ */
16798
+ 'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
16799
+ /*
16800
+ * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
16801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-pad-start-end.md
16802
+ */
16803
+ 'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
16662
16804
  /*
16663
16805
  * Prefer using the `String.raw` tag to avoid escaping `\`.
16664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
16806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-raw.md
16665
16807
  */
16666
16808
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
16667
16809
  /*
16668
- * Prefer `String#replaceAll()` over regex searches with the global flag.
16669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
16810
+ * Prefer `String#repeat()` for repeated whitespace.
16811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-repeat.md
16812
+ */
16813
+ 'unicorn/prefer-string-repeat'?: Linter.RuleEntry<PreferStringRepeat>;
16814
+ /*
16815
+ * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
16816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-replace-all.md
16670
16817
  */
16671
16818
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
16672
16819
  /*
16673
16820
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
16674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
16821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-slice.md
16675
16822
  */
16676
16823
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
16677
16824
  /*
16678
16825
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
16679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
16826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-starts-ends-with.md
16680
16827
  */
16681
16828
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
16682
16829
  /*
16683
16830
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
16684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
16831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-trim-start-end.md
16685
16832
  */
16686
16833
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
16687
16834
  /*
16688
16835
  * Prefer using `structuredClone` to create a deep clone.
16689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
16836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-structured-clone.md
16690
16837
  */
16691
16838
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<PreferStructuredClone>;
16692
16839
  /*
16693
16840
  * Prefer `switch` over multiple `else-if`.
16694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
16841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-switch.md
16695
16842
  */
16696
16843
  'unicorn/prefer-switch'?: Linter.RuleEntry<PreferSwitch>;
16697
16844
  /*
16698
16845
  * Prefer ternary expressions over simple `if-else` statements.
16699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
16846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-ternary.md
16700
16847
  */
16701
16848
  'unicorn/prefer-ternary'?: Linter.RuleEntry<PreferTernary>;
16702
16849
  /*
16703
16850
  * Prefer top-level await over top-level promises and async function calls.
16704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
16851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-top-level-await.md
16705
16852
  */
16706
16853
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
16707
16854
  /*
16708
16855
  * Enforce throwing `TypeError` in type checking conditions.
16709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
16856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-type-error.md
16710
16857
  */
16711
16858
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
16712
16859
  /*
16713
16860
  * Prevent abbreviations.
16714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
16861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prevent-abbreviations.md
16715
16862
  */
16716
16863
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<PreventAbbreviations>;
16717
16864
  /*
16718
16865
  * Enforce consistent relative URL style.
16719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
16866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/relative-url-style.md
16720
16867
  */
16721
16868
  'unicorn/relative-url-style'?: Linter.RuleEntry<RelativeUrlStyle>;
16722
16869
  /*
16723
16870
  * Enforce using the separator argument with `Array#join()`.
16724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
16871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-array-join-separator.md
16725
16872
  */
16726
16873
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
16874
+ /*
16875
+ * Require `CSS.escape()` for interpolated values in CSS selectors.
16876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-css-escape.md
16877
+ */
16878
+ 'unicorn/require-css-escape'?: Linter.RuleEntry<RequireCssEscape>;
16727
16879
  /*
16728
16880
  * Require non-empty module attributes for imports and exports
16729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
16881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-attributes.md
16730
16882
  */
16731
16883
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
16732
16884
  /*
16733
16885
  * Require non-empty specifier list in import and export statements.
16734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
16886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-specifiers.md
16735
16887
  */
16736
16888
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
16737
16889
  /*
16738
16890
  * Enforce using the digits argument with `Number#toFixed()`.
16739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
16891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-number-to-fixed-digits-argument.md
16740
16892
  */
16741
16893
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
16894
+ /*
16895
+ * Require passive event listeners for high-frequency events.
16896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-passive-events.md
16897
+ */
16898
+ 'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
16742
16899
  /*
16743
16900
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
16744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
16901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-post-message-target-origin.md
16745
16902
  */
16746
16903
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
16747
16904
  /*
16748
16905
  * Enforce better string content.
16749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
16906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/string-content.md
16750
16907
  */
16751
16908
  'unicorn/string-content'?: Linter.RuleEntry<StringContent>;
16752
16909
  /*
16753
16910
  * Enforce consistent brace style for `case` clauses.
16754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
16911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-braces.md
16755
16912
  */
16756
16913
  'unicorn/switch-case-braces'?: Linter.RuleEntry<SwitchCaseBraces>;
16757
16914
  /*
16758
16915
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
16759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
16916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-break-position.md
16760
16917
  */
16761
16918
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
16762
16919
  /*
16763
16920
  * Fix whitespace-insensitive template indentation.
16764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
16921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/template-indent.md
16765
16922
  */
16766
16923
  'unicorn/template-indent'?: Linter.RuleEntry<TemplateIndent>;
16767
16924
  /*
16768
16925
  * Enforce consistent case for text encoding identifiers.
16769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
16926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/text-encoding-identifier-case.md
16770
16927
  */
16771
16928
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<TextEncodingIdentifierCase>;
16772
16929
  /*
16773
16930
  * Require `new` when creating an error.
16774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
16931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/throw-new-error.md
16775
16932
  */
16776
16933
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
16934
+ /*
16935
+ * Limit the complexity of `try` blocks.
16936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/try-complexity.md
16937
+ */
16938
+ 'unicorn/try-complexity'?: Linter.RuleEntry<TryComplexity>;
16777
16939
  }
16778
- // ----- better-regex -----
16779
- type BetterRegex = [] | [{
16780
- sortCharacterClasses?: boolean;
16781
- }]; // ----- catch-error-name -----
16940
+ // ----- catch-error-name -----
16782
16941
  type CatchErrorName = [] | [{
16783
16942
  name?: string;
16784
16943
  ignore?: unknown[];
16785
- }]; // ----- consistent-function-scoping -----
16944
+ }]; // ----- consistent-compound-words -----
16945
+ type ConsistentCompoundWords = [] | [{
16946
+ checkProperties?: boolean;
16947
+ checkVariables?: boolean;
16948
+ checkDefaultAndNamespaceImports?: (boolean | "internal");
16949
+ checkShorthandImports?: (boolean | "internal");
16950
+ checkShorthandProperties?: boolean;
16951
+ extendDefaultReplacements?: boolean;
16952
+ replacements?: _ConsistentCompoundWords_Replacements;
16953
+ allowList?: _ConsistentCompoundWords_TrueObject;
16954
+ }];
16955
+ interface _ConsistentCompoundWords_Replacements {
16956
+ [k: string]: (false | string) | undefined;
16957
+ }
16958
+ interface _ConsistentCompoundWords_TrueObject {
16959
+ [k: string]: true | undefined;
16960
+ } // ----- consistent-function-scoping -----
16786
16961
  type ConsistentFunctionScoping = [] | [{
16787
16962
  checkArrowFunctions?: boolean;
16963
+ }]; // ----- consistent-json-file-read -----
16964
+ type ConsistentJsonFileRead = [] | [("string" | "buffer")]; // ----- dom-node-dataset -----
16965
+ type DomNodeDataset = [] | [{
16966
+ preferAttributes?: boolean;
16788
16967
  }]; // ----- escape-case -----
16789
16968
  type EscapeCase = [] | [("uppercase" | "lowercase")]; // ----- expiring-todo-comments -----
16790
16969
  type ExpiringTodoComments = [] | [{
16791
16970
  terms?: string[];
16792
16971
  ignore?: unknown[];
16793
- ignoreDates?: boolean;
16794
- ignoreDatesOnPullRequests?: boolean;
16972
+ checkDates?: boolean;
16973
+ checkDatesOnPullRequests?: boolean;
16795
16974
  allowWarningComments?: boolean;
16796
16975
  date?: string;
16797
16976
  }]; // ----- explicit-length-check -----
@@ -16802,6 +16981,7 @@ type FilenameCase = [] | [({
16802
16981
  case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase");
16803
16982
  ignore?: unknown[];
16804
16983
  multipleFileExtensions?: boolean;
16984
+ checkDirectories?: boolean;
16805
16985
  } | {
16806
16986
  cases?: {
16807
16987
  camelCase?: boolean;
@@ -16811,6 +16991,7 @@ type FilenameCase = [] | [({
16811
16991
  };
16812
16992
  ignore?: unknown[];
16813
16993
  multipleFileExtensions?: boolean;
16994
+ checkDirectories?: boolean;
16814
16995
  })]; // ----- import-style -----
16815
16996
  type ImportStyle = [] | [{
16816
16997
  checkImport?: boolean;
@@ -16834,6 +17015,9 @@ type IsolatedFunctions = [] | [{
16834
17015
  functions?: string[];
16835
17016
  selectors?: string[];
16836
17017
  comments?: string[];
17018
+ }]; // ----- no-array-callback-reference -----
17019
+ type NoArrayCallbackReference = [] | [{
17020
+ ignore?: string[];
16837
17021
  }]; // ----- no-array-reduce -----
16838
17022
  type NoArrayReduce = [] | [{
16839
17023
  allowSimpleOperations?: boolean;
@@ -16843,6 +17027,9 @@ type NoArrayReverse = [] | [{
16843
17027
  }]; // ----- no-array-sort -----
16844
17028
  type NoArraySort = [] | [{
16845
17029
  allowExpressionStatement?: boolean;
17030
+ }]; // ----- no-empty-file -----
17031
+ type NoEmptyFile = [] | [{
17032
+ allowComments?: boolean;
16846
17033
  }]; // ----- no-instanceof-builtins -----
16847
17034
  type NoInstanceofBuiltins = [] | [{
16848
17035
  useErrorIsError?: boolean;
@@ -16856,13 +17043,14 @@ type NoKeywordPrefix = [] | [{
16856
17043
  onlyCamelCase?: boolean;
16857
17044
  }]; // ----- no-null -----
16858
17045
  type NoNull = [] | [{
17046
+ checkArguments?: boolean;
16859
17047
  checkStrictEquality?: boolean;
16860
17048
  }]; // ----- no-typeof-undefined -----
16861
17049
  type NoTypeofUndefined = [] | [{
16862
17050
  checkGlobalVariables?: boolean;
16863
17051
  }]; // ----- no-unnecessary-polyfills -----
16864
17052
  type NoUnnecessaryPolyfills = [] | [{
16865
- targets: (string | unknown[] | {
17053
+ targets?: (string | unknown[] | {
16866
17054
  [k: string]: unknown | undefined;
16867
17055
  });
16868
17056
  }]; // ----- no-useless-undefined -----
@@ -16893,6 +17081,7 @@ type NumericSeparatorsStyle = [] | [{
16893
17081
  onlyIfContainsSeparator?: boolean;
16894
17082
  minimumDigits?: number;
16895
17083
  groupLength?: number;
17084
+ fractionGroupLength?: number;
16896
17085
  };
16897
17086
  onlyIfContainsSeparator?: boolean;
16898
17087
  }]; // ----- prefer-add-event-listener -----
@@ -16910,7 +17099,10 @@ type PreferAt = [] | [{
16910
17099
  checkAllIndexAccess?: boolean;
16911
17100
  }]; // ----- prefer-export-from -----
16912
17101
  type PreferExportFrom = [] | [{
16913
- ignoreUsedVariables?: boolean;
17102
+ checkUsedVariables?: boolean;
17103
+ }]; // ----- prefer-includes-over-repeated-comparisons -----
17104
+ type PreferIncludesOverRepeatedComparisons = [] | [{
17105
+ minimumComparisons?: number;
16914
17106
  }]; // ----- prefer-number-properties -----
16915
17107
  type PreferNumberProperties = [] | [{
16916
17108
  checkInfinity?: boolean;
@@ -16918,9 +17110,22 @@ type PreferNumberProperties = [] | [{
16918
17110
  }]; // ----- prefer-object-from-entries -----
16919
17111
  type PreferObjectFromEntries = [] | [{
16920
17112
  functions?: unknown[];
17113
+ }]; // ----- prefer-query-selector -----
17114
+ type PreferQuerySelector = [] | [{
17115
+ allowWithVariables?: boolean;
17116
+ }]; // ----- prefer-queue-microtask -----
17117
+ type PreferQueueMicrotask = [] | [{
17118
+ checkSetImmediate?: boolean;
17119
+ checkSetTimeout?: boolean;
17120
+ }]; // ----- prefer-set-has -----
17121
+ type PreferSetHas = [] | [{
17122
+ minimumItems?: number;
16921
17123
  }]; // ----- prefer-single-call -----
16922
17124
  type PreferSingleCall = [] | [{
16923
17125
  ignore?: unknown[];
17126
+ }]; // ----- prefer-string-repeat -----
17127
+ type PreferStringRepeat = [] | [{
17128
+ minimumRepetitions?: number;
16924
17129
  }]; // ----- prefer-structured-clone -----
16925
17130
  type PreferStructuredClone = [] | [{
16926
17131
  functions?: unknown[];
@@ -16953,15 +17158,20 @@ interface _PreventAbbreviations_BooleanObject {
16953
17158
  interface _PreventAbbreviations_BooleanObject {
16954
17159
  [k: string]: boolean | undefined;
16955
17160
  } // ----- relative-url-style -----
16956
- type RelativeUrlStyle = [] | [("never" | "always")]; // ----- string-content -----
17161
+ type RelativeUrlStyle = [] | [("never" | "always")]; // ----- require-css-escape -----
17162
+ type RequireCssEscape = [] | [{
17163
+ checkAllSelectors?: boolean;
17164
+ }]; // ----- string-content -----
16957
17165
  type StringContent = [] | [{
16958
17166
  patterns?: {
16959
17167
  [k: string]: (string | {
16960
17168
  suggest: string;
16961
17169
  fix?: boolean;
17170
+ caseSensitive?: boolean;
16962
17171
  message?: string;
16963
17172
  }) | undefined;
16964
17173
  };
17174
+ selectors?: string[];
16965
17175
  }]; // ----- switch-case-braces -----
16966
17176
  type SwitchCaseBraces = [] | [("always" | "avoid")]; // ----- template-indent -----
16967
17177
  type TemplateIndent = [] | [{
@@ -16973,6 +17183,9 @@ type TemplateIndent = [] | [{
16973
17183
  }]; // ----- text-encoding-identifier-case -----
16974
17184
  type TextEncodingIdentifierCase = [] | [{
16975
17185
  withDash?: boolean;
17186
+ }]; // ----- try-complexity -----
17187
+ type TryComplexity = [] | [{
17188
+ max?: number;
16976
17189
  }];
16977
17190
  //#endregion
16978
17191
  //#region src/typegen/unused-imports-rules.d.ts
@@ -17867,7 +18080,7 @@ type SpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
17867
18080
  //#endregion
17868
18081
  //#region src/typegen/index.d.ts
17869
18082
  type RuleOptions = AngularEslintRuleOptions | AngularEslintTemplateRuleOptions | BetterTailwindcssRuleOptions | DefaultRuleOptions | EslintCommunityEslintCommentsRuleOptions | ImportXRuleOptions | JestDomYaRuleOptions | JsdocRuleOptions | JsoncRuleOptions | MarkdownRuleOptions | NgrxRuleOptions | NRuleOptions | PerfectionistRuleOptions | PnpmRuleOptions | PreferArrowFunctionsRuleOptions | RegexpRuleOptions | StylisticRuleOptions | TomlRuleOptions | TypescriptEslintRuleOptions | UnicornRuleOptions | UnusedImportsRuleOptions | VitestRuleOptions | YamlRuleOptions | TestingLibraryRuleOptions;
17870
- type ConfigNames = 'antfu/pnpm/pnpm-workspace-yaml-sort' | 'fabdeh/angular-template/rules' | 'fabdeh/angular/rules' | 'fabdeh/app/typescript/rules' | 'fabdeh/app/typescript/setup' | 'fabdeh/comments/rules' | 'fabdeh/ignores' | 'fabdeh/imports/rules' | 'fabdeh/imports/ts-disables' | 'fabdeh/javascript/rules' | 'fabdeh/javascript/setup' | 'fabdeh/jsdoc/rules' | 'fabdeh/jsdoc/ts-only/rules' | 'fabdeh/jsonc/rules' | 'fabdeh/jsonc/setup' | 'fabdeh/markdown/disables' | 'fabdeh/markdown/parser' | 'fabdeh/markdown/processor' | 'fabdeh/markdown/rules' | 'fabdeh/markdown/setup' | 'fabdeh/ngrx-effects/rules' | 'fabdeh/ngrx-operators/rules' | 'fabdeh/ngrx-signals/rules' | 'fabdeh/ngrx-store/rules' | 'fabdeh/ngrx/setup' | 'fabdeh/node/rules' | 'fabdeh/perfectionist/rules' | 'fabdeh/pnpm/package-json' | 'fabdeh/pnpm/pnpm-workspace-yaml' | 'fabdeh/regexp/rules' | 'fabdeh/sort/package-json' | 'fabdeh/sort/tsconfig-json' | 'fabdeh/stylistic/rules' | 'fabdeh/tailwindcss/rules' | 'fabdeh/toml/rules' | 'fabdeh/toml/setup' | 'fabdeh/unicorn/rules' | 'fabdeh/vitest/rules' | 'fabdeh/yaml/rules' | 'fabdeh/yaml/setup';
18083
+ type ConfigNames = 'fabdeh/angular-template/rules' | 'fabdeh/angular/rules' | 'fabdeh/app/typescript/rules' | 'fabdeh/app/typescript/setup' | 'fabdeh/comments/rules' | 'fabdeh/ignores' | 'fabdeh/imports/rules' | 'fabdeh/imports/ts-disables' | 'fabdeh/javascript/rules' | 'fabdeh/javascript/setup' | 'fabdeh/jsdoc/rules' | 'fabdeh/jsdoc/ts-only/rules' | 'fabdeh/jsonc/rules' | 'fabdeh/jsonc/setup' | 'fabdeh/markdown/disables' | 'fabdeh/markdown/parser' | 'fabdeh/markdown/processor' | 'fabdeh/markdown/rules' | 'fabdeh/markdown/setup' | 'fabdeh/ngrx-effects/rules' | 'fabdeh/ngrx-operators/rules' | 'fabdeh/ngrx-signals/rules' | 'fabdeh/ngrx-store/rules' | 'fabdeh/ngrx/setup' | 'fabdeh/node/rules' | 'fabdeh/perfectionist/rules' | 'fabdeh/pnpm/package-json' | 'fabdeh/pnpm/pnpm-workspace-yaml' | 'fabdeh/pnpm/pnpm-workspace-yaml-sort' | 'fabdeh/regexp/rules' | 'fabdeh/sort/package-json' | 'fabdeh/sort/tsconfig-json' | 'fabdeh/stylistic/rules' | 'fabdeh/tailwindcss/rules' | 'fabdeh/toml/rules' | 'fabdeh/toml/setup' | 'fabdeh/unicorn/rules' | 'fabdeh/vitest/rules' | 'fabdeh/yaml/rules' | 'fabdeh/yaml/setup';
17871
18084
  //#endregion
17872
18085
  //#region src/shared/constants.d.ts
17873
18086
  declare const OPTIONS_SYMBOL: unique symbol;
@@ -18049,12 +18262,6 @@ interface AngularOptions {
18049
18262
  */
18050
18263
  componentStylesMode?: "array" | "string";
18051
18264
  /**
18052
- * Indicates whether all component should use `OnPush` change strategy or not.
18053
- *
18054
- * @default true
18055
- */
18056
- preferOnPushOnly?: boolean;
18057
- /**
18058
18265
  * Disallow using code which is marked as experimental.
18059
18266
  *
18060
18267
  * @default true