@w5s/eslint-config 3.3.1 → 3.3.3

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
@@ -1649,6 +1649,8 @@ type JsdocTagLines = []|[("always" | "any" | "never")]|[("always" | "any" | "nev
1649
1649
 
1650
1650
  startLines?: (number | null)
1651
1651
 
1652
+ startLinesWithNoTags?: number
1653
+
1652
1654
  tags?: {
1653
1655
  [k: string]: {
1654
1656
  count?: number
@@ -7050,725 +7052,730 @@ declare module 'eslint' {
7050
7052
  interface RuleOptions$1 {
7051
7053
  /**
7052
7054
  * Improve regexes by making them shorter, consistent, and safer.
7053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/better-regex.md
7055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
7054
7056
  */
7055
7057
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
7056
7058
  /**
7057
7059
  * Enforce a specific parameter name in catch clauses.
7058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/catch-error-name.md
7060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
7059
7061
  */
7060
7062
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
7061
7063
  /**
7062
7064
  * Enforce consistent assertion style with `node:assert`.
7063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-assert.md
7065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
7064
7066
  */
7065
7067
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
7066
7068
  /**
7067
7069
  * Prefer passing `Date` directly to the constructor when cloning.
7068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-date-clone.md
7070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
7069
7071
  */
7070
7072
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
7071
7073
  /**
7072
7074
  * Use destructured variables over properties.
7073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-destructuring.md
7075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
7074
7076
  */
7075
7077
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
7076
7078
  /**
7077
7079
  * Prefer consistent types when spreading a ternary in an array literal.
7078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-empty-array-spread.md
7080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
7079
7081
  */
7080
7082
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
7081
7083
  /**
7082
7084
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
7083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-existence-index-check.md
7085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
7084
7086
  */
7085
7087
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
7086
7088
  /**
7087
7089
  * Move function definitions to the highest possible scope.
7088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-function-scoping.md
7090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
7089
7091
  */
7090
7092
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
7091
7093
  /**
7092
7094
  * Enforce correct `Error` subclassing.
7093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/custom-error-definition.md
7095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
7094
7096
  */
7095
7097
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
7096
7098
  /**
7097
7099
  * Enforce no spaces between braces.
7098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/empty-brace-spaces.md
7100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
7099
7101
  */
7100
7102
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
7101
7103
  /**
7102
7104
  * Enforce passing a `message` value when creating a built-in error.
7103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/error-message.md
7105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
7104
7106
  */
7105
7107
  'unicorn/error-message'?: Linter.RuleEntry<[]>
7106
7108
  /**
7107
7109
  * Require escape sequences to use uppercase or lowercase values.
7108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/escape-case.md
7110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
7109
7111
  */
7110
7112
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
7111
7113
  /**
7112
7114
  * Add expiration conditions to TODO comments.
7113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/expiring-todo-comments.md
7115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
7114
7116
  */
7115
7117
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
7116
7118
  /**
7117
7119
  * Enforce explicitly comparing the `length` or `size` property of a value.
7118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/explicit-length-check.md
7120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
7119
7121
  */
7120
7122
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
7121
7123
  /**
7122
7124
  * Enforce a case style for filenames.
7123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/filename-case.md
7125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
7124
7126
  */
7125
7127
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
7126
7128
  /**
7127
7129
  * Enforce specific import styles per module.
7128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/import-style.md
7130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
7129
7131
  */
7130
7132
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
7133
+ /**
7134
+ * Prevent usage of variables from outside the scope of isolated functions.
7135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
7136
+ */
7137
+ 'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>
7131
7138
  /**
7132
7139
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
7133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/new-for-builtins.md
7140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
7134
7141
  */
7135
7142
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
7136
7143
  /**
7137
7144
  * Enforce specifying rules to disable in `eslint-disable` comments.
7138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-abusive-eslint-disable.md
7145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
7139
7146
  */
7140
7147
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
7141
7148
  /**
7142
7149
  * Disallow recursive access to `this` within getters and setters.
7143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-accessor-recursion.md
7150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
7144
7151
  */
7145
7152
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
7146
7153
  /**
7147
7154
  * Disallow anonymous functions and classes as the default export.
7148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-anonymous-default-export.md
7155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
7149
7156
  */
7150
7157
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
7151
7158
  /**
7152
7159
  * Prevent passing a function reference directly to iterator methods.
7153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-callback-reference.md
7160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
7154
7161
  */
7155
7162
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
7156
7163
  /**
7157
7164
  * Prefer `for…of` over the `forEach` method.
7158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-for-each.md
7165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
7159
7166
  */
7160
7167
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
7161
7168
  /**
7162
7169
  * Disallow using the `this` argument in array methods.
7163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-method-this-argument.md
7170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
7164
7171
  */
7165
7172
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
7166
7173
  /**
7167
7174
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
7168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-array-push-push
7175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
7169
7176
  * @deprecated
7170
7177
  */
7171
7178
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
7172
7179
  /**
7173
7180
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
7174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reduce.md
7181
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
7175
7182
  */
7176
7183
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
7177
7184
  /**
7178
7185
  * Prefer `Array#toReversed()` over `Array#reverse()`.
7179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reverse.md
7186
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
7180
7187
  */
7181
7188
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
7182
7189
  /**
7183
7190
  * Prefer `Array#toSorted()` over `Array#sort()`.
7184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-sort.md
7191
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
7185
7192
  */
7186
7193
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
7187
7194
  /**
7188
7195
  * Disallow member access from await expression.
7189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-expression-member.md
7196
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
7190
7197
  */
7191
7198
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
7192
7199
  /**
7193
7200
  * Disallow using `await` in `Promise` method parameters.
7194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-in-promise-methods.md
7201
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
7195
7202
  */
7196
7203
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
7197
7204
  /**
7198
7205
  * Do not use leading/trailing space between `console.log` parameters.
7199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-console-spaces.md
7206
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
7200
7207
  */
7201
7208
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
7202
7209
  /**
7203
7210
  * Do not use `document.cookie` directly.
7204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-document-cookie.md
7211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
7205
7212
  */
7206
7213
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
7207
7214
  /**
7208
7215
  * Disallow empty files.
7209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-empty-file.md
7216
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
7210
7217
  */
7211
7218
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
7212
7219
  /**
7213
7220
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
7214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-for-loop.md
7221
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
7215
7222
  */
7216
7223
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
7217
7224
  /**
7218
7225
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
7219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-hex-escape.md
7226
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
7220
7227
  */
7221
7228
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
7222
7229
  /**
7223
7230
  * Disallow immediate mutation after variable assignment.
7224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-immediate-mutation.md
7231
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
7225
7232
  */
7226
7233
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>
7227
7234
  /**
7228
7235
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
7229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-instanceof-array
7236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
7230
7237
  * @deprecated
7231
7238
  */
7232
7239
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
7233
7240
  /**
7234
7241
  * Disallow `instanceof` with built-in objects
7235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-instanceof-builtins.md
7242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
7236
7243
  */
7237
7244
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
7238
7245
  /**
7239
7246
  * Disallow invalid options in `fetch()` and `new Request()`.
7240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-fetch-options.md
7247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
7241
7248
  */
7242
7249
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
7243
7250
  /**
7244
7251
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
7245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-remove-event-listener.md
7252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
7246
7253
  */
7247
7254
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
7248
7255
  /**
7249
7256
  * Disallow identifiers starting with `new` or `class`.
7250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-keyword-prefix.md
7257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
7251
7258
  */
7252
7259
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
7253
7260
  /**
7254
7261
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
7255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-length-as-slice-end
7262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7256
7263
  * @deprecated
7257
7264
  */
7258
7265
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
7259
7266
  /**
7260
7267
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-lonely-if.md
7268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
7262
7269
  */
7263
7270
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
7264
7271
  /**
7265
7272
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-magic-array-flat-depth.md
7273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
7267
7274
  */
7268
7275
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
7269
7276
  /**
7270
7277
  * Disallow named usage of default import and export.
7271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-named-default.md
7278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
7272
7279
  */
7273
7280
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
7274
7281
  /**
7275
7282
  * Disallow negated conditions.
7276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negated-condition.md
7283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
7277
7284
  */
7278
7285
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
7279
7286
  /**
7280
7287
  * Disallow negated expression in equality check.
7281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negation-in-equality-check.md
7288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
7282
7289
  */
7283
7290
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
7284
7291
  /**
7285
7292
  * Disallow nested ternary expressions.
7286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-nested-ternary.md
7293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
7287
7294
  */
7288
7295
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
7289
7296
  /**
7290
7297
  * Disallow `new Array()`.
7291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-array.md
7298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
7292
7299
  */
7293
7300
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
7294
7301
  /**
7295
7302
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-buffer.md
7303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
7297
7304
  */
7298
7305
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
7299
7306
  /**
7300
7307
  * Disallow the use of the `null` literal.
7301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-null.md
7308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
7302
7309
  */
7303
7310
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
7304
7311
  /**
7305
7312
  * Disallow the use of objects as default parameters.
7306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-object-as-default-parameter.md
7313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
7307
7314
  */
7308
7315
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
7309
7316
  /**
7310
7317
  * Disallow `process.exit()`.
7311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-process-exit.md
7318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
7312
7319
  */
7313
7320
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
7314
7321
  /**
7315
7322
  * Disallow passing single-element arrays to `Promise` methods.
7316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-single-promise-in-promise-methods.md
7323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
7317
7324
  */
7318
7325
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
7319
7326
  /**
7320
7327
  * Disallow classes that only have static members.
7321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-static-only-class.md
7328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
7322
7329
  */
7323
7330
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
7324
7331
  /**
7325
7332
  * Disallow `then` property.
7326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-thenable.md
7333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
7327
7334
  */
7328
7335
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
7329
7336
  /**
7330
7337
  * Disallow assigning `this` to a variable.
7331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-this-assignment.md
7338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
7332
7339
  */
7333
7340
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
7334
7341
  /**
7335
7342
  * Disallow comparing `undefined` using `typeof`.
7336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-typeof-undefined.md
7343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
7337
7344
  */
7338
7345
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
7339
7346
  /**
7340
7347
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7342
7349
  */
7343
7350
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
7344
7351
  /**
7345
7352
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-splice-count.md
7353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
7347
7354
  */
7348
7355
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
7349
7356
  /**
7350
7357
  * Disallow awaiting non-promise values.
7351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-await.md
7358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
7352
7359
  */
7353
7360
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
7354
7361
  /**
7355
7362
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-polyfills.md
7363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
7357
7364
  */
7358
7365
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
7359
7366
  /**
7360
7367
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-slice-end.md
7368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
7362
7369
  */
7363
7370
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
7364
7371
  /**
7365
7372
  * Disallow unreadable array destructuring.
7366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-array-destructuring.md
7373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
7367
7374
  */
7368
7375
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
7369
7376
  /**
7370
7377
  * Disallow unreadable IIFEs.
7371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-iife.md
7378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
7372
7379
  */
7373
7380
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
7374
7381
  /**
7375
7382
  * Disallow unused object properties.
7376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unused-properties.md
7383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
7377
7384
  */
7378
7385
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
7379
7386
  /**
7380
7387
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
7381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-collection-argument.md
7388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
7382
7389
  */
7383
7390
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>
7384
7391
  /**
7385
7392
  * Disallow unnecessary `Error.captureStackTrace(…)`.
7386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7387
7394
  */
7388
7395
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
7389
7396
  /**
7390
7397
  * Disallow useless fallback when spreading in object literals.
7391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-fallback-in-spread.md
7398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
7392
7399
  */
7393
7400
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
7394
7401
  /**
7395
7402
  * Disallow useless array length check.
7396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-length-check.md
7403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
7397
7404
  */
7398
7405
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
7399
7406
  /**
7400
7407
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-promise-resolve-reject.md
7408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
7402
7409
  */
7403
7410
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
7404
7411
  /**
7405
7412
  * Disallow unnecessary spread.
7406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-spread.md
7413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
7407
7414
  */
7408
7415
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
7409
7416
  /**
7410
7417
  * Disallow useless case in switch statements.
7411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-switch-case.md
7418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
7412
7419
  */
7413
7420
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
7414
7421
  /**
7415
7422
  * Disallow useless `undefined`.
7416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-undefined.md
7423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
7417
7424
  */
7418
7425
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
7419
7426
  /**
7420
7427
  * Disallow number literals with zero fractions or dangling dots.
7421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-zero-fractions.md
7428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
7422
7429
  */
7423
7430
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
7424
7431
  /**
7425
7432
  * Enforce proper case for numeric literals.
7426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/number-literal-case.md
7433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
7427
7434
  */
7428
7435
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
7429
7436
  /**
7430
7437
  * Enforce the style of numeric separators by correctly grouping digits.
7431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/numeric-separators-style.md
7438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
7432
7439
  */
7433
7440
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
7434
7441
  /**
7435
7442
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-add-event-listener.md
7443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
7437
7444
  */
7438
7445
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
7439
7446
  /**
7440
7447
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-find.md
7448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
7442
7449
  */
7443
7450
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
7444
7451
  /**
7445
7452
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat.md
7453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
7447
7454
  */
7448
7455
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
7449
7456
  /**
7450
7457
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
7451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat-map.md
7458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
7452
7459
  */
7453
7460
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
7454
7461
  /**
7455
7462
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-index-of.md
7463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
7457
7464
  */
7458
7465
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
7459
7466
  /**
7460
7467
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-some.md
7468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
7462
7469
  */
7463
7470
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
7464
7471
  /**
7465
7472
  * Prefer `.at()` method for index access and `String#charAt()`.
7466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-at.md
7473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
7467
7474
  */
7468
7475
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
7469
7476
  /**
7470
7477
  * Prefer `BigInt` literals over the constructor.
7471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-bigint-literals.md
7478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
7472
7479
  */
7473
7480
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
7474
7481
  /**
7475
7482
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-blob-reading-methods.md
7483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
7477
7484
  */
7478
7485
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
7479
7486
  /**
7480
7487
  * Prefer class field declarations over `this` assignments in constructors.
7481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-class-fields.md
7488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
7482
7489
  */
7483
7490
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
7484
7491
  /**
7485
7492
  * Prefer using `Element#classList.toggle()` to toggle class names.
7486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-classlist-toggle.md
7493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
7487
7494
  */
7488
7495
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
7489
7496
  /**
7490
7497
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-code-point.md
7498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
7492
7499
  */
7493
7500
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
7494
7501
  /**
7495
7502
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
7503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
7497
7504
  */
7498
7505
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
7499
7506
  /**
7500
7507
  * Prefer default parameters over reassignment.
7501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-default-parameters.md
7508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
7502
7509
  */
7503
7510
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
7504
7511
  /**
7505
7512
  * Prefer `Node#append()` over `Node#appendChild()`.
7506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-append.md
7513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
7507
7514
  */
7508
7515
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
7509
7516
  /**
7510
7517
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
7511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-dataset.md
7518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
7512
7519
  */
7513
7520
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
7514
7521
  /**
7515
7522
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-remove.md
7523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
7517
7524
  */
7518
7525
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
7519
7526
  /**
7520
7527
  * Prefer `.textContent` over `.innerText`.
7521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-text-content.md
7528
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
7522
7529
  */
7523
7530
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
7524
7531
  /**
7525
7532
  * Prefer `EventTarget` over `EventEmitter`.
7526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-event-target.md
7533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
7527
7534
  */
7528
7535
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
7529
7536
  /**
7530
7537
  * Prefer `export…from` when re-exporting.
7531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-export-from.md
7538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
7532
7539
  */
7533
7540
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
7534
7541
  /**
7535
7542
  * Prefer `globalThis` over `window`, `self`, and `global`.
7536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-global-this.md
7543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
7537
7544
  */
7538
7545
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
7539
7546
  /**
7540
7547
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-import-meta-properties.md
7548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
7542
7549
  */
7543
7550
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
7544
7551
  /**
7545
7552
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-includes.md
7553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
7547
7554
  */
7548
7555
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
7549
7556
  /**
7550
7557
  * Prefer reading a JSON file as a buffer.
7551
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-json-parse-buffer.md
7558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
7552
7559
  */
7553
7560
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
7554
7561
  /**
7555
7562
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
7556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md
7563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
7557
7564
  */
7558
7565
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
7559
7566
  /**
7560
7567
  * Prefer using a logical operator over a ternary.
7561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7562
7569
  */
7563
7570
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
7564
7571
  /**
7565
7572
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-min-max.md
7573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
7567
7574
  */
7568
7575
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
7569
7576
  /**
7570
7577
  * Enforce the use of `Math.trunc` instead of bitwise operators.
7571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-trunc.md
7578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
7572
7579
  */
7573
7580
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
7574
7581
  /**
7575
7582
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
7576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-dom-apis.md
7583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
7577
7584
  */
7578
7585
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
7579
7586
  /**
7580
7587
  * Prefer modern `Math` APIs over legacy patterns.
7581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-math-apis.md
7588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
7582
7589
  */
7583
7590
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
7584
7591
  /**
7585
7592
  * Prefer JavaScript modules (ESM) over CommonJS.
7586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-module.md
7593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
7587
7594
  */
7588
7595
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
7589
7596
  /**
7590
7597
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-native-coercion-functions.md
7598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
7592
7599
  */
7593
7600
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
7594
7601
  /**
7595
7602
  * Prefer negative index over `.length - index` when possible.
7596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-negative-index.md
7603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
7597
7604
  */
7598
7605
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
7599
7606
  /**
7600
7607
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-node-protocol.md
7608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
7602
7609
  */
7603
7610
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
7604
7611
  /**
7605
7612
  * Prefer `Number` static properties over global ones.
7606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-number-properties.md
7613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
7607
7614
  */
7608
7615
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
7609
7616
  /**
7610
7617
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-object-from-entries.md
7618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
7612
7619
  */
7613
7620
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
7614
7621
  /**
7615
7622
  * Prefer omitting the `catch` binding parameter.
7616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-optional-catch-binding.md
7623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
7617
7624
  */
7618
7625
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
7619
7626
  /**
7620
7627
  * Prefer borrowing methods from the prototype instead of the instance.
7621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-prototype-methods.md
7628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
7622
7629
  */
7623
7630
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
7624
7631
  /**
7625
7632
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
7626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-query-selector.md
7633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
7627
7634
  */
7628
7635
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
7629
7636
  /**
7630
7637
  * Prefer `Reflect.apply()` over `Function#apply()`.
7631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-reflect-apply.md
7638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
7632
7639
  */
7633
7640
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
7634
7641
  /**
7635
7642
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
7636
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-regexp-test.md
7643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
7637
7644
  */
7638
7645
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
7639
7646
  /**
7640
7647
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-response-static-json.md
7648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
7642
7649
  */
7643
7650
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>
7644
7651
  /**
7645
7652
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-has.md
7653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
7647
7654
  */
7648
7655
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
7649
7656
  /**
7650
7657
  * Prefer using `Set#size` instead of `Array#length`.
7651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-size.md
7658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
7652
7659
  */
7653
7660
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
7654
7661
  /**
7655
7662
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-single-call.md
7663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
7657
7664
  */
7658
7665
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
7659
7666
  /**
7660
7667
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
7661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-spread.md
7668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
7662
7669
  */
7663
7670
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
7664
7671
  /**
7665
7672
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-raw.md
7673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
7667
7674
  */
7668
7675
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
7669
7676
  /**
7670
7677
  * Prefer `String#replaceAll()` over regex searches with the global flag.
7671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-replace-all.md
7678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
7672
7679
  */
7673
7680
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
7674
7681
  /**
7675
7682
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7676
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-slice.md
7683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
7677
7684
  */
7678
7685
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
7679
7686
  /**
7680
7687
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
7681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-starts-ends-with.md
7688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
7682
7689
  */
7683
7690
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
7684
7691
  /**
7685
7692
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-trim-start-end.md
7693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
7687
7694
  */
7688
7695
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
7689
7696
  /**
7690
7697
  * Prefer using `structuredClone` to create a deep clone.
7691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-structured-clone.md
7698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
7692
7699
  */
7693
7700
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
7694
7701
  /**
7695
7702
  * Prefer `switch` over multiple `else-if`.
7696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-switch.md
7703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
7697
7704
  */
7698
7705
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
7699
7706
  /**
7700
7707
  * Prefer ternary expressions over simple `if-else` statements.
7701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-ternary.md
7708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
7702
7709
  */
7703
7710
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
7704
7711
  /**
7705
7712
  * Prefer top-level await over top-level promises and async function calls.
7706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-top-level-await.md
7713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
7707
7714
  */
7708
7715
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
7709
7716
  /**
7710
7717
  * Enforce throwing `TypeError` in type checking conditions.
7711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-type-error.md
7718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
7712
7719
  */
7713
7720
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
7714
7721
  /**
7715
7722
  * Prevent abbreviations.
7716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prevent-abbreviations.md
7723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
7717
7724
  */
7718
7725
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
7719
7726
  /**
7720
7727
  * Enforce consistent relative URL style.
7721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/relative-url-style.md
7728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
7722
7729
  */
7723
7730
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
7724
7731
  /**
7725
7732
  * Enforce using the separator argument with `Array#join()`.
7726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-array-join-separator.md
7733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
7727
7734
  */
7728
7735
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
7729
7736
  /**
7730
7737
  * Require non-empty module attributes for imports and exports
7731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-attributes.md
7738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
7732
7739
  */
7733
7740
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
7734
7741
  /**
7735
7742
  * Require non-empty specifier list in import and export statements.
7736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-specifiers.md
7743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
7737
7744
  */
7738
7745
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
7739
7746
  /**
7740
7747
  * Enforce using the digits argument with `Number#toFixed()`.
7741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7742
7749
  */
7743
7750
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
7744
7751
  /**
7745
7752
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-post-message-target-origin.md
7753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
7747
7754
  */
7748
7755
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
7749
7756
  /**
7750
7757
  * Enforce better string content.
7751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/string-content.md
7758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
7752
7759
  */
7753
7760
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
7754
7761
  /**
7755
7762
  * Enforce consistent brace style for `case` clauses.
7756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/switch-case-braces.md
7763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
7757
7764
  */
7758
7765
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
7759
7766
  /**
7760
7767
  * Fix whitespace-insensitive template indentation.
7761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/template-indent.md
7768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
7762
7769
  */
7763
7770
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
7764
7771
  /**
7765
7772
  * Enforce consistent case for text encoding identifiers.
7766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/text-encoding-identifier-case.md
7773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
7767
7774
  */
7768
7775
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>
7769
7776
  /**
7770
7777
  * Require `new` when creating an error.
7771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/throw-new-error.md
7778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
7772
7779
  */
7773
7780
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
7774
7781
  }
@@ -7832,6 +7839,15 @@ interface _UnicornImportStyle_ModuleStyles {
7832
7839
  interface _UnicornImportStyle_BooleanObject {
7833
7840
  [k: string]: boolean | undefined
7834
7841
  }
7842
+ // ----- unicorn/isolated-functions -----
7843
+ type UnicornIsolatedFunctions = []|[{
7844
+ overrideGlobals?: {
7845
+ [k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined
7846
+ }
7847
+ functions?: string[]
7848
+ selectors?: string[]
7849
+ comments?: string[]
7850
+ }]
7835
7851
  // ----- unicorn/no-array-reduce -----
7836
7852
  type UnicornNoArrayReduce = []|[{
7837
7853
  allowSimpleOperations?: boolean