@vinicunca/eslint-config 3.17.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +264 -166
  2. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -1275,6 +1275,11 @@ interface RuleOptions {
1275
1275
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
1276
1276
  */
1277
1277
  'markdown/heading-increment'?: Linter.RuleEntry<[]>;
1278
+ /**
1279
+ * Disallow bare URLs
1280
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
1281
+ */
1282
+ 'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
1278
1283
  /**
1279
1284
  * Disallow duplicate definitions
1280
1285
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
@@ -1284,12 +1289,12 @@ interface RuleOptions {
1284
1289
  * Disallow duplicate headings in the same document
1285
1290
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
1286
1291
  */
1287
- 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>;
1292
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
1288
1293
  /**
1289
1294
  * Disallow empty definitions
1290
1295
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
1291
1296
  */
1292
- 'markdown/no-empty-definitions'?: Linter.RuleEntry<[]>;
1297
+ 'markdown/no-empty-definitions'?: Linter.RuleEntry<MarkdownNoEmptyDefinitions>;
1293
1298
  /**
1294
1299
  * Disallow empty images
1295
1300
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
@@ -1320,11 +1325,26 @@ interface RuleOptions {
1320
1325
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
1321
1326
  */
1322
1327
  'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
1328
+ /**
1329
+ * Disallow link fragments that do not reference valid headings
1330
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
1331
+ */
1332
+ 'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
1323
1333
  /**
1324
1334
  * Disallow multiple H1 headings in the same document
1325
1335
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
1326
1336
  */
1327
1337
  'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
1338
+ /**
1339
+ * Disallow reversed link and image syntax
1340
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
1341
+ */
1342
+ 'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
1343
+ /**
1344
+ * Disallow unused definitions
1345
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
1346
+ */
1347
+ 'markdown/no-unused-definitions'?: Linter.RuleEntry<MarkdownNoUnusedDefinitions>;
1328
1348
  /**
1329
1349
  * Require alternative text for images
1330
1350
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
@@ -1334,7 +1354,7 @@ interface RuleOptions {
1334
1354
  * Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row
1335
1355
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md
1336
1356
  */
1337
- 'markdown/table-column-count'?: Linter.RuleEntry<[]>;
1357
+ 'markdown/table-column-count'?: Linter.RuleEntry<MarkdownTableColumnCount>;
1338
1358
  /**
1339
1359
  * Enforce a maximum number of classes per file
1340
1360
  * @see https://eslint.org/docs/latest/rules/max-classes-per-file
@@ -1497,7 +1517,7 @@ interface RuleOptions {
1497
1517
  */
1498
1518
  'no-console'?: Linter.RuleEntry<NoConsole>;
1499
1519
  /**
1500
- * Disallow reassigning `const` variables
1520
+ * Disallow reassigning `const`, `using`, and `await using` variables
1501
1521
  * @see https://eslint.org/docs/latest/rules/no-const-assign
1502
1522
  */
1503
1523
  'no-const-assign'?: Linter.RuleEntry<[]>;
@@ -7097,670 +7117,690 @@ interface RuleOptions {
7097
7117
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
7098
7118
  /**
7099
7119
  * Improve regexes by making them shorter, consistent, and safer.
7100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
7120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/better-regex.md
7101
7121
  */
7102
7122
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
7103
7123
  /**
7104
7124
  * Enforce a specific parameter name in catch clauses.
7105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
7125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/catch-error-name.md
7106
7126
  */
7107
7127
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
7108
7128
  /**
7109
7129
  * Enforce consistent assertion style with `node:assert`.
7110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
7130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-assert.md
7111
7131
  */
7112
7132
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
7113
7133
  /**
7114
7134
  * Prefer passing `Date` directly to the constructor when cloning.
7115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
7135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-date-clone.md
7116
7136
  */
7117
7137
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
7118
7138
  /**
7119
7139
  * Use destructured variables over properties.
7120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
7140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-destructuring.md
7121
7141
  */
7122
7142
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
7123
7143
  /**
7124
7144
  * Prefer consistent types when spreading a ternary in an array literal.
7125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
7145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-empty-array-spread.md
7126
7146
  */
7127
7147
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
7128
7148
  /**
7129
7149
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
7130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
7150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-existence-index-check.md
7131
7151
  */
7132
7152
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
7133
7153
  /**
7134
7154
  * Move function definitions to the highest possible scope.
7135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
7155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-function-scoping.md
7136
7156
  */
7137
7157
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
7138
7158
  /**
7139
7159
  * Enforce correct `Error` subclassing.
7140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
7160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/custom-error-definition.md
7141
7161
  */
7142
7162
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
7143
7163
  /**
7144
7164
  * Enforce no spaces between braces.
7145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
7165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/empty-brace-spaces.md
7146
7166
  */
7147
7167
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
7148
7168
  /**
7149
7169
  * Enforce passing a `message` value when creating a built-in error.
7150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
7170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/error-message.md
7151
7171
  */
7152
7172
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
7153
7173
  /**
7154
7174
  * Require escape sequences to use uppercase or lowercase values.
7155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
7175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/escape-case.md
7156
7176
  */
7157
7177
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
7158
7178
  /**
7159
7179
  * Add expiration conditions to TODO comments.
7160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
7180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/expiring-todo-comments.md
7161
7181
  */
7162
7182
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
7163
7183
  /**
7164
7184
  * Enforce explicitly comparing the `length` or `size` property of a value.
7165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
7185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/explicit-length-check.md
7166
7186
  */
7167
7187
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
7168
7188
  /**
7169
7189
  * Enforce a case style for filenames.
7170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
7190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/filename-case.md
7171
7191
  */
7172
7192
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
7173
7193
  /**
7174
7194
  * Enforce specific import styles per module.
7175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
7195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/import-style.md
7176
7196
  */
7177
7197
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
7178
7198
  /**
7179
7199
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
7180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
7200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/new-for-builtins.md
7181
7201
  */
7182
7202
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
7183
7203
  /**
7184
7204
  * Enforce specifying rules to disable in `eslint-disable` comments.
7185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
7205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-abusive-eslint-disable.md
7186
7206
  */
7187
7207
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
7188
7208
  /**
7189
7209
  * Disallow recursive access to `this` within getters and setters.
7190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
7210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-accessor-recursion.md
7191
7211
  */
7192
7212
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
7193
7213
  /**
7194
7214
  * Disallow anonymous functions and classes as the default export.
7195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
7215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-anonymous-default-export.md
7196
7216
  */
7197
7217
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
7198
7218
  /**
7199
7219
  * Prevent passing a function reference directly to iterator methods.
7200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
7220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-callback-reference.md
7201
7221
  */
7202
7222
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
7203
7223
  /**
7204
7224
  * Prefer `for…of` over the `forEach` method.
7205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
7225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-for-each.md
7206
7226
  */
7207
7227
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
7208
7228
  /**
7209
7229
  * Disallow using the `this` argument in array methods.
7210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
7230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-method-this-argument.md
7211
7231
  */
7212
7232
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
7213
7233
  /**
7214
7234
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
7215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
7235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-array-push-push
7216
7236
  * @deprecated
7217
7237
  */
7218
7238
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
7219
7239
  /**
7220
7240
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
7221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
7241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reduce.md
7222
7242
  */
7223
7243
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
7244
+ /**
7245
+ * Prefer `Array#toReversed()` over `Array#reverse()`.
7246
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reverse.md
7247
+ */
7248
+ 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
7224
7249
  /**
7225
7250
  * Disallow member access from await expression.
7226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
7251
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-expression-member.md
7227
7252
  */
7228
7253
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
7229
7254
  /**
7230
7255
  * Disallow using `await` in `Promise` method parameters.
7231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
7256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-in-promise-methods.md
7232
7257
  */
7233
7258
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
7234
7259
  /**
7235
7260
  * Do not use leading/trailing space between `console.log` parameters.
7236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
7261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-console-spaces.md
7237
7262
  */
7238
7263
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
7239
7264
  /**
7240
7265
  * Do not use `document.cookie` directly.
7241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
7266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-document-cookie.md
7242
7267
  */
7243
7268
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
7244
7269
  /**
7245
7270
  * Disallow empty files.
7246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
7271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-empty-file.md
7247
7272
  */
7248
7273
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
7249
7274
  /**
7250
7275
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
7251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
7276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-for-loop.md
7252
7277
  */
7253
7278
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
7254
7279
  /**
7255
7280
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
7256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
7281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-hex-escape.md
7257
7282
  */
7258
7283
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
7259
7284
  /**
7260
7285
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
7286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-instanceof-array
7262
7287
  * @deprecated
7263
7288
  */
7264
7289
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
7265
7290
  /**
7266
7291
  * Disallow `instanceof` with built-in objects
7267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
7292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-instanceof-builtins.md
7268
7293
  */
7269
7294
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
7270
7295
  /**
7271
7296
  * Disallow invalid options in `fetch()` and `new Request()`.
7272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
7297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-fetch-options.md
7273
7298
  */
7274
7299
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
7275
7300
  /**
7276
7301
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
7277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
7302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-remove-event-listener.md
7278
7303
  */
7279
7304
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
7280
7305
  /**
7281
7306
  * Disallow identifiers starting with `new` or `class`.
7282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
7307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-keyword-prefix.md
7283
7308
  */
7284
7309
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
7285
7310
  /**
7286
7311
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
7287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
7312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-length-as-slice-end
7288
7313
  * @deprecated
7289
7314
  */
7290
7315
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
7291
7316
  /**
7292
7317
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
7293
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
7318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-lonely-if.md
7294
7319
  */
7295
7320
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
7296
7321
  /**
7297
7322
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
7298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
7323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-magic-array-flat-depth.md
7299
7324
  */
7300
7325
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
7301
7326
  /**
7302
7327
  * Disallow named usage of default import and export.
7303
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
7328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-named-default.md
7304
7329
  */
7305
7330
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
7306
7331
  /**
7307
7332
  * Disallow negated conditions.
7308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
7333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negated-condition.md
7309
7334
  */
7310
7335
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
7311
7336
  /**
7312
7337
  * Disallow negated expression in equality check.
7313
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
7338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negation-in-equality-check.md
7314
7339
  */
7315
7340
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
7316
7341
  /**
7317
7342
  * Disallow nested ternary expressions.
7318
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
7343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-nested-ternary.md
7319
7344
  */
7320
7345
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
7321
7346
  /**
7322
7347
  * Disallow `new Array()`.
7323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
7348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-array.md
7324
7349
  */
7325
7350
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
7326
7351
  /**
7327
7352
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
7353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-buffer.md
7329
7354
  */
7330
7355
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
7331
7356
  /**
7332
7357
  * Disallow the use of the `null` literal.
7333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
7358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-null.md
7334
7359
  */
7335
7360
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
7336
7361
  /**
7337
7362
  * Disallow the use of objects as default parameters.
7338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
7363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-object-as-default-parameter.md
7339
7364
  */
7340
7365
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
7341
7366
  /**
7342
7367
  * Disallow `process.exit()`.
7343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
7368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-process-exit.md
7344
7369
  */
7345
7370
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
7346
7371
  /**
7347
7372
  * Disallow passing single-element arrays to `Promise` methods.
7348
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
7373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-single-promise-in-promise-methods.md
7349
7374
  */
7350
7375
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
7351
7376
  /**
7352
7377
  * Disallow classes that only have static members.
7353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
7378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-static-only-class.md
7354
7379
  */
7355
7380
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
7356
7381
  /**
7357
7382
  * Disallow `then` property.
7358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
7383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-thenable.md
7359
7384
  */
7360
7385
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
7361
7386
  /**
7362
7387
  * Disallow assigning `this` to a variable.
7363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
7388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-this-assignment.md
7364
7389
  */
7365
7390
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
7366
7391
  /**
7367
7392
  * Disallow comparing `undefined` using `typeof`.
7368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
7393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-typeof-undefined.md
7369
7394
  */
7370
7395
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7371
7396
  /**
7372
7397
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
7398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7374
7399
  */
7375
7400
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7376
7401
  /**
7377
7402
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7378
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
7403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-splice-count.md
7379
7404
  */
7380
7405
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7381
7406
  /**
7382
7407
  * Disallow awaiting non-promise values.
7383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
7408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-await.md
7384
7409
  */
7385
7410
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7386
7411
  /**
7387
7412
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7388
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
7413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-polyfills.md
7389
7414
  */
7390
7415
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7391
7416
  /**
7392
7417
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7393
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
7418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-slice-end.md
7394
7419
  */
7395
7420
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7396
7421
  /**
7397
7422
  * Disallow unreadable array destructuring.
7398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
7423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-array-destructuring.md
7399
7424
  */
7400
7425
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
7401
7426
  /**
7402
7427
  * Disallow unreadable IIFEs.
7403
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
7428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-iife.md
7404
7429
  */
7405
7430
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7406
7431
  /**
7407
7432
  * Disallow unused object properties.
7408
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
7433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unused-properties.md
7409
7434
  */
7410
7435
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
7436
+ /**
7437
+ * Disallow unnecessary `Error.captureStackTrace(…)`.
7438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7439
+ */
7440
+ 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
7411
7441
  /**
7412
7442
  * Disallow useless fallback when spreading in object literals.
7413
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
7443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-fallback-in-spread.md
7414
7444
  */
7415
7445
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
7416
7446
  /**
7417
7447
  * Disallow useless array length check.
7418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
7448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-length-check.md
7419
7449
  */
7420
7450
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7421
7451
  /**
7422
7452
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7423
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
7453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-promise-resolve-reject.md
7424
7454
  */
7425
7455
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7426
7456
  /**
7427
7457
  * Disallow unnecessary spread.
7428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
7458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-spread.md
7429
7459
  */
7430
7460
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7431
7461
  /**
7432
7462
  * Disallow useless case in switch statements.
7433
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
7463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-switch-case.md
7434
7464
  */
7435
7465
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7436
7466
  /**
7437
7467
  * Disallow useless `undefined`.
7438
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
7468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-undefined.md
7439
7469
  */
7440
7470
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7441
7471
  /**
7442
7472
  * Disallow number literals with zero fractions or dangling dots.
7443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
7473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-zero-fractions.md
7444
7474
  */
7445
7475
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7446
7476
  /**
7447
7477
  * Enforce proper case for numeric literals.
7448
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
7478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/number-literal-case.md
7449
7479
  */
7450
7480
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7451
7481
  /**
7452
7482
  * Enforce the style of numeric separators by correctly grouping digits.
7453
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
7483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/numeric-separators-style.md
7454
7484
  */
7455
7485
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7456
7486
  /**
7457
7487
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7458
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
7488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-add-event-listener.md
7459
7489
  */
7460
7490
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7461
7491
  /**
7462
7492
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7463
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
7493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-find.md
7464
7494
  */
7465
7495
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7466
7496
  /**
7467
7497
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7468
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
7498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat.md
7469
7499
  */
7470
7500
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7471
7501
  /**
7472
7502
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
7473
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
7503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat-map.md
7474
7504
  */
7475
7505
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7476
7506
  /**
7477
7507
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7478
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
7508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-index-of.md
7479
7509
  */
7480
7510
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7481
7511
  /**
7482
7512
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7483
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
7513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-some.md
7484
7514
  */
7485
7515
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7486
7516
  /**
7487
7517
  * Prefer `.at()` method for index access and `String#charAt()`.
7488
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
7518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-at.md
7489
7519
  */
7490
7520
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7491
7521
  /**
7492
7522
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7493
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
7523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-blob-reading-methods.md
7494
7524
  */
7495
7525
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7526
+ /**
7527
+ * Prefer class field declarations over `this` assignments in constructors.
7528
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-class-fields.md
7529
+ */
7530
+ 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7496
7531
  /**
7497
7532
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7498
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
7533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-code-point.md
7499
7534
  */
7500
7535
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7501
7536
  /**
7502
7537
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7503
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
7538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-date-now.md
7504
7539
  */
7505
7540
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7506
7541
  /**
7507
7542
  * Prefer default parameters over reassignment.
7508
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
7543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-default-parameters.md
7509
7544
  */
7510
7545
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7511
7546
  /**
7512
7547
  * Prefer `Node#append()` over `Node#appendChild()`.
7513
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
7548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-append.md
7514
7549
  */
7515
7550
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7516
7551
  /**
7517
7552
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
7518
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
7553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-dataset.md
7519
7554
  */
7520
7555
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7521
7556
  /**
7522
7557
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7523
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
7558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-remove.md
7524
7559
  */
7525
7560
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7526
7561
  /**
7527
7562
  * Prefer `.textContent` over `.innerText`.
7528
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
7563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-text-content.md
7529
7564
  */
7530
7565
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7531
7566
  /**
7532
7567
  * Prefer `EventTarget` over `EventEmitter`.
7533
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
7568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-event-target.md
7534
7569
  */
7535
7570
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7536
7571
  /**
7537
7572
  * Prefer `export…from` when re-exporting.
7538
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
7573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-export-from.md
7539
7574
  */
7540
7575
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7541
7576
  /**
7542
7577
  * Prefer `globalThis` over `window`, `self`, and `global`.
7543
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
7578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-global-this.md
7544
7579
  */
7545
7580
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7546
7581
  /**
7547
7582
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7548
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
7583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-import-meta-properties.md
7549
7584
  */
7550
7585
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7551
7586
  /**
7552
7587
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7553
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
7588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-includes.md
7554
7589
  */
7555
7590
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7556
7591
  /**
7557
7592
  * Prefer reading a JSON file as a buffer.
7558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
7593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-json-parse-buffer.md
7559
7594
  */
7560
7595
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7561
7596
  /**
7562
7597
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
7563
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
7598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-keyboard-event-key.md
7564
7599
  */
7565
7600
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7566
7601
  /**
7567
7602
  * Prefer using a logical operator over a ternary.
7568
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
7603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7569
7604
  */
7570
7605
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7571
7606
  /**
7572
7607
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
7608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-min-max.md
7574
7609
  */
7575
7610
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7576
7611
  /**
7577
7612
  * Enforce the use of `Math.trunc` instead of bitwise operators.
7578
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
7613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-trunc.md
7579
7614
  */
7580
7615
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7581
7616
  /**
7582
7617
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
7583
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
7618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-dom-apis.md
7584
7619
  */
7585
7620
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7586
7621
  /**
7587
7622
  * Prefer modern `Math` APIs over legacy patterns.
7588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
7623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-math-apis.md
7589
7624
  */
7590
7625
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7591
7626
  /**
7592
7627
  * Prefer JavaScript modules (ESM) over CommonJS.
7593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
7628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-module.md
7594
7629
  */
7595
7630
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7596
7631
  /**
7597
7632
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
7633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-native-coercion-functions.md
7599
7634
  */
7600
7635
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7601
7636
  /**
7602
7637
  * Prefer negative index over `.length - index` when possible.
7603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
7638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-negative-index.md
7604
7639
  */
7605
7640
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7606
7641
  /**
7607
7642
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
7643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-node-protocol.md
7609
7644
  */
7610
7645
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7611
7646
  /**
7612
7647
  * Prefer `Number` static properties over global ones.
7613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
7648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-number-properties.md
7614
7649
  */
7615
7650
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7616
7651
  /**
7617
7652
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
7653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-object-from-entries.md
7619
7654
  */
7620
7655
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7621
7656
  /**
7622
7657
  * Prefer omitting the `catch` binding parameter.
7623
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
7658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-optional-catch-binding.md
7624
7659
  */
7625
7660
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7626
7661
  /**
7627
7662
  * Prefer borrowing methods from the prototype instead of the instance.
7628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
7663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-prototype-methods.md
7629
7664
  */
7630
7665
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7631
7666
  /**
7632
7667
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
7633
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
7668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-query-selector.md
7634
7669
  */
7635
7670
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
7636
7671
  /**
7637
7672
  * Prefer `Reflect.apply()` over `Function#apply()`.
7638
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
7673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-reflect-apply.md
7639
7674
  */
7640
7675
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7641
7676
  /**
7642
7677
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
7643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
7678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-regexp-test.md
7644
7679
  */
7645
7680
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7646
7681
  /**
7647
7682
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
7683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-has.md
7649
7684
  */
7650
7685
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
7651
7686
  /**
7652
7687
  * Prefer using `Set#size` instead of `Array#length`.
7653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
7688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-size.md
7654
7689
  */
7655
7690
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7656
7691
  /**
7657
7692
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
7693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-single-call.md
7659
7694
  */
7660
7695
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7661
7696
  /**
7662
7697
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
7663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
7698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-spread.md
7664
7699
  */
7665
7700
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7666
7701
  /**
7667
7702
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
7703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-raw.md
7669
7704
  */
7670
7705
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7671
7706
  /**
7672
7707
  * Prefer `String#replaceAll()` over regex searches with the global flag.
7673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
7708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-replace-all.md
7674
7709
  */
7675
7710
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7676
7711
  /**
7677
7712
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
7713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-slice.md
7679
7714
  */
7680
7715
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7681
7716
  /**
7682
7717
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
7683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
7718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-starts-ends-with.md
7684
7719
  */
7685
7720
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7686
7721
  /**
7687
7722
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
7723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-trim-start-end.md
7689
7724
  */
7690
7725
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7691
7726
  /**
7692
7727
  * Prefer using `structuredClone` to create a deep clone.
7693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
7728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-structured-clone.md
7694
7729
  */
7695
7730
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7696
7731
  /**
7697
7732
  * Prefer `switch` over multiple `else-if`.
7698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
7733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-switch.md
7699
7734
  */
7700
7735
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7701
7736
  /**
7702
7737
  * Prefer ternary expressions over simple `if-else` statements.
7703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
7738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-ternary.md
7704
7739
  */
7705
7740
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7706
7741
  /**
7707
7742
  * Prefer top-level await over top-level promises and async function calls.
7708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
7743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-top-level-await.md
7709
7744
  */
7710
7745
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7711
7746
  /**
7712
7747
  * Enforce throwing `TypeError` in type checking conditions.
7713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
7748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-type-error.md
7714
7749
  */
7715
7750
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7716
7751
  /**
7717
7752
  * Prevent abbreviations.
7718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
7753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prevent-abbreviations.md
7719
7754
  */
7720
7755
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
7721
7756
  /**
7722
7757
  * Enforce consistent relative URL style.
7723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
7758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/relative-url-style.md
7724
7759
  */
7725
7760
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7726
7761
  /**
7727
7762
  * Enforce using the separator argument with `Array#join()`.
7728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
7763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-array-join-separator.md
7729
7764
  */
7730
7765
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7766
+ /**
7767
+ * Require non-empty specifier list in import and export statements.
7768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-module-specifiers.md
7769
+ */
7770
+ 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7731
7771
  /**
7732
7772
  * Enforce using the digits argument with `Number#toFixed()`.
7733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
7773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7734
7774
  */
7735
7775
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7736
7776
  /**
7737
7777
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
7778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-post-message-target-origin.md
7739
7779
  */
7740
7780
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7741
7781
  /**
7742
7782
  * Enforce better string content.
7743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
7783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/string-content.md
7744
7784
  */
7745
7785
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
7746
7786
  /**
7747
7787
  * Enforce consistent brace style for `case` clauses.
7748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
7788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/switch-case-braces.md
7749
7789
  */
7750
7790
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
7751
7791
  /**
7752
7792
  * Fix whitespace-insensitive template indentation.
7753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
7793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/template-indent.md
7754
7794
  */
7755
7795
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
7756
7796
  /**
7757
7797
  * Enforce consistent case for text encoding identifiers.
7758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
7798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/text-encoding-identifier-case.md
7759
7799
  */
7760
7800
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
7761
7801
  /**
7762
7802
  * Require `new` when creating an error.
7763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
7803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/throw-new-error.md
7764
7804
  */
7765
7805
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
7766
7806
  /**
@@ -8414,7 +8454,7 @@ interface RuleOptions {
8414
8454
  */
8415
8455
  'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
8416
8456
  /**
8417
- * disallow specific HTML elements
8457
+ * disallow specific elements
8418
8458
  * @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
8419
8459
  */
8420
8460
  'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
@@ -9727,8 +9767,8 @@ type JsdocMatchName = [] | [{
9727
9767
  context?: string;
9728
9768
  disallowName?: string;
9729
9769
  message?: string;
9770
+ replacement?: string;
9730
9771
  tags?: string[];
9731
- [k: string]: unknown | undefined;
9732
9772
  }[];
9733
9773
  }];
9734
9774
  // ----- jsdoc/multiline-blocks -----
@@ -9740,6 +9780,7 @@ type JsdocMultilineBlocks = [] | [{
9740
9780
  noMultilineBlocks?: boolean;
9741
9781
  noSingleLineBlocks?: boolean;
9742
9782
  noZeroLineText?: boolean;
9783
+ requireSingleLineUnderCount?: number;
9743
9784
  singleLineTags?: string[];
9744
9785
  }];
9745
9786
  // ----- jsdoc/no-bad-blocks -----
@@ -9801,7 +9842,6 @@ type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("alway
9801
9842
  always?: string[];
9802
9843
  any?: string[];
9803
9844
  never?: string[];
9804
- [k: string]: unknown | undefined;
9805
9845
  };
9806
9846
  }];
