@luxass/eslint-config 4.12.1 → 4.14.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 +100 -63
- package/dist/index.d.cts +1079 -563
- package/dist/index.d.ts +1079 -563
- package/dist/index.js +99 -62
- package/package.json +48 -48
package/dist/index.d.cts
CHANGED
|
@@ -300,6 +300,16 @@ interface ReactOptions {
|
|
|
300
300
|
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
301
301
|
*/
|
|
302
302
|
files?: string[];
|
|
303
|
+
/**
|
|
304
|
+
* Glob patterns for files that should be type aware.
|
|
305
|
+
* @default ['**\/*.{ts,tsx}']
|
|
306
|
+
*/
|
|
307
|
+
filesTypeAware?: string[];
|
|
308
|
+
/**
|
|
309
|
+
* Glob patterns for files that should not be type aware.
|
|
310
|
+
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
311
|
+
*/
|
|
312
|
+
ignoresTypeAware?: string[];
|
|
303
313
|
}
|
|
304
314
|
declare function react(options?: ReactOptions): Promise<TypedFlatConfigItem[]>;
|
|
305
315
|
|
|
@@ -420,6 +430,10 @@ interface TypeScriptOptions {
|
|
|
420
430
|
* Overrides for the config.
|
|
421
431
|
*/
|
|
422
432
|
overrides?: TypedFlatConfigItem["rules"];
|
|
433
|
+
/**
|
|
434
|
+
* Override type aware rules.
|
|
435
|
+
*/
|
|
436
|
+
overridesTypeAware?: TypedFlatConfigItem["rules"];
|
|
423
437
|
/**
|
|
424
438
|
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
425
439
|
*
|
|
@@ -568,6 +582,11 @@ interface RuleOptions {
|
|
|
568
582
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.test.ts
|
|
569
583
|
*/
|
|
570
584
|
'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>
|
|
585
|
+
/**
|
|
586
|
+
* Prevent using top-level await
|
|
587
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.test.ts
|
|
588
|
+
*/
|
|
589
|
+
'antfu/no-top-level-await'?: Linter.RuleEntry<[]>
|
|
571
590
|
/**
|
|
572
591
|
* Do not use `exports =`
|
|
573
592
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.test.ts
|
|
@@ -873,6 +892,11 @@ interface RuleOptions {
|
|
|
873
892
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
|
|
874
893
|
*/
|
|
875
894
|
'astro/semi'?: Linter.RuleEntry<AstroSemi>
|
|
895
|
+
/**
|
|
896
|
+
* enforce sorting of attributes
|
|
897
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
|
|
898
|
+
*/
|
|
899
|
+
'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>
|
|
876
900
|
/**
|
|
877
901
|
* disallow warnings when compiling.
|
|
878
902
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
@@ -1155,233 +1179,233 @@ interface RuleOptions {
|
|
|
1155
1179
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1156
1180
|
/**
|
|
1157
1181
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1158
|
-
* @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.4.3/docs/rules/consistent-type-specifier-style.md
|
|
1159
1183
|
*/
|
|
1160
1184
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1161
1185
|
/**
|
|
1162
1186
|
* Ensure a default export is present, given a default import.
|
|
1163
|
-
* @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.4.3/docs/rules/default.md
|
|
1164
1188
|
*/
|
|
1165
1189
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1166
1190
|
/**
|
|
1167
1191
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1168
|
-
* @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.4.3/docs/rules/dynamic-import-chunkname.md
|
|
1169
1193
|
*/
|
|
1170
1194
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1171
1195
|
/**
|
|
1172
1196
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1173
|
-
* @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.4.3/docs/rules/export.md
|
|
1174
1198
|
*/
|
|
1175
1199
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1176
1200
|
/**
|
|
1177
1201
|
* Ensure all exports appear after other statements.
|
|
1178
|
-
* @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.4.3/docs/rules/exports-last.md
|
|
1179
1203
|
*/
|
|
1180
1204
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1181
1205
|
/**
|
|
1182
1206
|
* Ensure consistent use of file extension within the import path.
|
|
1183
|
-
* @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.4.3/docs/rules/extensions.md
|
|
1184
1208
|
*/
|
|
1185
1209
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1186
1210
|
/**
|
|
1187
1211
|
* Ensure all imports appear before other statements.
|
|
1188
|
-
* @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.4.3/docs/rules/first.md
|
|
1189
1213
|
*/
|
|
1190
1214
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1191
1215
|
/**
|
|
1192
1216
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1193
|
-
* @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.4.3/docs/rules/group-exports.md
|
|
1194
1218
|
*/
|
|
1195
1219
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1196
1220
|
/**
|
|
1197
1221
|
* Replaced by `import-x/first`.
|
|
1198
|
-
* @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.4.3/docs/rules/imports-first.md
|
|
1199
1223
|
* @deprecated
|
|
1200
1224
|
*/
|
|
1201
1225
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1202
1226
|
/**
|
|
1203
1227
|
* Enforce the maximum number of dependencies a module can have.
|
|
1204
|
-
* @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.4.3/docs/rules/max-dependencies.md
|
|
1205
1229
|
*/
|
|
1206
1230
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1207
1231
|
/**
|
|
1208
1232
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1209
|
-
* @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.4.3/docs/rules/named.md
|
|
1210
1234
|
*/
|
|
1211
1235
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1212
1236
|
/**
|
|
1213
1237
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1214
|
-
* @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.4.3/docs/rules/namespace.md
|
|
1215
1239
|
*/
|
|
1216
1240
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1217
1241
|
/**
|
|
1218
1242
|
* Enforce a newline after import statements.
|
|
1219
|
-
* @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.4.3/docs/rules/newline-after-import.md
|
|
1220
1244
|
*/
|
|
1221
1245
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1222
1246
|
/**
|
|
1223
1247
|
* Forbid import of modules using absolute paths.
|
|
1224
|
-
* @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.4.3/docs/rules/no-absolute-path.md
|
|
1225
1249
|
*/
|
|
1226
1250
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1227
1251
|
/**
|
|
1228
1252
|
* Forbid AMD `require` and `define` calls.
|
|
1229
|
-
* @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.4.3/docs/rules/no-amd.md
|
|
1230
1254
|
*/
|
|
1231
1255
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1232
1256
|
/**
|
|
1233
1257
|
* Forbid anonymous values as default exports.
|
|
1234
|
-
* @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.4.3/docs/rules/no-anonymous-default-export.md
|
|
1235
1259
|
*/
|
|
1236
1260
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1237
1261
|
/**
|
|
1238
1262
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1239
|
-
* @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.4.3/docs/rules/no-commonjs.md
|
|
1240
1264
|
*/
|
|
1241
1265
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1242
1266
|
/**
|
|
1243
1267
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1244
|
-
* @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.4.3/docs/rules/no-cycle.md
|
|
1245
1269
|
*/
|
|
1246
1270
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1247
1271
|
/**
|
|
1248
1272
|
* Forbid default exports.
|
|
1249
|
-
* @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.4.3/docs/rules/no-default-export.md
|
|
1250
1274
|
*/
|
|
1251
1275
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1252
1276
|
/**
|
|
1253
1277
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1254
|
-
* @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.4.3/docs/rules/no-deprecated.md
|
|
1255
1279
|
*/
|
|
1256
1280
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1257
1281
|
/**
|
|
1258
1282
|
* Forbid repeated import of the same module in multiple places.
|
|
1259
|
-
* @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.4.3/docs/rules/no-duplicates.md
|
|
1260
1284
|
*/
|
|
1261
1285
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1262
1286
|
/**
|
|
1263
1287
|
* Forbid `require()` calls with expressions.
|
|
1264
|
-
* @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.4.3/docs/rules/no-dynamic-require.md
|
|
1265
1289
|
*/
|
|
1266
1290
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1267
1291
|
/**
|
|
1268
1292
|
* Forbid empty named import blocks.
|
|
1269
|
-
* @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.4.3/docs/rules/no-empty-named-blocks.md
|
|
1270
1294
|
*/
|
|
1271
1295
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1272
1296
|
/**
|
|
1273
1297
|
* Forbid the use of extraneous packages.
|
|
1274
|
-
* @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.4.3/docs/rules/no-extraneous-dependencies.md
|
|
1275
1299
|
*/
|
|
1276
1300
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1277
1301
|
/**
|
|
1278
1302
|
* Forbid import statements with CommonJS module.exports.
|
|
1279
|
-
* @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.4.3/docs/rules/no-import-module-exports.md
|
|
1280
1304
|
*/
|
|
1281
1305
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1282
1306
|
/**
|
|
1283
1307
|
* Forbid importing the submodules of other modules.
|
|
1284
|
-
* @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.4.3/docs/rules/no-internal-modules.md
|
|
1285
1309
|
*/
|
|
1286
1310
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1287
1311
|
/**
|
|
1288
1312
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1289
|
-
* @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.4.3/docs/rules/no-mutable-exports.md
|
|
1290
1314
|
*/
|
|
1291
1315
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1292
1316
|
/**
|
|
1293
1317
|
* Forbid use of exported name as identifier of default export.
|
|
1294
|
-
* @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.4.3/docs/rules/no-named-as-default.md
|
|
1295
1319
|
*/
|
|
1296
1320
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1297
1321
|
/**
|
|
1298
1322
|
* Forbid use of exported name as property of default export.
|
|
1299
|
-
* @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.4.3/docs/rules/no-named-as-default-member.md
|
|
1300
1324
|
*/
|
|
1301
1325
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1302
1326
|
/**
|
|
1303
1327
|
* Forbid named default exports.
|
|
1304
|
-
* @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.4.3/docs/rules/no-named-default.md
|
|
1305
1329
|
*/
|
|
1306
1330
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1307
1331
|
/**
|
|
1308
1332
|
* Forbid named exports.
|
|
1309
|
-
* @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.4.3/docs/rules/no-named-export.md
|
|
1310
1334
|
*/
|
|
1311
1335
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1312
1336
|
/**
|
|
1313
1337
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1314
|
-
* @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.4.3/docs/rules/no-namespace.md
|
|
1315
1339
|
*/
|
|
1316
1340
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1317
1341
|
/**
|
|
1318
1342
|
* Forbid Node.js builtin modules.
|
|
1319
|
-
* @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.4.3/docs/rules/no-nodejs-modules.md
|
|
1320
1344
|
*/
|
|
1321
1345
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1322
1346
|
/**
|
|
1323
1347
|
* Forbid importing packages through relative paths.
|
|
1324
|
-
* @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.4.3/docs/rules/no-relative-packages.md
|
|
1325
1349
|
*/
|
|
1326
1350
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1327
1351
|
/**
|
|
1328
1352
|
* Forbid importing modules from parent directories.
|
|
1329
|
-
* @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.4.3/docs/rules/no-relative-parent-imports.md
|
|
1330
1354
|
*/
|
|
1331
1355
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1332
1356
|
/**
|
|
1333
1357
|
* Forbid importing a default export by a different name.
|
|
1334
|
-
* @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.4.3/docs/rules/no-rename-default.md
|
|
1335
1359
|
*/
|
|
1336
1360
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1337
1361
|
/**
|
|
1338
1362
|
* Enforce which files can be imported in a given folder.
|
|
1339
|
-
* @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.4.3/docs/rules/no-restricted-paths.md
|
|
1340
1364
|
*/
|
|
1341
1365
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1342
1366
|
/**
|
|
1343
1367
|
* Forbid a module from importing itself.
|
|
1344
|
-
* @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.4.3/docs/rules/no-self-import.md
|
|
1345
1369
|
*/
|
|
1346
1370
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1347
1371
|
/**
|
|
1348
1372
|
* Forbid unassigned imports.
|
|
1349
|
-
* @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.4.3/docs/rules/no-unassigned-import.md
|
|
1350
1374
|
*/
|
|
1351
1375
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1352
1376
|
/**
|
|
1353
1377
|
* Ensure imports point to a file/module that can be resolved.
|
|
1354
|
-
* @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.4.3/docs/rules/no-unresolved.md
|
|
1355
1379
|
*/
|
|
1356
1380
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1357
1381
|
/**
|
|
1358
1382
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1359
|
-
* @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.4.3/docs/rules/no-unused-modules.md
|
|
1360
1384
|
*/
|
|
1361
1385
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1362
1386
|
/**
|
|
1363
1387
|
* Forbid unnecessary path segments in import and require statements.
|
|
1364
|
-
* @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.4.3/docs/rules/no-useless-path-segments.md
|
|
1365
1389
|
*/
|
|
1366
1390
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1367
1391
|
/**
|
|
1368
1392
|
* Forbid webpack loader syntax in imports.
|
|
1369
|
-
* @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.4.3/docs/rules/no-webpack-loader-syntax.md
|
|
1370
1394
|
*/
|
|
1371
1395
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1372
1396
|
/**
|
|
1373
1397
|
* Enforce a convention in module import order.
|
|
1374
|
-
* @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.4.3/docs/rules/order.md
|
|
1375
1399
|
*/
|
|
1376
1400
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1377
1401
|
/**
|
|
1378
1402
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1379
|
-
* @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.4.3/docs/rules/prefer-default-export.md
|
|
1380
1404
|
*/
|
|
1381
1405
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1382
1406
|
/**
|
|
1383
1407
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1384
|
-
* @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.4.3/docs/rules/unambiguous.md
|
|
1385
1409
|
*/
|
|
1386
1410
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1387
1411
|
/**
|
|
@@ -1532,6 +1556,7 @@ interface RuleOptions {
|
|
|
1532
1556
|
*/
|
|
1533
1557
|
'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
|
|
1534
1558
|
/**
|
|
1559
|
+
* Prevents use of multiple asterisks at the beginning of lines.
|
|
1535
1560
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
|
|
1536
1561
|
*/
|
|
1537
1562
|
'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
|
|
@@ -1676,6 +1701,7 @@ interface RuleOptions {
|
|
|
1676
1701
|
*/
|
|
1677
1702
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
1678
1703
|
/**
|
|
1704
|
+
* Auto-escape certain characters that are input within block and tag descriptions.
|
|
1679
1705
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
1680
1706
|
*/
|
|
1681
1707
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
@@ -2964,7 +2990,7 @@ interface RuleOptions {
|
|
|
2964
2990
|
* disallow the use of `process.env`
|
|
2965
2991
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2966
2992
|
*/
|
|
2967
|
-
'node/no-process-env'?: Linter.RuleEntry<
|
|
2993
|
+
'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
|
|
2968
2994
|
/**
|
|
2969
2995
|
* disallow the use of `process.exit()`
|
|
2970
2996
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -3144,16 +3170,16 @@ interface RuleOptions {
|
|
|
3144
3170
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
3145
3171
|
*/
|
|
3146
3172
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
3147
|
-
/**
|
|
3148
|
-
* Enforce sorted Astro attributes.
|
|
3149
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
3150
|
-
*/
|
|
3151
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
3152
3173
|
/**
|
|
3153
3174
|
* Enforce sorted classes.
|
|
3154
3175
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
3155
3176
|
*/
|
|
3156
3177
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
3178
|
+
/**
|
|
3179
|
+
* Enforce sorted decorators.
|
|
3180
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
3181
|
+
*/
|
|
3182
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
3157
3183
|
/**
|
|
3158
3184
|
* Enforce sorted TypeScript enums.
|
|
3159
3185
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -3164,6 +3190,11 @@ interface RuleOptions {
|
|
|
3164
3190
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
3165
3191
|
*/
|
|
3166
3192
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
3193
|
+
/**
|
|
3194
|
+
* Enforce sorted heritage clauses.
|
|
3195
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
3196
|
+
*/
|
|
3197
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
3167
3198
|
/**
|
|
3168
3199
|
* Enforce sorted imports.
|
|
3169
3200
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -3189,6 +3220,11 @@ interface RuleOptions {
|
|
|
3189
3220
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
3190
3221
|
*/
|
|
3191
3222
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
3223
|
+
/**
|
|
3224
|
+
* Enforce sorted modules.
|
|
3225
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
3226
|
+
*/
|
|
3227
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
3192
3228
|
/**
|
|
3193
3229
|
* Enforce sorted named exports.
|
|
3194
3230
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -3214,11 +3250,6 @@ interface RuleOptions {
|
|
|
3214
3250
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
3215
3251
|
*/
|
|
3216
3252
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
3217
|
-
/**
|
|
3218
|
-
* Enforce sorted Svelte attributes.
|
|
3219
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
3220
|
-
*/
|
|
3221
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
3222
3253
|
/**
|
|
3223
3254
|
* Enforce sorted switch cases.
|
|
3224
3255
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -3234,11 +3265,6 @@ interface RuleOptions {
|
|
|
3234
3265
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
3235
3266
|
*/
|
|
3236
3267
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
3237
|
-
/**
|
|
3238
|
-
* Enforce sorted Vue attributes.
|
|
3239
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
3240
|
-
*/
|
|
3241
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
3242
3268
|
/**
|
|
3243
3269
|
* Require using arrow functions for callbacks
|
|
3244
3270
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -3372,6 +3398,11 @@ interface RuleOptions {
|
|
|
3372
3398
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
3373
3399
|
*/
|
|
3374
3400
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
3401
|
+
/**
|
|
3402
|
+
* disallow usage of unknown DOM property
|
|
3403
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
3404
|
+
*/
|
|
3405
|
+
'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
|
|
3375
3406
|
/**
|
|
3376
3407
|
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
3377
3408
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
@@ -3398,8 +3429,8 @@ interface RuleOptions {
|
|
|
3398
3429
|
*/
|
|
3399
3430
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
3400
3431
|
/**
|
|
3401
|
-
* disallow direct calls to the 'set' function of 'useState' in '
|
|
3402
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
3432
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
3433
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
3403
3434
|
*/
|
|
3404
3435
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
3405
3436
|
/**
|
|
@@ -3468,6 +3499,16 @@ interface RuleOptions {
|
|
|
3468
3499
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
3469
3500
|
*/
|
|
3470
3501
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3502
|
+
/**
|
|
3503
|
+
* disallow duplicate props
|
|
3504
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3505
|
+
*/
|
|
3506
|
+
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3507
|
+
/**
|
|
3508
|
+
* a helper rule to mark variables as used
|
|
3509
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3510
|
+
*/
|
|
3511
|
+
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3471
3512
|
/**
|
|
3472
3513
|
* disallow accessing 'this.state' within 'setState'
|
|
3473
3514
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -3662,12 +3703,17 @@ interface RuleOptions {
|
|
|
3662
3703
|
* disallow unnecessary fragments
|
|
3663
3704
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3664
3705
|
*/
|
|
3665
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
3706
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
3666
3707
|
/**
|
|
3667
3708
|
* enforce using destructuring assignment in component props and context
|
|
3668
3709
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
3669
3710
|
*/
|
|
3670
3711
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3712
|
+
/**
|
|
3713
|
+
* enforce React is imported via a namespace import
|
|
3714
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
3715
|
+
*/
|
|
3716
|
+
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
3671
3717
|
/**
|
|
3672
3718
|
* enforce read-only props in components
|
|
3673
3719
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
@@ -3838,6 +3884,11 @@ interface RuleOptions {
|
|
|
3838
3884
|
* @see https://eslint.style/rules/js/computed-property-spacing
|
|
3839
3885
|
*/
|
|
3840
3886
|
'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>
|
|
3887
|
+
/**
|
|
3888
|
+
* Enforce consistent line breaks after opening and before closing braces
|
|
3889
|
+
* @see https://eslint.style/rules/plus/curly-newline
|
|
3890
|
+
*/
|
|
3891
|
+
'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>
|
|
3841
3892
|
/**
|
|
3842
3893
|
* Enforce consistent newlines before and after dots
|
|
3843
3894
|
* @see https://eslint.style/rules/js/dot-location
|
|
@@ -3902,7 +3953,7 @@ interface RuleOptions {
|
|
|
3902
3953
|
* Enforce closing tag location for multiline JSX
|
|
3903
3954
|
* @see https://eslint.style/rules/jsx/jsx-closing-tag-location
|
|
3904
3955
|
*/
|
|
3905
|
-
'style/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
3956
|
+
'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>
|
|
3906
3957
|
/**
|
|
3907
3958
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3908
3959
|
* @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
|
|
@@ -4324,303 +4375,313 @@ interface RuleOptions {
|
|
|
4324
4375
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
|
|
4325
4376
|
/**
|
|
4326
4377
|
* require .spec test file pattern
|
|
4327
|
-
* @see https://github.com/
|
|
4378
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
4328
4379
|
*/
|
|
4329
4380
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>
|
|
4330
4381
|
/**
|
|
4331
4382
|
* enforce using test or it but not both
|
|
4332
|
-
* @see https://github.com/
|
|
4383
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
4333
4384
|
*/
|
|
4334
4385
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
|
|
4335
4386
|
/**
|
|
4336
4387
|
* enforce having expectation in test body
|
|
4337
|
-
* @see https://github.com/
|
|
4388
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
4338
4389
|
*/
|
|
4339
4390
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
|
|
4340
4391
|
/**
|
|
4341
4392
|
* enforce a maximum number of expect per test
|
|
4342
|
-
* @see https://github.com/
|
|
4393
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
4343
4394
|
*/
|
|
4344
4395
|
'test/max-expects'?: Linter.RuleEntry<TestMaxExpects>
|
|
4345
4396
|
/**
|
|
4346
4397
|
* require describe block to be less than set max value or default value
|
|
4347
|
-
* @see https://github.com/
|
|
4398
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
|
|
4348
4399
|
*/
|
|
4349
4400
|
'test/max-nested-describe'?: Linter.RuleEntry<TestMaxNestedDescribe>
|
|
4350
4401
|
/**
|
|
4351
4402
|
* disallow alias methods
|
|
4352
|
-
* @see https://github.com/
|
|
4403
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
|
|
4353
4404
|
*/
|
|
4354
4405
|
'test/no-alias-methods'?: Linter.RuleEntry<[]>
|
|
4355
4406
|
/**
|
|
4356
4407
|
* disallow commented out tests
|
|
4357
|
-
* @see https://github.com/
|
|
4408
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
|
|
4358
4409
|
*/
|
|
4359
4410
|
'test/no-commented-out-tests'?: Linter.RuleEntry<[]>
|
|
4360
4411
|
/**
|
|
4361
4412
|
* disallow conditional expects
|
|
4362
|
-
* @see https://github.com/
|
|
4413
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
|
|
4363
4414
|
*/
|
|
4364
4415
|
'test/no-conditional-expect'?: Linter.RuleEntry<[]>
|
|
4365
4416
|
/**
|
|
4366
4417
|
* disallow conditional tests
|
|
4367
|
-
* @see https://github.com/
|
|
4418
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
|
|
4368
4419
|
*/
|
|
4369
4420
|
'test/no-conditional-in-test'?: Linter.RuleEntry<[]>
|
|
4370
4421
|
/**
|
|
4371
4422
|
* disallow conditional tests
|
|
4372
|
-
* @see https://github.com/
|
|
4423
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
|
|
4373
4424
|
*/
|
|
4374
4425
|
'test/no-conditional-tests'?: Linter.RuleEntry<[]>
|
|
4375
4426
|
/**
|
|
4376
4427
|
* disallow disabled tests
|
|
4377
|
-
* @see https://github.com/
|
|
4428
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
|
|
4378
4429
|
*/
|
|
4379
4430
|
'test/no-disabled-tests'?: Linter.RuleEntry<[]>
|
|
4380
4431
|
/**
|
|
4381
4432
|
* disallow using a callback in asynchronous tests and hooks
|
|
4382
|
-
* @see https://github.com/
|
|
4433
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
|
|
4383
4434
|
* @deprecated
|
|
4384
4435
|
*/
|
|
4385
4436
|
'test/no-done-callback'?: Linter.RuleEntry<[]>
|
|
4386
4437
|
/**
|
|
4387
4438
|
* disallow duplicate hooks and teardown hooks
|
|
4388
|
-
* @see https://github.com/
|
|
4439
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
|
|
4389
4440
|
*/
|
|
4390
4441
|
'test/no-duplicate-hooks'?: Linter.RuleEntry<[]>
|
|
4391
4442
|
/**
|
|
4392
4443
|
* disallow focused tests
|
|
4393
|
-
* @see https://github.com/
|
|
4444
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
|
|
4394
4445
|
*/
|
|
4395
4446
|
'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
|
|
4396
4447
|
/**
|
|
4397
4448
|
* disallow setup and teardown hooks
|
|
4398
|
-
* @see https://github.com/
|
|
4449
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
|
|
4399
4450
|
*/
|
|
4400
4451
|
'test/no-hooks'?: Linter.RuleEntry<TestNoHooks>
|
|
4401
4452
|
/**
|
|
4402
4453
|
* disallow identical titles
|
|
4403
|
-
* @see https://github.com/
|
|
4454
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
|
|
4404
4455
|
*/
|
|
4405
4456
|
'test/no-identical-title'?: Linter.RuleEntry<[]>
|
|
4406
4457
|
/**
|
|
4407
4458
|
* disallow importing `node:test`
|
|
4408
|
-
* @see https://github.com/
|
|
4459
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
4409
4460
|
*/
|
|
4410
4461
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
4411
4462
|
/**
|
|
4412
4463
|
* disallow string interpolation in snapshots
|
|
4413
|
-
* @see https://github.com/
|
|
4464
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
4414
4465
|
*/
|
|
4415
4466
|
'test/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
|
|
4416
4467
|
/**
|
|
4417
4468
|
* disallow large snapshots
|
|
4418
|
-
* @see https://github.com/
|
|
4469
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
|
|
4419
4470
|
*/
|
|
4420
4471
|
'test/no-large-snapshots'?: Linter.RuleEntry<TestNoLargeSnapshots>
|
|
4421
4472
|
/**
|
|
4422
4473
|
* disallow importing from __mocks__ directory
|
|
4423
|
-
* @see https://github.com/
|
|
4474
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
|
|
4424
4475
|
*/
|
|
4425
4476
|
'test/no-mocks-import'?: Linter.RuleEntry<[]>
|
|
4426
4477
|
/**
|
|
4427
4478
|
* disallow the use of certain matchers
|
|
4428
|
-
* @see https://github.com/
|
|
4479
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
|
|
4429
4480
|
*/
|
|
4430
4481
|
'test/no-restricted-matchers'?: Linter.RuleEntry<TestNoRestrictedMatchers>
|
|
4431
4482
|
/**
|
|
4432
4483
|
* disallow specific `vi.` methods
|
|
4433
|
-
* @see https://github.com/
|
|
4484
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
|
|
4434
4485
|
*/
|
|
4435
4486
|
'test/no-restricted-vi-methods'?: Linter.RuleEntry<TestNoRestrictedViMethods>
|
|
4436
4487
|
/**
|
|
4437
4488
|
* disallow using `expect` outside of `it` or `test` blocks
|
|
4438
|
-
* @see https://github.com/
|
|
4489
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
|
|
4439
4490
|
*/
|
|
4440
4491
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
|
|
4441
4492
|
/**
|
|
4442
4493
|
* disallow using `test` as a prefix
|
|
4443
|
-
* @see https://github.com/
|
|
4494
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
4444
4495
|
*/
|
|
4445
4496
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
4446
4497
|
/**
|
|
4447
4498
|
* disallow return statements in tests
|
|
4448
|
-
* @see https://github.com/
|
|
4499
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
|
|
4449
4500
|
*/
|
|
4450
4501
|
'test/no-test-return-statement'?: Linter.RuleEntry<[]>
|
|
4451
4502
|
/**
|
|
4452
4503
|
* Enforce padding around `afterAll` blocks
|
|
4453
|
-
* @see https://github.com/
|
|
4504
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
|
|
4454
4505
|
*/
|
|
4455
4506
|
'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
|
|
4456
4507
|
/**
|
|
4457
4508
|
* Enforce padding around `afterEach` blocks
|
|
4458
|
-
* @see https://github.com/
|
|
4509
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
|
|
4459
4510
|
*/
|
|
4460
4511
|
'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
|
|
4461
4512
|
/**
|
|
4462
4513
|
* Enforce padding around vitest functions
|
|
4463
|
-
* @see https://github.com/
|
|
4514
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
|
|
4464
4515
|
*/
|
|
4465
4516
|
'test/padding-around-all'?: Linter.RuleEntry<[]>
|
|
4466
4517
|
/**
|
|
4467
4518
|
* Enforce padding around `beforeAll` blocks
|
|
4468
|
-
* @see https://github.com/
|
|
4519
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
|
|
4469
4520
|
*/
|
|
4470
4521
|
'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
|
|
4471
4522
|
/**
|
|
4472
4523
|
* Enforce padding around `beforeEach` blocks
|
|
4473
|
-
* @see https://github.com/
|
|
4524
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
|
|
4474
4525
|
*/
|
|
4475
4526
|
'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
|
|
4476
4527
|
/**
|
|
4477
4528
|
* Enforce padding around `describe` blocks
|
|
4478
|
-
* @see https://github.com/
|
|
4529
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
|
|
4479
4530
|
*/
|
|
4480
4531
|
'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
|
|
4481
4532
|
/**
|
|
4482
4533
|
* Enforce padding around `expect` groups
|
|
4483
|
-
* @see https://github.com/
|
|
4534
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
|
|
4484
4535
|
*/
|
|
4485
4536
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
4486
4537
|
/**
|
|
4487
4538
|
* Enforce padding around afterAll blocks
|
|
4488
|
-
* @see https://github.com/
|
|
4539
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4489
4540
|
*/
|
|
4490
4541
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
4491
4542
|
/**
|
|
4492
4543
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
4493
|
-
* @see https://github.com/
|
|
4544
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
4494
4545
|
*/
|
|
4495
4546
|
'test/prefer-called-with'?: Linter.RuleEntry<[]>
|
|
4496
4547
|
/**
|
|
4497
4548
|
* enforce using the built-in comparison matchers
|
|
4498
|
-
* @see https://github.com/
|
|
4549
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
|
|
4499
4550
|
*/
|
|
4500
4551
|
'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
4501
4552
|
/**
|
|
4502
4553
|
* enforce using `each` rather than manual loops
|
|
4503
|
-
* @see https://github.com/
|
|
4554
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
|
|
4504
4555
|
*/
|
|
4505
4556
|
'test/prefer-each'?: Linter.RuleEntry<[]>
|
|
4506
4557
|
/**
|
|
4507
4558
|
* enforce using the built-in quality matchers
|
|
4508
|
-
* @see https://github.com/
|
|
4559
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
4509
4560
|
*/
|
|
4510
4561
|
'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
|
|
4511
4562
|
/**
|
|
4512
4563
|
* enforce using expect assertions instead of callbacks
|
|
4513
|
-
* @see https://github.com/
|
|
4564
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
|
|
4514
4565
|
*/
|
|
4515
4566
|
'test/prefer-expect-assertions'?: Linter.RuleEntry<TestPreferExpectAssertions>
|
|
4516
4567
|
/**
|
|
4517
4568
|
* enforce using `expect().resolves` over `expect(await ...)` syntax
|
|
4518
|
-
* @see https://github.com/
|
|
4569
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
4519
4570
|
*/
|
|
4520
4571
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>
|
|
4521
4572
|
/**
|
|
4522
4573
|
* enforce having hooks in consistent order
|
|
4523
|
-
* @see https://github.com/
|
|
4574
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
4524
4575
|
*/
|
|
4525
4576
|
'test/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
|
|
4526
4577
|
/**
|
|
4527
4578
|
* enforce having hooks before any test cases
|
|
4528
|
-
* @see https://github.com/
|
|
4579
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4529
4580
|
*/
|
|
4530
4581
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
4531
4582
|
/**
|
|
4532
4583
|
* enforce lowercase titles
|
|
4533
|
-
* @see https://github.com/
|
|
4584
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
4534
4585
|
*/
|
|
4535
4586
|
'test/prefer-lowercase-title'?: Linter.RuleEntry<TestPreferLowercaseTitle>
|
|
4536
4587
|
/**
|
|
4537
4588
|
* enforce mock resolved/rejected shorthands for promises
|
|
4538
|
-
* @see https://github.com/
|
|
4589
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
|
|
4539
4590
|
*/
|
|
4540
4591
|
'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
|
|
4541
4592
|
/**
|
|
4542
4593
|
* enforce including a hint with external snapshots
|
|
4543
|
-
* @see https://github.com/
|
|
4594
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
|
|
4544
4595
|
*/
|
|
4545
4596
|
'test/prefer-snapshot-hint'?: Linter.RuleEntry<TestPreferSnapshotHint>
|
|
4546
4597
|
/**
|
|
4547
4598
|
* enforce using `vi.spyOn`
|
|
4548
|
-
* @see https://github.com/
|
|
4599
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
|
|
4549
4600
|
*/
|
|
4550
4601
|
'test/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
4551
4602
|
/**
|
|
4552
4603
|
* enforce strict equal over equal
|
|
4553
|
-
* @see https://github.com/
|
|
4604
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
4554
4605
|
*/
|
|
4555
4606
|
'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
|
|
4556
4607
|
/**
|
|
4557
4608
|
* enforce using toBe()
|
|
4558
|
-
* @see https://github.com/
|
|
4609
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
|
|
4559
4610
|
*/
|
|
4560
4611
|
'test/prefer-to-be'?: Linter.RuleEntry<[]>
|
|
4561
4612
|
/**
|
|
4562
4613
|
* enforce using toBeFalsy()
|
|
4563
|
-
* @see https://github.com/
|
|
4614
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
|
|
4564
4615
|
*/
|
|
4565
4616
|
'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
|
|
4566
4617
|
/**
|
|
4567
4618
|
* enforce using toBeObject()
|
|
4568
|
-
* @see https://github.com/
|
|
4619
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
|
|
4569
4620
|
*/
|
|
4570
4621
|
'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
|
|
4571
4622
|
/**
|
|
4572
4623
|
* enforce using `toBeTruthy`
|
|
4573
|
-
* @see https://github.com/
|
|
4624
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
|
|
4574
4625
|
*/
|
|
4575
4626
|
'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
|
|
4576
4627
|
/**
|
|
4577
4628
|
* enforce using toContain()
|
|
4578
|
-
* @see https://github.com/
|
|
4629
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
4579
4630
|
*/
|
|
4580
4631
|
'test/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
4581
4632
|
/**
|
|
4582
4633
|
* enforce using toHaveLength()
|
|
4583
|
-
* @see https://github.com/
|
|
4634
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
4584
4635
|
*/
|
|
4585
4636
|
'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
|
|
4586
4637
|
/**
|
|
4587
4638
|
* enforce using `test.todo`
|
|
4588
|
-
* @see https://github.com/
|
|
4639
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
|
|
4589
4640
|
*/
|
|
4590
4641
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
4642
|
+
/**
|
|
4643
|
+
* Prefer `vi.mocked()` over `fn as Mock`
|
|
4644
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
4645
|
+
*/
|
|
4646
|
+
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
4591
4647
|
/**
|
|
4592
4648
|
* require setup and teardown to be within a hook
|
|
4593
|
-
* @see https://github.com/
|
|
4649
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
4594
4650
|
*/
|
|
4595
4651
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
4596
4652
|
/**
|
|
4597
4653
|
* require local Test Context for concurrent snapshot tests
|
|
4598
|
-
* @see https://github.com/
|
|
4654
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
4599
4655
|
*/
|
|
4600
4656
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
4601
4657
|
/**
|
|
4602
4658
|
* require toThrow() to be called with an error message
|
|
4603
|
-
* @see https://github.com/
|
|
4659
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
4604
4660
|
*/
|
|
4605
4661
|
'test/require-to-throw-message'?: Linter.RuleEntry<[]>
|
|
4606
4662
|
/**
|
|
4607
4663
|
* enforce that all tests are in a top-level describe
|
|
4608
|
-
* @see https://github.com/
|
|
4664
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
4609
4665
|
*/
|
|
4610
4666
|
'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
|
|
4611
4667
|
/**
|
|
4612
4668
|
* enforce valid describe callback
|
|
4613
|
-
* @see https://github.com/
|
|
4669
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
4614
4670
|
*/
|
|
4615
4671
|
'test/valid-describe-callback'?: Linter.RuleEntry<[]>
|
|
4616
4672
|
/**
|
|
4617
4673
|
* enforce valid `expect()` usage
|
|
4618
|
-
* @see https://github.com/
|
|
4674
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4619
4675
|
*/
|
|
4620
4676
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4677
|
+
/**
|
|
4678
|
+
* Require promises that have expectations in their chain to be valid
|
|
4679
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
4680
|
+
*/
|
|
4681
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
4621
4682
|
/**
|
|
4622
4683
|
* enforce valid titles
|
|
4623
|
-
* @see https://github.com/
|
|
4684
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
4624
4685
|
*/
|
|
4625
4686
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
|
|
4626
4687
|
/**
|
|
@@ -4865,7 +4926,7 @@ interface RuleOptions {
|
|
|
4865
4926
|
*/
|
|
4866
4927
|
'ts/no-array-delete'?: Linter.RuleEntry<[]>
|
|
4867
4928
|
/**
|
|
4868
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
4929
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
4869
4930
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
4870
4931
|
*/
|
|
4871
4932
|
'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
|
|
@@ -5152,6 +5213,11 @@ interface RuleOptions {
|
|
|
5152
5213
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
5153
5214
|
*/
|
|
5154
5215
|
'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
5216
|
+
/**
|
|
5217
|
+
* Disallow type assertions that narrow a type
|
|
5218
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
5219
|
+
*/
|
|
5220
|
+
'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
5155
5221
|
/**
|
|
5156
5222
|
* Require unary negation to take a number
|
|
5157
5223
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -5309,6 +5375,11 @@ interface RuleOptions {
|
|
|
5309
5375
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
5310
5376
|
*/
|
|
5311
5377
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
5378
|
+
/**
|
|
5379
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
5380
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
5381
|
+
*/
|
|
5382
|
+
'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
5312
5383
|
/**
|
|
5313
5384
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
5314
5385
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -5382,687 +5453,702 @@ interface RuleOptions {
|
|
|
5382
5453
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5383
5454
|
/**
|
|
5384
5455
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
5386
5457
|
*/
|
|
5387
5458
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5388
5459
|
/**
|
|
5389
5460
|
* Enforce a specific parameter name in catch clauses.
|
|
5390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
5391
5462
|
*/
|
|
5392
5463
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5393
5464
|
/**
|
|
5394
5465
|
* Use destructured variables over properties.
|
|
5395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
5396
5467
|
*/
|
|
5397
5468
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5398
5469
|
/**
|
|
5399
5470
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
5401
5472
|
*/
|
|
5402
5473
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5474
|
+
/**
|
|
5475
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
5477
|
+
*/
|
|
5478
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5403
5479
|
/**
|
|
5404
5480
|
* Move function definitions to the highest possible scope.
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
5406
5482
|
*/
|
|
5407
5483
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5408
5484
|
/**
|
|
5409
5485
|
* Enforce correct `Error` subclassing.
|
|
5410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
5411
5487
|
*/
|
|
5412
5488
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5413
5489
|
/**
|
|
5414
5490
|
* Enforce no spaces between braces.
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
5416
5492
|
*/
|
|
5417
5493
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5418
5494
|
/**
|
|
5419
5495
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
5421
5497
|
*/
|
|
5422
5498
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5423
5499
|
/**
|
|
5424
5500
|
* Require escape sequences to use uppercase values.
|
|
5425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
5426
5502
|
*/
|
|
5427
5503
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5428
5504
|
/**
|
|
5429
5505
|
* Add expiration conditions to TODO comments.
|
|
5430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
5431
5507
|
*/
|
|
5432
5508
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5433
5509
|
/**
|
|
5434
5510
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
5436
5512
|
*/
|
|
5437
5513
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5438
5514
|
/**
|
|
5439
5515
|
* Enforce a case style for filenames.
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
5441
5517
|
*/
|
|
5442
5518
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5443
5519
|
/**
|
|
5444
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
5445
5521
|
* @deprecated
|
|
5446
5522
|
*/
|
|
5447
5523
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5448
5524
|
/**
|
|
5449
5525
|
* Enforce specific import styles per module.
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
5451
5527
|
*/
|
|
5452
5528
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5453
5529
|
/**
|
|
5454
5530
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
5456
5532
|
*/
|
|
5457
5533
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5458
5534
|
/**
|
|
5459
5535
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
5461
5537
|
*/
|
|
5462
5538
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5463
5539
|
/**
|
|
5464
5540
|
* Disallow anonymous functions and classes as the default export.
|
|
5465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
5466
5542
|
*/
|
|
5467
5543
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5468
5544
|
/**
|
|
5469
5545
|
* Prevent passing a function reference directly to iterator methods.
|
|
5470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
5471
5547
|
*/
|
|
5472
5548
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5473
5549
|
/**
|
|
5474
5550
|
* Prefer `for…of` over the `forEach` method.
|
|
5475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
5476
5552
|
*/
|
|
5477
5553
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5478
5554
|
/**
|
|
5479
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
5480
5556
|
* @deprecated
|
|
5481
5557
|
*/
|
|
5482
5558
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5483
5559
|
/**
|
|
5484
5560
|
* Disallow using the `this` argument in array methods.
|
|
5485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
5486
5562
|
*/
|
|
5487
5563
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5488
5564
|
/**
|
|
5489
5565
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
5491
5567
|
*/
|
|
5492
5568
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5493
5569
|
/**
|
|
5494
5570
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
5496
5572
|
*/
|
|
5497
5573
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5498
5574
|
/**
|
|
5499
5575
|
* Disallow member access from await expression.
|
|
5500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
5501
5577
|
*/
|
|
5502
5578
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5503
5579
|
/**
|
|
5504
5580
|
* Disallow using `await` in `Promise` method parameters.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
5506
5582
|
*/
|
|
5507
5583
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5508
5584
|
/**
|
|
5509
5585
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
5511
5587
|
*/
|
|
5512
5588
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5513
5589
|
/**
|
|
5514
5590
|
* Do not use `document.cookie` directly.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
5516
5592
|
*/
|
|
5517
5593
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5518
5594
|
/**
|
|
5519
5595
|
* Disallow empty files.
|
|
5520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
5521
5597
|
*/
|
|
5522
5598
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5523
5599
|
/**
|
|
5524
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5525
5601
|
* @deprecated
|
|
5526
5602
|
*/
|
|
5527
5603
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5528
5604
|
/**
|
|
5529
5605
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
5531
5607
|
*/
|
|
5532
5608
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5533
5609
|
/**
|
|
5534
5610
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
5536
5612
|
*/
|
|
5537
5613
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5538
5614
|
/**
|
|
5539
5615
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
5541
5617
|
*/
|
|
5542
5618
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5543
5619
|
/**
|
|
5544
5620
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5546
5622
|
*/
|
|
5547
5623
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5548
5624
|
/**
|
|
5549
5625
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5551
5627
|
*/
|
|
5552
5628
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5553
5629
|
/**
|
|
5554
5630
|
* Disallow identifiers starting with `new` or `class`.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
5556
5632
|
*/
|
|
5557
5633
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5558
5634
|
/**
|
|
5559
5635
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
5561
5637
|
*/
|
|
5562
5638
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5563
5639
|
/**
|
|
5564
5640
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
5566
5642
|
*/
|
|
5567
5643
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5568
5644
|
/**
|
|
5569
5645
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5571
5647
|
*/
|
|
5572
5648
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5573
5649
|
/**
|
|
5574
5650
|
* Disallow negated conditions.
|
|
5575
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
5576
5652
|
*/
|
|
5577
5653
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5578
5654
|
/**
|
|
5579
5655
|
* Disallow negated expression in equality check.
|
|
5580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5581
5657
|
*/
|
|
5582
5658
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5583
5659
|
/**
|
|
5584
5660
|
* Disallow nested ternary expressions.
|
|
5585
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
5586
5662
|
*/
|
|
5587
5663
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5588
5664
|
/**
|
|
5589
5665
|
* Disallow `new Array()`.
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
5591
5667
|
*/
|
|
5592
5668
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5593
5669
|
/**
|
|
5594
5670
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
5596
5672
|
*/
|
|
5597
5673
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5598
5674
|
/**
|
|
5599
5675
|
* Disallow the use of the `null` literal.
|
|
5600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
5601
5677
|
*/
|
|
5602
5678
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5603
5679
|
/**
|
|
5604
5680
|
* Disallow the use of objects as default parameters.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
5606
5682
|
*/
|
|
5607
5683
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5608
5684
|
/**
|
|
5609
5685
|
* Disallow `process.exit()`.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
5611
5687
|
*/
|
|
5612
5688
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5613
5689
|
/**
|
|
5614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
5615
5691
|
* @deprecated
|
|
5616
5692
|
*/
|
|
5617
5693
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5618
5694
|
/**
|
|
5619
5695
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5621
5697
|
*/
|
|
5622
5698
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5623
5699
|
/**
|
|
5624
5700
|
* Disallow classes that only have static members.
|
|
5625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
5626
5702
|
*/
|
|
5627
5703
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5628
5704
|
/**
|
|
5629
5705
|
* Disallow `then` property.
|
|
5630
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
5631
5707
|
*/
|
|
5632
5708
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5633
5709
|
/**
|
|
5634
5710
|
* Disallow assigning `this` to a variable.
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
5636
5712
|
*/
|
|
5637
5713
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5638
5714
|
/**
|
|
5639
5715
|
* Disallow comparing `undefined` using `typeof`.
|
|
5640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
5641
5717
|
*/
|
|
5642
5718
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5643
5719
|
/**
|
|
5644
5720
|
* Disallow awaiting non-promise values.
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
5646
5722
|
*/
|
|
5647
5723
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5648
5724
|
/**
|
|
5649
5725
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5651
5727
|
*/
|
|
5652
5728
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5653
5729
|
/**
|
|
5654
5730
|
* Disallow unreadable array destructuring.
|
|
5655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5656
5732
|
*/
|
|
5657
5733
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5658
5734
|
/**
|
|
5659
5735
|
* Disallow unreadable IIFEs.
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
5661
5737
|
*/
|
|
5662
5738
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5663
5739
|
/**
|
|
5664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
5665
5741
|
* @deprecated
|
|
5666
5742
|
*/
|
|
5667
5743
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5668
5744
|
/**
|
|
5669
5745
|
* Disallow unused object properties.
|
|
5670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
5671
5747
|
*/
|
|
5672
5748
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5673
5749
|
/**
|
|
5674
5750
|
* Disallow useless fallback when spreading in object literals.
|
|
5675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5676
5752
|
*/
|
|
5677
5753
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5678
5754
|
/**
|
|
5679
5755
|
* Disallow useless array length check.
|
|
5680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
5681
5757
|
*/
|
|
5682
5758
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5683
5759
|
/**
|
|
5684
5760
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5686
5762
|
*/
|
|
5687
5763
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5688
5764
|
/**
|
|
5689
5765
|
* Disallow unnecessary spread.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
5691
5767
|
*/
|
|
5692
5768
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5693
5769
|
/**
|
|
5694
5770
|
* Disallow useless case in switch statements.
|
|
5695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
5696
5772
|
*/
|
|
5697
5773
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5698
5774
|
/**
|
|
5699
5775
|
* Disallow useless `undefined`.
|
|
5700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
5701
5777
|
*/
|
|
5702
5778
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5703
5779
|
/**
|
|
5704
5780
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
5706
5782
|
*/
|
|
5707
5783
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5708
5784
|
/**
|
|
5709
5785
|
* Enforce proper case for numeric literals.
|
|
5710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
5711
5787
|
*/
|
|
5712
5788
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5713
5789
|
/**
|
|
5714
5790
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
5716
5792
|
*/
|
|
5717
5793
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5718
5794
|
/**
|
|
5719
5795
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
5721
5797
|
*/
|
|
5722
5798
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5723
5799
|
/**
|
|
5724
5800
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
5726
5802
|
*/
|
|
5727
5803
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5728
5804
|
/**
|
|
5729
5805
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
5731
5807
|
*/
|
|
5732
5808
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5733
5809
|
/**
|
|
5734
5810
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
5736
5812
|
*/
|
|
5737
5813
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5738
5814
|
/**
|
|
5739
5815
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
5741
5817
|
*/
|
|
5742
5818
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5743
5819
|
/**
|
|
5744
5820
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
5746
5822
|
*/
|
|
5747
5823
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5748
5824
|
/**
|
|
5749
5825
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
5751
5827
|
*/
|
|
5752
5828
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5753
5829
|
/**
|
|
5754
5830
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5756
5832
|
*/
|
|
5757
5833
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5758
5834
|
/**
|
|
5759
5835
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
5761
5837
|
*/
|
|
5762
5838
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5763
5839
|
/**
|
|
5764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
5765
5841
|
* @deprecated
|
|
5766
5842
|
*/
|
|
5767
5843
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5768
5844
|
/**
|
|
5769
5845
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
5771
5847
|
*/
|
|
5772
5848
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5773
5849
|
/**
|
|
5774
5850
|
* Prefer default parameters over reassignment.
|
|
5775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
5776
5852
|
*/
|
|
5777
5853
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5778
5854
|
/**
|
|
5779
5855
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
5781
5857
|
*/
|
|
5782
5858
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5783
5859
|
/**
|
|
5784
5860
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5785
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5786
5862
|
*/
|
|
5787
5863
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5788
5864
|
/**
|
|
5789
5865
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5791
5867
|
*/
|
|
5792
5868
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5793
5869
|
/**
|
|
5794
5870
|
* Prefer `.textContent` over `.innerText`.
|
|
5795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5796
5872
|
*/
|
|
5797
5873
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5798
5874
|
/**
|
|
5799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
5800
5876
|
* @deprecated
|
|
5801
5877
|
*/
|
|
5802
5878
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5803
5879
|
/**
|
|
5804
5880
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
5806
5882
|
*/
|
|
5807
5883
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5808
5884
|
/**
|
|
5809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5810
5886
|
* @deprecated
|
|
5811
5887
|
*/
|
|
5812
5888
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5813
5889
|
/**
|
|
5814
5890
|
* Prefer `export…from` when re-exporting.
|
|
5815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
5816
5892
|
*/
|
|
5817
5893
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5818
5894
|
/**
|
|
5819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
5820
5896
|
* @deprecated
|
|
5821
5897
|
*/
|
|
5822
5898
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5899
|
+
/**
|
|
5900
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
5902
|
+
*/
|
|
5903
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5823
5904
|
/**
|
|
5824
5905
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
5826
5907
|
*/
|
|
5827
5908
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5828
5909
|
/**
|
|
5829
5910
|
* Prefer reading a JSON file as a buffer.
|
|
5830
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5831
5912
|
*/
|
|
5832
5913
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5833
5914
|
/**
|
|
5834
5915
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5835
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5836
5917
|
*/
|
|
5837
5918
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5838
5919
|
/**
|
|
5839
5920
|
* Prefer using a logical operator over a ternary.
|
|
5840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5841
5922
|
*/
|
|
5842
5923
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5924
|
+
/**
|
|
5925
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
5927
|
+
*/
|
|
5928
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5843
5929
|
/**
|
|
5844
5930
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
5846
5932
|
*/
|
|
5847
5933
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5848
5934
|
/**
|
|
5849
5935
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5851
5937
|
*/
|
|
5852
5938
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5853
5939
|
/**
|
|
5854
5940
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5856
5942
|
*/
|
|
5857
5943
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5858
5944
|
/**
|
|
5859
5945
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5860
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
5861
5947
|
*/
|
|
5862
5948
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5863
5949
|
/**
|
|
5864
5950
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5865
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5866
5952
|
*/
|
|
5867
5953
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5868
5954
|
/**
|
|
5869
5955
|
* Prefer negative index over `.length - index` when possible.
|
|
5870
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
5871
5957
|
*/
|
|
5872
5958
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5873
5959
|
/**
|
|
5874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
5875
5961
|
* @deprecated
|
|
5876
5962
|
*/
|
|
5877
5963
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5878
5964
|
/**
|
|
5879
5965
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5880
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
5881
5967
|
*/
|
|
5882
5968
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5883
5969
|
/**
|
|
5884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5970
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
5885
5971
|
* @deprecated
|
|
5886
5972
|
*/
|
|
5887
5973
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5888
5974
|
/**
|
|
5889
5975
|
* Prefer `Number` static properties over global ones.
|
|
5890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
5891
5977
|
*/
|
|
5892
5978
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5893
5979
|
/**
|
|
5894
5980
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5895
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
5896
5982
|
*/
|
|
5897
5983
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5898
5984
|
/**
|
|
5899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5985
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
5900
5986
|
* @deprecated
|
|
5901
5987
|
*/
|
|
5902
5988
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5903
5989
|
/**
|
|
5904
5990
|
* Prefer omitting the `catch` binding parameter.
|
|
5905
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5906
5992
|
*/
|
|
5907
5993
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5908
5994
|
/**
|
|
5909
5995
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5910
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
5911
5997
|
*/
|
|
5912
5998
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5913
5999
|
/**
|
|
5914
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5915
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6000
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
5916
6002
|
*/
|
|
5917
6003
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5918
6004
|
/**
|
|
5919
6005
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5920
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
5921
6007
|
*/
|
|
5922
6008
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5923
6009
|
/**
|
|
5924
6010
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5925
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
5926
6012
|
*/
|
|
5927
6013
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5928
6014
|
/**
|
|
5929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
5930
6016
|
* @deprecated
|
|
5931
6017
|
*/
|
|
5932
6018
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5933
6019
|
/**
|
|
5934
6020
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5935
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
5936
6022
|
*/
|
|
5937
6023
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5938
6024
|
/**
|
|
5939
6025
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5940
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
5941
6027
|
*/
|
|
5942
6028
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5943
6029
|
/**
|
|
5944
6030
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5945
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
5946
6032
|
*/
|
|
5947
6033
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5948
6034
|
/**
|
|
5949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5950
6036
|
* @deprecated
|
|
5951
6037
|
*/
|
|
5952
6038
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5953
6039
|
/**
|
|
5954
6040
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5955
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
5956
6042
|
*/
|
|
5957
6043
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5958
6044
|
/**
|
|
5959
6045
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5960
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
5961
6047
|
*/
|
|
5962
6048
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5963
6049
|
/**
|
|
5964
6050
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5965
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
5966
6052
|
*/
|
|
5967
6053
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5968
6054
|
/**
|
|
5969
6055
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5970
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5971
6057
|
*/
|
|
5972
6058
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5973
6059
|
/**
|
|
5974
6060
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5976
6062
|
*/
|
|
5977
6063
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5978
6064
|
/**
|
|
5979
6065
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
5981
6067
|
*/
|
|
5982
6068
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5983
6069
|
/**
|
|
5984
6070
|
* Prefer `switch` over multiple `else-if`.
|
|
5985
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
5986
6072
|
*/
|
|
5987
6073
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5988
6074
|
/**
|
|
5989
6075
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
5991
6077
|
*/
|
|
5992
6078
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5993
6079
|
/**
|
|
5994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
5995
6081
|
* @deprecated
|
|
5996
6082
|
*/
|
|
5997
6083
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5998
6084
|
/**
|
|
5999
6085
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
6001
6087
|
*/
|
|
6002
6088
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6003
6089
|
/**
|
|
6004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6005
6091
|
* @deprecated
|
|
6006
6092
|
*/
|
|
6007
6093
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6008
6094
|
/**
|
|
6009
6095
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
6011
6097
|
*/
|
|
6012
6098
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6013
6099
|
/**
|
|
6014
6100
|
* Prevent abbreviations.
|
|
6015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
6016
6102
|
*/
|
|
6017
6103
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6018
6104
|
/**
|
|
6019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
6020
6106
|
* @deprecated
|
|
6021
6107
|
*/
|
|
6022
6108
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6023
6109
|
/**
|
|
6024
6110
|
* Enforce consistent relative URL style.
|
|
6025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
6026
6112
|
*/
|
|
6027
6113
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6028
6114
|
/**
|
|
6029
6115
|
* Enforce using the separator argument with `Array#join()`.
|
|
6030
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
6031
6117
|
*/
|
|
6032
6118
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6033
6119
|
/**
|
|
6034
6120
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6035
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6036
6122
|
*/
|
|
6037
6123
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6038
6124
|
/**
|
|
6039
6125
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
6041
6127
|
*/
|
|
6042
6128
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6043
6129
|
/**
|
|
6044
6130
|
* Enforce better string content.
|
|
6045
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
6046
6132
|
*/
|
|
6047
6133
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6048
6134
|
/**
|
|
6049
6135
|
* Enforce consistent brace style for `case` clauses.
|
|
6050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
6051
6137
|
*/
|
|
6052
6138
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6053
6139
|
/**
|
|
6054
6140
|
* Fix whitespace-insensitive template indentation.
|
|
6055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
6056
6142
|
*/
|
|
6057
6143
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6058
6144
|
/**
|
|
6059
6145
|
* Enforce consistent case for text encoding identifiers.
|
|
6060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
6061
6147
|
*/
|
|
6062
6148
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6063
6149
|
/**
|
|
6064
6150
|
* Require `new` when creating an error.
|
|
6065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
6066
6152
|
*/
|
|
6067
6153
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6068
6154
|
/**
|
|
@@ -6446,6 +6532,11 @@ interface RuleOptions {
|
|
|
6446
6532
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
6447
6533
|
*/
|
|
6448
6534
|
'vue/no-deprecated-data-object-declaration'?: Linter.RuleEntry<[]>
|
|
6535
|
+
/**
|
|
6536
|
+
* disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+)
|
|
6537
|
+
* @see https://eslint.vuejs.org/rules/no-deprecated-delete-set.html
|
|
6538
|
+
*/
|
|
6539
|
+
'vue/no-deprecated-delete-set'?: Linter.RuleEntry<[]>
|
|
6449
6540
|
/**
|
|
6450
6541
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
6451
6542
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -6999,6 +7090,11 @@ interface RuleOptions {
|
|
|
6999
7090
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
7000
7091
|
*/
|
|
7001
7092
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
7093
|
+
/**
|
|
7094
|
+
* require using `useTemplateRef` instead of `ref` for template refs
|
|
7095
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
7096
|
+
*/
|
|
7097
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
7002
7098
|
/**
|
|
7003
7099
|
* enforce specific casing for the Prop name in Vue components
|
|
7004
7100
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -7591,6 +7687,12 @@ type AstroSemi = ([]|["never"]|["never", {
|
|
|
7591
7687
|
omitLastInOneLineBlock?: boolean
|
|
7592
7688
|
omitLastInOneLineClassBody?: boolean
|
|
7593
7689
|
}])
|
|
7690
|
+
// ----- astro/sort-attributes -----
|
|
7691
|
+
type AstroSortAttributes = []|[{
|
|
7692
|
+
type?: ("alphabetical" | "line-length")
|
|
7693
|
+
ignoreCase?: boolean
|
|
7694
|
+
order?: ("asc" | "desc")
|
|
7695
|
+
}]
|
|
7594
7696
|
// ----- block-spacing -----
|
|
7595
7697
|
type BlockSpacing = []|[("always" | "never")]
|
|
7596
7698
|
// ----- brace-style -----
|
|
@@ -7655,6 +7757,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
7655
7757
|
type Complexity = []|[(number | {
|
|
7656
7758
|
maximum?: number
|
|
7657
7759
|
max?: number
|
|
7760
|
+
variant?: ("classic" | "modified")
|
|
7658
7761
|
})]
|
|
7659
7762
|
// ----- computed-property-spacing -----
|
|
7660
7763
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -7803,17 +7906,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7803
7906
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7804
7907
|
}
|
|
7805
7908
|
ignorePackages?: boolean
|
|
7909
|
+
checkTypeImports?: boolean
|
|
7806
7910
|
[k: string]: unknown | undefined
|
|
7807
7911
|
}] | []|[{
|
|
7808
7912
|
pattern?: {
|
|
7809
7913
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7810
7914
|
}
|
|
7811
7915
|
ignorePackages?: boolean
|
|
7916
|
+
checkTypeImports?: boolean
|
|
7812
7917
|
[k: string]: unknown | undefined
|
|
7813
|
-
}] | []|[{
|
|
7814
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7815
7918
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7816
7919
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7920
|
+
}] | []|[{
|
|
7921
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7817
7922
|
}])
|
|
7818
7923
|
// ----- import/first -----
|
|
7819
7924
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -8404,6 +8509,7 @@ type JsdocRequireParam = []|[{
|
|
|
8404
8509
|
enableRestElementFixer?: boolean
|
|
8405
8510
|
enableRootFixer?: boolean
|
|
8406
8511
|
exemptedBy?: string[]
|
|
8512
|
+
ignoreWhenAllParamsMissing?: boolean
|
|
8407
8513
|
unnamedRootBase?: string[]
|
|
8408
8514
|
useDefaultObjectProperties?: boolean
|
|
8409
8515
|
}]
|
|
@@ -9736,7 +9842,7 @@ type NodeHashbang = []|[{
|
|
|
9736
9842
|
// ----- node/no-deprecated-api -----
|
|
9737
9843
|
type NodeNoDeprecatedApi = []|[{
|
|
9738
9844
|
version?: string
|
|
9739
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
9845
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
9740
9846
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
9741
9847
|
ignoreIndirectDependencies?: boolean
|
|
9742
9848
|
}]
|
|
@@ -9794,6 +9900,7 @@ type NodeNoMissingImport = []|[{
|
|
|
9794
9900
|
allowModules?: string[]
|
|
9795
9901
|
resolvePaths?: string[]
|
|
9796
9902
|
tryExtensions?: string[]
|
|
9903
|
+
ignoreTypeImport?: boolean
|
|
9797
9904
|
tsconfigPath?: string
|
|
9798
9905
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
9799
9906
|
}]
|
|
@@ -9810,6 +9917,10 @@ type NodeNoMixedRequires = []|[(boolean | {
|
|
|
9810
9917
|
grouping?: boolean
|
|
9811
9918
|
allowCall?: boolean
|
|
9812
9919
|
})]
|
|
9920
|
+
// ----- node/no-process-env -----
|
|
9921
|
+
type NodeNoProcessEnv = []|[{
|
|
9922
|
+
allowedVariables?: string[]
|
|
9923
|
+
}]
|
|
9813
9924
|
// ----- node/no-restricted-import -----
|
|
9814
9925
|
type NodeNoRestrictedImport = []|[(string | {
|
|
9815
9926
|
name: (string | string[])
|
|
@@ -9823,6 +9934,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9823
9934
|
// ----- node/no-sync -----
|
|
9824
9935
|
type NodeNoSync = []|[{
|
|
9825
9936
|
allowAtRootLevel?: boolean
|
|
9937
|
+
ignores?: string[]
|
|
9826
9938
|
}]
|
|
9827
9939
|
// ----- node/no-unpublished-bin -----
|
|
9828
9940
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9904,7 +10016,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9904
10016
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9905
10017
|
version?: string
|
|
9906
10018
|
allowExperimental?: boolean
|
|
9907
|
-
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" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "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.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.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.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.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "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.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" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "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.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "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.getSystemErrorName" | "util.getSystemErrorMap" | "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.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
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")[]
|
|
9908
10020
|
}]
|
|
9909
10021
|
// ----- node/prefer-global/buffer -----
|
|
9910
10022
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10047,45 +10159,26 @@ type PaddingLineBetweenStatements = {
|
|
|
10047
10159
|
// ----- perfectionist/sort-array-includes -----
|
|
10048
10160
|
type PerfectionistSortArrayIncludes = []|[{
|
|
10049
10161
|
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
order?: ("asc" | "desc")
|
|
10053
|
-
|
|
10054
|
-
ignoreCase?: boolean
|
|
10162
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10055
10163
|
|
|
10056
10164
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10057
|
-
}]
|
|
10058
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
10059
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
10060
10165
|
|
|
10061
|
-
|
|
10166
|
+
partitionByNewLine?: boolean
|
|
10062
10167
|
|
|
10063
|
-
|
|
10168
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10064
10169
|
|
|
10065
10170
|
ignoreCase?: boolean
|
|
10066
10171
|
|
|
10067
|
-
|
|
10172
|
+
locales?: (string | string[])
|
|
10068
10173
|
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10174
|
+
order?: ("asc" | "desc")
|
|
10175
|
+
|
|
10176
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10072
10177
|
}]
|
|
10073
10178
|
// ----- perfectionist/sort-classes -----
|
|
10074
10179
|
type PerfectionistSortClasses = []|[{
|
|
10075
10180
|
|
|
10076
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10077
|
-
|
|
10078
|
-
order?: ("asc" | "desc")
|
|
10079
|
-
|
|
10080
|
-
ignoreCase?: boolean
|
|
10081
|
-
|
|
10082
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10083
|
-
|
|
10084
|
-
groups?: (string | string[])[]
|
|
10085
|
-
|
|
10086
10181
|
customGroups?: ({
|
|
10087
|
-
[k: string]: (string | string[]) | undefined
|
|
10088
|
-
} | ({
|
|
10089
10182
|
|
|
10090
10183
|
groupName?: string
|
|
10091
10184
|
|
|
@@ -10094,13 +10187,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
10094
10187
|
order?: ("desc" | "asc")
|
|
10095
10188
|
anyOf?: {
|
|
10096
10189
|
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10190
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10100
10191
|
|
|
10101
|
-
|
|
10192
|
+
elementValuePattern?: string
|
|
10102
10193
|
|
|
10103
10194
|
decoratorNamePattern?: string
|
|
10195
|
+
|
|
10196
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10197
|
+
|
|
10198
|
+
elementNamePattern?: string
|
|
10104
10199
|
}[]
|
|
10105
10200
|
} | {
|
|
10106
10201
|
|
|
@@ -10110,69 +10205,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
10110
10205
|
|
|
10111
10206
|
order?: ("desc" | "asc")
|
|
10112
10207
|
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10208
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10116
10209
|
|
|
10117
|
-
|
|
10210
|
+
elementValuePattern?: string
|
|
10118
10211
|
|
|
10119
10212
|
decoratorNamePattern?: string
|
|
10120
|
-
|
|
10213
|
+
|
|
10214
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10215
|
+
|
|
10216
|
+
elementNamePattern?: string
|
|
10217
|
+
})[]
|
|
10218
|
+
|
|
10219
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
10220
|
+
|
|
10221
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10222
|
+
|
|
10223
|
+
partitionByNewLine?: boolean
|
|
10224
|
+
|
|
10225
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10226
|
+
|
|
10227
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10228
|
+
|
|
10229
|
+
ignoreCase?: boolean
|
|
10230
|
+
|
|
10231
|
+
locales?: (string | string[])
|
|
10232
|
+
|
|
10233
|
+
groups?: (string | string[])[]
|
|
10234
|
+
|
|
10235
|
+
order?: ("asc" | "desc")
|
|
10236
|
+
|
|
10237
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10238
|
+
}]
|
|
10239
|
+
// ----- perfectionist/sort-decorators -----
|
|
10240
|
+
type PerfectionistSortDecorators = []|[{
|
|
10241
|
+
|
|
10242
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10243
|
+
|
|
10244
|
+
sortOnParameters?: boolean
|
|
10245
|
+
|
|
10246
|
+
sortOnProperties?: boolean
|
|
10247
|
+
|
|
10248
|
+
sortOnAccessors?: boolean
|
|
10249
|
+
|
|
10250
|
+
sortOnMethods?: boolean
|
|
10251
|
+
|
|
10252
|
+
sortOnClasses?: boolean
|
|
10253
|
+
|
|
10254
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10255
|
+
|
|
10256
|
+
customGroups?: {
|
|
10257
|
+
[k: string]: (string | string[]) | undefined
|
|
10258
|
+
}
|
|
10259
|
+
|
|
10260
|
+
ignoreCase?: boolean
|
|
10261
|
+
|
|
10262
|
+
locales?: (string | string[])
|
|
10263
|
+
|
|
10264
|
+
groups?: (string | string[])[]
|
|
10265
|
+
|
|
10266
|
+
order?: ("asc" | "desc")
|
|
10267
|
+
|
|
10268
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10121
10269
|
}]
|
|
10122
10270
|
// ----- perfectionist/sort-enums -----
|
|
10123
10271
|
type PerfectionistSortEnums = []|[{
|
|
10124
10272
|
|
|
10125
|
-
|
|
10273
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10126
10274
|
|
|
10127
|
-
|
|
10275
|
+
forceNumericSort?: boolean
|
|
10276
|
+
|
|
10277
|
+
sortByValue?: boolean
|
|
10278
|
+
|
|
10279
|
+
partitionByNewLine?: boolean
|
|
10280
|
+
|
|
10281
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10128
10282
|
|
|
10129
10283
|
ignoreCase?: boolean
|
|
10130
10284
|
|
|
10131
|
-
|
|
10285
|
+
locales?: (string | string[])
|
|
10132
10286
|
|
|
10133
|
-
|
|
10287
|
+
order?: ("asc" | "desc")
|
|
10134
10288
|
|
|
10135
|
-
|
|
10289
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10136
10290
|
}]
|
|
10137
10291
|
// ----- perfectionist/sort-exports -----
|
|
10138
10292
|
type PerfectionistSortExports = []|[{
|
|
10139
10293
|
|
|
10140
|
-
|
|
10294
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10141
10295
|
|
|
10142
|
-
|
|
10296
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10297
|
+
|
|
10298
|
+
partitionByNewLine?: boolean
|
|
10299
|
+
|
|
10300
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10143
10301
|
|
|
10144
10302
|
ignoreCase?: boolean
|
|
10145
|
-
}]
|
|
10146
|
-
// ----- perfectionist/sort-imports -----
|
|
10147
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10148
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10149
10303
|
|
|
10150
|
-
|
|
10304
|
+
locales?: (string | string[])
|
|
10151
10305
|
|
|
10152
10306
|
order?: ("asc" | "desc")
|
|
10153
10307
|
|
|
10154
|
-
|
|
10308
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10309
|
+
}]
|
|
10310
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
10311
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
10155
10312
|
|
|
10156
|
-
|
|
10313
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10157
10314
|
|
|
10158
|
-
|
|
10315
|
+
customGroups?: {
|
|
10316
|
+
[k: string]: (string | string[]) | undefined
|
|
10317
|
+
}
|
|
10159
10318
|
|
|
10160
|
-
|
|
10319
|
+
ignoreCase?: boolean
|
|
10161
10320
|
|
|
10162
|
-
|
|
10321
|
+
locales?: (string | string[])
|
|
10163
10322
|
|
|
10164
10323
|
groups?: (string | string[])[]
|
|
10165
10324
|
|
|
10325
|
+
order?: ("asc" | "desc")
|
|
10326
|
+
|
|
10327
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10328
|
+
}]
|
|
10329
|
+
// ----- perfectionist/sort-imports -----
|
|
10330
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10331
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10332
|
+
|
|
10166
10333
|
customGroups?: {
|
|
10167
|
-
|
|
10334
|
+
|
|
10335
|
+
value?: {
|
|
10168
10336
|
[k: string]: unknown | undefined
|
|
10169
10337
|
}
|
|
10170
|
-
|
|
10338
|
+
|
|
10339
|
+
type?: {
|
|
10171
10340
|
[k: string]: unknown | undefined
|
|
10172
10341
|
}
|
|
10173
10342
|
}
|
|
10174
10343
|
|
|
10344
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10345
|
+
|
|
10346
|
+
internalPattern?: string[]
|
|
10347
|
+
|
|
10348
|
+
maxLineLength?: number
|
|
10349
|
+
|
|
10350
|
+
sortSideEffects?: boolean
|
|
10351
|
+
|
|
10175
10352
|
environment?: ("node" | "bun")
|
|
10353
|
+
|
|
10354
|
+
tsconfigRootDir?: string
|
|
10355
|
+
|
|
10356
|
+
partitionByNewLine?: boolean
|
|
10357
|
+
|
|
10358
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10359
|
+
|
|
10360
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10361
|
+
|
|
10362
|
+
ignoreCase?: boolean
|
|
10363
|
+
|
|
10364
|
+
locales?: (string | string[])
|
|
10365
|
+
|
|
10366
|
+
groups?: (string | string[])[]
|
|
10367
|
+
|
|
10368
|
+
order?: ("asc" | "desc")
|
|
10369
|
+
|
|
10370
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10176
10371
|
})
|
|
10177
10372
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10178
10373
|
[k: string]: unknown | undefined
|
|
@@ -10184,198 +10379,317 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10184
10379
|
// ----- perfectionist/sort-interfaces -----
|
|
10185
10380
|
type PerfectionistSortInterfaces = []|[{
|
|
10186
10381
|
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
order?: ("asc" | "desc")
|
|
10382
|
+
ignorePattern?: string[]
|
|
10190
10383
|
|
|
10191
|
-
|
|
10384
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10192
10385
|
|
|
10193
|
-
|
|
10386
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
10194
10387
|
|
|
10195
10388
|
partitionByNewLine?: boolean
|
|
10196
10389
|
|
|
10197
|
-
|
|
10390
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10198
10391
|
|
|
10199
|
-
|
|
10392
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10200
10393
|
|
|
10201
10394
|
customGroups?: {
|
|
10202
10395
|
[k: string]: (string | string[]) | undefined
|
|
10203
10396
|
}
|
|
10397
|
+
|
|
10398
|
+
ignoreCase?: boolean
|
|
10399
|
+
|
|
10400
|
+
locales?: (string | string[])
|
|
10401
|
+
|
|
10402
|
+
groups?: (string | string[])[]
|
|
10403
|
+
|
|
10404
|
+
order?: ("asc" | "desc")
|
|
10405
|
+
|
|
10406
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10204
10407
|
}]
|
|
10205
10408
|
// ----- perfectionist/sort-intersection-types -----
|
|
10206
10409
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10207
10410
|
|
|
10208
|
-
|
|
10411
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10209
10412
|
|
|
10210
|
-
|
|
10413
|
+
partitionByNewLine?: boolean
|
|
10414
|
+
|
|
10415
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10416
|
+
|
|
10417
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10211
10418
|
|
|
10212
10419
|
ignoreCase?: boolean
|
|
10213
10420
|
|
|
10421
|
+
locales?: (string | string[])
|
|
10422
|
+
|
|
10214
10423
|
groups?: (string | string[])[]
|
|
10215
|
-
}]
|
|
10216
|
-
// ----- perfectionist/sort-jsx-props -----
|
|
10217
|
-
type PerfectionistSortJsxProps = []|[{
|
|
10218
|
-
|
|
10219
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10220
10424
|
|
|
10221
10425
|
order?: ("asc" | "desc")
|
|
10222
10426
|
|
|
10223
|
-
|
|
10427
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10428
|
+
}]
|
|
10429
|
+
// ----- perfectionist/sort-jsx-props -----
|
|
10430
|
+
type PerfectionistSortJsxProps = []|[{
|
|
10224
10431
|
|
|
10225
10432
|
ignorePattern?: string[]
|
|
10226
10433
|
|
|
10227
|
-
|
|
10434
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10228
10435
|
|
|
10229
10436
|
customGroups?: {
|
|
10230
10437
|
[k: string]: (string | string[]) | undefined
|
|
10231
10438
|
}
|
|
10439
|
+
|
|
10440
|
+
ignoreCase?: boolean
|
|
10441
|
+
|
|
10442
|
+
locales?: (string | string[])
|
|
10443
|
+
|
|
10444
|
+
groups?: (string | string[])[]
|
|
10445
|
+
|
|
10446
|
+
order?: ("asc" | "desc")
|
|
10447
|
+
|
|
10448
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10232
10449
|
}]
|
|
10233
10450
|
// ----- perfectionist/sort-maps -----
|
|
10234
10451
|
type PerfectionistSortMaps = []|[{
|
|
10235
10452
|
|
|
10236
|
-
|
|
10453
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10454
|
+
|
|
10455
|
+
partitionByNewLine?: boolean
|
|
10456
|
+
|
|
10457
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10458
|
+
|
|
10459
|
+
ignoreCase?: boolean
|
|
10460
|
+
|
|
10461
|
+
locales?: (string | string[])
|
|
10237
10462
|
|
|
10238
10463
|
order?: ("asc" | "desc")
|
|
10239
10464
|
|
|
10465
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10466
|
+
}]
|
|
10467
|
+
// ----- perfectionist/sort-modules -----
|
|
10468
|
+
type PerfectionistSortModules = []|[{
|
|
10469
|
+
|
|
10470
|
+
customGroups?: ({
|
|
10471
|
+
|
|
10472
|
+
groupName?: string
|
|
10473
|
+
|
|
10474
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10475
|
+
|
|
10476
|
+
order?: ("desc" | "asc")
|
|
10477
|
+
anyOf?: {
|
|
10478
|
+
|
|
10479
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10480
|
+
|
|
10481
|
+
elementValuePattern?: string
|
|
10482
|
+
|
|
10483
|
+
decoratorNamePattern?: string
|
|
10484
|
+
|
|
10485
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10486
|
+
|
|
10487
|
+
elementNamePattern?: string
|
|
10488
|
+
}[]
|
|
10489
|
+
} | {
|
|
10490
|
+
|
|
10491
|
+
groupName?: string
|
|
10492
|
+
|
|
10493
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10494
|
+
|
|
10495
|
+
order?: ("desc" | "asc")
|
|
10496
|
+
|
|
10497
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10498
|
+
|
|
10499
|
+
elementValuePattern?: string
|
|
10500
|
+
|
|
10501
|
+
decoratorNamePattern?: string
|
|
10502
|
+
|
|
10503
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10504
|
+
|
|
10505
|
+
elementNamePattern?: string
|
|
10506
|
+
})[]
|
|
10507
|
+
|
|
10508
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10509
|
+
|
|
10510
|
+
partitionByNewLine?: boolean
|
|
10511
|
+
|
|
10512
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10513
|
+
|
|
10514
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10515
|
+
|
|
10240
10516
|
ignoreCase?: boolean
|
|
10517
|
+
|
|
10518
|
+
locales?: (string | string[])
|
|
10519
|
+
|
|
10520
|
+
groups?: (string | string[])[]
|
|
10521
|
+
|
|
10522
|
+
order?: ("asc" | "desc")
|
|
10523
|
+
|
|
10524
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10241
10525
|
}]
|
|
10242
10526
|
// ----- perfectionist/sort-named-exports -----
|
|
10243
10527
|
type PerfectionistSortNamedExports = []|[{
|
|
10244
10528
|
|
|
10245
|
-
|
|
10529
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10246
10530
|
|
|
10247
|
-
|
|
10531
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10532
|
+
|
|
10533
|
+
partitionByNewLine?: boolean
|
|
10534
|
+
|
|
10535
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10248
10536
|
|
|
10249
10537
|
ignoreCase?: boolean
|
|
10250
10538
|
|
|
10251
|
-
|
|
10539
|
+
locales?: (string | string[])
|
|
10540
|
+
|
|
10541
|
+
order?: ("asc" | "desc")
|
|
10542
|
+
|
|
10543
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10252
10544
|
}]
|
|
10253
10545
|
// ----- perfectionist/sort-named-imports -----
|
|
10254
10546
|
type PerfectionistSortNamedImports = []|[{
|
|
10255
10547
|
|
|
10256
|
-
|
|
10548
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10257
10549
|
|
|
10258
|
-
|
|
10550
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10551
|
+
|
|
10552
|
+
ignoreAlias?: boolean
|
|
10553
|
+
|
|
10554
|
+
partitionByNewLine?: boolean
|
|
10555
|
+
|
|
10556
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10259
10557
|
|
|
10260
10558
|
ignoreCase?: boolean
|
|
10261
10559
|
|
|
10262
|
-
|
|
10560
|
+
locales?: (string | string[])
|
|
10263
10561
|
|
|
10264
|
-
|
|
10562
|
+
order?: ("asc" | "desc")
|
|
10563
|
+
|
|
10564
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10265
10565
|
}]
|
|
10266
10566
|
// ----- perfectionist/sort-object-types -----
|
|
10267
10567
|
type PerfectionistSortObjectTypes = []|[{
|
|
10268
10568
|
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
order?: ("asc" | "desc")
|
|
10569
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10272
10570
|
|
|
10273
|
-
|
|
10571
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10274
10572
|
|
|
10275
10573
|
partitionByNewLine?: boolean
|
|
10276
10574
|
|
|
10277
|
-
|
|
10575
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10278
10576
|
|
|
10279
|
-
|
|
10577
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10280
10578
|
|
|
10281
10579
|
customGroups?: {
|
|
10282
10580
|
[k: string]: (string | string[]) | undefined
|
|
10283
10581
|
}
|
|
10284
|
-
}]
|
|
10285
|
-
// ----- perfectionist/sort-objects -----
|
|
10286
|
-
type PerfectionistSortObjects = []|[{
|
|
10287
10582
|
|
|
10288
|
-
|
|
10583
|
+
ignoreCase?: boolean
|
|
10584
|
+
|
|
10585
|
+
locales?: (string | string[])
|
|
10586
|
+
|
|
10587
|
+
groups?: (string | string[])[]
|
|
10289
10588
|
|
|
10290
10589
|
order?: ("asc" | "desc")
|
|
10291
10590
|
|
|
10292
|
-
|
|
10591
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10592
|
+
}]
|
|
10593
|
+
// ----- perfectionist/sort-objects -----
|
|
10594
|
+
type PerfectionistSortObjects = []|[{
|
|
10595
|
+
|
|
10596
|
+
ignorePattern?: string[]
|
|
10293
10597
|
|
|
10294
10598
|
partitionByComment?: (string[] | boolean | string)
|
|
10295
10599
|
|
|
10296
|
-
|
|
10600
|
+
destructureOnly?: boolean
|
|
10297
10601
|
|
|
10298
10602
|
styledComponents?: boolean
|
|
10299
10603
|
|
|
10300
|
-
|
|
10604
|
+
partitionByNewLine?: boolean
|
|
10301
10605
|
|
|
10302
|
-
|
|
10606
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10303
10607
|
|
|
10304
|
-
|
|
10608
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10305
10609
|
|
|
10306
10610
|
customGroups?: {
|
|
10307
10611
|
[k: string]: (string | string[]) | undefined
|
|
10308
10612
|
}
|
|
10309
|
-
}]
|
|
10310
|
-
// ----- perfectionist/sort-sets -----
|
|
10311
|
-
type PerfectionistSortSets = []|[{
|
|
10312
10613
|
|
|
10313
|
-
|
|
10614
|
+
ignoreCase?: boolean
|
|
10615
|
+
|
|
10616
|
+
locales?: (string | string[])
|
|
10617
|
+
|
|
10618
|
+
groups?: (string | string[])[]
|
|
10314
10619
|
|
|
10315
10620
|
order?: ("asc" | "desc")
|
|
10316
10621
|
|
|
10317
|
-
|
|
10622
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10623
|
+
}]
|
|
10624
|
+
// ----- perfectionist/sort-sets -----
|
|
10625
|
+
type PerfectionistSortSets = []|[{
|
|
10626
|
+
|
|
10627
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10318
10628
|
|
|
10319
10629
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10320
|
-
}]
|
|
10321
|
-
// ----- perfectionist/sort-svelte-attributes -----
|
|
10322
|
-
type PerfectionistSortSvelteAttributes = []|[{
|
|
10323
10630
|
|
|
10324
|
-
|
|
10631
|
+
partitionByNewLine?: boolean
|
|
10325
10632
|
|
|
10326
|
-
|
|
10633
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10327
10634
|
|
|
10328
10635
|
ignoreCase?: boolean
|
|
10329
10636
|
|
|
10330
|
-
|
|
10637
|
+
locales?: (string | string[])
|
|
10331
10638
|
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10639
|
+
order?: ("asc" | "desc")
|
|
10640
|
+
|
|
10641
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10335
10642
|
}]
|
|
10336
10643
|
// ----- perfectionist/sort-switch-case -----
|
|
10337
10644
|
type PerfectionistSortSwitchCase = []|[{
|
|
10338
10645
|
|
|
10339
|
-
|
|
10646
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10647
|
+
|
|
10648
|
+
ignoreCase?: boolean
|
|
10649
|
+
|
|
10650
|
+
locales?: (string | string[])
|
|
10340
10651
|
|
|
10341
10652
|
order?: ("asc" | "desc")
|
|
10342
10653
|
|
|
10343
|
-
|
|
10654
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10344
10655
|
}]
|
|
10345
10656
|
// ----- perfectionist/sort-union-types -----
|
|
10346
10657
|
type PerfectionistSortUnionTypes = []|[{
|
|
10347
10658
|
|
|
10348
|
-
|
|
10659
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10349
10660
|
|
|
10350
|
-
|
|
10661
|
+
partitionByNewLine?: boolean
|
|
10662
|
+
|
|
10663
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10664
|
+
|
|
10665
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10351
10666
|
|
|
10352
10667
|
ignoreCase?: boolean
|
|
10353
10668
|
|
|
10669
|
+
locales?: (string | string[])
|
|
10670
|
+
|
|
10354
10671
|
groups?: (string | string[])[]
|
|
10672
|
+
|
|
10673
|
+
order?: ("asc" | "desc")
|
|
10674
|
+
|
|
10675
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10355
10676
|
}]
|
|
10356
10677
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10357
10678
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10358
10679
|
|
|
10359
|
-
|
|
10680
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10360
10681
|
|
|
10361
|
-
|
|
10682
|
+
partitionByNewLine?: boolean
|
|
10683
|
+
|
|
10684
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10362
10685
|
|
|
10363
10686
|
ignoreCase?: boolean
|
|
10364
|
-
}]
|
|
10365
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
10366
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
10367
10687
|
|
|
10368
|
-
|
|
10688
|
+
locales?: (string | string[])
|
|
10369
10689
|
|
|
10370
10690
|
order?: ("asc" | "desc")
|
|
10371
10691
|
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
groups?: (string | string[])[]
|
|
10375
|
-
|
|
10376
|
-
customGroups?: {
|
|
10377
|
-
[k: string]: (string | string[]) | undefined
|
|
10378
|
-
}
|
|
10692
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10379
10693
|
}]
|
|
10380
10694
|
// ----- prefer-arrow-callback -----
|
|
10381
10695
|
type PreferArrowCallback = []|[{
|
|
@@ -10440,6 +10754,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
10440
10754
|
})]
|
|
10441
10755
|
// ----- radix -----
|
|
10442
10756
|
type Radix = []|[("always" | "as-needed")]
|
|
10757
|
+
// ----- react-dom/no-unknown-property -----
|
|
10758
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
10759
|
+
ignore?: string[]
|
|
10760
|
+
requireDataLowercase?: boolean
|
|
10761
|
+
}]
|
|
10443
10762
|
// ----- react-hooks/exhaustive-deps -----
|
|
10444
10763
|
type ReactHooksExhaustiveDeps = []|[{
|
|
10445
10764
|
additionalHooks?: string
|
|
@@ -10463,6 +10782,7 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
10463
10782
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
10464
10783
|
allow?: ("always" | "as-needed")
|
|
10465
10784
|
extensions?: string[]
|
|
10785
|
+
ignoreFilesWithoutCode?: boolean
|
|
10466
10786
|
})]
|
|
10467
10787
|
// ----- react-refresh/only-export-components -----
|
|
10468
10788
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
@@ -10470,6 +10790,11 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
10470
10790
|
checkJS?: boolean
|
|
10471
10791
|
allowExportNames?: string[]
|
|
10472
10792
|
}]
|
|
10793
|
+
// ----- react/no-useless-fragment -----
|
|
10794
|
+
type ReactNoUselessFragment = []|[{
|
|
10795
|
+
|
|
10796
|
+
allowExpressions?: boolean
|
|
10797
|
+
}]
|
|
10473
10798
|
// ----- require-atomic-updates -----
|
|
10474
10799
|
type RequireAtomicUpdates = []|[{
|
|
10475
10800
|
allowProperties?: boolean
|
|
@@ -10601,6 +10926,8 @@ type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
|
|
|
10601
10926
|
imports?: _StyleCommaDangleValueWithIgnore
|
|
10602
10927
|
exports?: _StyleCommaDangleValueWithIgnore
|
|
10603
10928
|
functions?: _StyleCommaDangleValueWithIgnore
|
|
10929
|
+
importAttributes?: _StyleCommaDangleValueWithIgnore
|
|
10930
|
+
dynamicImports?: _StyleCommaDangleValueWithIgnore
|
|
10604
10931
|
enums?: _StyleCommaDangleValueWithIgnore
|
|
10605
10932
|
generics?: _StyleCommaDangleValueWithIgnore
|
|
10606
10933
|
tuples?: _StyleCommaDangleValueWithIgnore
|
|
@@ -10622,6 +10949,127 @@ type StyleCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
10622
10949
|
type StyleComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
10623
10950
|
enforceForClassMembers?: boolean
|
|
10624
10951
|
}]
|
|
10952
|
+
// ----- style/curly-newline -----
|
|
10953
|
+
type StyleCurlyNewline = []|[(("always" | "never") | {
|
|
10954
|
+
IfStatementConsequent?: (("always" | "never") | {
|
|
10955
|
+
multiline?: boolean
|
|
10956
|
+
minElements?: number
|
|
10957
|
+
consistent?: boolean
|
|
10958
|
+
})
|
|
10959
|
+
IfStatementAlternative?: (("always" | "never") | {
|
|
10960
|
+
multiline?: boolean
|
|
10961
|
+
minElements?: number
|
|
10962
|
+
consistent?: boolean
|
|
10963
|
+
})
|
|
10964
|
+
DoWhileStatement?: (("always" | "never") | {
|
|
10965
|
+
multiline?: boolean
|
|
10966
|
+
minElements?: number
|
|
10967
|
+
consistent?: boolean
|
|
10968
|
+
})
|
|
10969
|
+
ForInStatement?: (("always" | "never") | {
|
|
10970
|
+
multiline?: boolean
|
|
10971
|
+
minElements?: number
|
|
10972
|
+
consistent?: boolean
|
|
10973
|
+
})
|
|
10974
|
+
ForOfStatement?: (("always" | "never") | {
|
|
10975
|
+
multiline?: boolean
|
|
10976
|
+
minElements?: number
|
|
10977
|
+
consistent?: boolean
|
|
10978
|
+
})
|
|
10979
|
+
ForStatement?: (("always" | "never") | {
|
|
10980
|
+
multiline?: boolean
|
|
10981
|
+
minElements?: number
|
|
10982
|
+
consistent?: boolean
|
|
10983
|
+
})
|
|
10984
|
+
WhileStatement?: (("always" | "never") | {
|
|
10985
|
+
multiline?: boolean
|
|
10986
|
+
minElements?: number
|
|
10987
|
+
consistent?: boolean
|
|
10988
|
+
})
|
|
10989
|
+
SwitchStatement?: (("always" | "never") | {
|
|
10990
|
+
multiline?: boolean
|
|
10991
|
+
minElements?: number
|
|
10992
|
+
consistent?: boolean
|
|
10993
|
+
})
|
|
10994
|
+
SwitchCase?: (("always" | "never") | {
|
|
10995
|
+
multiline?: boolean
|
|
10996
|
+
minElements?: number
|
|
10997
|
+
consistent?: boolean
|
|
10998
|
+
})
|
|
10999
|
+
TryStatementBlock?: (("always" | "never") | {
|
|
11000
|
+
multiline?: boolean
|
|
11001
|
+
minElements?: number
|
|
11002
|
+
consistent?: boolean
|
|
11003
|
+
})
|
|
11004
|
+
TryStatementHandler?: (("always" | "never") | {
|
|
11005
|
+
multiline?: boolean
|
|
11006
|
+
minElements?: number
|
|
11007
|
+
consistent?: boolean
|
|
11008
|
+
})
|
|
11009
|
+
TryStatementFinalizer?: (("always" | "never") | {
|
|
11010
|
+
multiline?: boolean
|
|
11011
|
+
minElements?: number
|
|
11012
|
+
consistent?: boolean
|
|
11013
|
+
})
|
|
11014
|
+
BlockStatement?: (("always" | "never") | {
|
|
11015
|
+
multiline?: boolean
|
|
11016
|
+
minElements?: number
|
|
11017
|
+
consistent?: boolean
|
|
11018
|
+
})
|
|
11019
|
+
ArrowFunctionExpression?: (("always" | "never") | {
|
|
11020
|
+
multiline?: boolean
|
|
11021
|
+
minElements?: number
|
|
11022
|
+
consistent?: boolean
|
|
11023
|
+
})
|
|
11024
|
+
FunctionDeclaration?: (("always" | "never") | {
|
|
11025
|
+
multiline?: boolean
|
|
11026
|
+
minElements?: number
|
|
11027
|
+
consistent?: boolean
|
|
11028
|
+
})
|
|
11029
|
+
FunctionExpression?: (("always" | "never") | {
|
|
11030
|
+
multiline?: boolean
|
|
11031
|
+
minElements?: number
|
|
11032
|
+
consistent?: boolean
|
|
11033
|
+
})
|
|
11034
|
+
Property?: (("always" | "never") | {
|
|
11035
|
+
multiline?: boolean
|
|
11036
|
+
minElements?: number
|
|
11037
|
+
consistent?: boolean
|
|
11038
|
+
})
|
|
11039
|
+
ClassBody?: (("always" | "never") | {
|
|
11040
|
+
multiline?: boolean
|
|
11041
|
+
minElements?: number
|
|
11042
|
+
consistent?: boolean
|
|
11043
|
+
})
|
|
11044
|
+
StaticBlock?: (("always" | "never") | {
|
|
11045
|
+
multiline?: boolean
|
|
11046
|
+
minElements?: number
|
|
11047
|
+
consistent?: boolean
|
|
11048
|
+
})
|
|
11049
|
+
WithStatement?: (("always" | "never") | {
|
|
11050
|
+
multiline?: boolean
|
|
11051
|
+
minElements?: number
|
|
11052
|
+
consistent?: boolean
|
|
11053
|
+
})
|
|
11054
|
+
TSEnumBody?: (("always" | "never") | {
|
|
11055
|
+
multiline?: boolean
|
|
11056
|
+
minElements?: number
|
|
11057
|
+
consistent?: boolean
|
|
11058
|
+
})
|
|
11059
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
11060
|
+
multiline?: boolean
|
|
11061
|
+
minElements?: number
|
|
11062
|
+
consistent?: boolean
|
|
11063
|
+
})
|
|
11064
|
+
TSModuleBlock?: (("always" | "never") | {
|
|
11065
|
+
multiline?: boolean
|
|
11066
|
+
minElements?: number
|
|
11067
|
+
consistent?: boolean
|
|
11068
|
+
})
|
|
11069
|
+
multiline?: boolean
|
|
11070
|
+
minElements?: number
|
|
11071
|
+
consistent?: boolean
|
|
11072
|
+
})]
|
|
10625
11073
|
// ----- style/dot-location -----
|
|
10626
11074
|
type StyleDotLocation = []|[("object" | "property")]
|
|
10627
11075
|
// ----- style/eol-last -----
|
|
@@ -10629,12 +11077,20 @@ type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
10629
11077
|
// ----- style/func-call-spacing -----
|
|
10630
11078
|
type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
10631
11079
|
allowNewlines?: boolean
|
|
11080
|
+
optionalChain?: {
|
|
11081
|
+
before?: boolean
|
|
11082
|
+
after?: boolean
|
|
11083
|
+
}
|
|
10632
11084
|
}])
|
|
10633
11085
|
// ----- style/function-call-argument-newline -----
|
|
10634
11086
|
type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
10635
11087
|
// ----- style/function-call-spacing -----
|
|
10636
11088
|
type StyleFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
10637
11089
|
allowNewlines?: boolean
|
|
11090
|
+
optionalChain?: {
|
|
11091
|
+
before?: boolean
|
|
11092
|
+
after?: boolean
|
|
11093
|
+
}
|
|
10638
11094
|
}])
|
|
10639
11095
|
// ----- style/function-paren-newline -----
|
|
10640
11096
|
type StyleFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -10701,6 +11157,8 @@ type StyleJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "t
|
|
|
10701
11157
|
nonEmpty?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
10702
11158
|
selfClosing?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
10703
11159
|
})]
|
|
11160
|
+
// ----- style/jsx-closing-tag-location -----
|
|
11161
|
+
type StyleJsxClosingTagLocation = []|[("tag-aligned" | "line-aligned")]
|
|
10704
11162
|
// ----- style/jsx-curly-brace-presence -----
|
|
10705
11163
|
type StyleJsxCurlyBracePresence = []|[({
|
|
10706
11164
|
props?: ("always" | "never" | "ignore")
|
|
@@ -11284,6 +11742,7 @@ type StyleMaxLen = []|[({
|
|
|
11284
11742
|
// ----- style/max-statements-per-line -----
|
|
11285
11743
|
type StyleMaxStatementsPerLine = []|[{
|
|
11286
11744
|
max?: number
|
|
11745
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
11287
11746
|
}]
|
|
11288
11747
|
// ----- style/member-delimiter-style -----
|
|
11289
11748
|
type StyleMemberDelimiterStyle = []|[{
|
|
@@ -11453,7 +11912,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
11453
11912
|
}]
|
|
11454
11913
|
// ----- style/padding-line-between-statements -----
|
|
11455
11914
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
11456
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
11915
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
11457
11916
|
type StylePaddingLineBetweenStatements = {
|
|
11458
11917
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
11459
11918
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -11669,7 +12128,7 @@ type TestConsistentTestIt = []|[{
|
|
|
11669
12128
|
}]
|
|
11670
12129
|
// ----- test/expect-expect -----
|
|
11671
12130
|
type TestExpectExpect = []|[{
|
|
11672
|
-
assertFunctionNames?: []
|
|
12131
|
+
assertFunctionNames?: string[]
|
|
11673
12132
|
additionalTestBlockFunctions?: string[]
|
|
11674
12133
|
}]
|
|
11675
12134
|
// ----- test/max-expects -----
|
|
@@ -11881,6 +12340,11 @@ type TsArrayType = []|[{
|
|
|
11881
12340
|
}]
|
|
11882
12341
|
// ----- ts/ban-ts-comment -----
|
|
11883
12342
|
type TsBanTsComment = []|[{
|
|
12343
|
+
|
|
12344
|
+
minimumDescriptionLength?: number
|
|
12345
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
12346
|
+
descriptionFormat?: string
|
|
12347
|
+
})
|
|
11884
12348
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
11885
12349
|
descriptionFormat?: string
|
|
11886
12350
|
})
|
|
@@ -11890,24 +12354,19 @@ type TsBanTsComment = []|[{
|
|
|
11890
12354
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
11891
12355
|
descriptionFormat?: string
|
|
11892
12356
|
})
|
|
11893
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
11894
|
-
descriptionFormat?: string
|
|
11895
|
-
})
|
|
11896
|
-
|
|
11897
|
-
minimumDescriptionLength?: number
|
|
11898
12357
|
}]
|
|
11899
12358
|
// ----- ts/class-literal-property-style -----
|
|
11900
12359
|
type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
11901
12360
|
// ----- ts/class-methods-use-this -----
|
|
11902
12361
|
type TsClassMethodsUseThis = []|[{
|
|
11903
12362
|
|
|
11904
|
-
exceptMethods?: string[]
|
|
11905
|
-
|
|
11906
12363
|
enforceForClassFields?: boolean
|
|
11907
12364
|
|
|
11908
|
-
|
|
12365
|
+
exceptMethods?: string[]
|
|
11909
12366
|
|
|
11910
12367
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
12368
|
+
|
|
12369
|
+
ignoreOverrideMethods?: boolean
|
|
11911
12370
|
}]
|
|
11912
12371
|
// ----- ts/consistent-generic-constructors -----
|
|
11913
12372
|
type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -11946,6 +12405,8 @@ type TsConsistentTypeImports = []|[{
|
|
|
11946
12405
|
// ----- ts/dot-notation -----
|
|
11947
12406
|
type TsDotNotation = []|[{
|
|
11948
12407
|
|
|
12408
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
12409
|
+
|
|
11949
12410
|
allowKeywords?: boolean
|
|
11950
12411
|
|
|
11951
12412
|
allowPattern?: string
|
|
@@ -11953,40 +12414,40 @@ type TsDotNotation = []|[{
|
|
|
11953
12414
|
allowPrivateClassPropertyAccess?: boolean
|
|
11954
12415
|
|
|
11955
12416
|
allowProtectedClassPropertyAccess?: boolean
|
|
11956
|
-
|
|
11957
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
11958
12417
|
}]
|
|
11959
12418
|
// ----- ts/explicit-function-return-type -----
|
|
11960
12419
|
type TsExplicitFunctionReturnType = []|[{
|
|
11961
12420
|
|
|
11962
12421
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
11963
12422
|
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
allowHigherOrderFunctions?: boolean
|
|
12423
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
11967
12424
|
|
|
11968
|
-
|
|
12425
|
+
allowedNames?: string[]
|
|
11969
12426
|
|
|
11970
|
-
|
|
12427
|
+
allowExpressions?: boolean
|
|
11971
12428
|
|
|
11972
12429
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
11973
12430
|
|
|
11974
|
-
|
|
12431
|
+
allowHigherOrderFunctions?: boolean
|
|
11975
12432
|
|
|
11976
12433
|
allowIIFEs?: boolean
|
|
12434
|
+
|
|
12435
|
+
allowTypedFunctionExpressions?: boolean
|
|
11977
12436
|
}]
|
|
11978
12437
|
// ----- ts/explicit-member-accessibility -----
|
|
11979
12438
|
type TsExplicitMemberAccessibility = []|[{
|
|
12439
|
+
|
|
11980
12440
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
12441
|
+
|
|
12442
|
+
ignoredMethodNames?: string[]
|
|
12443
|
+
|
|
11981
12444
|
overrides?: {
|
|
11982
12445
|
accessors?: ("explicit" | "no-public" | "off")
|
|
11983
12446
|
constructors?: ("explicit" | "no-public" | "off")
|
|
11984
12447
|
methods?: ("explicit" | "no-public" | "off")
|
|
11985
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
11986
12448
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
12449
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
11987
12450
|
}
|
|
11988
|
-
|
|
11989
|
-
ignoredMethodNames?: string[]
|
|
11990
12451
|
}]
|
|
11991
12452
|
// ----- ts/explicit-module-boundary-types -----
|
|
11992
12453
|
type TsExplicitModuleBoundaryTypes = []|[{
|
|
@@ -12008,38 +12469,38 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
|
12008
12469
|
// ----- ts/max-params -----
|
|
12009
12470
|
type TsMaxParams = []|[{
|
|
12010
12471
|
|
|
12472
|
+
countVoidThis?: boolean
|
|
12473
|
+
|
|
12011
12474
|
max?: number
|
|
12012
12475
|
|
|
12013
12476
|
maximum?: number
|
|
12014
|
-
|
|
12015
|
-
countVoidThis?: boolean
|
|
12016
12477
|
}]
|
|
12017
12478
|
// ----- ts/member-ordering -----
|
|
12018
12479
|
type TsMemberOrdering = []|[{
|
|
12019
|
-
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12020
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12021
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12022
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12023
|
-
})
|
|
12024
12480
|
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12025
12481
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12026
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12027
12482
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12483
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12028
12484
|
})
|
|
12029
12485
|
classExpressions?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12030
12486
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12487
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
12031
12488
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12489
|
+
})
|
|
12490
|
+
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12491
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12032
12492
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12493
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12033
12494
|
})
|
|
12034
12495
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12035
12496
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12036
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12037
12497
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12498
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12038
12499
|
})
|
|
12039
12500
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12040
12501
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12041
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12042
12502
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12503
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12043
12504
|
})
|
|
12044
12505
|
}]
|
|
12045
12506
|
// ----- ts/method-signature-style -----
|
|
@@ -12051,310 +12512,310 @@ type _TsNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "r
|
|
|
12051
12512
|
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
12052
12513
|
type _TsNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
12053
12514
|
type TsNamingConvention = ({
|
|
12054
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12055
12515
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12516
|
+
failureMessage?: string
|
|
12517
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12056
12518
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12057
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12058
12519
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12059
12520
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12060
|
-
|
|
12521
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12061
12522
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12062
|
-
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
12063
12523
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
12524
|
+
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
12064
12525
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12065
12526
|
} | {
|
|
12066
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12067
12527
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12528
|
+
failureMessage?: string
|
|
12529
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12068
12530
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12069
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12070
12531
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12071
12532
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12072
|
-
|
|
12533
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12073
12534
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12074
12535
|
selector: "default"
|
|
12075
12536
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
12076
12537
|
} | {
|
|
12077
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12078
12538
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12539
|
+
failureMessage?: string
|
|
12540
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12079
12541
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12080
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12081
12542
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12082
12543
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12083
|
-
|
|
12544
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12084
12545
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12085
12546
|
selector: "variableLike"
|
|
12086
12547
|
modifiers?: ("unused" | "async")[]
|
|
12087
12548
|
} | {
|
|
12088
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12089
12549
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12550
|
+
failureMessage?: string
|
|
12551
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12090
12552
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12091
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12092
12553
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12093
12554
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12094
|
-
|
|
12555
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12095
12556
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12096
12557
|
selector: "variable"
|
|
12097
12558
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
12098
12559
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12099
12560
|
} | {
|
|
12100
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12101
12561
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12562
|
+
failureMessage?: string
|
|
12563
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12102
12564
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12103
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12104
12565
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12105
12566
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12106
|
-
|
|
12567
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12107
12568
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12108
12569
|
selector: "function"
|
|
12109
12570
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
12110
12571
|
} | {
|
|
12111
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12112
12572
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12573
|
+
failureMessage?: string
|
|
12574
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12113
12575
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12114
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12115
12576
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12116
12577
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12117
|
-
|
|
12578
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12118
12579
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12119
12580
|
selector: "parameter"
|
|
12120
12581
|
modifiers?: ("destructured" | "unused")[]
|
|
12121
12582
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12122
12583
|
} | {
|
|
12123
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12124
12584
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12585
|
+
failureMessage?: string
|
|
12586
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12125
12587
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12126
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12127
12588
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12128
12589
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12129
|
-
|
|
12590
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12130
12591
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12131
12592
|
selector: "memberLike"
|
|
12132
12593
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12133
12594
|
} | {
|
|
12134
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12135
12595
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12596
|
+
failureMessage?: string
|
|
12597
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12136
12598
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12137
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12138
12599
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12139
12600
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12140
|
-
|
|
12601
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12141
12602
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12142
12603
|
selector: "classProperty"
|
|
12143
12604
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
12144
12605
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12145
12606
|
} | {
|
|
12146
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12147
12607
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12608
|
+
failureMessage?: string
|
|
12609
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12148
12610
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12149
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12150
12611
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12151
12612
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12152
|
-
|
|
12613
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12153
12614
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12154
12615
|
selector: "objectLiteralProperty"
|
|
12155
12616
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
12156
12617
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12157
12618
|
} | {
|
|
12158
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12159
12619
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12620
|
+
failureMessage?: string
|
|
12621
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12160
12622
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12161
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12162
12623
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12163
12624
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12164
|
-
|
|
12625
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12165
12626
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12166
12627
|
selector: "typeProperty"
|
|
12167
12628
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
12168
12629
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12169
12630
|
} | {
|
|
12631
|
+
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12632
|
+
failureMessage?: string
|
|
12170
12633
|
format: _TsNamingConventionFormatOptionsConfig
|
|
12171
|
-
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12172
12634
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12173
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12174
12635
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12175
12636
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12176
|
-
|
|
12637
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12177
12638
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12178
12639
|
selector: "parameterProperty"
|
|
12179
12640
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
12180
12641
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12181
12642
|
} | {
|
|
12182
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12183
12643
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12644
|
+
failureMessage?: string
|
|
12645
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12184
12646
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12185
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12186
12647
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12187
12648
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12188
|
-
|
|
12649
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12189
12650
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12190
12651
|
selector: "property"
|
|
12191
12652
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12192
12653
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12193
12654
|
} | {
|
|
12194
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12195
12655
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12656
|
+
failureMessage?: string
|
|
12657
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12196
12658
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12197
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12198
12659
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12199
12660
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12200
|
-
|
|
12661
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12201
12662
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12202
12663
|
selector: "classMethod"
|
|
12203
12664
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12204
12665
|
} | {
|
|
12205
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12206
12666
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12667
|
+
failureMessage?: string
|
|
12668
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12207
12669
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12208
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12209
12670
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12210
12671
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12211
|
-
|
|
12672
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12212
12673
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12213
12674
|
selector: "objectLiteralMethod"
|
|
12214
12675
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
12215
12676
|
} | {
|
|
12216
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12217
12677
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12678
|
+
failureMessage?: string
|
|
12679
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12218
12680
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12219
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12220
12681
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12221
12682
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12222
|
-
|
|
12683
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12223
12684
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12224
12685
|
selector: "typeMethod"
|
|
12225
12686
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
12226
12687
|
} | {
|
|
12227
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12228
12688
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12689
|
+
failureMessage?: string
|
|
12690
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12229
12691
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12230
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12231
12692
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12232
12693
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12233
|
-
|
|
12694
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12234
12695
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12235
12696
|
selector: "method"
|
|
12236
12697
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12237
12698
|
} | {
|
|
12238
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12239
12699
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12700
|
+
failureMessage?: string
|
|
12701
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12240
12702
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12241
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12242
12703
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12243
12704
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12244
|
-
|
|
12705
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12245
12706
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12246
12707
|
selector: "classicAccessor"
|
|
12247
12708
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12248
12709
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12249
12710
|
} | {
|
|
12250
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12251
12711
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12712
|
+
failureMessage?: string
|
|
12713
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12252
12714
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12253
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12254
12715
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12255
12716
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12256
|
-
|
|
12717
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12257
12718
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12258
12719
|
selector: "autoAccessor"
|
|
12259
12720
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12260
12721
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12261
12722
|
} | {
|
|
12262
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12263
12723
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12724
|
+
failureMessage?: string
|
|
12725
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12264
12726
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12265
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12266
12727
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12267
12728
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12268
|
-
|
|
12729
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12269
12730
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12270
12731
|
selector: "accessor"
|
|
12271
12732
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12272
12733
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12273
12734
|
} | {
|
|
12274
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12275
12735
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12736
|
+
failureMessage?: string
|
|
12737
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12276
12738
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12277
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12278
12739
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12279
12740
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12280
|
-
|
|
12741
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12281
12742
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12282
12743
|
selector: "enumMember"
|
|
12283
12744
|
modifiers?: ("requiresQuotes")[]
|
|
12284
12745
|
} | {
|
|
12285
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12286
12746
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12747
|
+
failureMessage?: string
|
|
12748
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12287
12749
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12288
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12289
12750
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12290
12751
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12291
|
-
|
|
12752
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12292
12753
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12293
12754
|
selector: "typeLike"
|
|
12294
12755
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
12295
12756
|
} | {
|
|
12296
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12297
12757
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12758
|
+
failureMessage?: string
|
|
12759
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12298
12760
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12299
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12300
12761
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12301
12762
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12302
|
-
|
|
12763
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12303
12764
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12304
12765
|
selector: "class"
|
|
12305
12766
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
12306
12767
|
} | {
|
|
12307
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12308
12768
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12769
|
+
failureMessage?: string
|
|
12770
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12309
12771
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12310
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12311
12772
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12312
12773
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12313
|
-
|
|
12774
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12314
12775
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12315
12776
|
selector: "interface"
|
|
12316
12777
|
modifiers?: ("exported" | "unused")[]
|
|
12317
12778
|
} | {
|
|
12318
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12319
12779
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12780
|
+
failureMessage?: string
|
|
12781
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12320
12782
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12321
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12322
12783
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12323
12784
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12324
|
-
|
|
12785
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12325
12786
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12326
12787
|
selector: "typeAlias"
|
|
12327
12788
|
modifiers?: ("exported" | "unused")[]
|
|
12328
12789
|
} | {
|
|
12329
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12330
12790
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12791
|
+
failureMessage?: string
|
|
12792
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12331
12793
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12332
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12333
12794
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12334
12795
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12335
|
-
|
|
12796
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12336
12797
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12337
12798
|
selector: "enum"
|
|
12338
12799
|
modifiers?: ("exported" | "unused")[]
|
|
12339
12800
|
} | {
|
|
12340
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12341
12801
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12802
|
+
failureMessage?: string
|
|
12803
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12342
12804
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12343
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12344
12805
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12345
12806
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12346
|
-
|
|
12807
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12347
12808
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12348
12809
|
selector: "typeParameter"
|
|
12349
12810
|
modifiers?: ("unused")[]
|
|
12350
12811
|
} | {
|
|
12351
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12352
12812
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12813
|
+
failureMessage?: string
|
|
12814
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12353
12815
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12354
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12355
12816
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12356
12817
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12357
|
-
|
|
12818
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12358
12819
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12359
12820
|
selector: "import"
|
|
12360
12821
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -12374,6 +12835,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
12374
12835
|
ignoreArrowShorthand?: boolean
|
|
12375
12836
|
|
|
12376
12837
|
ignoreVoidOperator?: boolean
|
|
12838
|
+
|
|
12839
|
+
ignoreVoidReturningFunctions?: boolean
|
|
12377
12840
|
}]
|
|
12378
12841
|
// ----- ts/no-duplicate-type-constituents -----
|
|
12379
12842
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -12422,7 +12885,7 @@ type TsNoExtraneousClass = []|[{
|
|
|
12422
12885
|
// ----- ts/no-floating-promises -----
|
|
12423
12886
|
type TsNoFloatingPromises = []|[{
|
|
12424
12887
|
|
|
12425
|
-
|
|
12888
|
+
allowForKnownSafeCalls?: (string | {
|
|
12426
12889
|
from: "file"
|
|
12427
12890
|
name: (string | [string, ...(string)[]])
|
|
12428
12891
|
path?: string
|
|
@@ -12435,7 +12898,7 @@ type TsNoFloatingPromises = []|[{
|
|
|
12435
12898
|
package: string
|
|
12436
12899
|
})[]
|
|
12437
12900
|
|
|
12438
|
-
|
|
12901
|
+
allowForKnownSafePromises?: (string | {
|
|
12439
12902
|
from: "file"
|
|
12440
12903
|
name: (string | [string, ...(string)[]])
|
|
12441
12904
|
path?: string
|
|
@@ -12450,9 +12913,9 @@ type TsNoFloatingPromises = []|[{
|
|
|
12450
12913
|
|
|
12451
12914
|
checkThenables?: boolean
|
|
12452
12915
|
|
|
12453
|
-
ignoreVoid?: boolean
|
|
12454
|
-
|
|
12455
12916
|
ignoreIIFE?: boolean
|
|
12917
|
+
|
|
12918
|
+
ignoreVoid?: boolean
|
|
12456
12919
|
}]
|
|
12457
12920
|
// ----- ts/no-inferrable-types -----
|
|
12458
12921
|
type TsNoInferrableTypes = []|[{
|
|
@@ -12468,9 +12931,9 @@ type TsNoInvalidThis = []|[{
|
|
|
12468
12931
|
// ----- ts/no-invalid-void-type -----
|
|
12469
12932
|
type TsNoInvalidVoidType = []|[{
|
|
12470
12933
|
|
|
12471
|
-
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
12472
|
-
|
|
12473
12934
|
allowAsThisParameter?: boolean
|
|
12935
|
+
|
|
12936
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
12474
12937
|
}]
|
|
12475
12938
|
// ----- ts/no-magic-numbers -----
|
|
12476
12939
|
type TsNoMagicNumbers = []|[{
|
|
@@ -12481,10 +12944,10 @@ type TsNoMagicNumbers = []|[{
|
|
|
12481
12944
|
ignoreDefaultValues?: boolean
|
|
12482
12945
|
ignoreClassFieldInitialValues?: boolean
|
|
12483
12946
|
|
|
12484
|
-
ignoreNumericLiteralTypes?: boolean
|
|
12485
|
-
|
|
12486
12947
|
ignoreEnums?: boolean
|
|
12487
12948
|
|
|
12949
|
+
ignoreNumericLiteralTypes?: boolean
|
|
12950
|
+
|
|
12488
12951
|
ignoreReadonlyClassProperties?: boolean
|
|
12489
12952
|
|
|
12490
12953
|
ignoreTypeIndexes?: boolean
|
|
@@ -12496,7 +12959,11 @@ type TsNoMeaninglessVoidOperator = []|[{
|
|
|
12496
12959
|
}]
|
|
12497
12960
|
// ----- ts/no-misused-promises -----
|
|
12498
12961
|
type TsNoMisusedPromises = []|[{
|
|
12962
|
+
|
|
12499
12963
|
checksConditionals?: boolean
|
|
12964
|
+
|
|
12965
|
+
checksSpreads?: boolean
|
|
12966
|
+
|
|
12500
12967
|
checksVoidReturn?: (boolean | {
|
|
12501
12968
|
|
|
12502
12969
|
arguments?: boolean
|
|
@@ -12511,8 +12978,6 @@ type TsNoMisusedPromises = []|[{
|
|
|
12511
12978
|
|
|
12512
12979
|
variables?: boolean
|
|
12513
12980
|
})
|
|
12514
|
-
|
|
12515
|
-
checksSpreads?: boolean
|
|
12516
12981
|
}]
|
|
12517
12982
|
// ----- ts/no-namespace -----
|
|
12518
12983
|
type TsNoNamespace = []|[{
|
|
@@ -12570,13 +13035,14 @@ type TsNoRestrictedImports = ((string | {
|
|
|
12570
13035
|
}])
|
|
12571
13036
|
// ----- ts/no-restricted-types -----
|
|
12572
13037
|
type TsNoRestrictedTypes = []|[{
|
|
13038
|
+
|
|
12573
13039
|
types?: {
|
|
12574
13040
|
[k: string]: (true | string | {
|
|
12575
13041
|
|
|
12576
|
-
message?: string
|
|
12577
|
-
|
|
12578
13042
|
fixWith?: string
|
|
12579
13043
|
|
|
13044
|
+
message?: string
|
|
13045
|
+
|
|
12580
13046
|
suggest?: string[]
|
|
12581
13047
|
}) | undefined
|
|
12582
13048
|
}
|
|
@@ -12584,17 +13050,17 @@ type TsNoRestrictedTypes = []|[{
|
|
|
12584
13050
|
// ----- ts/no-shadow -----
|
|
12585
13051
|
type TsNoShadow = []|[{
|
|
12586
13052
|
|
|
13053
|
+
allow?: string[]
|
|
13054
|
+
|
|
12587
13055
|
builtinGlobals?: boolean
|
|
12588
13056
|
|
|
12589
13057
|
hoist?: ("all" | "functions" | "never")
|
|
12590
13058
|
|
|
12591
|
-
|
|
13059
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
12592
13060
|
|
|
12593
13061
|
ignoreOnInitialization?: boolean
|
|
12594
13062
|
|
|
12595
13063
|
ignoreTypeValueShadow?: boolean
|
|
12596
|
-
|
|
12597
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
12598
13064
|
}]
|
|
12599
13065
|
// ----- ts/no-this-alias -----
|
|
12600
13066
|
type TsNoThisAlias = []|[{
|
|
@@ -12614,20 +13080,20 @@ type TsNoTypeAlias = []|[{
|
|
|
12614
13080
|
|
|
12615
13081
|
allowConstructors?: ("always" | "never")
|
|
12616
13082
|
|
|
13083
|
+
allowGenerics?: ("always" | "never")
|
|
13084
|
+
|
|
12617
13085
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
12618
13086
|
|
|
12619
13087
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
12620
13088
|
|
|
12621
13089
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
12622
|
-
|
|
12623
|
-
allowGenerics?: ("always" | "never")
|
|
12624
13090
|
}]
|
|
12625
13091
|
// ----- ts/no-unnecessary-boolean-literal-compare -----
|
|
12626
13092
|
type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
12627
13093
|
|
|
12628
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
12629
|
-
|
|
12630
13094
|
allowComparingNullableBooleansToFalse?: boolean
|
|
13095
|
+
|
|
13096
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
12631
13097
|
}]
|
|
12632
13098
|
// ----- ts/no-unnecessary-condition -----
|
|
12633
13099
|
type TsNoUnnecessaryCondition = []|[{
|
|
@@ -12635,6 +13101,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
12635
13101
|
allowConstantLoopConditions?: boolean
|
|
12636
13102
|
|
|
12637
13103
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13104
|
+
|
|
13105
|
+
checkTypePredicates?: boolean
|
|
12638
13106
|
}]
|
|
12639
13107
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
12640
13108
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -12651,10 +13119,6 @@ type TsNoUnusedExpressions = []|[{
|
|
|
12651
13119
|
// ----- ts/no-unused-vars -----
|
|
12652
13120
|
type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
12653
13121
|
|
|
12654
|
-
vars?: ("all" | "local")
|
|
12655
|
-
|
|
12656
|
-
varsIgnorePattern?: string
|
|
12657
|
-
|
|
12658
13122
|
args?: ("all" | "after-used" | "none")
|
|
12659
13123
|
|
|
12660
13124
|
argsIgnorePattern?: string
|
|
@@ -12670,22 +13134,27 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12670
13134
|
ignoreRestSiblings?: boolean
|
|
12671
13135
|
|
|
12672
13136
|
reportUsedIgnorePattern?: boolean
|
|
13137
|
+
|
|
13138
|
+
vars?: ("all" | "local")
|
|
13139
|
+
|
|
13140
|
+
varsIgnorePattern?: string
|
|
12673
13141
|
})]
|
|
12674
13142
|
// ----- ts/no-use-before-define -----
|
|
12675
13143
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
12676
13144
|
|
|
12677
|
-
|
|
13145
|
+
allowNamedExports?: boolean
|
|
12678
13146
|
|
|
12679
13147
|
classes?: boolean
|
|
12680
13148
|
|
|
12681
13149
|
enums?: boolean
|
|
12682
13150
|
|
|
12683
|
-
|
|
13151
|
+
functions?: boolean
|
|
13152
|
+
|
|
13153
|
+
ignoreTypeReferences?: boolean
|
|
12684
13154
|
|
|
12685
13155
|
typedefs?: boolean
|
|
12686
13156
|
|
|
12687
|
-
|
|
12688
|
-
allowNamedExports?: boolean
|
|
13157
|
+
variables?: boolean
|
|
12689
13158
|
})]
|
|
12690
13159
|
// ----- ts/no-var-requires -----
|
|
12691
13160
|
type TsNoVarRequires = []|[{
|
|
@@ -12695,6 +13164,19 @@ type TsNoVarRequires = []|[{
|
|
|
12695
13164
|
// ----- ts/only-throw-error -----
|
|
12696
13165
|
type TsOnlyThrowError = []|[{
|
|
12697
13166
|
|
|
13167
|
+
allow?: (string | {
|
|
13168
|
+
from: "file"
|
|
13169
|
+
name: (string | [string, ...(string)[]])
|
|
13170
|
+
path?: string
|
|
13171
|
+
} | {
|
|
13172
|
+
from: "lib"
|
|
13173
|
+
name: (string | [string, ...(string)[]])
|
|
13174
|
+
} | {
|
|
13175
|
+
from: "package"
|
|
13176
|
+
name: (string | [string, ...(string)[]])
|
|
13177
|
+
package: string
|
|
13178
|
+
})[]
|
|
13179
|
+
|
|
12698
13180
|
allowThrowingAny?: boolean
|
|
12699
13181
|
|
|
12700
13182
|
allowThrowingUnknown?: boolean
|
|
@@ -12708,11 +13190,11 @@ type TsParameterProperties = []|[{
|
|
|
12708
13190
|
}]
|
|
12709
13191
|
// ----- ts/prefer-destructuring -----
|
|
12710
13192
|
type TsPreferDestructuring = []|[({
|
|
12711
|
-
|
|
13193
|
+
AssignmentExpression?: {
|
|
12712
13194
|
array?: boolean
|
|
12713
13195
|
object?: boolean
|
|
12714
13196
|
}
|
|
12715
|
-
|
|
13197
|
+
VariableDeclarator?: {
|
|
12716
13198
|
array?: boolean
|
|
12717
13199
|
object?: boolean
|
|
12718
13200
|
}
|
|
@@ -12720,11 +13202,11 @@ type TsPreferDestructuring = []|[({
|
|
|
12720
13202
|
array?: boolean
|
|
12721
13203
|
object?: boolean
|
|
12722
13204
|
})]|[({
|
|
12723
|
-
|
|
13205
|
+
AssignmentExpression?: {
|
|
12724
13206
|
array?: boolean
|
|
12725
13207
|
object?: boolean
|
|
12726
13208
|
}
|
|
12727
|
-
|
|
13209
|
+
VariableDeclarator?: {
|
|
12728
13210
|
array?: boolean
|
|
12729
13211
|
object?: boolean
|
|
12730
13212
|
}
|
|
@@ -12732,8 +13214,10 @@ type TsPreferDestructuring = []|[({
|
|
|
12732
13214
|
array?: boolean
|
|
12733
13215
|
object?: boolean
|
|
12734
13216
|
}), {
|
|
12735
|
-
|
|
13217
|
+
|
|
12736
13218
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
13219
|
+
|
|
13220
|
+
enforceForRenamedProperties?: boolean
|
|
12737
13221
|
[k: string]: unknown | undefined
|
|
12738
13222
|
}]
|
|
12739
13223
|
// ----- ts/prefer-literal-enum-member -----
|
|
@@ -12746,14 +13230,20 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12746
13230
|
|
|
12747
13231
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12748
13232
|
|
|
13233
|
+
ignoreBooleanCoercion?: boolean
|
|
13234
|
+
|
|
12749
13235
|
ignoreConditionalTests?: boolean
|
|
12750
13236
|
|
|
12751
13237
|
ignoreMixedLogicalExpressions?: boolean
|
|
12752
13238
|
|
|
12753
13239
|
ignorePrimitives?: ({
|
|
13240
|
+
|
|
12754
13241
|
bigint?: boolean
|
|
13242
|
+
|
|
12755
13243
|
boolean?: boolean
|
|
13244
|
+
|
|
12756
13245
|
number?: boolean
|
|
13246
|
+
|
|
12757
13247
|
string?: boolean
|
|
12758
13248
|
[k: string]: unknown | undefined
|
|
12759
13249
|
} | true)
|
|
@@ -12763,21 +13253,21 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12763
13253
|
// ----- ts/prefer-optional-chain -----
|
|
12764
13254
|
type TsPreferOptionalChain = []|[{
|
|
12765
13255
|
|
|
13256
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
13257
|
+
|
|
12766
13258
|
checkAny?: boolean
|
|
12767
13259
|
|
|
12768
|
-
|
|
13260
|
+
checkBigInt?: boolean
|
|
12769
13261
|
|
|
12770
|
-
|
|
13262
|
+
checkBoolean?: boolean
|
|
12771
13263
|
|
|
12772
13264
|
checkNumber?: boolean
|
|
12773
13265
|
|
|
12774
|
-
|
|
13266
|
+
checkString?: boolean
|
|
12775
13267
|
|
|
12776
|
-
|
|
13268
|
+
checkUnknown?: boolean
|
|
12777
13269
|
|
|
12778
13270
|
requireNullish?: boolean
|
|
12779
|
-
|
|
12780
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
12781
13271
|
}]
|
|
12782
13272
|
// ----- ts/prefer-promise-reject-errors -----
|
|
12783
13273
|
type TsPreferPromiseRejectErrors = []|[{
|
|
@@ -12867,45 +13357,61 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12867
13357
|
allowRegExp?: boolean
|
|
12868
13358
|
|
|
12869
13359
|
allowNever?: boolean
|
|
13360
|
+
|
|
13361
|
+
allow?: (string | {
|
|
13362
|
+
from: "file"
|
|
13363
|
+
name: (string | [string, ...(string)[]])
|
|
13364
|
+
path?: string
|
|
13365
|
+
} | {
|
|
13366
|
+
from: "lib"
|
|
13367
|
+
name: (string | [string, ...(string)[]])
|
|
13368
|
+
} | {
|
|
13369
|
+
from: "package"
|
|
13370
|
+
name: (string | [string, ...(string)[]])
|
|
13371
|
+
package: string
|
|
13372
|
+
})[]
|
|
12870
13373
|
}]
|
|
12871
13374
|
// ----- ts/return-await -----
|
|
12872
13375
|
type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
12873
13376
|
// ----- ts/sort-type-constituents -----
|
|
12874
13377
|
type TsSortTypeConstituents = []|[{
|
|
12875
13378
|
|
|
13379
|
+
caseSensitive?: boolean
|
|
13380
|
+
|
|
12876
13381
|
checkIntersections?: boolean
|
|
12877
13382
|
|
|
12878
13383
|
checkUnions?: boolean
|
|
12879
13384
|
|
|
12880
|
-
caseSensitive?: boolean
|
|
12881
|
-
|
|
12882
13385
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12883
13386
|
}]
|
|
12884
13387
|
// ----- ts/strict-boolean-expressions -----
|
|
12885
13388
|
type TsStrictBooleanExpressions = []|[{
|
|
12886
13389
|
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
allowNumber?: boolean
|
|
12890
|
-
|
|
12891
|
-
allowNullableObject?: boolean
|
|
13390
|
+
allowAny?: boolean
|
|
12892
13391
|
|
|
12893
13392
|
allowNullableBoolean?: boolean
|
|
12894
13393
|
|
|
12895
|
-
|
|
13394
|
+
allowNullableEnum?: boolean
|
|
12896
13395
|
|
|
12897
13396
|
allowNullableNumber?: boolean
|
|
12898
13397
|
|
|
12899
|
-
|
|
13398
|
+
allowNullableObject?: boolean
|
|
13399
|
+
|
|
13400
|
+
allowNullableString?: boolean
|
|
13401
|
+
|
|
13402
|
+
allowNumber?: boolean
|
|
12900
13403
|
|
|
12901
|
-
allowAny?: boolean
|
|
12902
13404
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13405
|
+
|
|
13406
|
+
allowString?: boolean
|
|
12903
13407
|
}]
|
|
12904
13408
|
// ----- ts/switch-exhaustiveness-check -----
|
|
12905
13409
|
type TsSwitchExhaustivenessCheck = []|[{
|
|
12906
13410
|
|
|
12907
13411
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
12908
13412
|
|
|
13413
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
13414
|
+
|
|
12909
13415
|
requireDefaultForNonUnion?: boolean
|
|
12910
13416
|
}]
|
|
12911
13417
|
// ----- ts/triple-slash-reference -----
|
|
@@ -13154,10 +13660,6 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
13154
13660
|
// ----- unused-imports/no-unused-imports -----
|
|
13155
13661
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
13156
13662
|
|
|
13157
|
-
vars?: ("all" | "local")
|
|
13158
|
-
|
|
13159
|
-
varsIgnorePattern?: string
|
|
13160
|
-
|
|
13161
13663
|
args?: ("all" | "after-used" | "none")
|
|
13162
13664
|
|
|
13163
13665
|
argsIgnorePattern?: string
|
|
@@ -13173,13 +13675,13 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13173
13675
|
ignoreRestSiblings?: boolean
|
|
13174
13676
|
|
|
13175
13677
|
reportUsedIgnorePattern?: boolean
|
|
13176
|
-
})]
|
|
13177
|
-
// ----- unused-imports/no-unused-vars -----
|
|
13178
|
-
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13179
13678
|
|
|
13180
13679
|
vars?: ("all" | "local")
|
|
13181
13680
|
|
|
13182
13681
|
varsIgnorePattern?: string
|
|
13682
|
+
})]
|
|
13683
|
+
// ----- unused-imports/no-unused-vars -----
|
|
13684
|
+
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13183
13685
|
|
|
13184
13686
|
args?: ("all" | "after-used" | "none")
|
|
13185
13687
|
|
|
@@ -13196,6 +13698,10 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13196
13698
|
ignoreRestSiblings?: boolean
|
|
13197
13699
|
|
|
13198
13700
|
reportUsedIgnorePattern?: boolean
|
|
13701
|
+
|
|
13702
|
+
vars?: ("all" | "local")
|
|
13703
|
+
|
|
13704
|
+
varsIgnorePattern?: string
|
|
13199
13705
|
})]
|
|
13200
13706
|
// ----- use-isnan -----
|
|
13201
13707
|
type UseIsnan = []|[{
|
|
@@ -13291,6 +13797,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
13291
13797
|
imports?: _VueCommaDangleValueWithIgnore
|
|
13292
13798
|
exports?: _VueCommaDangleValueWithIgnore
|
|
13293
13799
|
functions?: _VueCommaDangleValueWithIgnore
|
|
13800
|
+
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
13801
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
13294
13802
|
enums?: _VueCommaDangleValueWithIgnore
|
|
13295
13803
|
generics?: _VueCommaDangleValueWithIgnore
|
|
13296
13804
|
tuples?: _VueCommaDangleValueWithIgnore
|
|
@@ -13367,6 +13875,10 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
13367
13875
|
// ----- vue/func-call-spacing -----
|
|
13368
13876
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
13369
13877
|
allowNewlines?: boolean
|
|
13878
|
+
optionalChain?: {
|
|
13879
|
+
before?: boolean
|
|
13880
|
+
after?: boolean
|
|
13881
|
+
}
|
|
13370
13882
|
}])
|
|
13371
13883
|
// ----- vue/html-button-has-type -----
|
|
13372
13884
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -14047,6 +14559,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
14047
14559
|
type VueNoReservedComponentNames = []|[{
|
|
14048
14560
|
disallowVueBuiltInComponents?: boolean
|
|
14049
14561
|
disallowVue3BuiltInComponents?: boolean
|
|
14562
|
+
htmlElementCaseSensitive?: boolean
|
|
14050
14563
|
}]
|
|
14051
14564
|
// ----- vue/no-reserved-keys -----
|
|
14052
14565
|
type VueNoReservedKeys = []|[{
|
|
@@ -14516,6 +15029,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
14516
15029
|
// ----- yaml/plain-scalar -----
|
|
14517
15030
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
14518
15031
|
ignorePatterns?: string[]
|
|
15032
|
+
overrides?: {
|
|
15033
|
+
mappingKey?: ("always" | "never" | null)
|
|
15034
|
+
}
|
|
14519
15035
|
}]
|
|
14520
15036
|
// ----- yaml/quotes -----
|
|
14521
15037
|
type YamlQuotes = []|[{
|
|
@@ -14611,7 +15127,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14611
15127
|
onlyEquality?: boolean
|
|
14612
15128
|
}]
|
|
14613
15129
|
// Names of all the configs
|
|
14614
|
-
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/
|
|
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'
|
|
14615
15131
|
|
|
14616
15132
|
type Awaitable<T> = T | Promise<T>;
|
|
14617
15133
|
type Rules = RuleOptions;
|
|
@@ -14803,7 +15319,7 @@ interface ConfigOptions {
|
|
|
14803
15319
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
14804
15320
|
* The merged ESLint configurations.
|
|
14805
15321
|
*/
|
|
14806
|
-
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any,
|
|
15322
|
+
declare function luxass(options?: ConfigOptions & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
14807
15323
|
|
|
14808
15324
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
14809
15325
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|