@luxass/eslint-config 4.17.1 → 4.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -283,6 +283,8 @@ declare function node(): TypedFlatConfigItem[];
283
283
  */
284
284
  declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
285
285
 
286
+ declare function pnpm(): Promise<TypedFlatConfigItem[]>;
287
+
286
288
  interface ReactOptions {
287
289
  /**
288
290
  * Override rules.
@@ -1179,233 +1181,233 @@ interface RuleOptions {
1179
1181
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1180
1182
  /**
1181
1183
  * Enforce or ban the use of inline type-only markers for named imports.
1182
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
1184
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/consistent-type-specifier-style.md
1183
1185
  */
1184
1186
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
1185
1187
  /**
1186
1188
  * Ensure a default export is present, given a default import.
1187
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
1189
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/default.md
1188
1190
  */
1189
1191
  'import/default'?: Linter.RuleEntry<[]>
1190
1192
  /**
1191
1193
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1192
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
1194
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/dynamic-import-chunkname.md
1193
1195
  */
1194
1196
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
1195
1197
  /**
1196
1198
  * Forbid any invalid exports, i.e. re-export of the same name.
1197
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
1199
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/export.md
1198
1200
  */
1199
1201
  'import/export'?: Linter.RuleEntry<[]>
1200
1202
  /**
1201
1203
  * Ensure all exports appear after other statements.
1202
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
1204
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/exports-last.md
1203
1205
  */
1204
1206
  'import/exports-last'?: Linter.RuleEntry<[]>
1205
1207
  /**
1206
1208
  * Ensure consistent use of file extension within the import path.
1207
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
1209
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/extensions.md
1208
1210
  */
1209
1211
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
1210
1212
  /**
1211
1213
  * Ensure all imports appear before other statements.
1212
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
1214
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/first.md
1213
1215
  */
1214
1216
  'import/first'?: Linter.RuleEntry<ImportFirst>
1215
1217
  /**
1216
1218
  * Prefer named exports to be grouped together in a single export declaration.
1217
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
1219
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/group-exports.md
1218
1220
  */
1219
1221
  'import/group-exports'?: Linter.RuleEntry<[]>
1220
1222
  /**
1221
1223
  * Replaced by `import-x/first`.
1222
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
1224
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/imports-first.md
1223
1225
  * @deprecated
1224
1226
  */
1225
1227
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
1226
1228
  /**
1227
1229
  * Enforce the maximum number of dependencies a module can have.
1228
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
1230
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/max-dependencies.md
1229
1231
  */
1230
1232
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
1231
1233
  /**
1232
1234
  * Ensure named imports correspond to a named export in the remote file.
1233
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
1235
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/named.md
1234
1236
  */
1235
1237
  'import/named'?: Linter.RuleEntry<ImportNamed>
1236
1238
  /**
1237
1239
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1238
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
1240
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/namespace.md
1239
1241
  */
1240
1242
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
1241
1243
  /**
1242
1244
  * Enforce a newline after import statements.
1243
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
1245
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/newline-after-import.md
1244
1246
  */
1245
1247
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
1246
1248
  /**
1247
1249
  * Forbid import of modules using absolute paths.
1248
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
1250
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-absolute-path.md
1249
1251
  */
1250
1252
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
1251
1253
  /**
1252
1254
  * Forbid AMD `require` and `define` calls.
1253
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
1255
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-amd.md
1254
1256
  */
1255
1257
  'import/no-amd'?: Linter.RuleEntry<[]>
1256
1258
  /**
1257
1259
  * Forbid anonymous values as default exports.
1258
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
1260
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-anonymous-default-export.md
1259
1261
  */
1260
1262
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
1261
1263
  /**
1262
1264
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1263
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
1265
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-commonjs.md
1264
1266
  */
1265
1267
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
1266
1268
  /**
1267
1269
  * Forbid a module from importing a module with a dependency path back to itself.
1268
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
1270
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-cycle.md
1269
1271
  */
1270
1272
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
1271
1273
  /**
1272
1274
  * Forbid default exports.
1273
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
1275
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-default-export.md
1274
1276
  */
1275
1277
  'import/no-default-export'?: Linter.RuleEntry<[]>
1276
1278
  /**
1277
1279
  * Forbid imported names marked with `@deprecated` documentation tag.
1278
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
1280
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-deprecated.md
1279
1281
  */
1280
1282
  'import/no-deprecated'?: Linter.RuleEntry<[]>
1281
1283
  /**
1282
1284
  * Forbid repeated import of the same module in multiple places.
1283
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
1285
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-duplicates.md
1284
1286
  */
1285
1287
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
1286
1288
  /**
1287
1289
  * Forbid `require()` calls with expressions.
1288
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
1290
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-dynamic-require.md
1289
1291
  */
1290
1292
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
1291
1293
  /**
1292
1294
  * Forbid empty named import blocks.
1293
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
1295
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-empty-named-blocks.md
1294
1296
  */
1295
1297
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
1296
1298
  /**
1297
1299
  * Forbid the use of extraneous packages.
1298
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
1300
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-extraneous-dependencies.md
1299
1301
  */
1300
1302
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
1301
1303
  /**
1302
1304
  * Forbid import statements with CommonJS module.exports.
1303
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
1305
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-import-module-exports.md
1304
1306
  */
1305
1307
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
1306
1308
  /**
1307
1309
  * Forbid importing the submodules of other modules.
1308
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
1310
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-internal-modules.md
1309
1311
  */
1310
1312
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
1311
1313
  /**
1312
1314
  * Forbid the use of mutable exports with `var` or `let`.
1313
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
1315
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-mutable-exports.md
1314
1316
  */
1315
1317
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
1316
1318
  /**
1317
1319
  * Forbid use of exported name as identifier of default export.
1318
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
1320
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default.md
1319
1321
  */
1320
1322
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
1321
1323
  /**
1322
1324
  * Forbid use of exported name as property of default export.
1323
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
1325
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default-member.md
1324
1326
  */
1325
1327
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
1326
1328
  /**
1327
1329
  * Forbid named default exports.
1328
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
1330
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-default.md
1329
1331
  */
1330
1332
  'import/no-named-default'?: Linter.RuleEntry<[]>
1331
1333
  /**
1332
1334
  * Forbid named exports.
1333
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
1335
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-export.md
1334
1336
  */
1335
1337
  'import/no-named-export'?: Linter.RuleEntry<[]>
1336
1338
  /**
1337
1339
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1338
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
1340
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-namespace.md
1339
1341
  */
1340
1342
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
1341
1343
  /**
1342
1344
  * Forbid Node.js builtin modules.
1343
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
1345
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-nodejs-modules.md
1344
1346
  */
1345
1347
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
1346
1348
  /**
1347
1349
  * Forbid importing packages through relative paths.
1348
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
1350
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-packages.md
1349
1351
  */
1350
1352
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
1351
1353
  /**
1352
1354
  * Forbid importing modules from parent directories.
1353
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
1355
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-parent-imports.md
1354
1356
  */
1355
1357
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
1356
1358
  /**
1357
1359
  * Forbid importing a default export by a different name.
1358
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
1360
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-rename-default.md
1359
1361
  */
1360
1362
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
1361
1363
  /**
1362
1364
  * Enforce which files can be imported in a given folder.
1363
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
1365
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-restricted-paths.md
1364
1366
  */
1365
1367
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
1366
1368
  /**
1367
1369
  * Forbid a module from importing itself.
1368
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
1370
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-self-import.md
1369
1371
  */
1370
1372
  'import/no-self-import'?: Linter.RuleEntry<[]>
1371
1373
  /**
1372
1374
  * Forbid unassigned imports.
1373
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
1375
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unassigned-import.md
1374
1376
  */
1375
1377
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
1376
1378
  /**
1377
1379
  * Ensure imports point to a file/module that can be resolved.
1378
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
1380
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unresolved.md
1379
1381
  */
1380
1382
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
1381
1383
  /**
1382
1384
  * Forbid modules without exports, or exports without matching import in another module.
1383
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
1385
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unused-modules.md
1384
1386
  */
1385
1387
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
1386
1388
  /**
1387
1389
  * Forbid unnecessary path segments in import and require statements.
1388
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
1390
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-useless-path-segments.md
1389
1391
  */
1390
1392
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
1391
1393
  /**
1392
1394
  * Forbid webpack loader syntax in imports.
1393
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
1395
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-webpack-loader-syntax.md
1394
1396
  */
1395
1397
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
1396
1398
  /**
1397
1399
  * Enforce a convention in module import order.
1398
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
1400
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/order.md
1399
1401
  */
1400
1402
  'import/order'?: Linter.RuleEntry<ImportOrder>
1401
1403
  /**
1402
1404
  * Prefer a default export if module exports a single name or multiple names.
1403
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
1405
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/prefer-default-export.md
1404
1406
  */
1405
1407
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
1406
1408
  /**
1407
1409
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1408
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
1410
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/unambiguous.md
1409
1411
  */
1410
1412
  'import/unambiguous'?: Linter.RuleEntry<[]>
1411
1413
  /**
@@ -3354,122 +3356,142 @@ interface RuleOptions {
3354
3356
  */
3355
3357
  'radix'?: Linter.RuleEntry<Radix>
3356
3358
  /**
3357
- * disallow void elements (AKA self-closing elements) from having children
3359
+ * Disallow `children` in void DOM elements.
3358
3360
  * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
3359
3361
  */
3360
3362
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
3361
3363
  /**
3362
- * disallow when a DOM component is using 'dangerouslySetInnerHTML'
3364
+ * Disallow `dangerouslySetInnerHTML`.
3363
3365
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
3364
3366
  */
3365
3367
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
3366
3368
  /**
3367
- * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
3369
+ * Disallow `dangerouslySetInnerHTML` and `children` at the same time.
3368
3370
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
3369
3371
  */
3370
3372
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
3371
3373
  /**
3372
- * disallow 'findDOMNode'
3374
+ * Disallow `findDOMNode`.
3373
3375
  * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
3374
3376
  */
3375
3377
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
3376
3378
  /**
3377
- * warns against using `flushSync`
3379
+ * Disallow `flushSync`.
3378
3380
  * @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
3379
3381
  */
3380
3382
  'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
3381
3383
  /**
3382
- * enforce that button component have an explicit 'type' attribute
3384
+ * Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.
3385
+ * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
3386
+ */
3387
+ 'react-dom/no-hydrate'?: Linter.RuleEntry<[]>
3388
+ /**
3389
+ * Enforces explicit `type` attribute for `button` elements.
3383
3390
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
3384
3391
  */
3385
3392
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
3386
3393
  /**
3387
- * enforce that 'iframe' component have an explicit 'sandbox' attribute
3394
+ * Enforces explicit `sandbox` attribute for `iframe` elements.
3388
3395
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
3389
3396
  */
3390
3397
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
3391
3398
  /**
3392
- * enforce that namespaces are not used in React elements
3399
+ * Enforces the absence of a `namespace` in React elements.
3393
3400
  * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
3394
3401
  */
3395
3402
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
3396
3403
  /**
3397
- * disallow usage of the return value of 'ReactDOM.render'
3404
+ * Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.
3405
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render
3406
+ */
3407
+ 'react-dom/no-render'?: Linter.RuleEntry<[]>
3408
+ /**
3409
+ * Disallow the return value of `ReactDOM.render`.
3398
3410
  * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
3399
3411
  */
3400
3412
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
3401
3413
  /**
3402
- * disallow 'javascript:' URLs as JSX event handler prop's value
3414
+ * Disallow `javascript:` URLs as attribute values.
3403
3415
  * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
3404
3416
  */
3405
3417
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
3406
3418
  /**
3407
- * disallow usage of unknown DOM property
3419
+ * Disallow unknown `DOM` property.
3408
3420
  * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
3409
3421
  */
3410
3422
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
3411
3423
  /**
3412
- * disallow unsafe iframe 'sandbox' attribute combinations
3424
+ * Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.
3413
3425
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
3414
3426
  */
3415
3427
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
3416
3428
  /**
3417
- * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
3429
+ * Disallow `target="_blank"` without `rel="noreferrer noopener"`.
3418
3430
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
3419
3431
  */
3420
3432
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
3421
3433
  /**
3422
- * disallow void elements (AKA self-closing elements) from having children
3434
+ * Replaces usages of `useFormState` with `useActionState`.
3435
+ * @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
3436
+ */
3437
+ 'react-dom/no-use-form-state'?: Linter.RuleEntry<[]>
3438
+ /**
3439
+ * Disallow `children` in void DOM elements.
3423
3440
  * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
3424
3441
  */
3425
3442
  'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
3426
3443
  /**
3427
- * enforce custom Hooks to use at least one other hook inside
3428
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
3444
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3445
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
3429
3446
  */
3430
3447
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
3431
3448
  /**
3432
- * disallow unnecessary usage of 'useCallback'
3449
+ * Disallow unnecessary usage of `useCallback`.
3433
3450
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
3434
3451
  */
3435
3452
  'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
3436
3453
  /**
3437
- * disallow unnecessary usage of 'useMemo'
3454
+ * Disallow unnecessary usage of `useMemo`.
3438
3455
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
3439
3456
  */
3440
3457
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
3441
3458
  /**
3442
- * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
3459
+ * Disallow direct calls to the `set` function of `useState` in `useEffect`.
3443
3460
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
3444
3461
  */
3445
3462
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
3446
3463
  /**
3447
- * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
3464
+ * Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
3448
3465
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
3449
3466
  */
3450
3467
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
3451
3468
  /**
3452
- * enforce custom Hooks to use at least one other hook inside
3453
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
3469
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3470
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
3454
3471
  */
3455
3472
  'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
3456
3473
  /**
3457
- * disallow unnecessary usage of 'useCallback'
3474
+ * Disallow unnecessary usage of `useCallback`.
3458
3475
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
3459
3476
  */
3460
3477
  'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
3461
3478
  /**
3462
- * disallow unnecessary usage of 'useMemo'
3479
+ * Disallow unnecessary usage of `useMemo`.
3463
3480
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
3464
3481
  */
3465
3482
  'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
3466
3483
  /**
3467
- * enforce custom Hooks to use at least one other hook inside
3468
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
3484
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3485
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
3486
+ */
3487
+ 'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
3488
+ /**
3489
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3490
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
3469
3491
  */
3470
3492
  'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
3471
3493
  /**
3472
- * disallow function calls in 'useState' that aren't wrapped in an initializer function
3494
+ * Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
3473
3495
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
3474
3496
  */
3475
3497
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
@@ -3484,334 +3506,339 @@ interface RuleOptions {
3484
3506
  */
3485
3507
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
3486
3508
  /**
3487
- * enforce naming convention for components
3509
+ * Enforces naming conventions for components.
3488
3510
  * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
3489
3511
  */
3490
3512
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
3491
3513
  /**
3492
- * enforce context name to be a valid component name with the suffix 'Context'
3514
+ * Enforces context name to be a valid component name with the suffix `Context`.
3493
3515
  * @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
3494
3516
  */
3495
3517
  'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
3496
3518
  /**
3497
- * enforce naming convention for JSX filenames
3519
+ * Enforces consistent file naming conventions.
3498
3520
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
3499
3521
  */
3500
3522
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
3501
3523
  /**
3502
- * enforce naming convention for JSX file extensions
3524
+ * Enforces consistent file naming conventions.
3503
3525
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
3504
3526
  */
3505
3527
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
3506
3528
  /**
3507
- * enforce destructuring and symmetric naming of 'useState' hook value and setter
3529
+ * Enforces destructuring and symmetric naming of `useState` hook value and setter.
3508
3530
  * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
3509
3531
  */
3510
3532
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
3511
3533
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
3512
3534
  /**
3513
- * enforce that every 'addEventListener' in a component or custom Hook has a corresponding 'removeEventListener'.
3535
+ * Prevents leaked `addEventListener` in a component or custom Hook.
3514
3536
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
3515
3537
  */
3516
3538
  'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
3517
3539
  /**
3518
- * enforce that every 'setInterval' in a component or custom Hook has a corresponding 'clearInterval'.
3540
+ * Prevents leaked `setInterval` in a component or custom Hook.
3519
3541
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
3520
3542
  */
3521
3543
  'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
3522
3544
  /**
3523
- * enforce cleanup of 'ResizeObserver' instances in components and custom Hooks.
3545
+ * Prevents leaked `ResizeObserver` in a component or custom Hook.
3524
3546
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
3525
3547
  */
3526
3548
  'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
3527
3549
  /**
3528
- * enforce that every 'setTimeout' in a component or custom Hook has a corresponding 'clearTimeout'.
3550
+ * Prevents leaked `setTimeout` in a component or custom Hook.
3529
3551
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
3530
3552
  */
3531
3553
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
3532
3554
  /**
3533
- * disallow using shorthand boolean attributes
3555
+ * Enforces explicit boolean values for boolean attributes.
3534
3556
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
3535
3557
  */
3536
3558
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
3537
3559
  /**
3538
- * disallow using shorthand fragment syntax
3560
+ * Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
3539
3561
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
3540
3562
  */
3541
3563
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
3542
3564
  /**
3543
- * require a 'ref' parameter to be set when using 'forwardRef'
3565
+ * Disallow useless `forwardRef` calls on components that don't use `ref`s.
3544
3566
  * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
3545
3567
  */
3546
3568
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
3547
3569
  /**
3548
- * disallow duplicate props
3549
- * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
3570
+ * Disallow duplicate props in JSX elements.
3571
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
3550
3572
  */
3551
3573
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
3552
3574
  /**
3553
- * marks variables used in JSX as used
3554
- * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
3575
+ * Disallow undefined variables in JSX.
3576
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-undef
3577
+ */
3578
+ 'react/jsx-no-undef'?: Linter.RuleEntry<[]>
3579
+ /**
3580
+ * Marks variables used in JSX elements as used.
3581
+ * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
3555
3582
  */
3556
3583
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
3557
3584
  /**
3558
- * disallow accessing 'this.state' within 'setState'
3585
+ * Disallow accessing `this.state` inside `setState` calls.
3559
3586
  * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
3560
3587
  */
3561
3588
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
3562
3589
  /**
3563
- * disallow using an item's index in the array as its key
3590
+ * Disallow an item's index in the array as its key.
3564
3591
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
3565
3592
  */
3566
3593
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
3567
3594
  /**
3568
- * disallow using 'Children.count'
3595
+ * Disallow `Children.count`.
3569
3596
  * @see https://eslint-react.xyz/docs/rules/no-children-count
3570
3597
  */
3571
3598
  'react/no-children-count'?: Linter.RuleEntry<[]>
3572
3599
  /**
3573
- * disallow using 'Children.forEach'
3600
+ * Disallow 'Children.forEach'.
3574
3601
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
3575
3602
  */
3576
3603
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
3577
3604
  /**
3578
- * disallow using 'Children.map'
3605
+ * Disallow `Children.map`.
3579
3606
  * @see https://eslint-react.xyz/docs/rules/no-children-map
3580
3607
  */
3581
3608
  'react/no-children-map'?: Linter.RuleEntry<[]>
3582
3609
  /**
3583
- * disallow using 'Children.only'
3610
+ * Disallow `Children.only`.
3584
3611
  * @see https://eslint-react.xyz/docs/rules/no-children-only
3585
3612
  */
3586
3613
  'react/no-children-only'?: Linter.RuleEntry<[]>
3587
3614
  /**
3588
- * disallow passing 'children' as props
3615
+ * Disallow passing `children` as a prop.
3589
3616
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
3590
3617
  */
3591
3618
  'react/no-children-prop'?: Linter.RuleEntry<[]>
3592
3619
  /**
3593
- * disallow using 'Children.toArray'
3620
+ * Disallow `Children.toArray`.
3594
3621
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
3595
3622
  */
3596
3623
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
3597
3624
  /**
3598
- * disallow using class components
3625
+ * Disallow class components.
3599
3626
  * @see https://eslint-react.xyz/docs/rules/no-class-component
3600
3627
  */
3601
3628
  'react/no-class-component'?: Linter.RuleEntry<[]>
3602
3629
  /**
3603
- * disallow using 'cloneElement'
3630
+ * Disallow `cloneElement`.
3604
3631
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
3605
3632
  */
3606
3633
  'react/no-clone-element'?: Linter.RuleEntry<[]>
3607
3634
  /**
3608
- * disallow comments from being inserted as text nodes
3635
+ * Prevents comments from being inserted as text nodes.
3609
3636
  * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
3610
3637
  */
3611
3638
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
3612
3639
  /**
3613
- * disallow complex conditional rendering
3640
+ * Disallow complex conditional rendering in JSX expressions.
3614
3641
  * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
3615
3642
  */
3616
3643
  'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
3617
3644
  /**
3618
- * disallow complex conditional rendering
3645
+ * Disallow complex conditional rendering in JSX expressions.
3619
3646
  * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
3620
3647
  */
3621
3648
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
3622
3649
  /**
3623
- * replace usages of 'componentWillMount' with 'UNSAFE_componentWillMount'
3650
+ * Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
3624
3651
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
3625
3652
  */
3626
3653
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
3627
3654
  /**
3628
- * replace usages of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
3655
+ * Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
3629
3656
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
3630
3657
  */
3631
3658
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
3632
3659
  /**
3633
- * replace usages of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
3660
+ * Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
3634
3661
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
3635
3662
  */
3636
3663
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
3637
3664
  /**
3638
- * replace usages of '<Context.Provider>' with '<Context>'
3665
+ * Replace usages of `<Context.Provider>` with `<Context>`.
3639
3666
  * @see https://eslint-react.xyz/docs/rules/no-context-provider
3640
3667
  */
3641
3668
  'react/no-context-provider'?: Linter.RuleEntry<[]>
3642
3669
  /**
3643
- * disallow using 'createRef' in function components
3670
+ * Disallow `createRef` in function components.
3644
3671
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
3645
3672
  */
3646
3673
  'react/no-create-ref'?: Linter.RuleEntry<[]>
3647
3674
  /**
3648
- * disallow using 'defaultProps' property in components
3675
+ * Disallow `defaultProps` property in favor of ES6 default parameters.
3649
3676
  * @see https://eslint-react.xyz/docs/rules/no-default-props
3650
3677
  */
3651
3678
  'react/no-default-props'?: Linter.RuleEntry<[]>
3652
3679
  /**
3653
- * disallow direct mutation of state
3680
+ * Disallow direct mutation of `this.state`.
3654
3681
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
3655
3682
  */
3656
3683
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
3657
3684
  /**
3658
- * disallow duplicate props
3659
- * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
3685
+ * Disallow duplicate props in JSX elements.
3686
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
3660
3687
  */
3661
3688
  'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
3662
3689
  /**
3663
- * disallow duplicate keys when rendering list
3690
+ * Disallow duplicate `key` on elements in the same array or a list of `children`.
3664
3691
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
3665
3692
  */
3666
3693
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
3667
3694
  /**
3668
- * replace usages of 'forwardRef' with passing 'ref' as a prop
3695
+ * Replaces usages of `forwardRef` with passing `ref` as a prop.
3669
3696
  * @see https://eslint-react.xyz/docs/rules/no-forward-ref
3670
3697
  */
3671
3698
  'react/no-forward-ref'?: Linter.RuleEntry<[]>
3672
3699
  /**
3673
- * disallow implicit 'key' props
3700
+ * Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
3674
3701
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
3675
3702
  */
3676
3703
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
3677
3704
  /**
3678
- * disallow problematic leaked values from being rendered
3705
+ * Prevents problematic leaked values from being rendered.
3679
3706
  * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
3680
3707
  */
3681
3708
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
3682
3709
  /**
3683
- * require 'displayName' for 'memo' and 'forwardRef' components
3710
+ * Enforces that all components have a `displayName` which can be used in devtools.
3684
3711
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
3685
3712
  */
3686
3713
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
3687
3714
  /**
3688
- * require 'displayName' for contexts.
3715
+ * Enforces that all contexts have a `displayName` which can be used in devtools.
3689
3716
  * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
3690
3717
  */
3691
3718
  'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
3692
3719
  /**
3693
- * require 'key' when rendering list
3720
+ * Disallow missing `key` on items in list rendering.
3694
3721
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
3695
3722
  */
3696
3723
  'react/no-missing-key'?: Linter.RuleEntry<[]>
3697
3724
  /**
3698
- * prevents nesting component definitions inside other components
3725
+ * Disallow nesting component definitions inside other components.
3699
3726
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
3700
3727
  */
3701
3728
  'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
3702
3729
  /**
3703
- * prevents nesting component definitions inside other components
3730
+ * Disallow nesting component definitions inside other components.
3704
3731
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
3705
3732
  */
3706
3733
  'react/no-nested-components'?: Linter.RuleEntry<[]>
3707
3734
  /**
3708
- * disallow using 'propTypes' property in components
3735
+ * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
3709
3736
  * @see https://eslint-react.xyz/docs/rules/no-prop-types
3710
3737
  */
3711
3738
  'react/no-prop-types'?: Linter.RuleEntry<[]>
3712
3739
  /**
3713
- * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
3740
+ * Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
3714
3741
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
3715
3742
  */
3716
3743
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
3717
3744
  /**
3718
- * disallow using 'setState' in 'componentDidMount'
3745
+ * Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
3719
3746
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
3720
3747
  */
3721
3748
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
3722
3749
  /**
3723
- * disallow using 'setState' in 'componentDidUpdate'
3750
+ * Disallows calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
3724
3751
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
3725
3752
  */
3726
3753
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
3727
3754
  /**
3728
- * disallow using 'setState' in 'componentWillUpdate'
3755
+ * Disallows calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
3729
3756
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
3730
3757
  */
3731
3758
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
3732
3759
  /**
3733
- * disallow using deprecated string refs
3760
+ * Disallow deprecated string `refs`.
3734
3761
  * @see https://eslint-react.xyz/docs/rules/no-string-refs
3735
3762
  */
3736
3763
  'react/no-string-refs'?: Linter.RuleEntry<[]>
3737
3764
  /**
3738
- * disallow using 'UNSAFE_componentWillMount'
3765
+ * Warns the usage of `UNSAFE_componentWillMount` in class components.
3739
3766
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
3740
3767
  */
3741
3768
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
3742
3769
  /**
3743
- * disallow using 'UNSAFE_componentWillReceiveProps'
3770
+ * Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
3744
3771
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
3745
3772
  */
3746
3773
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
3747
3774
  /**
3748
- * disallow using 'UNSAFE_componentWillUpdate'
3775
+ * Warns the usage of `UNSAFE_componentWillUpdate` in class components.
3749
3776
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
3750
3777
  */
3751
3778
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
3752
3779
  /**
3753
- * disallow passing constructed values to context providers
3780
+ * Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
3754
3781
  * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
3755
3782
  */
3756
3783
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
3757
3784
  /**
3758
- * disallow using unstable value as default param in function component
3785
+ * Prevents using referential-type values as default props in object destructuring.
3759
3786
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
3760
3787
  */
3761
3788
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
3762
3789
  /**
3763
- * disallow unused class component members
3790
+ * Warns unused class component methods and properties.
3764
3791
  * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
3765
3792
  */
3766
3793
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
3767
3794
  /**
3768
- * disallow unused state of class component
3795
+ * Warns unused class component state.
3769
3796
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
3770
3797
  */
3771
3798
  'react/no-unused-state'?: Linter.RuleEntry<[]>
3772
3799
  /**
3773
- * replace usages of 'useContext' with 'use'
3800
+ * Replaces usages of `useContext` with `use`.
3774
3801
  * @see https://eslint-react.xyz/docs/rules/no-use-context
3775
3802
  */
3776
3803
  'react/no-use-context'?: Linter.RuleEntry<[]>
3777
3804
  /**
3778
- * require a 'ref' parameter to be set when using 'forwardRef'
3805
+ * Disallow useless `forwardRef` calls on components that don't use `ref`s.
3779
3806
  * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
3780
3807
  */
3781
3808
  'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
3782
3809
  /**
3783
- * disallow useless fragments
3810
+ * Disallow useless fragment elements.
3784
3811
  * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3785
3812
  */
3786
3813
  'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
3787
3814
  /**
3788
- * enforce using destructuring assignment in component props and context
3815
+ * Enforces destructuring assignment for component props and context.
3789
3816
  * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
3790
3817
  */
3791
3818
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
3792
3819
  /**
3793
- * enforce React is imported via a namespace import
3820
+ * Enforces React is imported via a namespace import.
3794
3821
  * @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
3795
3822
  */
3796
3823
  'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
3797
3824
  /**
3798
- * enforce read-only props in components
3825
+ * Enforces read-only props in components.
3799
3826
  * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
3800
3827
  */
3801
3828
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
3802
3829
  /**
3803
- * enforce the use of shorthand syntax for boolean attributes
3830
+ * Enforces shorthand syntax for boolean attributes.
3804
3831
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
3805
3832
  */
3806
3833
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
3807
3834
  /**
3808
- * enforce the use of shorthand syntax for fragments
3835
+ * Enforces shorthand syntax for fragments.
3809
3836
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
3810
3837
  */
3811
3838
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
3812
3839
  /**
3813
- * marks variables used in JSX as used
3814
- * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
3840
+ * Marks variables used in JSX elements as used.
3841
+ * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
3815
3842
  */
3816
3843
  'react/use-jsx-vars'?: Linter.RuleEntry<[]>
3817
3844
  /**
@@ -5963,642 +5990,643 @@ interface RuleOptions {
5963
5990
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5964
5991
  /**
5965
5992
  * Improve regexes by making them shorter, consistent, and safer.
5966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
5993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
5967
5994
  */
5968
5995
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5969
5996
  /**
5970
5997
  * Enforce a specific parameter name in catch clauses.
5971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
5998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
5972
5999
  */
5973
6000
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5974
6001
  /**
5975
6002
  * Enforce consistent assertion style with `node:assert`.
5976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
6003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
5977
6004
  */
5978
6005
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
5979
6006
  /**
5980
6007
  * Prefer passing `Date` directly to the constructor when cloning.
5981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
6008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
5982
6009
  */
5983
6010
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
5984
6011
  /**
5985
6012
  * Use destructured variables over properties.
5986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
6013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
5987
6014
  */
5988
6015
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5989
6016
  /**
5990
6017
  * Prefer consistent types when spreading a ternary in an array literal.
5991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
6018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
5992
6019
  */
5993
6020
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5994
6021
  /**
5995
6022
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
6023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
5997
6024
  */
5998
6025
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
5999
6026
  /**
6000
6027
  * Move function definitions to the highest possible scope.
6001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
6028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
6002
6029
  */
6003
6030
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
6004
6031
  /**
6005
6032
  * Enforce correct `Error` subclassing.
6006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
6033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
6007
6034
  */
6008
6035
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
6009
6036
  /**
6010
6037
  * Enforce no spaces between braces.
6011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
6038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
6012
6039
  */
6013
6040
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
6014
6041
  /**
6015
6042
  * Enforce passing a `message` value when creating a built-in error.
6016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
6043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
6017
6044
  */
6018
6045
  'unicorn/error-message'?: Linter.RuleEntry<[]>
6019
6046
  /**
6020
- * Require escape sequences to use uppercase values.
6021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
6047
+ * Require escape sequences to use uppercase or lowercase values.
6048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
6022
6049
  */
6023
- 'unicorn/escape-case'?: Linter.RuleEntry<[]>
6050
+ 'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
6024
6051
  /**
6025
6052
  * Add expiration conditions to TODO comments.
6026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
6053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
6027
6054
  */
6028
6055
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
6029
6056
  /**
6030
6057
  * Enforce explicitly comparing the `length` or `size` property of a value.
6031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
6058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
6032
6059
  */
6033
6060
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
6034
6061
  /**
6035
6062
  * Enforce a case style for filenames.
6036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
6063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
6037
6064
  */
6038
6065
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
6039
6066
  /**
6040
6067
  * Enforce specific import styles per module.
6041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
6068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
6042
6069
  */
6043
6070
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
6044
6071
  /**
6045
6072
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
6046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
6073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
6047
6074
  */
6048
6075
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
6049
6076
  /**
6050
6077
  * Enforce specifying rules to disable in `eslint-disable` comments.
6051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
6078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
6052
6079
  */
6053
6080
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
6054
6081
  /**
6055
6082
  * Disallow recursive access to `this` within getters and setters.
6056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
6083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
6057
6084
  */
6058
6085
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
6059
6086
  /**
6060
6087
  * Disallow anonymous functions and classes as the default export.
6061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
6088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
6062
6089
  */
6063
6090
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
6064
6091
  /**
6065
6092
  * Prevent passing a function reference directly to iterator methods.
6066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
6093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
6067
6094
  */
6068
6095
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
6069
6096
  /**
6070
6097
  * Prefer `for…of` over the `forEach` method.
6071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
6098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
6072
6099
  */
6073
6100
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
6074
6101
  /**
6075
6102
  * Disallow using the `this` argument in array methods.
6076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
6103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
6077
6104
  */
6078
6105
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
6079
6106
  /**
6080
6107
  * Enforce combining multiple `Array#push()` into one call.
6081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
6108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
6082
6109
  */
6083
6110
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
6084
6111
  /**
6085
6112
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
6113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
6087
6114
  */
6088
6115
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
6089
6116
  /**
6090
6117
  * Disallow member access from await expression.
6091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
6118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
6092
6119
  */
6093
6120
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
6094
6121
  /**
6095
6122
  * Disallow using `await` in `Promise` method parameters.
6096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
6123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
6097
6124
  */
6098
6125
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
6099
6126
  /**
6100
6127
  * Do not use leading/trailing space between `console.log` parameters.
6101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
6128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
6102
6129
  */
6103
6130
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
6104
6131
  /**
6105
6132
  * Do not use `document.cookie` directly.
6106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
6133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
6107
6134
  */
6108
6135
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
6109
6136
  /**
6110
6137
  * Disallow empty files.
6111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
6138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
6112
6139
  */
6113
6140
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
6114
6141
  /**
6115
6142
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
6143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
6117
6144
  */
6118
6145
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
6119
6146
  /**
6120
6147
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
6121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
6148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
6122
6149
  */
6123
6150
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
6124
6151
  /**
6125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
6152
+ * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
6126
6154
  * @deprecated
6127
6155
  */
6128
6156
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
6129
6157
  /**
6130
6158
  * Disallow `instanceof` with built-in objects
6131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
6159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
6132
6160
  */
6133
6161
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
6134
6162
  /**
6135
6163
  * Disallow invalid options in `fetch()` and `new Request()`.
6136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
6164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
6137
6165
  */
6138
6166
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
6139
6167
  /**
6140
6168
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
6169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
6142
6170
  */
6143
6171
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
6144
6172
  /**
6145
6173
  * Disallow identifiers starting with `new` or `class`.
6146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
6174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
6147
6175
  */
6148
6176
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
6149
6177
  /**
6150
6178
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
6179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
6152
6180
  */
6153
6181
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
6154
6182
  /**
6155
6183
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6156
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
6184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
6157
6185
  */
6158
6186
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
6159
6187
  /**
6160
6188
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
6189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
6162
6190
  */
6163
6191
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
6164
6192
  /**
6165
6193
  * Disallow named usage of default import and export.
6166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
6194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
6167
6195
  */
6168
6196
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
6169
6197
  /**
6170
6198
  * Disallow negated conditions.
6171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
6199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
6172
6200
  */
6173
6201
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
6174
6202
  /**
6175
6203
  * Disallow negated expression in equality check.
6176
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
6204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
6177
6205
  */
6178
6206
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
6179
6207
  /**
6180
6208
  * Disallow nested ternary expressions.
6181
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
6209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
6182
6210
  */
6183
6211
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
6184
6212
  /**
6185
6213
  * Disallow `new Array()`.
6186
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
6214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
6187
6215
  */
6188
6216
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
6189
6217
  /**
6190
6218
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6191
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
6219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
6192
6220
  */
6193
6221
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
6194
6222
  /**
6195
6223
  * Disallow the use of the `null` literal.
6196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
6224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
6197
6225
  */
6198
6226
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
6199
6227
  /**
6200
6228
  * Disallow the use of objects as default parameters.
6201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
6229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
6202
6230
  */
6203
6231
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
6204
6232
  /**
6205
6233
  * Disallow `process.exit()`.
6206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
6234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
6207
6235
  */
6208
6236
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
6209
6237
  /**
6210
6238
  * Disallow passing single-element arrays to `Promise` methods.
6211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
6239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
6212
6240
  */
6213
6241
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
6214
6242
  /**
6215
6243
  * Disallow classes that only have static members.
6216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
6244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
6217
6245
  */
6218
6246
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
6219
6247
  /**
6220
6248
  * Disallow `then` property.
6221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
6249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
6222
6250
  */
6223
6251
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
6224
6252
  /**
6225
6253
  * Disallow assigning `this` to a variable.
6226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
6254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
6227
6255
  */
6228
6256
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
6229
6257
  /**
6230
6258
  * Disallow comparing `undefined` using `typeof`.
6231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
6259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
6232
6260
  */
6233
6261
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
6234
6262
  /**
6235
6263
  * Disallow awaiting non-promise values.
6236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
6264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
6237
6265
  */
6238
6266
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
6239
6267
  /**
6240
6268
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
6269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
6242
6270
  */
6243
6271
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
6244
6272
  /**
6245
6273
  * Disallow unreadable array destructuring.
6246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
6274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
6247
6275
  */
6248
6276
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6249
6277
  /**
6250
6278
  * Disallow unreadable IIFEs.
6251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
6279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
6252
6280
  */
6253
6281
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6254
6282
  /**
6255
6283
  * Disallow unused object properties.
6256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
6284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
6257
6285
  */
6258
6286
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6259
6287
  /**
6260
6288
  * Disallow useless fallback when spreading in object literals.
6261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
6289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
6262
6290
  */
6263
6291
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6264
6292
  /**
6265
6293
  * Disallow useless array length check.
6266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
6294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
6267
6295
  */
6268
6296
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6269
6297
  /**
6270
6298
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
6299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
6272
6300
  */
6273
6301
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6274
6302
  /**
6275
6303
  * Disallow unnecessary spread.
6276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
6304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
6277
6305
  */
6278
6306
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6279
6307
  /**
6280
6308
  * Disallow useless case in switch statements.
6281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
6309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
6282
6310
  */
6283
6311
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6284
6312
  /**
6285
6313
  * Disallow useless `undefined`.
6286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
6314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
6287
6315
  */
6288
6316
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6289
6317
  /**
6290
6318
  * Disallow number literals with zero fractions or dangling dots.
6291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
6319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
6292
6320
  */
6293
6321
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6294
6322
  /**
6295
6323
  * Enforce proper case for numeric literals.
6296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
6324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
6297
6325
  */
6298
- 'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
6326
+ 'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
6299
6327
  /**
6300
6328
  * Enforce the style of numeric separators by correctly grouping digits.
6301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
6329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
6302
6330
  */
6303
6331
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6304
6332
  /**
6305
6333
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
6334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
6307
6335
  */
6308
6336
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6309
6337
  /**
6310
6338
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
6339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
6312
6340
  */
6313
6341
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6314
6342
  /**
6315
6343
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
6344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
6317
6345
  */
6318
6346
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6319
6347
  /**
6320
6348
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
6349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
6322
6350
  */
6323
6351
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6324
6352
  /**
6325
6353
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
6354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
6327
6355
  */
6328
6356
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6329
6357
  /**
6330
6358
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
6359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
6332
6360
  */
6333
6361
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6334
6362
  /**
6335
6363
  * Prefer `.at()` method for index access and `String#charAt()`.
6336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
6364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
6337
6365
  */
6338
6366
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6339
6367
  /**
6340
6368
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
6369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
6342
6370
  */
6343
6371
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6344
6372
  /**
6345
6373
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
6374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
6347
6375
  */
6348
6376
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6349
6377
  /**
6350
6378
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
6379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
6352
6380
  */
6353
6381
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6354
6382
  /**
6355
6383
  * Prefer default parameters over reassignment.
6356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
6384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
6357
6385
  */
6358
6386
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6359
6387
  /**
6360
6388
  * Prefer `Node#append()` over `Node#appendChild()`.
6361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
6389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
6362
6390
  */
6363
6391
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6364
6392
  /**
6365
6393
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
6394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
6367
6395
  */
6368
6396
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6369
6397
  /**
6370
6398
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
6399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
6372
6400
  */
6373
6401
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6374
6402
  /**
6375
6403
  * Prefer `.textContent` over `.innerText`.
6376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
6404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
6377
6405
  */
6378
6406
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6379
6407
  /**
6380
6408
  * Prefer `EventTarget` over `EventEmitter`.
6381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-event-target.md
6409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
6382
6410
  */
6383
6411
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6384
6412
  /**
6385
6413
  * Prefer `export…from` when re-exporting.
6386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
6414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
6387
6415
  */
6388
6416
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6389
6417
  /**
6390
6418
  * Prefer `globalThis` over `window`, `self`, and `global`.
6391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
6419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
6392
6420
  */
6393
6421
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
6394
6422
  /**
6395
6423
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
6424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
6397
6425
  */
6398
6426
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6399
6427
  /**
6400
6428
  * Prefer reading a JSON file as a buffer.
6401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
6429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
6402
6430
  */
6403
6431
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6404
6432
  /**
6405
6433
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
6434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
6407
6435
  */
6408
6436
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6409
6437
  /**
6410
6438
  * Prefer using a logical operator over a ternary.
6411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6412
6440
  */
6413
6441
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6414
6442
  /**
6415
6443
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
6444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
6417
6445
  */
6418
6446
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
6419
6447
  /**
6420
6448
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
6449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
6422
6450
  */
6423
6451
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6424
6452
  /**
6425
6453
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
6454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
6427
6455
  */
6428
6456
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6429
6457
  /**
6430
6458
  * Prefer modern `Math` APIs over legacy patterns.
6431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
6459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
6432
6460
  */
6433
6461
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6434
6462
  /**
6435
6463
  * Prefer JavaScript modules (ESM) over CommonJS.
6436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
6464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
6437
6465
  */
6438
6466
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6439
6467
  /**
6440
6468
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
6469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
6442
6470
  */
6443
6471
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6444
6472
  /**
6445
6473
  * Prefer negative index over `.length - index` when possible.
6446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
6474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
6447
6475
  */
6448
6476
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6449
6477
  /**
6450
6478
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
6479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
6452
6480
  */
6453
6481
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6454
6482
  /**
6455
6483
  * Prefer `Number` static properties over global ones.
6456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
6484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
6457
6485
  */
6458
6486
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6459
6487
  /**
6460
6488
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
6489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
6462
6490
  */
6463
6491
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6464
6492
  /**
6465
6493
  * Prefer omitting the `catch` binding parameter.
6466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
6494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
6467
6495
  */
6468
6496
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6469
6497
  /**
6470
6498
  * Prefer borrowing methods from the prototype instead of the instance.
6471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
6499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
6472
6500
  */
6473
6501
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6474
6502
  /**
6475
6503
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
6504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
6477
6505
  */
6478
6506
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6479
6507
  /**
6480
6508
  * Prefer `Reflect.apply()` over `Function#apply()`.
6481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
6509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
6482
6510
  */
6483
6511
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6484
6512
  /**
6485
6513
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
6514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
6487
6515
  */
6488
6516
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6489
6517
  /**
6490
6518
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
6519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
6492
6520
  */
6493
6521
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6494
6522
  /**
6495
6523
  * Prefer using `Set#size` instead of `Array#length`.
6496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
6524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
6497
6525
  */
6498
6526
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6499
6527
  /**
6500
6528
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
6529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
6502
6530
  */
6503
6531
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6504
6532
  /**
6505
6533
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
6534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
6507
6535
  */
6508
6536
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6509
6537
  /**
6510
6538
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
6539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
6512
6540
  */
6513
6541
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6514
6542
  /**
6515
6543
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
6544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
6517
6545
  */
6518
6546
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6519
6547
  /**
6520
6548
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
6549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
6522
6550
  */
6523
6551
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6524
6552
  /**
6525
6553
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
6554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
6527
6555
  */
6528
6556
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6529
6557
  /**
6530
6558
  * Prefer using `structuredClone` to create a deep clone.
6531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
6559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
6532
6560
  */
6533
6561
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6534
6562
  /**
6535
6563
  * Prefer `switch` over multiple `else-if`.
6536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
6564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
6537
6565
  */
6538
6566
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6539
6567
  /**
6540
6568
  * Prefer ternary expressions over simple `if-else` statements.
6541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
6569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
6542
6570
  */
6543
6571
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6544
6572
  /**
6545
6573
  * Prefer top-level await over top-level promises and async function calls.
6546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
6574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
6547
6575
  */
6548
6576
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6549
6577
  /**
6550
6578
  * Enforce throwing `TypeError` in type checking conditions.
6551
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
6579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
6552
6580
  */
6553
6581
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
6554
6582
  /**
6555
6583
  * Prevent abbreviations.
6556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
6584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
6557
6585
  */
6558
6586
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
6559
6587
  /**
6560
6588
  * Enforce consistent relative URL style.
6561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
6589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
6562
6590
  */
6563
6591
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
6564
6592
  /**
6565
6593
  * Enforce using the separator argument with `Array#join()`.
6566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
6594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
6567
6595
  */
6568
6596
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
6569
6597
  /**
6570
6598
  * Enforce using the digits argument with `Number#toFixed()`.
6571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6572
6600
  */
6573
6601
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
6574
6602
  /**
6575
6603
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
6576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
6604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
6577
6605
  */
6578
6606
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
6579
6607
  /**
6580
6608
  * Enforce better string content.
6581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
6609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
6582
6610
  */
6583
6611
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
6584
6612
  /**
6585
6613
  * Enforce consistent brace style for `case` clauses.
6586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
6614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
6587
6615
  */
6588
6616
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
6589
6617
  /**
6590
6618
  * Fix whitespace-insensitive template indentation.
6591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
6619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
6592
6620
  */
6593
6621
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
6594
6622
  /**
6595
6623
  * Enforce consistent case for text encoding identifiers.
6596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
6624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
6597
6625
  */
6598
6626
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
6599
6627
  /**
6600
6628
  * Require `new` when creating an error.
6601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
6629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
6602
6630
  */
6603
6631
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
6604
6632
  /**
@@ -8330,7 +8358,7 @@ type IdMatch = []|[string]|[string, {
8330
8358
  // ----- implicit-arrow-linebreak -----
8331
8359
  type ImplicitArrowLinebreak = []|[("beside" | "below")]
8332
8360
  // ----- import/consistent-type-specifier-style -----
8333
- type ImportConsistentTypeSpecifierStyle = []|[("prefer-inline" | "prefer-top-level")]
8361
+ type ImportConsistentTypeSpecifierStyle = []|[("prefer-top-level" | "prefer-inline")]
8334
8362
  // ----- import/dynamic-import-chunkname -----
8335
8363
  type ImportDynamicImportChunkname = []|[{
8336
8364
  importFunctions?: string[]
@@ -8550,6 +8578,17 @@ type ImportOrder = []|[{
8550
8578
  position?: ("after" | "before")
8551
8579
  }[]
8552
8580
  "newlines-between"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
8581
+ "newlines-between-types"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
8582
+ consolidateIslands?: ("inside-groups" | "never")
8583
+ sortTypesGroup?: boolean
8584
+ named?: (boolean | {
8585
+ enabled?: boolean
8586
+ import?: boolean
8587
+ export?: boolean
8588
+ require?: boolean
8589
+ cjsExports?: boolean
8590
+ types?: ("mixed" | "types-first" | "types-last")
8591
+ })
8553
8592
  alphabetize?: {
8554
8593
  caseInsensitive?: boolean
8555
8594
  order?: ("ignore" | "asc" | "desc")
@@ -10473,7 +10512,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
10473
10512
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
10474
10513
  version?: string
10475
10514
  allowExperimental?: boolean
10476
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
10515
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
10477
10516
  }]
10478
10517
  // ----- node/prefer-global/buffer -----
10479
10518
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -15440,6 +15479,8 @@ type UnicornCatchErrorName = []|[{
15440
15479
  type UnicornConsistentFunctionScoping = []|[{
15441
15480
  checkArrowFunctions?: boolean
15442
15481
  }]
15482
+ // ----- unicorn/escape-case -----
15483
+ type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
15443
15484
  // ----- unicorn/expiring-todo-comments -----
15444
15485
  type UnicornExpiringTodoComments = []|[{
15445
15486
  terms?: string[]
@@ -15524,6 +15565,10 @@ type UnicornNoUselessUndefined = []|[{
15524
15565
  checkArguments?: boolean
15525
15566
  checkArrowFunctionBody?: boolean
15526
15567
  }]
15568
+ // ----- unicorn/number-literal-case -----
15569
+ type UnicornNumberLiteralCase = []|[{
15570
+ hexadecimalValue?: ("uppercase" | "lowercase")
15571
+ }]
15527
15572
  // ----- unicorn/numeric-separators-style -----
15528
15573
  type UnicornNumericSeparatorsStyle = []|[{
15529
15574
  binary?: {
@@ -17093,7 +17138,8 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
17093
17138
  type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/perfectionist/setup' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/ignores' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/unicorn/rules' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/pnpm-workspace' | 'luxass/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files' | 'luxass/jsx/setup' | 'luxass/regexp/rules'
17094
17139
 
17095
17140
  type Awaitable<T> = T | Promise<T>;
17096
- type Rules = RuleOptions;
17141
+ interface Rules extends RuleOptions {
17142
+ }
17097
17143
 
17098
17144
  type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
17099
17145
  /**
@@ -17270,6 +17316,17 @@ interface ConfigOptions {
17270
17316
  * @default true
17271
17317
  */
17272
17318
  regexp?: boolean | RegExpOptions;
17319
+ /**
17320
+ * Enable pnpm (workspace/catalogs) support.
17321
+ *
17322
+ * Currently it's disabled by default, as it's still experimental.
17323
+ * In the future it will be smartly enabled based on the project usage.
17324
+ *
17325
+ * @see https://github.com/antfu/pnpm-workspace-utils
17326
+ * @experimental
17327
+ * @default false
17328
+ */
17329
+ pnpm?: boolean;
17273
17330
  }
17274
17331
 
17275
17332
  /**
@@ -17477,4 +17534,4 @@ declare function isPackageInScope(name: string): boolean;
17477
17534
  declare function isInEditorEnv(): boolean;
17478
17535
  declare function isInGitHooksOrLintStaged(): boolean;
17479
17536
 
17480
- export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, 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_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ProjectType, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnicornOptions, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, disables, ensure, formatters, getOverrides, ignores, imports, interop, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
17537
+ export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, 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_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ProjectType, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnicornOptions, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, disables, ensure, formatters, getOverrides, ignores, imports, interop, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };