@luxass/eslint-config 4.13.0 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +34 -16
- package/dist/index.d.cts +1140 -186
- package/dist/index.d.ts +1140 -186
- package/dist/index.js +33 -15
- package/package.json +40 -40
package/dist/index.d.cts
CHANGED
|
@@ -995,7 +995,7 @@ interface RuleOptions {
|
|
|
995
995
|
*/
|
|
996
996
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
997
997
|
/**
|
|
998
|
-
* Enforce default clauses in switch statements to be last
|
|
998
|
+
* Enforce `default` clauses in `switch` statements to be last
|
|
999
999
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
1000
1000
|
*/
|
|
1001
1001
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -1072,7 +1072,7 @@ interface RuleOptions {
|
|
|
1072
1072
|
*/
|
|
1073
1073
|
'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
|
|
1074
1074
|
/**
|
|
1075
|
-
* Enforce
|
|
1075
|
+
* Enforce `for` loop update clause moving the counter in the right direction
|
|
1076
1076
|
* @see https://eslint.org/docs/latest/rules/for-direction
|
|
1077
1077
|
*/
|
|
1078
1078
|
'for-direction'?: Linter.RuleEntry<[]>
|
|
@@ -1179,233 +1179,233 @@ interface RuleOptions {
|
|
|
1179
1179
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1180
1180
|
/**
|
|
1181
1181
|
* 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.
|
|
1182
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
|
|
1183
1183
|
*/
|
|
1184
1184
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Ensure a default export is present, given a default import.
|
|
1187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1187
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
|
|
1188
1188
|
*/
|
|
1189
1189
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1192
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
|
|
1193
1193
|
*/
|
|
1194
1194
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1195
1195
|
/**
|
|
1196
1196
|
* 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.
|
|
1197
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
|
|
1198
1198
|
*/
|
|
1199
1199
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Ensure all exports appear after other statements.
|
|
1202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1202
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
|
|
1203
1203
|
*/
|
|
1204
1204
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Ensure consistent use of file extension within the import path.
|
|
1207
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1207
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
|
|
1208
1208
|
*/
|
|
1209
1209
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Ensure all imports appear before other statements.
|
|
1212
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1212
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
|
|
1213
1213
|
*/
|
|
1214
1214
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1215
1215
|
/**
|
|
1216
1216
|
* 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.
|
|
1217
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
|
|
1218
1218
|
*/
|
|
1219
1219
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Replaced by `import-x/first`.
|
|
1222
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1222
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
|
|
1223
1223
|
* @deprecated
|
|
1224
1224
|
*/
|
|
1225
1225
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Enforce the maximum number of dependencies a module can have.
|
|
1228
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1228
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
|
|
1229
1229
|
*/
|
|
1230
1230
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1231
1231
|
/**
|
|
1232
1232
|
* 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.
|
|
1233
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
|
|
1234
1234
|
*/
|
|
1235
1235
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1238
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1238
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
|
|
1239
1239
|
*/
|
|
1240
1240
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Enforce a newline after import statements.
|
|
1243
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1243
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
|
|
1244
1244
|
*/
|
|
1245
1245
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Forbid import of modules using absolute paths.
|
|
1248
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1248
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
|
|
1249
1249
|
*/
|
|
1250
1250
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Forbid AMD `require` and `define` calls.
|
|
1253
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1253
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
|
|
1254
1254
|
*/
|
|
1255
1255
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Forbid anonymous values as default exports.
|
|
1258
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1258
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
|
|
1259
1259
|
*/
|
|
1260
1260
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1263
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1263
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
|
|
1264
1264
|
*/
|
|
1265
1265
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1266
1266
|
/**
|
|
1267
1267
|
* 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.
|
|
1268
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
|
|
1269
1269
|
*/
|
|
1270
1270
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Forbid default exports.
|
|
1273
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1273
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
|
|
1274
1274
|
*/
|
|
1275
1275
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1278
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1278
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
|
|
1279
1279
|
*/
|
|
1280
1280
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Forbid repeated import of the same module in multiple places.
|
|
1283
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1283
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
|
|
1284
1284
|
*/
|
|
1285
1285
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Forbid `require()` calls with expressions.
|
|
1288
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1288
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
|
|
1289
1289
|
*/
|
|
1290
1290
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1291
1291
|
/**
|
|
1292
1292
|
* Forbid empty named import blocks.
|
|
1293
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1293
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
|
|
1294
1294
|
*/
|
|
1295
1295
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1296
1296
|
/**
|
|
1297
1297
|
* Forbid the use of extraneous packages.
|
|
1298
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1298
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
|
|
1299
1299
|
*/
|
|
1300
1300
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Forbid import statements with CommonJS module.exports.
|
|
1303
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1303
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
|
|
1304
1304
|
*/
|
|
1305
1305
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Forbid importing the submodules of other modules.
|
|
1308
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1308
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
|
|
1309
1309
|
*/
|
|
1310
1310
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1313
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1313
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
|
|
1314
1314
|
*/
|
|
1315
1315
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Forbid use of exported name as identifier of default export.
|
|
1318
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1318
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
|
|
1319
1319
|
*/
|
|
1320
1320
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Forbid use of exported name as property of default export.
|
|
1323
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1323
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
|
|
1324
1324
|
*/
|
|
1325
1325
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Forbid named default exports.
|
|
1328
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1328
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
|
|
1329
1329
|
*/
|
|
1330
1330
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Forbid named exports.
|
|
1333
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1333
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
|
|
1334
1334
|
*/
|
|
1335
1335
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1336
1336
|
/**
|
|
1337
1337
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1338
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1338
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
|
|
1339
1339
|
*/
|
|
1340
1340
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Forbid Node.js builtin modules.
|
|
1343
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1343
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
|
|
1344
1344
|
*/
|
|
1345
1345
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Forbid importing packages through relative paths.
|
|
1348
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1348
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
|
|
1349
1349
|
*/
|
|
1350
1350
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Forbid importing modules from parent directories.
|
|
1353
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1353
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
|
|
1354
1354
|
*/
|
|
1355
1355
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Forbid importing a default export by a different name.
|
|
1358
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1358
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
|
|
1359
1359
|
*/
|
|
1360
1360
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Enforce which files can be imported in a given folder.
|
|
1363
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1363
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
|
|
1364
1364
|
*/
|
|
1365
1365
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Forbid a module from importing itself.
|
|
1368
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1368
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
|
|
1369
1369
|
*/
|
|
1370
1370
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Forbid unassigned imports.
|
|
1373
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1373
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
|
|
1374
1374
|
*/
|
|
1375
1375
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Ensure imports point to a file/module that can be resolved.
|
|
1378
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1378
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
|
|
1379
1379
|
*/
|
|
1380
1380
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1381
1381
|
/**
|
|
1382
1382
|
* 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.
|
|
1383
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
|
|
1384
1384
|
*/
|
|
1385
1385
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1386
1386
|
/**
|
|
1387
1387
|
* Forbid unnecessary path segments in import and require statements.
|
|
1388
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1388
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
|
|
1389
1389
|
*/
|
|
1390
1390
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Forbid webpack loader syntax in imports.
|
|
1393
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1393
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
|
|
1394
1394
|
*/
|
|
1395
1395
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Enforce a convention in module import order.
|
|
1398
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1398
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
|
|
1399
1399
|
*/
|
|
1400
1400
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1401
1401
|
/**
|
|
1402
1402
|
* 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.
|
|
1403
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
|
|
1404
1404
|
*/
|
|
1405
1405
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1408
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1408
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
|
|
1409
1409
|
*/
|
|
1410
1410
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1411
1411
|
/**
|
|
@@ -2152,7 +2152,7 @@ interface RuleOptions {
|
|
|
2152
2152
|
*/
|
|
2153
2153
|
'no-class-assign'?: Linter.RuleEntry<[]>
|
|
2154
2154
|
/**
|
|
2155
|
-
* Disallow comparing against
|
|
2155
|
+
* Disallow comparing against `-0`
|
|
2156
2156
|
* @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
|
|
2157
2157
|
*/
|
|
2158
2158
|
'no-compare-neg-zero'?: Linter.RuleEntry<[]>
|
|
@@ -2561,7 +2561,7 @@ interface RuleOptions {
|
|
|
2561
2561
|
*/
|
|
2562
2562
|
'no-octal-escape'?: Linter.RuleEntry<[]>
|
|
2563
2563
|
/**
|
|
2564
|
-
* Disallow reassigning
|
|
2564
|
+
* Disallow reassigning function parameters
|
|
2565
2565
|
* @see https://eslint.org/docs/latest/rules/no-param-reassign
|
|
2566
2566
|
*/
|
|
2567
2567
|
'no-param-reassign'?: Linter.RuleEntry<NoParamReassign>
|
|
@@ -2656,7 +2656,7 @@ interface RuleOptions {
|
|
|
2656
2656
|
*/
|
|
2657
2657
|
'no-return-await'?: Linter.RuleEntry<[]>
|
|
2658
2658
|
/**
|
|
2659
|
-
* Disallow `javascript:`
|
|
2659
|
+
* Disallow `javascript:` URLs
|
|
2660
2660
|
* @see https://eslint.org/docs/latest/rules/no-script-url
|
|
2661
2661
|
*/
|
|
2662
2662
|
'no-script-url'?: Linter.RuleEntry<[]>
|
|
@@ -3301,7 +3301,7 @@ interface RuleOptions {
|
|
|
3301
3301
|
*/
|
|
3302
3302
|
'prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
3303
3303
|
/**
|
|
3304
|
-
* Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
|
|
3304
|
+
* Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead
|
|
3305
3305
|
* @see https://eslint.org/docs/latest/rules/prefer-object-spread
|
|
3306
3306
|
*/
|
|
3307
3307
|
'prefer-object-spread'?: Linter.RuleEntry<[]>
|
|
@@ -3354,8 +3354,8 @@ interface RuleOptions {
|
|
|
3354
3354
|
*/
|
|
3355
3355
|
'radix'?: Linter.RuleEntry<Radix>
|
|
3356
3356
|
/**
|
|
3357
|
-
* disallow
|
|
3358
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-
|
|
3357
|
+
* disallow void elements (AKA self-closing elements) from having children
|
|
3358
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3359
3359
|
*/
|
|
3360
3360
|
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
3361
3361
|
/**
|
|
@@ -3414,10 +3414,20 @@ interface RuleOptions {
|
|
|
3414
3414
|
*/
|
|
3415
3415
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
3416
3416
|
/**
|
|
3417
|
-
*
|
|
3418
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3417
|
+
* disallow void elements (AKA self-closing elements) from having children
|
|
3418
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3419
|
+
*/
|
|
3420
|
+
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
|
|
3421
|
+
/**
|
|
3422
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
3423
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
3419
3424
|
*/
|
|
3420
3425
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
3426
|
+
/**
|
|
3427
|
+
* disallow unnecessary usage of 'useCallback'
|
|
3428
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3429
|
+
*/
|
|
3430
|
+
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
3421
3431
|
/**
|
|
3422
3432
|
* disallow unnecessary usage of 'useMemo'
|
|
3423
3433
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
@@ -3434,8 +3444,8 @@ interface RuleOptions {
|
|
|
3434
3444
|
*/
|
|
3435
3445
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
3436
3446
|
/**
|
|
3437
|
-
* enforce custom
|
|
3438
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
3447
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
3448
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
3439
3449
|
*/
|
|
3440
3450
|
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
3441
3451
|
/**
|
|
@@ -3448,6 +3458,11 @@ interface RuleOptions {
|
|
|
3448
3458
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3449
3459
|
*/
|
|
3450
3460
|
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
3461
|
+
/**
|
|
3462
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
3463
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
3464
|
+
*/
|
|
3465
|
+
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
|
|
3451
3466
|
/**
|
|
3452
3467
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
3453
3468
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -3484,6 +3499,26 @@ interface RuleOptions {
|
|
|
3484
3499
|
*/
|
|
3485
3500
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
3486
3501
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
3502
|
+
/**
|
|
3503
|
+
* enforce that every 'addEventListener' in a component or custom Hook has a corresponding 'removeEventListener'.
|
|
3504
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
|
|
3505
|
+
*/
|
|
3506
|
+
'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
|
|
3507
|
+
/**
|
|
3508
|
+
* enforce that every 'setInterval' in a component or custom Hook has a corresponding 'clearInterval'.
|
|
3509
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
3510
|
+
*/
|
|
3511
|
+
'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
|
|
3512
|
+
/**
|
|
3513
|
+
* enforce cleanup of 'ResizeObserver' instances in components and custom Hooks.
|
|
3514
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
|
|
3515
|
+
*/
|
|
3516
|
+
'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
|
|
3517
|
+
/**
|
|
3518
|
+
* enforce that every 'setTimeout' in a component or custom Hook has a corresponding 'clearTimeout'.
|
|
3519
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
3520
|
+
*/
|
|
3521
|
+
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
|
|
3487
3522
|
/**
|
|
3488
3523
|
* disallow using shorthand boolean attributes
|
|
3489
3524
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
@@ -3501,12 +3536,12 @@ interface RuleOptions {
|
|
|
3501
3536
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3502
3537
|
/**
|
|
3503
3538
|
* disallow duplicate props
|
|
3504
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3539
|
+
* @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
|
|
3505
3540
|
*/
|
|
3506
3541
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3507
3542
|
/**
|
|
3508
|
-
*
|
|
3509
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-
|
|
3543
|
+
* helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
|
|
3544
|
+
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3510
3545
|
*/
|
|
3511
3546
|
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3512
3547
|
/**
|
|
@@ -3589,6 +3624,11 @@ interface RuleOptions {
|
|
|
3589
3624
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3590
3625
|
*/
|
|
3591
3626
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
3627
|
+
/**
|
|
3628
|
+
* disallow the use of '<Context.Provider>'
|
|
3629
|
+
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3630
|
+
*/
|
|
3631
|
+
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
3592
3632
|
/**
|
|
3593
3633
|
* disallow using 'createRef' in function components
|
|
3594
3634
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
@@ -3604,11 +3644,21 @@ interface RuleOptions {
|
|
|
3604
3644
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3605
3645
|
*/
|
|
3606
3646
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
3647
|
+
/**
|
|
3648
|
+
* disallow duplicate props
|
|
3649
|
+
* @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
|
|
3650
|
+
*/
|
|
3651
|
+
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
3607
3652
|
/**
|
|
3608
3653
|
* disallow duplicate keys when rendering list
|
|
3609
3654
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3610
3655
|
*/
|
|
3611
3656
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3657
|
+
/**
|
|
3658
|
+
* disallow the use of 'forwardRef'
|
|
3659
|
+
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3660
|
+
*/
|
|
3661
|
+
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
3612
3662
|
/**
|
|
3613
3663
|
* disallow implicit 'key' props
|
|
3614
3664
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
@@ -3729,6 +3779,421 @@ interface RuleOptions {
|
|
|
3729
3779
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
3730
3780
|
*/
|
|
3731
3781
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3782
|
+
/**
|
|
3783
|
+
* helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
|
|
3784
|
+
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3785
|
+
*/
|
|
3786
|
+
'react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
3787
|
+
/**
|
|
3788
|
+
* disallow confusing quantifiers
|
|
3789
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
3790
|
+
*/
|
|
3791
|
+
'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
|
|
3792
|
+
/**
|
|
3793
|
+
* enforce consistent escaping of control characters
|
|
3794
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
|
|
3795
|
+
*/
|
|
3796
|
+
'regexp/control-character-escape'?: Linter.RuleEntry<[]>
|
|
3797
|
+
/**
|
|
3798
|
+
* enforce single grapheme in string literal
|
|
3799
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
|
|
3800
|
+
*/
|
|
3801
|
+
'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
|
|
3802
|
+
/**
|
|
3803
|
+
* enforce consistent usage of hexadecimal escape
|
|
3804
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
|
|
3805
|
+
*/
|
|
3806
|
+
'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
|
|
3807
|
+
/**
|
|
3808
|
+
* enforce into your favorite case
|
|
3809
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
|
|
3810
|
+
*/
|
|
3811
|
+
'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
|
|
3812
|
+
/**
|
|
3813
|
+
* enforce match any character style
|
|
3814
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
|
|
3815
|
+
*/
|
|
3816
|
+
'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
|
|
3817
|
+
/**
|
|
3818
|
+
* enforce use of escapes on negation
|
|
3819
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
|
|
3820
|
+
*/
|
|
3821
|
+
'regexp/negation'?: Linter.RuleEntry<[]>
|
|
3822
|
+
/**
|
|
3823
|
+
* disallow elements that contradict assertions
|
|
3824
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
|
|
3825
|
+
*/
|
|
3826
|
+
'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
|
|
3827
|
+
/**
|
|
3828
|
+
* disallow control characters
|
|
3829
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
|
|
3830
|
+
*/
|
|
3831
|
+
'regexp/no-control-character'?: Linter.RuleEntry<[]>
|
|
3832
|
+
/**
|
|
3833
|
+
* disallow duplicate characters in the RegExp character class
|
|
3834
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
|
|
3835
|
+
*/
|
|
3836
|
+
'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
|
|
3837
|
+
/**
|
|
3838
|
+
* disallow duplicate disjunctions
|
|
3839
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
|
|
3840
|
+
*/
|
|
3841
|
+
'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
|
|
3842
|
+
/**
|
|
3843
|
+
* disallow alternatives without elements
|
|
3844
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
|
|
3845
|
+
*/
|
|
3846
|
+
'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
|
|
3847
|
+
/**
|
|
3848
|
+
* disallow capturing group that captures empty.
|
|
3849
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
|
|
3850
|
+
*/
|
|
3851
|
+
'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
|
|
3852
|
+
/**
|
|
3853
|
+
* disallow character classes that match no characters
|
|
3854
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
|
|
3855
|
+
*/
|
|
3856
|
+
'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
|
|
3857
|
+
/**
|
|
3858
|
+
* disallow empty group
|
|
3859
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
|
|
3860
|
+
*/
|
|
3861
|
+
'regexp/no-empty-group'?: Linter.RuleEntry<[]>
|
|
3862
|
+
/**
|
|
3863
|
+
* disallow empty lookahead assertion or empty lookbehind assertion
|
|
3864
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
|
|
3865
|
+
*/
|
|
3866
|
+
'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
|
|
3867
|
+
/**
|
|
3868
|
+
* disallow empty string literals in character classes
|
|
3869
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
|
|
3870
|
+
*/
|
|
3871
|
+
'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
|
|
3872
|
+
/**
|
|
3873
|
+
* disallow escape backspace (`[\b]`)
|
|
3874
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
|
|
3875
|
+
*/
|
|
3876
|
+
'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
|
|
3877
|
+
/**
|
|
3878
|
+
* disallow unnecessary nested lookaround assertions
|
|
3879
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
|
|
3880
|
+
*/
|
|
3881
|
+
'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
|
|
3882
|
+
/**
|
|
3883
|
+
* disallow invalid regular expression strings in `RegExp` constructors
|
|
3884
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
|
|
3885
|
+
*/
|
|
3886
|
+
'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
|
|
3887
|
+
/**
|
|
3888
|
+
* disallow invisible raw character
|
|
3889
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
|
|
3890
|
+
*/
|
|
3891
|
+
'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
|
|
3892
|
+
/**
|
|
3893
|
+
* disallow lazy quantifiers at the end of an expression
|
|
3894
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
|
|
3895
|
+
*/
|
|
3896
|
+
'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
|
|
3897
|
+
/**
|
|
3898
|
+
* disallow legacy RegExp features
|
|
3899
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
|
|
3900
|
+
*/
|
|
3901
|
+
'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
|
|
3902
|
+
/**
|
|
3903
|
+
* disallow capturing groups that do not behave as one would expect
|
|
3904
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
|
|
3905
|
+
*/
|
|
3906
|
+
'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
|
|
3907
|
+
/**
|
|
3908
|
+
* disallow multi-code-point characters in character classes and quantifiers
|
|
3909
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
|
|
3910
|
+
*/
|
|
3911
|
+
'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
|
|
3912
|
+
/**
|
|
3913
|
+
* disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
|
|
3914
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
|
|
3915
|
+
*/
|
|
3916
|
+
'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
|
|
3917
|
+
/**
|
|
3918
|
+
* disallow non-standard flags
|
|
3919
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
|
|
3920
|
+
*/
|
|
3921
|
+
'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
|
|
3922
|
+
/**
|
|
3923
|
+
* disallow obscure character ranges
|
|
3924
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
|
|
3925
|
+
*/
|
|
3926
|
+
'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
|
|
3927
|
+
/**
|
|
3928
|
+
* disallow octal escape sequence
|
|
3929
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
|
|
3930
|
+
*/
|
|
3931
|
+
'regexp/no-octal'?: Linter.RuleEntry<[]>
|
|
3932
|
+
/**
|
|
3933
|
+
* disallow optional assertions
|
|
3934
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
|
|
3935
|
+
*/
|
|
3936
|
+
'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
|
|
3937
|
+
/**
|
|
3938
|
+
* disallow backreferences that reference a group that might not be matched
|
|
3939
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
|
|
3940
|
+
*/
|
|
3941
|
+
'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3942
|
+
/**
|
|
3943
|
+
* disallow standalone backslashes (`\`)
|
|
3944
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
|
|
3945
|
+
*/
|
|
3946
|
+
'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
|
|
3947
|
+
/**
|
|
3948
|
+
* disallow exponential and polynomial backtracking
|
|
3949
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
|
|
3950
|
+
*/
|
|
3951
|
+
'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
|
|
3952
|
+
/**
|
|
3953
|
+
* disallow quantifiers that cause quadratic moves
|
|
3954
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
|
|
3955
|
+
*/
|
|
3956
|
+
'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
|
|
3957
|
+
/**
|
|
3958
|
+
* disallow trivially nested assertions
|
|
3959
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
|
|
3960
|
+
*/
|
|
3961
|
+
'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
|
|
3962
|
+
/**
|
|
3963
|
+
* disallow nested quantifiers that can be rewritten as one quantifier
|
|
3964
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
|
|
3965
|
+
*/
|
|
3966
|
+
'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
|
|
3967
|
+
/**
|
|
3968
|
+
* disallow unused capturing group
|
|
3969
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
|
|
3970
|
+
*/
|
|
3971
|
+
'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
|
|
3972
|
+
/**
|
|
3973
|
+
* disallow assertions that are known to always accept (or reject)
|
|
3974
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
|
|
3975
|
+
*/
|
|
3976
|
+
'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
|
|
3977
|
+
/**
|
|
3978
|
+
* disallow useless backreferences in regular expressions
|
|
3979
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
|
|
3980
|
+
*/
|
|
3981
|
+
'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3982
|
+
/**
|
|
3983
|
+
* disallow character class with one character
|
|
3984
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
|
|
3985
|
+
*/
|
|
3986
|
+
'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
|
|
3987
|
+
/**
|
|
3988
|
+
* disallow useless `$` replacements in replacement string
|
|
3989
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
|
|
3990
|
+
*/
|
|
3991
|
+
'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
|
|
3992
|
+
/**
|
|
3993
|
+
* disallow unnecessary escape characters in RegExp
|
|
3994
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
|
|
3995
|
+
*/
|
|
3996
|
+
'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
|
|
3997
|
+
/**
|
|
3998
|
+
* disallow unnecessary regex flags
|
|
3999
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
|
|
4000
|
+
*/
|
|
4001
|
+
'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
|
|
4002
|
+
/**
|
|
4003
|
+
* disallow unnecessarily non-greedy quantifiers
|
|
4004
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
|
|
4005
|
+
*/
|
|
4006
|
+
'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
|
|
4007
|
+
/**
|
|
4008
|
+
* disallow unnecessary non-capturing group
|
|
4009
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
|
|
4010
|
+
*/
|
|
4011
|
+
'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
|
|
4012
|
+
/**
|
|
4013
|
+
* disallow quantifiers that can be removed
|
|
4014
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
|
|
4015
|
+
*/
|
|
4016
|
+
'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
|
|
4017
|
+
/**
|
|
4018
|
+
* disallow unnecessary character ranges
|
|
4019
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
|
|
4020
|
+
*/
|
|
4021
|
+
'regexp/no-useless-range'?: Linter.RuleEntry<[]>
|
|
4022
|
+
/**
|
|
4023
|
+
* disallow unnecessary elements in expression character classes
|
|
4024
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
|
|
4025
|
+
*/
|
|
4026
|
+
'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
|
|
4027
|
+
/**
|
|
4028
|
+
* disallow string disjunction of single characters in `\q{...}`
|
|
4029
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
|
|
4030
|
+
*/
|
|
4031
|
+
'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
|
|
4032
|
+
/**
|
|
4033
|
+
* disallow unnecessary `{n,m}` quantifier
|
|
4034
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
|
|
4035
|
+
*/
|
|
4036
|
+
'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
|
|
4037
|
+
/**
|
|
4038
|
+
* disallow quantifiers with a maximum of zero
|
|
4039
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
|
|
4040
|
+
*/
|
|
4041
|
+
'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
|
|
4042
|
+
/**
|
|
4043
|
+
* disallow the alternatives of lookarounds that end with a non-constant quantifier
|
|
4044
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
|
|
4045
|
+
*/
|
|
4046
|
+
'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
|
|
4047
|
+
/**
|
|
4048
|
+
* require optimal quantifiers for concatenated quantifiers
|
|
4049
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
|
|
4050
|
+
*/
|
|
4051
|
+
'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
|
|
4052
|
+
/**
|
|
4053
|
+
* enforce using character class
|
|
4054
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
|
|
4055
|
+
*/
|
|
4056
|
+
'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
|
|
4057
|
+
/**
|
|
4058
|
+
* enforce using `\d`
|
|
4059
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
|
|
4060
|
+
*/
|
|
4061
|
+
'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
|
|
4062
|
+
/**
|
|
4063
|
+
* enforces escape of replacement `$` character (`$$`).
|
|
4064
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
|
|
4065
|
+
*/
|
|
4066
|
+
'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
|
|
4067
|
+
/**
|
|
4068
|
+
* prefer lookarounds over capturing group that do not replace
|
|
4069
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
|
|
4070
|
+
*/
|
|
4071
|
+
'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
|
|
4072
|
+
/**
|
|
4073
|
+
* enforce using named backreferences
|
|
4074
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
|
|
4075
|
+
*/
|
|
4076
|
+
'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
|
|
4077
|
+
/**
|
|
4078
|
+
* enforce using named capture groups
|
|
4079
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
|
|
4080
|
+
*/
|
|
4081
|
+
'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
|
|
4082
|
+
/**
|
|
4083
|
+
* enforce using named replacement
|
|
4084
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
|
|
4085
|
+
*/
|
|
4086
|
+
'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
|
|
4087
|
+
/**
|
|
4088
|
+
* enforce using `+` quantifier
|
|
4089
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
|
|
4090
|
+
*/
|
|
4091
|
+
'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
|
|
4092
|
+
/**
|
|
4093
|
+
* prefer predefined assertion over equivalent lookarounds
|
|
4094
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
|
|
4095
|
+
*/
|
|
4096
|
+
'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
|
|
4097
|
+
/**
|
|
4098
|
+
* enforce using quantifier
|
|
4099
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4100
|
+
*/
|
|
4101
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
|
|
4102
|
+
/**
|
|
4103
|
+
* enforce using `?` quantifier
|
|
4104
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
4105
|
+
*/
|
|
4106
|
+
'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
|
|
4107
|
+
/**
|
|
4108
|
+
* enforce using character class range
|
|
4109
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
|
|
4110
|
+
*/
|
|
4111
|
+
'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
|
|
4112
|
+
/**
|
|
4113
|
+
* enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
|
|
4114
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
|
|
4115
|
+
*/
|
|
4116
|
+
'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
|
|
4117
|
+
/**
|
|
4118
|
+
* enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
|
|
4119
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
|
|
4120
|
+
*/
|
|
4121
|
+
'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4122
|
+
/**
|
|
4123
|
+
* enforce using result array `groups`
|
|
4124
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
|
|
4125
|
+
*/
|
|
4126
|
+
'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
|
|
4127
|
+
/**
|
|
4128
|
+
* prefer character class set operations instead of lookarounds
|
|
4129
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
|
|
4130
|
+
*/
|
|
4131
|
+
'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
|
|
4132
|
+
/**
|
|
4133
|
+
* enforce using `*` quantifier
|
|
4134
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
|
|
4135
|
+
*/
|
|
4136
|
+
'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
|
|
4137
|
+
/**
|
|
4138
|
+
* enforce use of unicode codepoint escapes
|
|
4139
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
|
|
4140
|
+
*/
|
|
4141
|
+
'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
|
|
4142
|
+
/**
|
|
4143
|
+
* enforce using `\w`
|
|
4144
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
|
|
4145
|
+
*/
|
|
4146
|
+
'regexp/prefer-w'?: Linter.RuleEntry<[]>
|
|
4147
|
+
/**
|
|
4148
|
+
* enforce the use of the `u` flag
|
|
4149
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
|
|
4150
|
+
*/
|
|
4151
|
+
'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
|
|
4152
|
+
/**
|
|
4153
|
+
* enforce the use of the `v` flag
|
|
4154
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
|
|
4155
|
+
*/
|
|
4156
|
+
'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
|
|
4157
|
+
/**
|
|
4158
|
+
* require simplify set operations
|
|
4159
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
|
|
4160
|
+
*/
|
|
4161
|
+
'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
|
|
4162
|
+
/**
|
|
4163
|
+
* sort alternatives if order doesn't matter
|
|
4164
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
|
|
4165
|
+
*/
|
|
4166
|
+
'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
|
|
4167
|
+
/**
|
|
4168
|
+
* enforces elements order in character class
|
|
4169
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
|
|
4170
|
+
*/
|
|
4171
|
+
'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
|
|
4172
|
+
/**
|
|
4173
|
+
* require regex flags to be sorted
|
|
4174
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
|
|
4175
|
+
*/
|
|
4176
|
+
'regexp/sort-flags'?: Linter.RuleEntry<[]>
|
|
4177
|
+
/**
|
|
4178
|
+
* disallow not strictly valid regular expressions
|
|
4179
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
|
|
4180
|
+
*/
|
|
4181
|
+
'regexp/strict'?: Linter.RuleEntry<[]>
|
|
4182
|
+
/**
|
|
4183
|
+
* enforce consistent usage of unicode escape or unicode codepoint escape
|
|
4184
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
|
|
4185
|
+
*/
|
|
4186
|
+
'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
|
|
4187
|
+
/**
|
|
4188
|
+
* enforce consistent naming of unicode properties
|
|
4189
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
|
|
4190
|
+
*/
|
|
4191
|
+
'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
|
|
4192
|
+
/**
|
|
4193
|
+
* use the `i` flag if it simplifies the pattern
|
|
4194
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
4195
|
+
*/
|
|
4196
|
+
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
3732
4197
|
/**
|
|
3733
4198
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
3734
4199
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3740,7 +4205,7 @@ interface RuleOptions {
|
|
|
3740
4205
|
*/
|
|
3741
4206
|
'require-await'?: Linter.RuleEntry<[]>
|
|
3742
4207
|
/**
|
|
3743
|
-
* Enforce the use of `u` or `v` flag on
|
|
4208
|
+
* Enforce the use of `u` or `v` flag on regular expressions
|
|
3744
4209
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3745
4210
|
*/
|
|
3746
4211
|
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
@@ -3774,7 +4239,7 @@ interface RuleOptions {
|
|
|
3774
4239
|
*/
|
|
3775
4240
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3776
4241
|
/**
|
|
3777
|
-
* Enforce sorted import declarations within modules
|
|
4242
|
+
* Enforce sorted `import` declarations within modules
|
|
3778
4243
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
3779
4244
|
*/
|
|
3780
4245
|
'sort-imports'?: Linter.RuleEntry<SortImports>
|
|
@@ -4535,7 +5000,7 @@ interface RuleOptions {
|
|
|
4535
5000
|
*/
|
|
4536
5001
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
4537
5002
|
/**
|
|
4538
|
-
* Enforce padding around
|
|
5003
|
+
* Enforce padding around `test` blocks
|
|
4539
5004
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4540
5005
|
*/
|
|
4541
5006
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
@@ -4640,7 +5105,7 @@ interface RuleOptions {
|
|
|
4640
5105
|
*/
|
|
4641
5106
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
4642
5107
|
/**
|
|
4643
|
-
*
|
|
5108
|
+
* require `vi.mocked()` over `fn as Mock`
|
|
4644
5109
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
4645
5110
|
*/
|
|
4646
5111
|
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
@@ -4675,7 +5140,7 @@ interface RuleOptions {
|
|
|
4675
5140
|
*/
|
|
4676
5141
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4677
5142
|
/**
|
|
4678
|
-
*
|
|
5143
|
+
* require promises that have expectations in their chain to be valid
|
|
4679
5144
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
4680
5145
|
*/
|
|
4681
5146
|
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
@@ -5260,7 +5725,7 @@ interface RuleOptions {
|
|
|
5260
5725
|
*/
|
|
5261
5726
|
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
5262
5727
|
/**
|
|
5263
|
-
* Enforce non-null assertions over explicit type
|
|
5728
|
+
* Enforce non-null assertions over explicit type assertions
|
|
5264
5729
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
5265
5730
|
*/
|
|
5266
5731
|
'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
@@ -5345,7 +5810,7 @@ interface RuleOptions {
|
|
|
5345
5810
|
*/
|
|
5346
5811
|
'ts/prefer-readonly-parameter-types'?: Linter.RuleEntry<TsPreferReadonlyParameterTypes>
|
|
5347
5812
|
/**
|
|
5348
|
-
* Enforce using type parameter when calling `Array#reduce` instead of
|
|
5813
|
+
* Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
|
|
5349
5814
|
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
5350
5815
|
*/
|
|
5351
5816
|
'ts/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
|
|
@@ -6646,7 +7111,7 @@ interface RuleOptions {
|
|
|
6646
7111
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
6647
7112
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
6648
7113
|
*/
|
|
6649
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
7114
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
6650
7115
|
/**
|
|
6651
7116
|
* disallow duplication of attributes
|
|
6652
7117
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -7091,7 +7556,7 @@ interface RuleOptions {
|
|
|
7091
7556
|
*/
|
|
7092
7557
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
7093
7558
|
/**
|
|
7094
|
-
* require using `useTemplateRef` instead of `ref` for template refs
|
|
7559
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
7095
7560
|
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
7096
7561
|
*/
|
|
7097
7562
|
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
@@ -7205,6 +7670,11 @@ interface RuleOptions {
|
|
|
7205
7670
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
7206
7671
|
*/
|
|
7207
7672
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
7673
|
+
/**
|
|
7674
|
+
* enforce using only specific component names
|
|
7675
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
7676
|
+
*/
|
|
7677
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
7208
7678
|
/**
|
|
7209
7679
|
* enforce that a return statement is present in computed property
|
|
7210
7680
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -7231,6 +7701,11 @@ interface RuleOptions {
|
|
|
7231
7701
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
7232
7702
|
*/
|
|
7233
7703
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
7704
|
+
/**
|
|
7705
|
+
* enforce specific casing for slot names
|
|
7706
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
7707
|
+
*/
|
|
7708
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
7234
7709
|
/**
|
|
7235
7710
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
7236
7711
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -8305,6 +8780,7 @@ type JsdocInformativeDocs = []|[{
|
|
|
8305
8780
|
}]
|
|
8306
8781
|
// ----- jsdoc/lines-before-block -----
|
|
8307
8782
|
type JsdocLinesBeforeBlock = []|[{
|
|
8783
|
+
checkBlockStarts?: boolean
|
|
8308
8784
|
excludedTags?: string[]
|
|
8309
8785
|
ignoreSameLine?: boolean
|
|
8310
8786
|
lines?: number
|
|
@@ -9866,6 +10342,9 @@ type NodeNoExtraneousImport = []|[{
|
|
|
9866
10342
|
replace: [string, string]
|
|
9867
10343
|
})[]])
|
|
9868
10344
|
resolvePaths?: string[]
|
|
10345
|
+
resolverConfig?: {
|
|
10346
|
+
[k: string]: unknown | undefined
|
|
10347
|
+
}
|
|
9869
10348
|
}]
|
|
9870
10349
|
// ----- node/no-extraneous-require -----
|
|
9871
10350
|
type NodeNoExtraneousRequire = []|[{
|
|
@@ -9887,6 +10366,9 @@ type NodeNoExtraneousRequire = []|[{
|
|
|
9887
10366
|
replace: [string, string]
|
|
9888
10367
|
})[]])
|
|
9889
10368
|
resolvePaths?: string[]
|
|
10369
|
+
resolverConfig?: {
|
|
10370
|
+
[k: string]: unknown | undefined
|
|
10371
|
+
}
|
|
9890
10372
|
tryExtensions?: string[]
|
|
9891
10373
|
}]
|
|
9892
10374
|
// ----- node/no-hide-core-modules -----
|
|
@@ -9899,6 +10381,9 @@ type NodeNoHideCoreModules = []|[{
|
|
|
9899
10381
|
type NodeNoMissingImport = []|[{
|
|
9900
10382
|
allowModules?: string[]
|
|
9901
10383
|
resolvePaths?: string[]
|
|
10384
|
+
resolverConfig?: {
|
|
10385
|
+
[k: string]: unknown | undefined
|
|
10386
|
+
}
|
|
9902
10387
|
tryExtensions?: string[]
|
|
9903
10388
|
ignoreTypeImport?: boolean
|
|
9904
10389
|
tsconfigPath?: string
|
|
@@ -9909,6 +10394,9 @@ type NodeNoMissingRequire = []|[{
|
|
|
9909
10394
|
allowModules?: string[]
|
|
9910
10395
|
tryExtensions?: string[]
|
|
9911
10396
|
resolvePaths?: string[]
|
|
10397
|
+
resolverConfig?: {
|
|
10398
|
+
[k: string]: unknown | undefined
|
|
10399
|
+
}
|
|
9912
10400
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
9913
10401
|
tsconfigPath?: string
|
|
9914
10402
|
}]
|
|
@@ -9976,6 +10464,9 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9976
10464
|
replace: [string, string]
|
|
9977
10465
|
})[]])
|
|
9978
10466
|
resolvePaths?: string[]
|
|
10467
|
+
resolverConfig?: {
|
|
10468
|
+
[k: string]: unknown | undefined
|
|
10469
|
+
}
|
|
9979
10470
|
ignoreTypeImport?: boolean
|
|
9980
10471
|
ignorePrivate?: boolean
|
|
9981
10472
|
}]
|
|
@@ -9999,6 +10490,9 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9999
10490
|
replace: [string, string]
|
|
10000
10491
|
})[]])
|
|
10001
10492
|
resolvePaths?: string[]
|
|
10493
|
+
resolverConfig?: {
|
|
10494
|
+
[k: string]: unknown | undefined
|
|
10495
|
+
}
|
|
10002
10496
|
tryExtensions?: string[]
|
|
10003
10497
|
ignorePrivate?: boolean
|
|
10004
10498
|
}]
|
|
@@ -10016,7 +10510,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10016
10510
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10017
10511
|
version?: string
|
|
10018
10512
|
allowExperimental?: boolean
|
|
10019
|
-
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.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" | "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")[]
|
|
10513
|
+
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")[]
|
|
10020
10514
|
}]
|
|
10021
10515
|
// ----- node/prefer-global/buffer -----
|
|
10022
10516
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10157,27 +10651,80 @@ type PaddingLineBetweenStatements = {
|
|
|
10157
10651
|
next: _PaddingLineBetweenStatementsStatementType
|
|
10158
10652
|
}[]
|
|
10159
10653
|
// ----- perfectionist/sort-array-includes -----
|
|
10160
|
-
type PerfectionistSortArrayIncludes =
|
|
10654
|
+
type PerfectionistSortArrayIncludes = {
|
|
10161
10655
|
|
|
10162
|
-
partitionByComment?: (string[] | boolean | string
|
|
10656
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10657
|
+
block?: (string[] | boolean | string)
|
|
10658
|
+
line?: (string[] | boolean | string)
|
|
10659
|
+
[k: string]: unknown | undefined
|
|
10660
|
+
})
|
|
10163
10661
|
|
|
10164
10662
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10165
10663
|
|
|
10664
|
+
customGroups?: ({
|
|
10665
|
+
|
|
10666
|
+
groupName?: string
|
|
10667
|
+
|
|
10668
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10669
|
+
|
|
10670
|
+
order?: ("desc" | "asc")
|
|
10671
|
+
|
|
10672
|
+
newlinesInside?: ("always" | "never")
|
|
10673
|
+
anyOf?: {
|
|
10674
|
+
|
|
10675
|
+
selector?: ("literal" | "spread")
|
|
10676
|
+
|
|
10677
|
+
elementNamePattern?: string
|
|
10678
|
+
}[]
|
|
10679
|
+
} | {
|
|
10680
|
+
|
|
10681
|
+
groupName?: string
|
|
10682
|
+
|
|
10683
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10684
|
+
|
|
10685
|
+
order?: ("desc" | "asc")
|
|
10686
|
+
|
|
10687
|
+
newlinesInside?: ("always" | "never")
|
|
10688
|
+
|
|
10689
|
+
selector?: ("literal" | "spread")
|
|
10690
|
+
|
|
10691
|
+
elementNamePattern?: string
|
|
10692
|
+
})[]
|
|
10693
|
+
useConfigurationIf?: {
|
|
10694
|
+
allNamesMatchPattern?: string
|
|
10695
|
+
}
|
|
10696
|
+
|
|
10697
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10698
|
+
|
|
10166
10699
|
partitionByNewLine?: boolean
|
|
10167
10700
|
|
|
10168
10701
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10169
10702
|
|
|
10170
10703
|
ignoreCase?: boolean
|
|
10171
10704
|
|
|
10705
|
+
alphabet?: string
|
|
10706
|
+
|
|
10172
10707
|
locales?: (string | string[])
|
|
10173
10708
|
|
|
10174
|
-
|
|
10709
|
+
groups?: (string | string[] | {
|
|
10710
|
+
|
|
10711
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10712
|
+
[k: string]: unknown | undefined
|
|
10713
|
+
})[]
|
|
10175
10714
|
|
|
10176
|
-
|
|
10177
|
-
}]
|
|
10715
|
+
order?: ("asc" | "desc")
|
|
10716
|
+
}[]
|
|
10178
10717
|
// ----- perfectionist/sort-classes -----
|
|
10179
10718
|
type PerfectionistSortClasses = []|[{
|
|
10180
10719
|
|
|
10720
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
10721
|
+
|
|
10722
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10723
|
+
block?: (string[] | boolean | string)
|
|
10724
|
+
line?: (string[] | boolean | string)
|
|
10725
|
+
[k: string]: unknown | undefined
|
|
10726
|
+
})
|
|
10727
|
+
|
|
10181
10728
|
customGroups?: ({
|
|
10182
10729
|
|
|
10183
10730
|
groupName?: string
|
|
@@ -10185,14 +10732,16 @@ type PerfectionistSortClasses = []|[{
|
|
|
10185
10732
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10186
10733
|
|
|
10187
10734
|
order?: ("desc" | "asc")
|
|
10735
|
+
|
|
10736
|
+
newlinesInside?: ("always" | "never")
|
|
10188
10737
|
anyOf?: {
|
|
10189
10738
|
|
|
10190
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10191
|
-
|
|
10192
10739
|
elementValuePattern?: string
|
|
10193
10740
|
|
|
10194
10741
|
decoratorNamePattern?: string
|
|
10195
10742
|
|
|
10743
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10744
|
+
|
|
10196
10745
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10197
10746
|
|
|
10198
10747
|
elementNamePattern?: string
|
|
@@ -10205,21 +10754,19 @@ type PerfectionistSortClasses = []|[{
|
|
|
10205
10754
|
|
|
10206
10755
|
order?: ("desc" | "asc")
|
|
10207
10756
|
|
|
10208
|
-
|
|
10757
|
+
newlinesInside?: ("always" | "never")
|
|
10209
10758
|
|
|
10210
10759
|
elementValuePattern?: string
|
|
10211
10760
|
|
|
10212
10761
|
decoratorNamePattern?: string
|
|
10213
10762
|
|
|
10763
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10764
|
+
|
|
10214
10765
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10215
10766
|
|
|
10216
10767
|
elementNamePattern?: string
|
|
10217
10768
|
})[]
|
|
10218
10769
|
|
|
10219
|
-
ignoreCallbackDependenciesPatterns?: string[]
|
|
10220
|
-
|
|
10221
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10222
|
-
|
|
10223
10770
|
partitionByNewLine?: boolean
|
|
10224
10771
|
|
|
10225
10772
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10228,18 +10775,28 @@ type PerfectionistSortClasses = []|[{
|
|
|
10228
10775
|
|
|
10229
10776
|
ignoreCase?: boolean
|
|
10230
10777
|
|
|
10778
|
+
alphabet?: string
|
|
10779
|
+
|
|
10780
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10781
|
+
|
|
10231
10782
|
locales?: (string | string[])
|
|
10232
10783
|
|
|
10233
|
-
groups?: (string | string[]
|
|
10784
|
+
groups?: (string | string[] | {
|
|
10785
|
+
|
|
10786
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10787
|
+
[k: string]: unknown | undefined
|
|
10788
|
+
})[]
|
|
10234
10789
|
|
|
10235
10790
|
order?: ("asc" | "desc")
|
|
10236
|
-
|
|
10237
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10238
10791
|
}]
|
|
10239
10792
|
// ----- perfectionist/sort-decorators -----
|
|
10240
10793
|
type PerfectionistSortDecorators = []|[{
|
|
10241
10794
|
|
|
10242
|
-
partitionByComment?: (string[] | boolean | string
|
|
10795
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10796
|
+
block?: (string[] | boolean | string)
|
|
10797
|
+
line?: (string[] | boolean | string)
|
|
10798
|
+
[k: string]: unknown | undefined
|
|
10799
|
+
})
|
|
10243
10800
|
|
|
10244
10801
|
sortOnParameters?: boolean
|
|
10245
10802
|
|
|
@@ -10259,18 +10816,28 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10259
10816
|
|
|
10260
10817
|
ignoreCase?: boolean
|
|
10261
10818
|
|
|
10819
|
+
alphabet?: string
|
|
10820
|
+
|
|
10821
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10822
|
+
|
|
10262
10823
|
locales?: (string | string[])
|
|
10263
10824
|
|
|
10264
|
-
groups?: (string | string[]
|
|
10825
|
+
groups?: (string | string[] | {
|
|
10826
|
+
|
|
10827
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10828
|
+
[k: string]: unknown | undefined
|
|
10829
|
+
})[]
|
|
10265
10830
|
|
|
10266
10831
|
order?: ("asc" | "desc")
|
|
10267
|
-
|
|
10268
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10269
10832
|
}]
|
|
10270
10833
|
// ----- perfectionist/sort-enums -----
|
|
10271
10834
|
type PerfectionistSortEnums = []|[{
|
|
10272
10835
|
|
|
10273
|
-
partitionByComment?: (string[] | boolean | string
|
|
10836
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10837
|
+
block?: (string[] | boolean | string)
|
|
10838
|
+
line?: (string[] | boolean | string)
|
|
10839
|
+
[k: string]: unknown | undefined
|
|
10840
|
+
})
|
|
10274
10841
|
|
|
10275
10842
|
forceNumericSort?: boolean
|
|
10276
10843
|
|
|
@@ -10282,16 +10849,22 @@ type PerfectionistSortEnums = []|[{
|
|
|
10282
10849
|
|
|
10283
10850
|
ignoreCase?: boolean
|
|
10284
10851
|
|
|
10852
|
+
alphabet?: string
|
|
10853
|
+
|
|
10854
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10855
|
+
|
|
10285
10856
|
locales?: (string | string[])
|
|
10286
10857
|
|
|
10287
10858
|
order?: ("asc" | "desc")
|
|
10288
|
-
|
|
10289
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10290
10859
|
}]
|
|
10291
10860
|
// ----- perfectionist/sort-exports -----
|
|
10292
10861
|
type PerfectionistSortExports = []|[{
|
|
10293
10862
|
|
|
10294
|
-
partitionByComment?: (string[] | boolean | string
|
|
10863
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10864
|
+
block?: (string[] | boolean | string)
|
|
10865
|
+
line?: (string[] | boolean | string)
|
|
10866
|
+
[k: string]: unknown | undefined
|
|
10867
|
+
})
|
|
10295
10868
|
|
|
10296
10869
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10297
10870
|
|
|
@@ -10301,11 +10874,13 @@ type PerfectionistSortExports = []|[{
|
|
|
10301
10874
|
|
|
10302
10875
|
ignoreCase?: boolean
|
|
10303
10876
|
|
|
10877
|
+
alphabet?: string
|
|
10878
|
+
|
|
10879
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10880
|
+
|
|
10304
10881
|
locales?: (string | string[])
|
|
10305
10882
|
|
|
10306
10883
|
order?: ("asc" | "desc")
|
|
10307
|
-
|
|
10308
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10309
10884
|
}]
|
|
10310
10885
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10311
10886
|
type PerfectionistSortHeritageClauses = []|[{
|
|
@@ -10318,13 +10893,19 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10318
10893
|
|
|
10319
10894
|
ignoreCase?: boolean
|
|
10320
10895
|
|
|
10896
|
+
alphabet?: string
|
|
10897
|
+
|
|
10898
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10899
|
+
|
|
10321
10900
|
locales?: (string | string[])
|
|
10322
10901
|
|
|
10323
|
-
groups?: (string | string[]
|
|
10902
|
+
groups?: (string | string[] | {
|
|
10903
|
+
|
|
10904
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10905
|
+
[k: string]: unknown | undefined
|
|
10906
|
+
})[]
|
|
10324
10907
|
|
|
10325
10908
|
order?: ("asc" | "desc")
|
|
10326
|
-
|
|
10327
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10328
10909
|
}]
|
|
10329
10910
|
// ----- perfectionist/sort-imports -----
|
|
10330
10911
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
@@ -10341,7 +10922,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10341
10922
|
}
|
|
10342
10923
|
}
|
|
10343
10924
|
|
|
10344
|
-
partitionByComment?: (string[] | boolean | string
|
|
10925
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10926
|
+
block?: (string[] | boolean | string)
|
|
10927
|
+
line?: (string[] | boolean | string)
|
|
10928
|
+
[k: string]: unknown | undefined
|
|
10929
|
+
})
|
|
10345
10930
|
|
|
10346
10931
|
internalPattern?: string[]
|
|
10347
10932
|
|
|
@@ -10361,13 +10946,19 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10361
10946
|
|
|
10362
10947
|
ignoreCase?: boolean
|
|
10363
10948
|
|
|
10949
|
+
alphabet?: string
|
|
10950
|
+
|
|
10951
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10952
|
+
|
|
10364
10953
|
locales?: (string | string[])
|
|
10365
10954
|
|
|
10366
|
-
groups?: (string | string[]
|
|
10955
|
+
groups?: (string | string[] | {
|
|
10956
|
+
|
|
10957
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10958
|
+
[k: string]: unknown | undefined
|
|
10959
|
+
})[]
|
|
10367
10960
|
|
|
10368
10961
|
order?: ("asc" | "desc")
|
|
10369
|
-
|
|
10370
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10371
10962
|
})
|
|
10372
10963
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10373
10964
|
[k: string]: unknown | undefined
|
|
@@ -10377,13 +10968,58 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10377
10968
|
[k: string]: unknown | undefined
|
|
10378
10969
|
}
|
|
10379
10970
|
// ----- perfectionist/sort-interfaces -----
|
|
10380
|
-
type PerfectionistSortInterfaces =
|
|
10971
|
+
type PerfectionistSortInterfaces = {
|
|
10381
10972
|
|
|
10382
10973
|
ignorePattern?: string[]
|
|
10974
|
+
useConfigurationIf?: {
|
|
10975
|
+
allNamesMatchPattern?: string
|
|
10976
|
+
declarationMatchesPattern?: string
|
|
10977
|
+
}
|
|
10383
10978
|
|
|
10384
|
-
partitionByComment?: (string[] | boolean | string
|
|
10979
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10980
|
+
block?: (string[] | boolean | string)
|
|
10981
|
+
line?: (string[] | boolean | string)
|
|
10982
|
+
[k: string]: unknown | undefined
|
|
10983
|
+
})
|
|
10984
|
+
customGroups?: ({
|
|
10985
|
+
[k: string]: (string | string[]) | undefined
|
|
10986
|
+
} | ({
|
|
10987
|
+
|
|
10988
|
+
groupName?: string
|
|
10989
|
+
|
|
10990
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10991
|
+
|
|
10992
|
+
order?: ("desc" | "asc")
|
|
10993
|
+
|
|
10994
|
+
newlinesInside?: ("always" | "never")
|
|
10995
|
+
anyOf?: {
|
|
10996
|
+
|
|
10997
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10998
|
+
|
|
10999
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11000
|
+
|
|
11001
|
+
elementNamePattern?: string
|
|
11002
|
+
}[]
|
|
11003
|
+
} | {
|
|
11004
|
+
|
|
11005
|
+
groupName?: string
|
|
11006
|
+
|
|
11007
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11008
|
+
|
|
11009
|
+
order?: ("desc" | "asc")
|
|
11010
|
+
|
|
11011
|
+
newlinesInside?: ("always" | "never")
|
|
11012
|
+
|
|
11013
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11014
|
+
|
|
11015
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11016
|
+
|
|
11017
|
+
elementNamePattern?: string
|
|
11018
|
+
})[])
|
|
11019
|
+
|
|
11020
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10385
11021
|
|
|
10386
|
-
|
|
11022
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10387
11023
|
|
|
10388
11024
|
partitionByNewLine?: boolean
|
|
10389
11025
|
|
|
@@ -10391,24 +11027,28 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
10391
11027
|
|
|
10392
11028
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10393
11029
|
|
|
10394
|
-
customGroups?: {
|
|
10395
|
-
[k: string]: (string | string[]) | undefined
|
|
10396
|
-
}
|
|
10397
|
-
|
|
10398
11030
|
ignoreCase?: boolean
|
|
10399
11031
|
|
|
11032
|
+
alphabet?: string
|
|
11033
|
+
|
|
10400
11034
|
locales?: (string | string[])
|
|
10401
11035
|
|
|
10402
|
-
groups?: (string | string[]
|
|
11036
|
+
groups?: (string | string[] | {
|
|
11037
|
+
|
|
11038
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11039
|
+
[k: string]: unknown | undefined
|
|
11040
|
+
})[]
|
|
10403
11041
|
|
|
10404
11042
|
order?: ("asc" | "desc")
|
|
10405
|
-
|
|
10406
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10407
|
-
}]
|
|
11043
|
+
}[]
|
|
10408
11044
|
// ----- perfectionist/sort-intersection-types -----
|
|
10409
11045
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10410
11046
|
|
|
10411
|
-
partitionByComment?: (string[] | boolean | string
|
|
11047
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11048
|
+
block?: (string[] | boolean | string)
|
|
11049
|
+
line?: (string[] | boolean | string)
|
|
11050
|
+
[k: string]: unknown | undefined
|
|
11051
|
+
})
|
|
10412
11052
|
|
|
10413
11053
|
partitionByNewLine?: boolean
|
|
10414
11054
|
|
|
@@ -10418,13 +11058,19 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10418
11058
|
|
|
10419
11059
|
ignoreCase?: boolean
|
|
10420
11060
|
|
|
11061
|
+
alphabet?: string
|
|
11062
|
+
|
|
11063
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11064
|
+
|
|
10421
11065
|
locales?: (string | string[])
|
|
10422
11066
|
|
|
10423
|
-
groups?: (string | string[]
|
|
11067
|
+
groups?: (string | string[] | {
|
|
11068
|
+
|
|
11069
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11070
|
+
[k: string]: unknown | undefined
|
|
11071
|
+
})[]
|
|
10424
11072
|
|
|
10425
11073
|
order?: ("asc" | "desc")
|
|
10426
|
-
|
|
10427
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10428
11074
|
}]
|
|
10429
11075
|
// ----- perfectionist/sort-jsx-props -----
|
|
10430
11076
|
type PerfectionistSortJsxProps = []|[{
|
|
@@ -10439,18 +11085,28 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10439
11085
|
|
|
10440
11086
|
ignoreCase?: boolean
|
|
10441
11087
|
|
|
11088
|
+
alphabet?: string
|
|
11089
|
+
|
|
11090
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11091
|
+
|
|
10442
11092
|
locales?: (string | string[])
|
|
10443
11093
|
|
|
10444
|
-
groups?: (string | string[]
|
|
11094
|
+
groups?: (string | string[] | {
|
|
11095
|
+
|
|
11096
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11097
|
+
[k: string]: unknown | undefined
|
|
11098
|
+
})[]
|
|
10445
11099
|
|
|
10446
11100
|
order?: ("asc" | "desc")
|
|
10447
|
-
|
|
10448
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10449
11101
|
}]
|
|
10450
11102
|
// ----- perfectionist/sort-maps -----
|
|
10451
11103
|
type PerfectionistSortMaps = []|[{
|
|
10452
11104
|
|
|
10453
|
-
partitionByComment?: (string[] | boolean | string
|
|
11105
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11106
|
+
block?: (string[] | boolean | string)
|
|
11107
|
+
line?: (string[] | boolean | string)
|
|
11108
|
+
[k: string]: unknown | undefined
|
|
11109
|
+
})
|
|
10454
11110
|
|
|
10455
11111
|
partitionByNewLine?: boolean
|
|
10456
11112
|
|
|
@@ -10458,15 +11114,23 @@ type PerfectionistSortMaps = []|[{
|
|
|
10458
11114
|
|
|
10459
11115
|
ignoreCase?: boolean
|
|
10460
11116
|
|
|
11117
|
+
alphabet?: string
|
|
11118
|
+
|
|
11119
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11120
|
+
|
|
10461
11121
|
locales?: (string | string[])
|
|
10462
11122
|
|
|
10463
11123
|
order?: ("asc" | "desc")
|
|
10464
|
-
|
|
10465
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10466
11124
|
}]
|
|
10467
11125
|
// ----- perfectionist/sort-modules -----
|
|
10468
11126
|
type PerfectionistSortModules = []|[{
|
|
10469
11127
|
|
|
11128
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11129
|
+
block?: (string[] | boolean | string)
|
|
11130
|
+
line?: (string[] | boolean | string)
|
|
11131
|
+
[k: string]: unknown | undefined
|
|
11132
|
+
})
|
|
11133
|
+
|
|
10470
11134
|
customGroups?: ({
|
|
10471
11135
|
|
|
10472
11136
|
groupName?: string
|
|
@@ -10474,14 +11138,14 @@ type PerfectionistSortModules = []|[{
|
|
|
10474
11138
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10475
11139
|
|
|
10476
11140
|
order?: ("desc" | "asc")
|
|
11141
|
+
|
|
11142
|
+
newlinesInside?: ("always" | "never")
|
|
10477
11143
|
anyOf?: {
|
|
10478
11144
|
|
|
10479
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10480
|
-
|
|
10481
|
-
elementValuePattern?: string
|
|
10482
|
-
|
|
10483
11145
|
decoratorNamePattern?: string
|
|
10484
11146
|
|
|
11147
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11148
|
+
|
|
10485
11149
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10486
11150
|
|
|
10487
11151
|
elementNamePattern?: string
|
|
@@ -10494,19 +11158,17 @@ type PerfectionistSortModules = []|[{
|
|
|
10494
11158
|
|
|
10495
11159
|
order?: ("desc" | "asc")
|
|
10496
11160
|
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
elementValuePattern?: string
|
|
11161
|
+
newlinesInside?: ("always" | "never")
|
|
10500
11162
|
|
|
10501
11163
|
decoratorNamePattern?: string
|
|
10502
11164
|
|
|
11165
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11166
|
+
|
|
10503
11167
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10504
11168
|
|
|
10505
11169
|
elementNamePattern?: string
|
|
10506
11170
|
})[]
|
|
10507
11171
|
|
|
10508
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10509
|
-
|
|
10510
11172
|
partitionByNewLine?: boolean
|
|
10511
11173
|
|
|
10512
11174
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10515,18 +11177,28 @@ type PerfectionistSortModules = []|[{
|
|
|
10515
11177
|
|
|
10516
11178
|
ignoreCase?: boolean
|
|
10517
11179
|
|
|
11180
|
+
alphabet?: string
|
|
11181
|
+
|
|
11182
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11183
|
+
|
|
10518
11184
|
locales?: (string | string[])
|
|
10519
11185
|
|
|
10520
|
-
groups?: (string | string[]
|
|
11186
|
+
groups?: (string | string[] | {
|
|
11187
|
+
|
|
11188
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11189
|
+
[k: string]: unknown | undefined
|
|
11190
|
+
})[]
|
|
10521
11191
|
|
|
10522
11192
|
order?: ("asc" | "desc")
|
|
10523
|
-
|
|
10524
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10525
11193
|
}]
|
|
10526
11194
|
// ----- perfectionist/sort-named-exports -----
|
|
10527
11195
|
type PerfectionistSortNamedExports = []|[{
|
|
10528
11196
|
|
|
10529
|
-
partitionByComment?: (string[] | boolean | string
|
|
11197
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11198
|
+
block?: (string[] | boolean | string)
|
|
11199
|
+
line?: (string[] | boolean | string)
|
|
11200
|
+
[k: string]: unknown | undefined
|
|
11201
|
+
})
|
|
10530
11202
|
|
|
10531
11203
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10532
11204
|
|
|
@@ -10536,16 +11208,22 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10536
11208
|
|
|
10537
11209
|
ignoreCase?: boolean
|
|
10538
11210
|
|
|
11211
|
+
alphabet?: string
|
|
11212
|
+
|
|
11213
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11214
|
+
|
|
10539
11215
|
locales?: (string | string[])
|
|
10540
11216
|
|
|
10541
11217
|
order?: ("asc" | "desc")
|
|
10542
|
-
|
|
10543
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10544
11218
|
}]
|
|
10545
11219
|
// ----- perfectionist/sort-named-imports -----
|
|
10546
11220
|
type PerfectionistSortNamedImports = []|[{
|
|
10547
11221
|
|
|
10548
|
-
partitionByComment?: (string[] | boolean | string
|
|
11222
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11223
|
+
block?: (string[] | boolean | string)
|
|
11224
|
+
line?: (string[] | boolean | string)
|
|
11225
|
+
[k: string]: unknown | undefined
|
|
11226
|
+
})
|
|
10549
11227
|
|
|
10550
11228
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10551
11229
|
|
|
@@ -10557,50 +11235,116 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10557
11235
|
|
|
10558
11236
|
ignoreCase?: boolean
|
|
10559
11237
|
|
|
11238
|
+
alphabet?: string
|
|
11239
|
+
|
|
11240
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11241
|
+
|
|
10560
11242
|
locales?: (string | string[])
|
|
10561
11243
|
|
|
10562
11244
|
order?: ("asc" | "desc")
|
|
10563
|
-
|
|
10564
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10565
11245
|
}]
|
|
10566
11246
|
// ----- perfectionist/sort-object-types -----
|
|
10567
|
-
type PerfectionistSortObjectTypes =
|
|
11247
|
+
type PerfectionistSortObjectTypes = {
|
|
10568
11248
|
|
|
10569
|
-
|
|
11249
|
+
ignorePattern?: string[]
|
|
11250
|
+
useConfigurationIf?: {
|
|
11251
|
+
allNamesMatchPattern?: string
|
|
11252
|
+
declarationMatchesPattern?: string
|
|
11253
|
+
}
|
|
11254
|
+
|
|
11255
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11256
|
+
block?: (string[] | boolean | string)
|
|
11257
|
+
line?: (string[] | boolean | string)
|
|
11258
|
+
[k: string]: unknown | undefined
|
|
11259
|
+
})
|
|
11260
|
+
customGroups?: ({
|
|
11261
|
+
[k: string]: (string | string[]) | undefined
|
|
11262
|
+
} | ({
|
|
11263
|
+
|
|
11264
|
+
groupName?: string
|
|
11265
|
+
|
|
11266
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11267
|
+
|
|
11268
|
+
order?: ("desc" | "asc")
|
|
11269
|
+
|
|
11270
|
+
newlinesInside?: ("always" | "never")
|
|
11271
|
+
anyOf?: {
|
|
11272
|
+
|
|
11273
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11274
|
+
|
|
11275
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11276
|
+
|
|
11277
|
+
elementNamePattern?: string
|
|
11278
|
+
}[]
|
|
11279
|
+
} | {
|
|
11280
|
+
|
|
11281
|
+
groupName?: string
|
|
11282
|
+
|
|
11283
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11284
|
+
|
|
11285
|
+
order?: ("desc" | "asc")
|
|
11286
|
+
|
|
11287
|
+
newlinesInside?: ("always" | "never")
|
|
11288
|
+
|
|
11289
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11290
|
+
|
|
11291
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11292
|
+
|
|
11293
|
+
elementNamePattern?: string
|
|
11294
|
+
})[])
|
|
10570
11295
|
|
|
10571
11296
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10572
11297
|
|
|
11298
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11299
|
+
|
|
10573
11300
|
partitionByNewLine?: boolean
|
|
10574
11301
|
|
|
10575
11302
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10576
11303
|
|
|
10577
11304
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10578
11305
|
|
|
10579
|
-
customGroups?: {
|
|
10580
|
-
[k: string]: (string | string[]) | undefined
|
|
10581
|
-
}
|
|
10582
|
-
|
|
10583
11306
|
ignoreCase?: boolean
|
|
10584
11307
|
|
|
11308
|
+
alphabet?: string
|
|
11309
|
+
|
|
10585
11310
|
locales?: (string | string[])
|
|
10586
11311
|
|
|
10587
|
-
groups?: (string | string[]
|
|
11312
|
+
groups?: (string | string[] | {
|
|
11313
|
+
|
|
11314
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11315
|
+
[k: string]: unknown | undefined
|
|
11316
|
+
})[]
|
|
10588
11317
|
|
|
10589
11318
|
order?: ("asc" | "desc")
|
|
10590
|
-
|
|
10591
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10592
|
-
}]
|
|
11319
|
+
}[]
|
|
10593
11320
|
// ----- perfectionist/sort-objects -----
|
|
10594
|
-
type PerfectionistSortObjects =
|
|
11321
|
+
type PerfectionistSortObjects = {
|
|
11322
|
+
|
|
11323
|
+
destructuredObjects?: (boolean | {
|
|
11324
|
+
|
|
11325
|
+
groups?: boolean
|
|
11326
|
+
})
|
|
10595
11327
|
|
|
10596
11328
|
ignorePattern?: string[]
|
|
11329
|
+
useConfigurationIf?: {
|
|
11330
|
+
allNamesMatchPattern?: string
|
|
11331
|
+
callingFunctionNamePattern?: string
|
|
11332
|
+
}
|
|
10597
11333
|
|
|
10598
|
-
partitionByComment?: (string[] | boolean | string
|
|
11334
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11335
|
+
block?: (string[] | boolean | string)
|
|
11336
|
+
line?: (string[] | boolean | string)
|
|
11337
|
+
[k: string]: unknown | undefined
|
|
11338
|
+
})
|
|
10599
11339
|
|
|
10600
11340
|
destructureOnly?: boolean
|
|
10601
11341
|
|
|
11342
|
+
objectDeclarations?: boolean
|
|
11343
|
+
|
|
10602
11344
|
styledComponents?: boolean
|
|
10603
11345
|
|
|
11346
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11347
|
+
|
|
10604
11348
|
partitionByNewLine?: boolean
|
|
10605
11349
|
|
|
10606
11350
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10613,33 +11357,82 @@ type PerfectionistSortObjects = []|[{
|
|
|
10613
11357
|
|
|
10614
11358
|
ignoreCase?: boolean
|
|
10615
11359
|
|
|
11360
|
+
alphabet?: string
|
|
11361
|
+
|
|
10616
11362
|
locales?: (string | string[])
|
|
10617
11363
|
|
|
10618
|
-
groups?: (string | string[]
|
|
11364
|
+
groups?: (string | string[] | {
|
|
11365
|
+
|
|
11366
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11367
|
+
[k: string]: unknown | undefined
|
|
11368
|
+
})[]
|
|
10619
11369
|
|
|
10620
11370
|
order?: ("asc" | "desc")
|
|
10621
|
-
|
|
10622
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10623
|
-
}]
|
|
11371
|
+
}[]
|
|
10624
11372
|
// ----- perfectionist/sort-sets -----
|
|
10625
|
-
type PerfectionistSortSets =
|
|
11373
|
+
type PerfectionistSortSets = {
|
|
10626
11374
|
|
|
10627
|
-
partitionByComment?: (string[] | boolean | string
|
|
11375
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11376
|
+
block?: (string[] | boolean | string)
|
|
11377
|
+
line?: (string[] | boolean | string)
|
|
11378
|
+
[k: string]: unknown | undefined
|
|
11379
|
+
})
|
|
10628
11380
|
|
|
10629
11381
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10630
11382
|
|
|
11383
|
+
customGroups?: ({
|
|
11384
|
+
|
|
11385
|
+
groupName?: string
|
|
11386
|
+
|
|
11387
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11388
|
+
|
|
11389
|
+
order?: ("desc" | "asc")
|
|
11390
|
+
|
|
11391
|
+
newlinesInside?: ("always" | "never")
|
|
11392
|
+
anyOf?: {
|
|
11393
|
+
|
|
11394
|
+
selector?: ("literal" | "spread")
|
|
11395
|
+
|
|
11396
|
+
elementNamePattern?: string
|
|
11397
|
+
}[]
|
|
11398
|
+
} | {
|
|
11399
|
+
|
|
11400
|
+
groupName?: string
|
|
11401
|
+
|
|
11402
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11403
|
+
|
|
11404
|
+
order?: ("desc" | "asc")
|
|
11405
|
+
|
|
11406
|
+
newlinesInside?: ("always" | "never")
|
|
11407
|
+
|
|
11408
|
+
selector?: ("literal" | "spread")
|
|
11409
|
+
|
|
11410
|
+
elementNamePattern?: string
|
|
11411
|
+
})[]
|
|
11412
|
+
useConfigurationIf?: {
|
|
11413
|
+
allNamesMatchPattern?: string
|
|
11414
|
+
}
|
|
11415
|
+
|
|
11416
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11417
|
+
|
|
10631
11418
|
partitionByNewLine?: boolean
|
|
10632
11419
|
|
|
10633
11420
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10634
11421
|
|
|
10635
11422
|
ignoreCase?: boolean
|
|
10636
11423
|
|
|
11424
|
+
alphabet?: string
|
|
11425
|
+
|
|
10637
11426
|
locales?: (string | string[])
|
|
10638
11427
|
|
|
10639
|
-
|
|
11428
|
+
groups?: (string | string[] | {
|
|
11429
|
+
|
|
11430
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11431
|
+
[k: string]: unknown | undefined
|
|
11432
|
+
})[]
|
|
10640
11433
|
|
|
10641
|
-
|
|
10642
|
-
}]
|
|
11434
|
+
order?: ("asc" | "desc")
|
|
11435
|
+
}[]
|
|
10643
11436
|
// ----- perfectionist/sort-switch-case -----
|
|
10644
11437
|
type PerfectionistSortSwitchCase = []|[{
|
|
10645
11438
|
|
|
@@ -10647,16 +11440,22 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10647
11440
|
|
|
10648
11441
|
ignoreCase?: boolean
|
|
10649
11442
|
|
|
11443
|
+
alphabet?: string
|
|
11444
|
+
|
|
11445
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11446
|
+
|
|
10650
11447
|
locales?: (string | string[])
|
|
10651
11448
|
|
|
10652
11449
|
order?: ("asc" | "desc")
|
|
10653
|
-
|
|
10654
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10655
11450
|
}]
|
|
10656
11451
|
// ----- perfectionist/sort-union-types -----
|
|
10657
11452
|
type PerfectionistSortUnionTypes = []|[{
|
|
10658
11453
|
|
|
10659
|
-
partitionByComment?: (string[] | boolean | string
|
|
11454
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11455
|
+
block?: (string[] | boolean | string)
|
|
11456
|
+
line?: (string[] | boolean | string)
|
|
11457
|
+
[k: string]: unknown | undefined
|
|
11458
|
+
})
|
|
10660
11459
|
|
|
10661
11460
|
partitionByNewLine?: boolean
|
|
10662
11461
|
|
|
@@ -10666,18 +11465,28 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10666
11465
|
|
|
10667
11466
|
ignoreCase?: boolean
|
|
10668
11467
|
|
|
11468
|
+
alphabet?: string
|
|
11469
|
+
|
|
11470
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11471
|
+
|
|
10669
11472
|
locales?: (string | string[])
|
|
10670
11473
|
|
|
10671
|
-
groups?: (string | string[]
|
|
11474
|
+
groups?: (string | string[] | {
|
|
11475
|
+
|
|
11476
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11477
|
+
[k: string]: unknown | undefined
|
|
11478
|
+
})[]
|
|
10672
11479
|
|
|
10673
11480
|
order?: ("asc" | "desc")
|
|
10674
|
-
|
|
10675
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10676
11481
|
}]
|
|
10677
11482
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10678
11483
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10679
11484
|
|
|
10680
|
-
partitionByComment?: (string[] | boolean | string
|
|
11485
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11486
|
+
block?: (string[] | boolean | string)
|
|
11487
|
+
line?: (string[] | boolean | string)
|
|
11488
|
+
[k: string]: unknown | undefined
|
|
11489
|
+
})
|
|
10681
11490
|
|
|
10682
11491
|
partitionByNewLine?: boolean
|
|
10683
11492
|
|
|
@@ -10685,11 +11494,13 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10685
11494
|
|
|
10686
11495
|
ignoreCase?: boolean
|
|
10687
11496
|
|
|
11497
|
+
alphabet?: string
|
|
11498
|
+
|
|
11499
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11500
|
+
|
|
10688
11501
|
locales?: (string | string[])
|
|
10689
11502
|
|
|
10690
11503
|
order?: ("asc" | "desc")
|
|
10691
|
-
|
|
10692
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10693
11504
|
}]
|
|
10694
11505
|
// ----- prefer-arrow-callback -----
|
|
10695
11506
|
type PreferArrowCallback = []|[{
|
|
@@ -10786,15 +11597,134 @@ type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
|
10786
11597
|
})]
|
|
10787
11598
|
// ----- react-refresh/only-export-components -----
|
|
10788
11599
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
11600
|
+
allowExportNames?: string[]
|
|
10789
11601
|
allowConstantExport?: boolean
|
|
11602
|
+
customHOCs?: string[]
|
|
10790
11603
|
checkJS?: boolean
|
|
10791
|
-
allowExportNames?: string[]
|
|
10792
11604
|
}]
|
|
10793
11605
|
// ----- react/no-useless-fragment -----
|
|
10794
11606
|
type ReactNoUselessFragment = []|[{
|
|
10795
11607
|
|
|
10796
11608
|
allowExpressions?: boolean
|
|
10797
11609
|
}]
|
|
11610
|
+
// ----- regexp/hexadecimal-escape -----
|
|
11611
|
+
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
11612
|
+
// ----- regexp/letter-case -----
|
|
11613
|
+
type RegexpLetterCase = []|[{
|
|
11614
|
+
caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
|
|
11615
|
+
unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
11616
|
+
hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
11617
|
+
controlEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
11618
|
+
}]
|
|
11619
|
+
// ----- regexp/match-any -----
|
|
11620
|
+
type RegexpMatchAny = []|[{
|
|
11621
|
+
|
|
11622
|
+
allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
|
|
11623
|
+
}]
|
|
11624
|
+
// ----- regexp/no-dupe-disjunctions -----
|
|
11625
|
+
type RegexpNoDupeDisjunctions = []|[{
|
|
11626
|
+
report?: ("all" | "trivial" | "interesting")
|
|
11627
|
+
reportExponentialBacktracking?: ("none" | "certain" | "potential")
|
|
11628
|
+
reportUnreachable?: ("certain" | "potential")
|
|
11629
|
+
}]
|
|
11630
|
+
// ----- regexp/no-lazy-ends -----
|
|
11631
|
+
type RegexpNoLazyEnds = []|[{
|
|
11632
|
+
ignorePartial?: boolean
|
|
11633
|
+
}]
|
|
11634
|
+
// ----- regexp/no-legacy-features -----
|
|
11635
|
+
type RegexpNoLegacyFeatures = []|[{
|
|
11636
|
+
staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
|
|
11637
|
+
prototypeMethods?: ("compile")[]
|
|
11638
|
+
}]
|
|
11639
|
+
// ----- regexp/no-misleading-capturing-group -----
|
|
11640
|
+
type RegexpNoMisleadingCapturingGroup = []|[{
|
|
11641
|
+
reportBacktrackingEnds?: boolean
|
|
11642
|
+
}]
|
|
11643
|
+
// ----- regexp/no-misleading-unicode-character -----
|
|
11644
|
+
type RegexpNoMisleadingUnicodeCharacter = []|[{
|
|
11645
|
+
fixable?: boolean
|
|
11646
|
+
}]
|
|
11647
|
+
// ----- regexp/no-missing-g-flag -----
|
|
11648
|
+
type RegexpNoMissingGFlag = []|[{
|
|
11649
|
+
strictTypes?: boolean
|
|
11650
|
+
}]
|
|
11651
|
+
// ----- regexp/no-obscure-range -----
|
|
11652
|
+
type RegexpNoObscureRange = []|[{
|
|
11653
|
+
allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
11654
|
+
}]
|
|
11655
|
+
// ----- regexp/no-super-linear-backtracking -----
|
|
11656
|
+
type RegexpNoSuperLinearBacktracking = []|[{
|
|
11657
|
+
report?: ("certain" | "potential")
|
|
11658
|
+
}]
|
|
11659
|
+
// ----- regexp/no-super-linear-move -----
|
|
11660
|
+
type RegexpNoSuperLinearMove = []|[{
|
|
11661
|
+
report?: ("certain" | "potential")
|
|
11662
|
+
ignoreSticky?: boolean
|
|
11663
|
+
ignorePartial?: boolean
|
|
11664
|
+
}]
|
|
11665
|
+
// ----- regexp/no-unused-capturing-group -----
|
|
11666
|
+
type RegexpNoUnusedCapturingGroup = []|[{
|
|
11667
|
+
fixable?: boolean
|
|
11668
|
+
allowNamed?: boolean
|
|
11669
|
+
}]
|
|
11670
|
+
// ----- regexp/no-useless-character-class -----
|
|
11671
|
+
type RegexpNoUselessCharacterClass = []|[{
|
|
11672
|
+
ignores?: string[]
|
|
11673
|
+
}]
|
|
11674
|
+
// ----- regexp/no-useless-flag -----
|
|
11675
|
+
type RegexpNoUselessFlag = []|[{
|
|
11676
|
+
ignore?: ("i" | "m" | "s" | "g" | "y")[]
|
|
11677
|
+
strictTypes?: boolean
|
|
11678
|
+
}]
|
|
11679
|
+
// ----- regexp/no-useless-non-capturing-group -----
|
|
11680
|
+
type RegexpNoUselessNonCapturingGroup = []|[{
|
|
11681
|
+
allowTop?: (boolean | ("always" | "never" | "partial"))
|
|
11682
|
+
}]
|
|
11683
|
+
// ----- regexp/optimal-quantifier-concatenation -----
|
|
11684
|
+
type RegexpOptimalQuantifierConcatenation = []|[{
|
|
11685
|
+
capturingGroups?: ("ignore" | "report")
|
|
11686
|
+
}]
|
|
11687
|
+
// ----- regexp/prefer-character-class -----
|
|
11688
|
+
type RegexpPreferCharacterClass = []|[{
|
|
11689
|
+
minAlternatives?: number
|
|
11690
|
+
}]
|
|
11691
|
+
// ----- regexp/prefer-d -----
|
|
11692
|
+
type RegexpPreferD = []|[{
|
|
11693
|
+
insideCharacterClass?: ("ignore" | "range" | "d")
|
|
11694
|
+
}]
|
|
11695
|
+
// ----- regexp/prefer-lookaround -----
|
|
11696
|
+
type RegexpPreferLookaround = []|[{
|
|
11697
|
+
lookbehind?: boolean
|
|
11698
|
+
strictTypes?: boolean
|
|
11699
|
+
}]
|
|
11700
|
+
// ----- regexp/prefer-named-replacement -----
|
|
11701
|
+
type RegexpPreferNamedReplacement = []|[{
|
|
11702
|
+
strictTypes?: boolean
|
|
11703
|
+
}]
|
|
11704
|
+
// ----- regexp/prefer-range -----
|
|
11705
|
+
type RegexpPreferRange = []|[{
|
|
11706
|
+
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
11707
|
+
}]
|
|
11708
|
+
// ----- regexp/prefer-result-array-groups -----
|
|
11709
|
+
type RegexpPreferResultArrayGroups = []|[{
|
|
11710
|
+
strictTypes?: boolean
|
|
11711
|
+
}]
|
|
11712
|
+
// ----- regexp/sort-character-class-elements -----
|
|
11713
|
+
type RegexpSortCharacterClassElements = []|[{
|
|
11714
|
+
order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
|
|
11715
|
+
}]
|
|
11716
|
+
// ----- regexp/unicode-escape -----
|
|
11717
|
+
type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
|
|
11718
|
+
// ----- regexp/unicode-property -----
|
|
11719
|
+
type RegexpUnicodeProperty = []|[{
|
|
11720
|
+
generalCategory?: ("always" | "never" | "ignore")
|
|
11721
|
+
key?: ("short" | "long" | "ignore")
|
|
11722
|
+
property?: (("short" | "long" | "ignore") | {
|
|
11723
|
+
binary?: ("short" | "long" | "ignore")
|
|
11724
|
+
generalCategory?: ("short" | "long" | "ignore")
|
|
11725
|
+
script?: ("short" | "long" | "ignore")
|
|
11726
|
+
})
|
|
11727
|
+
}]
|
|
10798
11728
|
// ----- require-atomic-updates -----
|
|
10799
11729
|
type RequireAtomicUpdates = []|[{
|
|
10800
11730
|
allowProperties?: boolean
|
|
@@ -10834,6 +11764,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
10834
11764
|
natural?: boolean
|
|
10835
11765
|
minKeys?: number
|
|
10836
11766
|
allowLineSeparatedGroups?: boolean
|
|
11767
|
+
ignoreComputedKeys?: boolean
|
|
10837
11768
|
}]
|
|
10838
11769
|
// ----- sort-vars -----
|
|
10839
11770
|
type SortVars = []|[{
|
|
@@ -11144,6 +12075,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
11144
12075
|
ImportDeclaration?: (number | ("first" | "off"))
|
|
11145
12076
|
flatTernaryExpressions?: boolean
|
|
11146
12077
|
offsetTernaryExpressions?: boolean
|
|
12078
|
+
offsetTernaryExpressionsOffsetCallExpressions?: boolean
|
|
11147
12079
|
ignoredNodes?: string[]
|
|
11148
12080
|
ignoreComments?: boolean
|
|
11149
12081
|
tabLength?: number
|
|
@@ -11287,6 +12219,7 @@ type StyleKeySpacing = []|[({
|
|
|
11287
12219
|
mode?: ("strict" | "minimum")
|
|
11288
12220
|
beforeColon?: boolean
|
|
11289
12221
|
afterColon?: boolean
|
|
12222
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
11290
12223
|
} | {
|
|
11291
12224
|
singleLine?: {
|
|
11292
12225
|
mode?: ("strict" | "minimum")
|
|
@@ -11802,6 +12735,7 @@ type StyleNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
11802
12735
|
enforceForNewInMemberExpressions?: boolean
|
|
11803
12736
|
enforceForFunctionPrototypeMethods?: boolean
|
|
11804
12737
|
allowParensAfterCommentPattern?: string
|
|
12738
|
+
nestedConditionalExpressions?: boolean
|
|
11805
12739
|
}])
|
|
11806
12740
|
// ----- style/no-mixed-operators -----
|
|
11807
12741
|
type StyleNoMixedOperators = []|[{
|
|
@@ -11899,14 +12833,14 @@ type StyleOperatorLinebreak = []|[(("after" | "before" | "none") | null)]|[(("af
|
|
|
11899
12833
|
}
|
|
11900
12834
|
}]
|
|
11901
12835
|
// ----- style/padded-blocks -----
|
|
11902
|
-
type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
11903
|
-
blocks?: ("always" | "never")
|
|
11904
|
-
switches?: ("always" | "never")
|
|
11905
|
-
classes?: ("always" | "never")
|
|
11906
|
-
})]|[(("always" | "never") | {
|
|
11907
|
-
blocks?: ("always" | "never")
|
|
11908
|
-
switches?: ("always" | "never")
|
|
11909
|
-
classes?: ("always" | "never")
|
|
12836
|
+
type StylePaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
|
|
12837
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
12838
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
12839
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
12840
|
+
})]|[(("always" | "never" | "start" | "end") | {
|
|
12841
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
12842
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
12843
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
11910
12844
|
}), {
|
|
11911
12845
|
allowSingleLineBlocks?: boolean
|
|
11912
12846
|
}]
|
|
@@ -12165,8 +13099,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
12165
13099
|
}]
|
|
12166
13100
|
// ----- test/no-standalone-expect -----
|
|
12167
13101
|
type TestNoStandaloneExpect = []|[{
|
|
12168
|
-
|
|
12169
|
-
[k: string]: unknown | undefined
|
|
13102
|
+
additionalTestBlockFunctions?: string[]
|
|
12170
13103
|
}]
|
|
12171
13104
|
// ----- test/prefer-expect-assertions -----
|
|
12172
13105
|
type TestPreferExpectAssertions = []|[{
|
|
@@ -12382,7 +13315,7 @@ type TsConsistentTypeAssertions = []|[({
|
|
|
12382
13315
|
assertionStyle: "never"
|
|
12383
13316
|
} | {
|
|
12384
13317
|
|
|
12385
|
-
assertionStyle
|
|
13318
|
+
assertionStyle?: ("as" | "angle-bracket")
|
|
12386
13319
|
|
|
12387
13320
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
12388
13321
|
})]
|
|
@@ -13273,6 +14206,10 @@ type TsPreferOptionalChain = []|[{
|
|
|
13273
14206
|
type TsPreferPromiseRejectErrors = []|[{
|
|
13274
14207
|
|
|
13275
14208
|
allowEmptyReject?: boolean
|
|
14209
|
+
|
|
14210
|
+
allowThrowingAny?: boolean
|
|
14211
|
+
|
|
14212
|
+
allowThrowingUnknown?: boolean
|
|
13276
14213
|
}]
|
|
13277
14214
|
// ----- ts/prefer-readonly -----
|
|
13278
14215
|
type TsPreferReadonly = []|[{
|
|
@@ -13412,6 +14349,8 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
13412
14349
|
|
|
13413
14350
|
considerDefaultExhaustiveForUnions?: boolean
|
|
13414
14351
|
|
|
14352
|
+
defaultCaseCommentPattern?: string
|
|
14353
|
+
|
|
13415
14354
|
requireDefaultForNonUnion?: boolean
|
|
13416
14355
|
}]
|
|
13417
14356
|
// ----- ts/triple-slash-reference -----
|
|
@@ -13745,6 +14684,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
13745
14684
|
} & {
|
|
13746
14685
|
[k: string]: unknown | undefined
|
|
13747
14686
|
})[]
|
|
14687
|
+
ignoreTags?: string[]
|
|
13748
14688
|
}]
|
|
13749
14689
|
// ----- vue/attributes-order -----
|
|
13750
14690
|
type VueAttributesOrder = []|[{
|
|
@@ -13960,6 +14900,7 @@ type VueKeySpacing = []|[({
|
|
|
13960
14900
|
mode?: ("strict" | "minimum")
|
|
13961
14901
|
beforeColon?: boolean
|
|
13962
14902
|
afterColon?: boolean
|
|
14903
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
13963
14904
|
} | {
|
|
13964
14905
|
singleLine?: {
|
|
13965
14906
|
mode?: ("strict" | "minimum")
|
|
@@ -14461,6 +15402,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
14461
15402
|
type VueNoDupeKeys = []|[{
|
|
14462
15403
|
groups?: unknown[]
|
|
14463
15404
|
}]
|
|
15405
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
15406
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
15407
|
+
checkMultiRootNodes?: boolean
|
|
15408
|
+
}]
|
|
14464
15409
|
// ----- vue/no-duplicate-attributes -----
|
|
14465
15410
|
type VueNoDuplicateAttributes = []|[{
|
|
14466
15411
|
allowCoexistClass?: boolean
|
|
@@ -14482,6 +15427,7 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
14482
15427
|
enforceForNewInMemberExpressions?: boolean
|
|
14483
15428
|
enforceForFunctionPrototypeMethods?: boolean
|
|
14484
15429
|
allowParensAfterCommentPattern?: string
|
|
15430
|
+
nestedConditionalExpressions?: boolean
|
|
14485
15431
|
}])
|
|
14486
15432
|
// ----- vue/no-irregular-whitespace -----
|
|
14487
15433
|
type VueNoIrregularWhitespace = []|[{
|
|
@@ -14696,6 +15642,7 @@ type VueNoUselessVBind = []|[{
|
|
|
14696
15642
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
14697
15643
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
14698
15644
|
allow?: string[]
|
|
15645
|
+
ignoreElementNamespaces?: boolean
|
|
14699
15646
|
}]
|
|
14700
15647
|
// ----- vue/object-curly-newline -----
|
|
14701
15648
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -14816,6 +15763,10 @@ type VueRequirePropComment = []|[{
|
|
|
14816
15763
|
type VueRequireToggleInsideTransition = []|[{
|
|
14817
15764
|
additionalDirectives?: string[]
|
|
14818
15765
|
}]
|
|
15766
|
+
// ----- vue/restricted-component-names -----
|
|
15767
|
+
type VueRestrictedComponentNames = []|[{
|
|
15768
|
+
allow?: string[]
|
|
15769
|
+
}]
|
|
14819
15770
|
// ----- vue/return-in-computed-property -----
|
|
14820
15771
|
type VueReturnInComputedProperty = []|[{
|
|
14821
15772
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -14837,6 +15788,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
14837
15788
|
ignores?: string[]
|
|
14838
15789
|
externalIgnores?: string[]
|
|
14839
15790
|
}]
|
|
15791
|
+
// ----- vue/slot-name-casing -----
|
|
15792
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
14840
15793
|
// ----- vue/sort-keys -----
|
|
14841
15794
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
14842
15795
|
caseSensitive?: boolean
|
|
@@ -14880,6 +15833,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14880
15833
|
} & {
|
|
14881
15834
|
[k: string]: unknown | undefined
|
|
14882
15835
|
})[]
|
|
15836
|
+
ignoreTags?: string[]
|
|
14883
15837
|
}]
|
|
14884
15838
|
// ----- vue/v-on-function-call -----
|
|
14885
15839
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -15127,7 +16081,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
15127
16081
|
onlyEquality?: boolean
|
|
15128
16082
|
}]
|
|
15129
16083
|
// Names of all the configs
|
|
15130
|
-
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/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files'
|
|
16084
|
+
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/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'
|
|
15131
16085
|
|
|
15132
16086
|
type Awaitable<T> = T | Promise<T>;
|
|
15133
16087
|
type Rules = RuleOptions;
|
|
@@ -15319,7 +16273,7 @@ interface ConfigOptions {
|
|
|
15319
16273
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
15320
16274
|
* The merged ESLint configurations.
|
|
15321
16275
|
*/
|
|
15322
|
-
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any,
|
|
16276
|
+
declare function luxass(options?: ConfigOptions & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
15323
16277
|
|
|
15324
16278
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15325
16279
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|