9807
9847
  // ----- jsdoc/require-description -----
@@ -10011,7 +10051,6 @@ type JsdocSortTags = [] | [{
10011
10051
  reportTagGroupSpacing?: boolean;
10012
10052
  tagSequence?: {
10013
10053
  tags?: string[];
10014
- [k: string]: unknown | undefined;
10015
10054
  }[];
10016
10055
  }];
10017
10056
  // ----- jsdoc/tag-lines -----
@@ -10697,14 +10736,38 @@ type MarkdownNoDuplicateDefinitions = [] | [{
10697
10736
  allowDefinitions?: string[];
10698
10737
  allowFootnoteDefinitions?: string[];
10699
10738
  }];
10739
+ // ----- markdown/no-duplicate-headings -----
10740
+ type MarkdownNoDuplicateHeadings = [] | [{
10741
+ checkSiblingsOnly?: boolean;
10742
+ }];
10743
+ // ----- markdown/no-empty-definitions -----
10744
+ type MarkdownNoEmptyDefinitions = [] | [{
10745
+ allowDefinitions?: string[];
10746
+ allowFootnoteDefinitions?: string[];
10747
+ checkFootnoteDefinitions?: boolean;
10748
+ }];
10700
10749
  // ----- markdown/no-html -----
10701
10750
  type MarkdownNoHtml = [] | [{
10702
10751
  allowed?: string[];
10703
10752
  }];
10753
+ // ----- markdown/no-missing-link-fragments -----
10754
+ type MarkdownNoMissingLinkFragments = [] | [{
10755
+ ignoreCase?: boolean;
10756
+ allowPattern?: string;
10757
+ }];
10704
10758
  // ----- markdown/no-multiple-h1 -----
10705
10759
  type MarkdownNoMultipleH1 = [] | [{
10706
10760
  frontmatterTitle?: string;
10707
10761
  }];
10762
+ // ----- markdown/no-unused-definitions -----
10763
+ type MarkdownNoUnusedDefinitions = [] | [{
10764
+ allowDefinitions?: string[];
10765
+ allowFootnoteDefinitions?: string[];
10766
+ }];
10767
+ // ----- markdown/table-column-count -----
10768
+ type MarkdownTableColumnCount = [] | [{
10769
+ checkMissingCells?: boolean;
10770
+ }];
10708
10771
  // ----- max-classes-per-file -----
10709
10772
  type MaxClassesPerFile = [] | [(number | {
10710
10773
  ignoreExpressions?: boolean;
@@ -10868,6 +10931,7 @@ type NoConstantCondition = [] | [{
10868
10931
  // ----- no-duplicate-imports -----
10869
10932
  type NoDuplicateImports = [] | [{
10870
10933
  includeExports?: boolean;
10934
+ allowSeparateTypeImports?: boolean;
10871
10935
  }];
10872
10936
  // ----- no-else-return -----
10873
10937
  type NoElseReturn = [] | [{
@@ -14133,16 +14197,19 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
14133
14197
  var?: (number | ("first" | "off"));
14134
14198
  let?: (number | ("first" | "off"));
14135
14199
  const?: (number | ("first" | "off"));
14200
+ using?: (number | ("first" | "off"));
14136
14201
  });
14137
14202
  outerIIFEBody?: (number | "off");
14138
14203
  MemberExpression?: (number | "off");
14139
14204
  FunctionDeclaration?: {
14140
14205
  parameters?: (number | ("first" | "off"));
14141
14206
  body?: number;
14207
+ returnType?: number;
14142
14208
  };
14143
14209
  FunctionExpression?: {
14144
14210
  parameters?: (number | ("first" | "off"));
14145
14211
  body?: number;
14212
+ returnType?: number;
14146
14213
  };
14147
14214
  StaticBlock?: {
14148
14215
  body?: number;
@@ -14183,31 +14250,52 @@ type StyleJsxCurlyNewline = [] | [(("consistent" | "never") | {
14183
14250
  multiline?: ("consistent" | "require" | "forbid");
14184
14251
  })];
14185
14252
  // ----- style/jsx-curly-spacing -----
14186
- type StyleJsxCurlySpacing = [] | [((_StyleJsxCurlySpacing_BasicConfig & {
14187
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
14188
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
14189
- [k: string]: unknown | undefined;
14190
- }) | ("always" | "never"))] | [((_StyleJsxCurlySpacing_BasicConfig & {
14191
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
14192
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
14193
- [k: string]: unknown | undefined;
14194
- }) | ("always" | "never")), {
14253
+ type StyleJsxCurlySpacing = [] | [({
14254
+ when?: ("always" | "never");
14195
14255
  allowMultiline?: boolean;
14196
14256
  spacing?: {
14197
14257
  objectLiterals?: ("always" | "never");
14198
- [k: string]: unknown | undefined;
14199
14258
  };
14200
- }];
14201
- type _StyleJsxCurlySpacingBasicConfigOrBoolean = (_StyleJsxCurlySpacing_BasicConfig | boolean);
14202
- interface _StyleJsxCurlySpacing_BasicConfig {
14259
+ attributes?: ({
14260
+ when?: ("always" | "never");
14261
+ allowMultiline?: boolean;
14262
+ spacing?: {
14263
+ objectLiterals?: ("always" | "never");
14264
+ };
14265
+ } | boolean);
14266
+ children?: ({
14267
+ when?: ("always" | "never");
14268
+ allowMultiline?: boolean;
14269
+ spacing?: {
14270
+ objectLiterals?: ("always" | "never");
14271
+ };
14272
+ } | boolean);
14273
+ } | ("always" | "never"))] | [({
14203
14274
  when?: ("always" | "never");
14204
14275
  allowMultiline?: boolean;
14205
14276
  spacing?: {
14206
14277
  objectLiterals?: ("always" | "never");
14207
- [k: string]: unknown | undefined;
14208
14278
  };
14209
- [k: string]: unknown | undefined;
14210
- }
14279
+ attributes?: ({
14280
+ when?: ("always" | "never");
14281
+ allowMultiline?: boolean;
14282
+ spacing?: {
14283
+ objectLiterals?: ("always" | "never");
14284
+ };
14285
+ } | boolean);
14286
+ children?: ({
14287
+ when?: ("always" | "never");
14288
+ allowMultiline?: boolean;
14289
+ spacing?: {
14290
+ objectLiterals?: ("always" | "never");
14291
+ };
14292
+ } | boolean);
14293
+ } | ("always" | "never")), {
14294
+ allowMultiline?: boolean;
14295
+ spacing?: {
14296
+ objectLiterals?: ("always" | "never");
14297
+ };
14298
+ }];
14211
14299
  // ----- style/jsx-equals-spacing -----
14212
14300
  type StyleJsxEqualsSpacing = [] | [("always" | "never")];
14213
14301
  // ----- style/jsx-first-prop-new-line -----
@@ -14223,14 +14311,12 @@ type StyleJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
14223
14311
  type StyleJsxIndentProps = [] | [(("tab" | "first") | number | {
14224
14312
  indentMode?: (("tab" | "first") | number);
14225
14313
  ignoreTernaryOperator?: boolean;
14226
- [k: string]: unknown | undefined;
14227
14314
  })];
14228
14315
  // ----- style/jsx-max-props-per-line -----
14229
14316
  type StyleJsxMaxPropsPerLine = [] | [({
14230
14317
  maximum?: {
14231
14318
  single?: number;
14232
14319
  multi?: number;
14233
- [k: string]: unknown | undefined;
14234
14320
  };
14235
14321
  } | {
14236
14322
  maximum?: number;
@@ -14577,6 +14663,10 @@ type StyleKeywordSpacing = [] | [{
14577
14663
  before?: boolean;
14578
14664
  after?: boolean;
14579
14665
  };
14666
+ accessor?: {
14667
+ before?: boolean;
14668
+ after?: boolean;
14669
+ };
14580
14670
  as?: {
14581
14671
  before?: boolean;
14582
14672
  after?: boolean;
@@ -14613,6 +14703,10 @@ type StyleKeywordSpacing = [] | [{
14613
14703
  before?: boolean;
14614
14704
  after?: boolean;
14615
14705
  };
14706
+ using?: {
14707
+ before?: boolean;
14708
+ after?: boolean;
14709
+ };
14616
14710
  yield?: {
14617
14711
  before?: boolean;
14618
14712
  after?: boolean;
@@ -14785,11 +14879,11 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
14785
14879
  // ----- style/multiline-comment-style -----
14786
14880
  type StyleMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
14787
14881
  checkJSDoc?: boolean;
14882
+ checkExclamation?: boolean;
14788
14883
  }]);
14789
14884
  // ----- style/multiline-ternary -----
14790
14885
  type StyleMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
14791
14886
  ignoreJSX?: boolean;
14792
- [k: string]: unknown | undefined;
14793
14887
  }];
14794
14888
  // ----- style/new-parens -----
14795
14889
  type StyleNewParens = [] | [("always" | "never")];
@@ -14934,11 +15028,12 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
14934
15028
  }];
14935
15029
  // ----- style/padding-line-between-statements -----
14936
15030
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
14937
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
15031
+ type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
15032
+ type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "return" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using");
14938
15033
  type StylePaddingLineBetweenStatements = {
14939
15034
  blankLine: _StylePaddingLineBetweenStatementsPaddingType;
14940
- prev: _StylePaddingLineBetweenStatementsStatementType;
14941
- next: _StylePaddingLineBetweenStatementsStatementType;
15035
+ prev: _StylePaddingLineBetweenStatementsStatementOption;
15036
+ next: _StylePaddingLineBetweenStatementsStatementOption;
14942
15037
  }[];
14943
15038
  // ----- style/quote-props -----
14944
15039
  type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -15900,6 +15995,7 @@ interface _TsNamingConvention_MatchRegexConfig {
15900
15995
  }
15901
15996
  // ----- ts/no-base-to-string -----
15902
15997
  type TsNoBaseToString = [] | [{
15998
+ checkUnknown?: boolean;
15903
15999
  ignoredTypeNames?: string[];
15904
16000
  }];
15905
16001
  // ----- ts/no-confusing-void-expression -----
@@ -16223,7 +16319,6 @@ type TsPreferDestructuring = [] | [({
16223
16319
  }), {
16224
16320
  enforceForDeclarationWithTypeAnnotation?: boolean;
16225
16321
  enforceForRenamedProperties?: boolean;
16226
- [k: string]: unknown | undefined;
16227
16322
  }];
16228
16323
  // ----- ts/prefer-literal-enum-member -----
16229
16324
  type TsPreferLiteralEnumMember = [] | [{
@@ -16241,7 +16336,6 @@ type TsPreferNullishCoalescing = [] | [{
16241
16336
  boolean?: boolean;
16242
16337
  number?: boolean;
16243
16338
  string?: boolean;
16244
- [k: string]: unknown | undefined;
16245
16339
  } | true);
16246
16340
  ignoreTernaryTests?: boolean;
16247
16341
  }];
@@ -16450,6 +16544,10 @@ interface _UnicornImportStyle_BooleanObject {
16450
16544
  type UnicornNoArrayReduce = [] | [{
16451
16545
  allowSimpleOperations?: boolean;
16452
16546
  }];
16547
+ // ----- unicorn/no-array-reverse -----
16548
+ type UnicornNoArrayReverse = [] | [{
16549
+ allowExpressionStatement?: boolean;
16550
+ }];
16453
16551
  // ----- unicorn/no-instanceof-builtins -----
16454
16552
  type UnicornNoInstanceofBuiltins = [] | [{
16455
16553
  useErrorIsError?: boolean;
@@ -18735,4 +18833,4 @@ declare function ensurePackages(packages: Array<string | undefined>): Promise<vo
18735
18833
  declare function isInEditorEnv(): boolean;
18736
18834
  declare function isInGitHooksOrLintStaged(): boolean;
18737
18835
  //#endregion
18738
- export { Awaitable, ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
18836
+ export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "3.17.0",
4
+ "version": "3.19.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -112,11 +112,11 @@
112
112
  "@antfu/install-pkg": "^1.1.0",
113
113
  "@clack/prompts": "^0.11.0",
114
114
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
115
- "@eslint/markdown": "^6.5.0",
116
- "@stylistic/eslint-plugin": "^5.0.0-beta.4",
117
- "@typescript-eslint/eslint-plugin": "^8.34.1",
118
- "@typescript-eslint/parser": "^8.34.1",
119
- "@unocss/eslint-plugin": "66.0.0",
115
+ "@eslint/markdown": "^7.1.0",
116
+ "@stylistic/eslint-plugin": "^5.2.2",
117
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
118
+ "@typescript-eslint/parser": "^8.38.0",
119
+ "@unocss/eslint-plugin": "^66.3.3",
120
120
  "@vitest/eslint-plugin": "^1.2.7",
121
121
  "eslint-config-flat-gitignore": "^2.1.0",
122
122
  "eslint-flat-config-utils": "^2.0.1",
@@ -125,18 +125,18 @@
125
125
  "eslint-plugin-command": "^3.2.1",
126
126
  "eslint-plugin-format": "^1.0.1",
127
127
  "eslint-plugin-import-lite": "^0.3.0",
128
- "eslint-plugin-jsdoc": "^51.0.3",
128
+ "eslint-plugin-jsdoc": "^51.4.1",
129
129
  "eslint-plugin-jsonc": "^2.20.1",
130
- "eslint-plugin-n": "^17.20.0",
130
+ "eslint-plugin-n": "^17.21.0",
131
131
  "eslint-plugin-no-only-tests": "^3.3.0",
132
132
  "eslint-plugin-perfectionist": "^4.15.0",
133
- "eslint-plugin-pnpm": "^0.3.1",
133
+ "eslint-plugin-pnpm": "^1.1.0",
134
134
  "eslint-plugin-regexp": "^2.9.0",
135
135
  "eslint-plugin-sonarjs": "^3.0.2",
136
136
  "eslint-plugin-toml": "^0.12.0",
137
- "eslint-plugin-unicorn": "^59.0.1",
137
+ "eslint-plugin-unicorn": "^60.0.0",
138
138
  "eslint-plugin-unused-imports": "^4.1.4",
139
- "eslint-plugin-vue": "^10.2.0",
139
+ "eslint-plugin-vue": "^10.3.0",
140
140
  "eslint-plugin-yml": "^1.18.0",
141
141
  "eslint-processor-vue-blocks": "^2.0.0",
142
142
  "globals": "^16.2.0",