@kitschpatrol/eslint-config 5.7.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/dist/index.d.ts +525 -161
- package/dist/index.js +33 -9
- package/package.json +21 -21
package/dist/index.d.ts
CHANGED
|
@@ -706,6 +706,11 @@ interface RuleOptions {
|
|
|
706
706
|
* @see https://html-eslint.org/docs/rules/no-restricted-attrs
|
|
707
707
|
*/
|
|
708
708
|
'html/no-restricted-attrs'?: Linter.RuleEntry<HtmlNoRestrictedAttrs>
|
|
709
|
+
/**
|
|
710
|
+
* Disallow specified tags
|
|
711
|
+
* @see https://html-eslint.org/docs/rules/no-restricted-tags
|
|
712
|
+
*/
|
|
713
|
+
'html/no-restricted-tags'?: Linter.RuleEntry<HtmlNoRestrictedTags>
|
|
709
714
|
/**
|
|
710
715
|
* Enforce to omit type attributes for style sheets and scripts
|
|
711
716
|
* @see https://html-eslint.org/docs/rules/no-script-style-type
|
|
@@ -1117,7 +1122,7 @@ interface RuleOptions {
|
|
|
1117
1122
|
*/
|
|
1118
1123
|
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>
|
|
1119
1124
|
/**
|
|
1120
|
-
*
|
|
1125
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
1121
1126
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
1122
1127
|
*/
|
|
1123
1128
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>
|
|
@@ -1132,7 +1137,7 @@ interface RuleOptions {
|
|
|
1132
1137
|
*/
|
|
1133
1138
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>
|
|
1134
1139
|
/**
|
|
1135
|
-
*
|
|
1140
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
1136
1141
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
1137
1142
|
*/
|
|
1138
1143
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>
|
|
@@ -1157,7 +1162,7 @@ interface RuleOptions {
|
|
|
1157
1162
|
*/
|
|
1158
1163
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
|
|
1159
1164
|
/**
|
|
1160
|
-
* Reports invalid
|
|
1165
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
1161
1166
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
1162
1167
|
*/
|
|
1163
1168
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>
|
|
@@ -1172,12 +1177,12 @@ interface RuleOptions {
|
|
|
1172
1177
|
*/
|
|
1173
1178
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
|
|
1174
1179
|
/**
|
|
1175
|
-
*
|
|
1180
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
1176
1181
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
1177
1182
|
*/
|
|
1178
1183
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>
|
|
1179
1184
|
/**
|
|
1180
|
-
*
|
|
1185
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
1181
1186
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
1182
1187
|
*/
|
|
1183
1188
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>
|
|
@@ -1207,17 +1212,17 @@ interface RuleOptions {
|
|
|
1207
1212
|
*/
|
|
1208
1213
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>
|
|
1209
1214
|
/**
|
|
1210
|
-
* Controls how and whether
|
|
1215
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
1211
1216
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
1212
1217
|
*/
|
|
1213
1218
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>
|
|
1214
1219
|
/**
|
|
1215
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
1220
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
1216
1221
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
1217
1222
|
*/
|
|
1218
1223
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>
|
|
1219
1224
|
/**
|
|
1220
|
-
*
|
|
1225
|
+
* If tags are present, this rule will prevent empty lines in the block description. If no tags are present, this rule will prevent extra empty lines in the block description.
|
|
1221
1226
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
1222
1227
|
*/
|
|
1223
1228
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>
|
|
@@ -1247,22 +1252,37 @@ interface RuleOptions {
|
|
|
1247
1252
|
*/
|
|
1248
1253
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>
|
|
1249
1254
|
/**
|
|
1250
|
-
* This rule reports types being used on `@param` or `@returns
|
|
1255
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
1251
1256
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
1252
1257
|
*/
|
|
1253
1258
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>
|
|
1254
1259
|
/**
|
|
1255
|
-
*
|
|
1260
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
1256
1261
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
1257
1262
|
*/
|
|
1258
1263
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>
|
|
1264
|
+
/**
|
|
1265
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
1266
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
1267
|
+
*/
|
|
1268
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>
|
|
1269
|
+
/**
|
|
1270
|
+
* Reports use of `any` or `*` type
|
|
1271
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
1272
|
+
*/
|
|
1273
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>
|
|
1274
|
+
/**
|
|
1275
|
+
* Reports use of `Function` type
|
|
1276
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
1277
|
+
*/
|
|
1278
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>
|
|
1259
1279
|
/**
|
|
1260
1280
|
* Requires that each JSDoc line starts with an `*`.
|
|
1261
1281
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
1262
1282
|
*/
|
|
1263
1283
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>
|
|
1264
1284
|
/**
|
|
1265
|
-
* Requires that all functions have a description.
|
|
1285
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
1266
1286
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
1267
1287
|
*/
|
|
1268
1288
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>
|
|
@@ -1272,7 +1292,7 @@ interface RuleOptions {
|
|
|
1272
1292
|
*/
|
|
1273
1293
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>
|
|
1274
1294
|
/**
|
|
1275
|
-
* Requires that all functions have examples.
|
|
1295
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
1276
1296
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
1277
1297
|
*/
|
|
1278
1298
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>
|
|
@@ -1282,17 +1302,27 @@ interface RuleOptions {
|
|
|
1282
1302
|
*/
|
|
1283
1303
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>
|
|
1284
1304
|
/**
|
|
1285
|
-
* Requires a hyphen before the `@param` description.
|
|
1305
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
1286
1306
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
1287
1307
|
*/
|
|
1288
1308
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>
|
|
1289
1309
|
/**
|
|
1290
|
-
*
|
|
1310
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
1291
1311
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
1292
1312
|
*/
|
|
1293
1313
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>
|
|
1294
1314
|
/**
|
|
1295
|
-
* Requires
|
|
1315
|
+
* Requires a description for `@next` tags
|
|
1316
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
1317
|
+
*/
|
|
1318
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>
|
|
1319
|
+
/**
|
|
1320
|
+
* Requires a type for `@next` tags
|
|
1321
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
1322
|
+
*/
|
|
1323
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>
|
|
1324
|
+
/**
|
|
1325
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
1296
1326
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
1297
1327
|
*/
|
|
1298
1328
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>
|
|
@@ -1302,12 +1332,12 @@ interface RuleOptions {
|
|
|
1302
1332
|
*/
|
|
1303
1333
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>
|
|
1304
1334
|
/**
|
|
1305
|
-
* Requires that all
|
|
1335
|
+
* Requires that all `@param` tags have names.
|
|
1306
1336
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
1307
1337
|
*/
|
|
1308
1338
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>
|
|
1309
1339
|
/**
|
|
1310
|
-
* Requires that each `@param` tag has a
|
|
1340
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
1311
1341
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
1312
1342
|
*/
|
|
1313
1343
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>
|
|
@@ -1322,62 +1352,92 @@ interface RuleOptions {
|
|
|
1322
1352
|
*/
|
|
1323
1353
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>
|
|
1324
1354
|
/**
|
|
1325
|
-
* Requires that all
|
|
1355
|
+
* Requires that all `@property` tags have names.
|
|
1326
1356
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
1327
1357
|
*/
|
|
1328
1358
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>
|
|
1329
1359
|
/**
|
|
1330
|
-
* Requires that each `@property` tag has a
|
|
1360
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
1331
1361
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
1332
1362
|
*/
|
|
1333
1363
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>
|
|
1334
1364
|
/**
|
|
1335
|
-
* Requires that returns are documented
|
|
1365
|
+
* Requires that returns are documented with `@returns`.
|
|
1336
1366
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
1337
1367
|
*/
|
|
1338
1368
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>
|
|
1339
1369
|
/**
|
|
1340
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
1370
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
1341
1371
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
1342
1372
|
*/
|
|
1343
1373
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>
|
|
1344
1374
|
/**
|
|
1345
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
1375
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
1346
1376
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
1347
1377
|
*/
|
|
1348
1378
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>
|
|
1349
1379
|
/**
|
|
1350
|
-
* Requires that `@returns` tag has
|
|
1380
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
1351
1381
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
1352
1382
|
*/
|
|
1353
1383
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
|
|
1354
1384
|
/**
|
|
1355
|
-
* Requires
|
|
1385
|
+
* Requires tags be present, optionally for specific contexts
|
|
1386
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
1387
|
+
*/
|
|
1388
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>
|
|
1389
|
+
/**
|
|
1390
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
1356
1391
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
1357
1392
|
*/
|
|
1358
1393
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
|
|
1359
1394
|
/**
|
|
1360
|
-
* Requires
|
|
1395
|
+
* Requires a description for `@template` tags
|
|
1396
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
1397
|
+
*/
|
|
1398
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>
|
|
1399
|
+
/**
|
|
1400
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
1361
1401
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
1362
1402
|
*/
|
|
1363
1403
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>
|
|
1364
1404
|
/**
|
|
1365
|
-
* Requires
|
|
1405
|
+
* Requires a description for `@throws` tags
|
|
1406
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
1407
|
+
*/
|
|
1408
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>
|
|
1409
|
+
/**
|
|
1410
|
+
* Requires a type for `@throws` tags
|
|
1411
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
1412
|
+
*/
|
|
1413
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>
|
|
1414
|
+
/**
|
|
1415
|
+
* Requires yields are documented with `@yields` tags.
|
|
1366
1416
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
1367
1417
|
*/
|
|
1368
1418
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>
|
|
1369
1419
|
/**
|
|
1370
|
-
*
|
|
1420
|
+
* Ensures that if a `@yields` is present that a `yield` (or `yield` with a value) is present in the function body (or that if a `@next` is present that there is a yield with a return value present).
|
|
1371
1421
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
1372
1422
|
*/
|
|
1373
1423
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>
|
|
1374
1424
|
/**
|
|
1375
|
-
*
|
|
1425
|
+
* Requires a description for `@yields` tags
|
|
1426
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
1427
|
+
*/
|
|
1428
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>
|
|
1429
|
+
/**
|
|
1430
|
+
* Requires a type for `@yields` tags
|
|
1431
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
1432
|
+
*/
|
|
1433
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>
|
|
1434
|
+
/**
|
|
1435
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
1376
1436
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
1377
1437
|
*/
|
|
1378
1438
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>
|
|
1379
1439
|
/**
|
|
1380
|
-
* Enforces lines (or no lines) between tags.
|
|
1440
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
1381
1441
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
1382
1442
|
*/
|
|
1383
1443
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
@@ -1387,7 +1447,12 @@ interface RuleOptions {
|
|
|
1387
1447
|
*/
|
|
1388
1448
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
1389
1449
|
/**
|
|
1390
|
-
*
|
|
1450
|
+
* Formats JSDoc type values.
|
|
1451
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
1452
|
+
*/
|
|
1453
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>
|
|
1454
|
+
/**
|
|
1455
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
1391
1456
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
1392
1457
|
*/
|
|
1393
1458
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>
|
|
@@ -3033,12 +3098,12 @@ interface RuleOptions {
|
|
|
3033
3098
|
*/
|
|
3034
3099
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>
|
|
3035
3100
|
/**
|
|
3036
|
-
* disallow `import` declarations which import
|
|
3101
|
+
* disallow `import` declarations which import missing modules
|
|
3037
3102
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
3038
3103
|
*/
|
|
3039
3104
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>
|
|
3040
3105
|
/**
|
|
3041
|
-
* disallow `require()` expressions which import
|
|
3106
|
+
* disallow `require()` expressions which import missing modules
|
|
3042
3107
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
3043
3108
|
*/
|
|
3044
3109
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>
|
|
@@ -3459,16 +3524,6 @@ interface RuleOptions {
|
|
|
3459
3524
|
* @see https://eslint-react.xyz/docs/rules/debug-jsx
|
|
3460
3525
|
*/
|
|
3461
3526
|
'react-debug/jsx'?: Linter.RuleEntry<[]>
|
|
3462
|
-
/**
|
|
3463
|
-
* Reports all React Hooks.
|
|
3464
|
-
* @see https://eslint-react.xyz/docs/rules/debug-hook
|
|
3465
|
-
*/
|
|
3466
|
-
'react-debug/react-hooks'?: Linter.RuleEntry<[]>
|
|
3467
|
-
/**
|
|
3468
|
-
* Disallow `children` in void DOM elements.
|
|
3469
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3470
|
-
*/
|
|
3471
|
-
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
3472
3527
|
/**
|
|
3473
3528
|
* Disallow `dangerouslySetInnerHTML`.
|
|
3474
3529
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -3524,6 +3579,11 @@ interface RuleOptions {
|
|
|
3524
3579
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
3525
3580
|
*/
|
|
3526
3581
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
3582
|
+
/**
|
|
3583
|
+
* Disallows the use of string style prop.
|
|
3584
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
3585
|
+
*/
|
|
3586
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>
|
|
3527
3587
|
/**
|
|
3528
3588
|
* Disallow unknown `DOM` property.
|
|
3529
3589
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -3549,61 +3609,11 @@ interface RuleOptions {
|
|
|
3549
3609
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3550
3610
|
*/
|
|
3551
3611
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
|
|
3552
|
-
/**
|
|
3553
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3554
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3555
|
-
*/
|
|
3556
|
-
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
3557
|
-
/**
|
|
3558
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
3559
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3560
|
-
*/
|
|
3561
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
3562
|
-
/**
|
|
3563
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
3564
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3565
|
-
*/
|
|
3566
|
-
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
3567
3612
|
/**
|
|
3568
3613
|
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
3569
3614
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
3570
3615
|
*/
|
|
3571
3616
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
3572
|
-
/**
|
|
3573
|
-
* Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
|
|
3574
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
3575
|
-
*/
|
|
3576
|
-
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
3577
|
-
/**
|
|
3578
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3579
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3580
|
-
*/
|
|
3581
|
-
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
3582
|
-
/**
|
|
3583
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
3584
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3585
|
-
*/
|
|
3586
|
-
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
|
|
3587
|
-
/**
|
|
3588
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
3589
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3590
|
-
*/
|
|
3591
|
-
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
3592
|
-
/**
|
|
3593
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3594
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3595
|
-
*/
|
|
3596
|
-
'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
|
|
3597
|
-
/**
|
|
3598
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3599
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3600
|
-
*/
|
|
3601
|
-
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
|
|
3602
|
-
/**
|
|
3603
|
-
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3604
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
3605
|
-
*/
|
|
3606
|
-
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
3607
3617
|
/**
|
|
3608
3618
|
* Enforces naming conventions for components.
|
|
3609
3619
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
@@ -3649,26 +3659,16 @@ interface RuleOptions {
|
|
|
3649
3659
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
3650
3660
|
*/
|
|
3651
3661
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
|
|
3652
|
-
/**
|
|
3653
|
-
* Enforces explicit boolean values for boolean attributes.
|
|
3654
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
3655
|
-
*/
|
|
3656
|
-
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
3657
|
-
/**
|
|
3658
|
-
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
3659
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
3660
|
-
*/
|
|
3661
|
-
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3662
|
-
/**
|
|
3663
|
-
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
3664
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3665
|
-
*/
|
|
3666
|
-
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3667
3662
|
/**
|
|
3668
3663
|
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
3669
3664
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
3670
3665
|
*/
|
|
3671
3666
|
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>
|
|
3667
|
+
/**
|
|
3668
|
+
* Prevents comments from being inserted as text nodes.
|
|
3669
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
3670
|
+
*/
|
|
3671
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
3672
3672
|
/**
|
|
3673
3673
|
* Disallow duplicate props in JSX elements.
|
|
3674
3674
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
@@ -3684,6 +3684,16 @@ interface RuleOptions {
|
|
|
3684
3684
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
3685
3685
|
*/
|
|
3686
3686
|
'react/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
3687
|
+
/**
|
|
3688
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
3689
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
3690
|
+
*/
|
|
3691
|
+
'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>
|
|
3692
|
+
/**
|
|
3693
|
+
* Enforces shorthand syntax for fragments.
|
|
3694
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
3695
|
+
*/
|
|
3696
|
+
'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>
|
|
3687
3697
|
/**
|
|
3688
3698
|
* Marks React variables as used when JSX is used.
|
|
3689
3699
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
@@ -3744,21 +3754,6 @@ interface RuleOptions {
|
|
|
3744
3754
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
3745
3755
|
*/
|
|
3746
3756
|
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
3747
|
-
/**
|
|
3748
|
-
* Prevents comments from being inserted as text nodes.
|
|
3749
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
3750
|
-
*/
|
|
3751
|
-
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
3752
|
-
/**
|
|
3753
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3754
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3755
|
-
*/
|
|
3756
|
-
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3757
|
-
/**
|
|
3758
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3759
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3760
|
-
*/
|
|
3761
|
-
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3762
3757
|
/**
|
|
3763
3758
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
3764
3759
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
@@ -3794,16 +3789,16 @@ interface RuleOptions {
|
|
|
3794
3789
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3795
3790
|
*/
|
|
3796
3791
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
3797
|
-
/**
|
|
3798
|
-
* Disallow duplicate props in JSX elements.
|
|
3799
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3800
|
-
*/
|
|
3801
|
-
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
3802
3792
|
/**
|
|
3803
3793
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
3804
3794
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3805
3795
|
*/
|
|
3806
3796
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3797
|
+
/**
|
|
3798
|
+
* Disallow certain props on components.
|
|
3799
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
3800
|
+
*/
|
|
3801
|
+
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>
|
|
3807
3802
|
/**
|
|
3808
3803
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
3809
3804
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -3844,11 +3839,6 @@ interface RuleOptions {
|
|
|
3844
3839
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3845
3840
|
*/
|
|
3846
3841
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
3847
|
-
/**
|
|
3848
|
-
* Disallow nesting component definitions inside other components.
|
|
3849
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3850
|
-
*/
|
|
3851
|
-
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
3852
3842
|
/**
|
|
3853
3843
|
* Disallow nesting lazy component declarations inside other components.
|
|
3854
3844
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
@@ -3884,6 +3874,26 @@ interface RuleOptions {
|
|
|
3884
3874
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
3885
3875
|
*/
|
|
3886
3876
|
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
3877
|
+
/**
|
|
3878
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
3879
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
3880
|
+
*/
|
|
3881
|
+
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>
|
|
3882
|
+
/**
|
|
3883
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
3884
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
3885
|
+
*/
|
|
3886
|
+
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
|
|
3887
|
+
/**
|
|
3888
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
3889
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
3890
|
+
*/
|
|
3891
|
+
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
3892
|
+
/**
|
|
3893
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3894
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3895
|
+
*/
|
|
3896
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
|
|
3887
3897
|
/**
|
|
3888
3898
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
3889
3899
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
@@ -3914,6 +3924,11 @@ interface RuleOptions {
|
|
|
3914
3924
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
3915
3925
|
*/
|
|
3916
3926
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
3927
|
+
/**
|
|
3928
|
+
* Warns about unused component prop declarations.
|
|
3929
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3930
|
+
*/
|
|
3931
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>
|
|
3917
3932
|
/**
|
|
3918
3933
|
* Warns unused class component state.
|
|
3919
3934
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
@@ -3941,29 +3956,19 @@ interface RuleOptions {
|
|
|
3941
3956
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3942
3957
|
/**
|
|
3943
3958
|
* Enforces React is imported via a namespace import.
|
|
3944
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3959
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
3945
3960
|
*/
|
|
3946
|
-
'react/prefer-
|
|
3961
|
+
'react/prefer-namespace-import'?: Linter.RuleEntry<[]>
|
|
3947
3962
|
/**
|
|
3948
3963
|
* Enforces read-only props in components.
|
|
3949
3964
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
3950
3965
|
*/
|
|
3951
3966
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
3952
3967
|
/**
|
|
3953
|
-
* Enforces
|
|
3954
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3955
|
-
*/
|
|
3956
|
-
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
3957
|
-
/**
|
|
3958
|
-
* Enforces shorthand syntax for fragments.
|
|
3959
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
3960
|
-
*/
|
|
3961
|
-
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3962
|
-
/**
|
|
3963
|
-
* Marks variables used in JSX elements as used.
|
|
3964
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3968
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3969
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
3965
3970
|
*/
|
|
3966
|
-
'react/use-
|
|
3971
|
+
'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
3967
3972
|
/**
|
|
3968
3973
|
* disallow confusing quantifiers
|
|
3969
3974
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -7866,6 +7871,11 @@ type HtmlNoRestrictedAttrs = {
|
|
|
7866
7871
|
attrPatterns: string[]
|
|
7867
7872
|
message?: string
|
|
7868
7873
|
}[]
|
|
7874
|
+
// ----- html/no-restricted-tags -----
|
|
7875
|
+
type HtmlNoRestrictedTags = {
|
|
7876
|
+
tagPatterns: string[]
|
|
7877
|
+
message?: string
|
|
7878
|
+
}[]
|
|
7869
7879
|
// ----- html/quotes -----
|
|
7870
7880
|
type HtmlQuotes =
|
|
7871
7881
|
| []
|
|
@@ -8510,14 +8520,22 @@ type JsdocCheckLineAlignment =
|
|
|
8510
8520
|
{
|
|
8511
8521
|
customSpacings?: {
|
|
8512
8522
|
postDelimiter?: number
|
|
8523
|
+
|
|
8513
8524
|
postHyphen?: number
|
|
8525
|
+
|
|
8514
8526
|
postName?: number
|
|
8527
|
+
|
|
8515
8528
|
postTag?: number
|
|
8529
|
+
|
|
8516
8530
|
postType?: number
|
|
8517
8531
|
}
|
|
8532
|
+
|
|
8518
8533
|
disableWrapIndent?: boolean
|
|
8534
|
+
|
|
8519
8535
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
8536
|
+
|
|
8520
8537
|
tags?: string[]
|
|
8538
|
+
|
|
8521
8539
|
wrapIndent?: string
|
|
8522
8540
|
},
|
|
8523
8541
|
]
|
|
@@ -8527,12 +8545,19 @@ type JsdocCheckParamNames =
|
|
|
8527
8545
|
| [
|
|
8528
8546
|
{
|
|
8529
8547
|
allowExtraTrailingParamDocs?: boolean
|
|
8548
|
+
|
|
8530
8549
|
checkDestructured?: boolean
|
|
8550
|
+
|
|
8531
8551
|
checkRestProperty?: boolean
|
|
8552
|
+
|
|
8532
8553
|
checkTypesPattern?: string
|
|
8554
|
+
|
|
8533
8555
|
disableExtraPropertyReporting?: boolean
|
|
8556
|
+
|
|
8534
8557
|
disableMissingParamChecks?: boolean
|
|
8558
|
+
|
|
8535
8559
|
enableFixer?: boolean
|
|
8560
|
+
|
|
8536
8561
|
useDefaultObjectProperties?: boolean
|
|
8537
8562
|
},
|
|
8538
8563
|
]
|
|
@@ -8550,8 +8575,13 @@ type JsdocCheckTagNames =
|
|
|
8550
8575
|
| [
|
|
8551
8576
|
{
|
|
8552
8577
|
definedTags?: string[]
|
|
8578
|
+
|
|
8553
8579
|
enableFixer?: boolean
|
|
8580
|
+
|
|
8581
|
+
inlineTags?: string[]
|
|
8582
|
+
|
|
8554
8583
|
jsxTags?: boolean
|
|
8584
|
+
|
|
8555
8585
|
typed?: boolean
|
|
8556
8586
|
},
|
|
8557
8587
|
]
|
|
@@ -8562,9 +8592,12 @@ type JsdocCheckTypes =
|
|
|
8562
8592
|
{
|
|
8563
8593
|
exemptTagContexts?: {
|
|
8564
8594
|
tag?: string
|
|
8595
|
+
|
|
8565
8596
|
types?: boolean | string[]
|
|
8566
8597
|
}[]
|
|
8598
|
+
|
|
8567
8599
|
noDefaults?: boolean
|
|
8600
|
+
|
|
8568
8601
|
unifyParentAndChildTypeChecks?: boolean
|
|
8569
8602
|
},
|
|
8570
8603
|
]
|
|
@@ -8574,8 +8607,11 @@ type JsdocCheckValues =
|
|
|
8574
8607
|
| [
|
|
8575
8608
|
{
|
|
8576
8609
|
allowedAuthors?: string[]
|
|
8610
|
+
|
|
8577
8611
|
allowedLicenses?: string[] | boolean
|
|
8612
|
+
|
|
8578
8613
|
licensePattern?: string
|
|
8614
|
+
|
|
8579
8615
|
numericOnlyVariation?: boolean
|
|
8580
8616
|
},
|
|
8581
8617
|
]
|
|
@@ -8585,6 +8621,7 @@ type JsdocConvertToJsdocComments =
|
|
|
8585
8621
|
| [
|
|
8586
8622
|
{
|
|
8587
8623
|
allowedPrefixes?: string[]
|
|
8624
|
+
|
|
8588
8625
|
contexts?: (
|
|
8589
8626
|
| string
|
|
8590
8627
|
| {
|
|
@@ -8592,6 +8629,7 @@ type JsdocConvertToJsdocComments =
|
|
|
8592
8629
|
inlineCommentBlock?: boolean
|
|
8593
8630
|
}
|
|
8594
8631
|
)[]
|
|
8632
|
+
|
|
8595
8633
|
contextsAfter?: (
|
|
8596
8634
|
| string
|
|
8597
8635
|
| {
|
|
@@ -8599,6 +8637,7 @@ type JsdocConvertToJsdocComments =
|
|
|
8599
8637
|
inlineCommentBlock?: boolean
|
|
8600
8638
|
}
|
|
8601
8639
|
)[]
|
|
8640
|
+
|
|
8602
8641
|
contextsBeforeAndAfter?: (
|
|
8603
8642
|
| string
|
|
8604
8643
|
| {
|
|
@@ -8606,8 +8645,11 @@ type JsdocConvertToJsdocComments =
|
|
|
8606
8645
|
inlineCommentBlock?: boolean
|
|
8607
8646
|
}
|
|
8608
8647
|
)[]
|
|
8648
|
+
|
|
8609
8649
|
enableFixer?: boolean
|
|
8650
|
+
|
|
8610
8651
|
enforceJsdocLineStyle?: 'multi' | 'single'
|
|
8652
|
+
|
|
8611
8653
|
lineOrBlockStyle?: 'block' | 'line' | 'both'
|
|
8612
8654
|
},
|
|
8613
8655
|
]
|
|
@@ -8641,7 +8683,9 @@ type JsdocInformativeDocs =
|
|
|
8641
8683
|
aliases?: {
|
|
8642
8684
|
[k: string]: string[]
|
|
8643
8685
|
}
|
|
8686
|
+
|
|
8644
8687
|
excludedTags?: string[]
|
|
8688
|
+
|
|
8645
8689
|
uselessWords?: string[]
|
|
8646
8690
|
},
|
|
8647
8691
|
]
|
|
@@ -8651,9 +8695,13 @@ type JsdocLinesBeforeBlock =
|
|
|
8651
8695
|
| [
|
|
8652
8696
|
{
|
|
8653
8697
|
checkBlockStarts?: boolean
|
|
8698
|
+
|
|
8654
8699
|
excludedTags?: string[]
|
|
8700
|
+
|
|
8655
8701
|
ignoreSameLine?: boolean
|
|
8702
|
+
|
|
8656
8703
|
ignoreSingleLines?: boolean
|
|
8704
|
+
|
|
8657
8705
|
lines?: number
|
|
8658
8706
|
},
|
|
8659
8707
|
]
|
|
@@ -8669,6 +8717,7 @@ type JsdocMatchDescription =
|
|
|
8669
8717
|
context?: string
|
|
8670
8718
|
}
|
|
8671
8719
|
)[]
|
|
8720
|
+
|
|
8672
8721
|
mainDescription?:
|
|
8673
8722
|
| string
|
|
8674
8723
|
| boolean
|
|
@@ -8676,9 +8725,13 @@ type JsdocMatchDescription =
|
|
|
8676
8725
|
match?: string | boolean
|
|
8677
8726
|
message?: string
|
|
8678
8727
|
}
|
|
8728
|
+
|
|
8679
8729
|
matchDescription?: string
|
|
8730
|
+
|
|
8680
8731
|
message?: string
|
|
8732
|
+
|
|
8681
8733
|
nonemptyTags?: boolean
|
|
8734
|
+
|
|
8682
8735
|
tags?: {
|
|
8683
8736
|
[k: string]:
|
|
8684
8737
|
| string
|
|
@@ -8697,11 +8750,17 @@ type JsdocMatchName =
|
|
|
8697
8750
|
{
|
|
8698
8751
|
match: {
|
|
8699
8752
|
allowName?: string
|
|
8753
|
+
|
|
8700
8754
|
comment?: string
|
|
8755
|
+
|
|
8701
8756
|
context?: string
|
|
8757
|
+
|
|
8702
8758
|
disallowName?: string
|
|
8759
|
+
|
|
8703
8760
|
message?: string
|
|
8761
|
+
|
|
8704
8762
|
replacement?: string
|
|
8763
|
+
|
|
8705
8764
|
tags?: string[]
|
|
8706
8765
|
}[]
|
|
8707
8766
|
},
|
|
@@ -8712,13 +8771,21 @@ type JsdocMultilineBlocks =
|
|
|
8712
8771
|
| [
|
|
8713
8772
|
{
|
|
8714
8773
|
allowMultipleTags?: boolean
|
|
8774
|
+
|
|
8715
8775
|
minimumLengthForMultiline?: number
|
|
8776
|
+
|
|
8716
8777
|
multilineTags?: '*' | string[]
|
|
8778
|
+
|
|
8717
8779
|
noFinalLineText?: boolean
|
|
8780
|
+
|
|
8718
8781
|
noMultilineBlocks?: boolean
|
|
8782
|
+
|
|
8719
8783
|
noSingleLineBlocks?: boolean
|
|
8784
|
+
|
|
8720
8785
|
noZeroLineText?: boolean
|
|
8786
|
+
|
|
8721
8787
|
requireSingleLineUnderCount?: number
|
|
8788
|
+
|
|
8722
8789
|
singleLineTags?: string[]
|
|
8723
8790
|
},
|
|
8724
8791
|
]
|
|
@@ -8728,6 +8795,7 @@ type JsdocNoBadBlocks =
|
|
|
8728
8795
|
| [
|
|
8729
8796
|
{
|
|
8730
8797
|
ignore?: string[]
|
|
8798
|
+
|
|
8731
8799
|
preventAllMultiAsteriskBlocks?: boolean
|
|
8732
8800
|
},
|
|
8733
8801
|
]
|
|
@@ -8751,6 +8819,7 @@ type JsdocNoDefaults =
|
|
|
8751
8819
|
context?: string
|
|
8752
8820
|
}
|
|
8753
8821
|
)[]
|
|
8822
|
+
|
|
8754
8823
|
noOptionalParamNames?: boolean
|
|
8755
8824
|
},
|
|
8756
8825
|
]
|
|
@@ -8776,7 +8845,9 @@ type JsdocNoMultiAsterisks =
|
|
|
8776
8845
|
| [
|
|
8777
8846
|
{
|
|
8778
8847
|
allowWhitespace?: boolean
|
|
8848
|
+
|
|
8779
8849
|
preventAtEnd?: boolean
|
|
8850
|
+
|
|
8780
8851
|
preventAtMiddleLines?: boolean
|
|
8781
8852
|
},
|
|
8782
8853
|
]
|
|
@@ -8814,11 +8885,27 @@ type JsdocNoUndefinedTypes =
|
|
|
8814
8885
|
| []
|
|
8815
8886
|
| [
|
|
8816
8887
|
{
|
|
8888
|
+
checkUsedTypedefs?: boolean
|
|
8889
|
+
|
|
8817
8890
|
definedTypes?: string[]
|
|
8891
|
+
|
|
8818
8892
|
disableReporting?: boolean
|
|
8893
|
+
|
|
8819
8894
|
markVariablesAsUsed?: boolean
|
|
8820
8895
|
},
|
|
8821
8896
|
]
|
|
8897
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8898
|
+
type JsdocPreferImportTag =
|
|
8899
|
+
| []
|
|
8900
|
+
| [
|
|
8901
|
+
{
|
|
8902
|
+
enableFixer?: boolean
|
|
8903
|
+
|
|
8904
|
+
exemptTypedefs?: boolean
|
|
8905
|
+
|
|
8906
|
+
outputType?: 'named-import' | 'namespaced-import'
|
|
8907
|
+
},
|
|
8908
|
+
]
|
|
8822
8909
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
8823
8910
|
type JsdocRequireAsteriskPrefix =
|
|
8824
8911
|
| []
|
|
@@ -8828,7 +8915,9 @@ type JsdocRequireAsteriskPrefix =
|
|
|
8828
8915
|
{
|
|
8829
8916
|
tags?: {
|
|
8830
8917
|
always?: string[]
|
|
8918
|
+
|
|
8831
8919
|
any?: string[]
|
|
8920
|
+
|
|
8832
8921
|
never?: string[]
|
|
8833
8922
|
}
|
|
8834
8923
|
},
|
|
@@ -8839,8 +8928,11 @@ type JsdocRequireDescription =
|
|
|
8839
8928
|
| [
|
|
8840
8929
|
{
|
|
8841
8930
|
checkConstructors?: boolean
|
|
8931
|
+
|
|
8842
8932
|
checkGetters?: boolean
|
|
8933
|
+
|
|
8843
8934
|
checkSetters?: boolean
|
|
8935
|
+
|
|
8844
8936
|
contexts?: (
|
|
8845
8937
|
| string
|
|
8846
8938
|
| {
|
|
@@ -8848,7 +8940,9 @@ type JsdocRequireDescription =
|
|
|
8848
8940
|
context?: string
|
|
8849
8941
|
}
|
|
8850
8942
|
)[]
|
|
8943
|
+
|
|
8851
8944
|
descriptionStyle?: 'body' | 'tag' | 'any'
|
|
8945
|
+
|
|
8852
8946
|
exemptedBy?: string[]
|
|
8853
8947
|
},
|
|
8854
8948
|
]
|
|
@@ -8858,7 +8952,9 @@ type JsdocRequireDescriptionCompleteSentence =
|
|
|
8858
8952
|
| [
|
|
8859
8953
|
{
|
|
8860
8954
|
abbreviations?: string[]
|
|
8955
|
+
|
|
8861
8956
|
newlineBeforeCapsAssumesBadSentenceEnd?: boolean
|
|
8957
|
+
|
|
8862
8958
|
tags?: string[]
|
|
8863
8959
|
},
|
|
8864
8960
|
]
|
|
@@ -8868,8 +8964,11 @@ type JsdocRequireExample =
|
|
|
8868
8964
|
| [
|
|
8869
8965
|
{
|
|
8870
8966
|
checkConstructors?: boolean
|
|
8967
|
+
|
|
8871
8968
|
checkGetters?: boolean
|
|
8969
|
+
|
|
8872
8970
|
checkSetters?: boolean
|
|
8971
|
+
|
|
8873
8972
|
contexts?: (
|
|
8874
8973
|
| string
|
|
8875
8974
|
| {
|
|
@@ -8877,8 +8976,11 @@ type JsdocRequireExample =
|
|
|
8877
8976
|
context?: string
|
|
8878
8977
|
}
|
|
8879
8978
|
)[]
|
|
8979
|
+
|
|
8880
8980
|
enableFixer?: boolean
|
|
8981
|
+
|
|
8881
8982
|
exemptedBy?: string[]
|
|
8983
|
+
|
|
8882
8984
|
exemptNoArguments?: boolean
|
|
8883
8985
|
},
|
|
8884
8986
|
]
|
|
@@ -8916,8 +9018,11 @@ type JsdocRequireJsdoc =
|
|
|
8916
9018
|
| [
|
|
8917
9019
|
{
|
|
8918
9020
|
checkConstructors?: boolean
|
|
9021
|
+
|
|
8919
9022
|
checkGetters?: boolean | 'no-setter'
|
|
9023
|
+
|
|
8920
9024
|
checkSetters?: boolean | 'no-getter'
|
|
9025
|
+
|
|
8921
9026
|
contexts?: (
|
|
8922
9027
|
| string
|
|
8923
9028
|
| {
|
|
@@ -8926,12 +9031,19 @@ type JsdocRequireJsdoc =
|
|
|
8926
9031
|
minLineCount?: number
|
|
8927
9032
|
}
|
|
8928
9033
|
)[]
|
|
9034
|
+
|
|
8929
9035
|
enableFixer?: boolean
|
|
9036
|
+
|
|
8930
9037
|
exemptEmptyConstructors?: boolean
|
|
9038
|
+
|
|
8931
9039
|
exemptEmptyFunctions?: boolean
|
|
9040
|
+
|
|
8932
9041
|
exemptOverloadedImplementations?: boolean
|
|
9042
|
+
|
|
8933
9043
|
fixerMessage?: string
|
|
9044
|
+
|
|
8934
9045
|
minLineCount?: number
|
|
9046
|
+
|
|
8935
9047
|
publicOnly?:
|
|
8936
9048
|
| boolean
|
|
8937
9049
|
| {
|
|
@@ -8940,14 +9052,21 @@ type JsdocRequireJsdoc =
|
|
|
8940
9052
|
esm?: boolean
|
|
8941
9053
|
window?: boolean
|
|
8942
9054
|
}
|
|
9055
|
+
|
|
8943
9056
|
require?: {
|
|
8944
9057
|
ArrowFunctionExpression?: boolean
|
|
9058
|
+
|
|
8945
9059
|
ClassDeclaration?: boolean
|
|
9060
|
+
|
|
8946
9061
|
ClassExpression?: boolean
|
|
9062
|
+
|
|
8947
9063
|
FunctionDeclaration?: boolean
|
|
9064
|
+
|
|
8948
9065
|
FunctionExpression?: boolean
|
|
9066
|
+
|
|
8949
9067
|
MethodDefinition?: boolean
|
|
8950
9068
|
}
|
|
9069
|
+
|
|
8951
9070
|
skipInterveningOverloadedDeclarations?: boolean
|
|
8952
9071
|
},
|
|
8953
9072
|
]
|
|
@@ -8957,13 +9076,21 @@ type JsdocRequireParam =
|
|
|
8957
9076
|
| [
|
|
8958
9077
|
{
|
|
8959
9078
|
autoIncrementBase?: number
|
|
9079
|
+
|
|
8960
9080
|
checkConstructors?: boolean
|
|
9081
|
+
|
|
8961
9082
|
checkDestructured?: boolean
|
|
9083
|
+
|
|
8962
9084
|
checkDestructuredRoots?: boolean
|
|
9085
|
+
|
|
8963
9086
|
checkGetters?: boolean
|
|
9087
|
+
|
|
8964
9088
|
checkRestProperty?: boolean
|
|
9089
|
+
|
|
8965
9090
|
checkSetters?: boolean
|
|
9091
|
+
|
|
8966
9092
|
checkTypesPattern?: string
|
|
9093
|
+
|
|
8967
9094
|
contexts?: (
|
|
8968
9095
|
| string
|
|
8969
9096
|
| {
|
|
@@ -8971,12 +9098,21 @@ type JsdocRequireParam =
|
|
|
8971
9098
|
context?: string
|
|
8972
9099
|
}
|
|
8973
9100
|
)[]
|
|
9101
|
+
|
|
8974
9102
|
enableFixer?: boolean
|
|
9103
|
+
|
|
8975
9104
|
enableRestElementFixer?: boolean
|
|
9105
|
+
|
|
8976
9106
|
enableRootFixer?: boolean
|
|
9107
|
+
|
|
8977
9108
|
exemptedBy?: string[]
|
|
9109
|
+
|
|
8978
9110
|
ignoreWhenAllParamsMissing?: boolean
|
|
9111
|
+
|
|
9112
|
+
interfaceExemptsParamsCheck?: boolean
|
|
9113
|
+
|
|
8979
9114
|
unnamedRootBase?: string[]
|
|
9115
|
+
|
|
8980
9116
|
useDefaultObjectProperties?: boolean
|
|
8981
9117
|
},
|
|
8982
9118
|
]
|
|
@@ -8992,7 +9128,9 @@ type JsdocRequireParamDescription =
|
|
|
8992
9128
|
context?: string
|
|
8993
9129
|
}
|
|
8994
9130
|
)[]
|
|
9131
|
+
|
|
8995
9132
|
defaultDestructuredRootDescription?: string
|
|
9133
|
+
|
|
8996
9134
|
setDefaultDestructuredRootDescription?: boolean
|
|
8997
9135
|
},
|
|
8998
9136
|
]
|
|
@@ -9022,7 +9160,9 @@ type JsdocRequireParamType =
|
|
|
9022
9160
|
context?: string
|
|
9023
9161
|
}
|
|
9024
9162
|
)[]
|
|
9163
|
+
|
|
9025
9164
|
defaultDestructuredRootType?: string
|
|
9165
|
+
|
|
9026
9166
|
setDefaultDestructuredRootType?: boolean
|
|
9027
9167
|
},
|
|
9028
9168
|
]
|
|
@@ -9032,7 +9172,9 @@ type JsdocRequireReturns =
|
|
|
9032
9172
|
| [
|
|
9033
9173
|
{
|
|
9034
9174
|
checkConstructors?: boolean
|
|
9175
|
+
|
|
9035
9176
|
checkGetters?: boolean
|
|
9177
|
+
|
|
9036
9178
|
contexts?: (
|
|
9037
9179
|
| string
|
|
9038
9180
|
| {
|
|
@@ -9041,10 +9183,15 @@ type JsdocRequireReturns =
|
|
|
9041
9183
|
forceRequireReturn?: boolean
|
|
9042
9184
|
}
|
|
9043
9185
|
)[]
|
|
9186
|
+
|
|
9044
9187
|
enableFixer?: boolean
|
|
9188
|
+
|
|
9045
9189
|
exemptedBy?: string[]
|
|
9190
|
+
|
|
9046
9191
|
forceRequireReturn?: boolean
|
|
9192
|
+
|
|
9047
9193
|
forceReturnsWithAsync?: boolean
|
|
9194
|
+
|
|
9048
9195
|
publicOnly?:
|
|
9049
9196
|
| boolean
|
|
9050
9197
|
| {
|
|
@@ -9061,7 +9208,9 @@ type JsdocRequireReturnsCheck =
|
|
|
9061
9208
|
| [
|
|
9062
9209
|
{
|
|
9063
9210
|
exemptAsync?: boolean
|
|
9211
|
+
|
|
9064
9212
|
exemptGenerators?: boolean
|
|
9213
|
+
|
|
9065
9214
|
reportMissingReturnForUndefinedTypes?: boolean
|
|
9066
9215
|
},
|
|
9067
9216
|
]
|
|
@@ -9093,12 +9242,28 @@ type JsdocRequireReturnsType =
|
|
|
9093
9242
|
)[]
|
|
9094
9243
|
},
|
|
9095
9244
|
]
|
|
9245
|
+
// ----- jsdoc/require-tags -----
|
|
9246
|
+
type JsdocRequireTags =
|
|
9247
|
+
| []
|
|
9248
|
+
| [
|
|
9249
|
+
{
|
|
9250
|
+
tags?: (
|
|
9251
|
+
| string
|
|
9252
|
+
| {
|
|
9253
|
+
context?: string
|
|
9254
|
+
tag?: string
|
|
9255
|
+
[k: string]: unknown | undefined
|
|
9256
|
+
}
|
|
9257
|
+
)[]
|
|
9258
|
+
},
|
|
9259
|
+
]
|
|
9096
9260
|
// ----- jsdoc/require-template -----
|
|
9097
9261
|
type JsdocRequireTemplate =
|
|
9098
9262
|
| []
|
|
9099
9263
|
| [
|
|
9100
9264
|
{
|
|
9101
9265
|
exemptedBy?: string[]
|
|
9266
|
+
|
|
9102
9267
|
requireSeparateTemplates?: boolean
|
|
9103
9268
|
},
|
|
9104
9269
|
]
|
|
@@ -9114,6 +9279,7 @@ type JsdocRequireThrows =
|
|
|
9114
9279
|
context?: string
|
|
9115
9280
|
}
|
|
9116
9281
|
)[]
|
|
9282
|
+
|
|
9117
9283
|
exemptedBy?: string[]
|
|
9118
9284
|
},
|
|
9119
9285
|
]
|
|
@@ -9129,11 +9295,17 @@ type JsdocRequireYields =
|
|
|
9129
9295
|
context?: string
|
|
9130
9296
|
}
|
|
9131
9297
|
)[]
|
|
9298
|
+
|
|
9132
9299
|
exemptedBy?: string[]
|
|
9300
|
+
|
|
9133
9301
|
forceRequireNext?: boolean
|
|
9302
|
+
|
|
9134
9303
|
forceRequireYields?: boolean
|
|
9304
|
+
|
|
9135
9305
|
next?: boolean
|
|
9306
|
+
|
|
9136
9307
|
nextWithGeneratorTag?: boolean
|
|
9308
|
+
|
|
9137
9309
|
withGeneratorTag?: boolean
|
|
9138
9310
|
},
|
|
9139
9311
|
]
|
|
@@ -9143,6 +9315,7 @@ type JsdocRequireYieldsCheck =
|
|
|
9143
9315
|
| [
|
|
9144
9316
|
{
|
|
9145
9317
|
checkGeneratorsOnly?: boolean
|
|
9318
|
+
|
|
9146
9319
|
contexts?: (
|
|
9147
9320
|
| string
|
|
9148
9321
|
| {
|
|
@@ -9150,7 +9323,7 @@ type JsdocRequireYieldsCheck =
|
|
|
9150
9323
|
context?: string
|
|
9151
9324
|
}
|
|
9152
9325
|
)[]
|
|
9153
|
-
|
|
9326
|
+
|
|
9154
9327
|
next?: boolean
|
|
9155
9328
|
},
|
|
9156
9329
|
]
|
|
@@ -9160,9 +9333,13 @@ type JsdocSortTags =
|
|
|
9160
9333
|
| [
|
|
9161
9334
|
{
|
|
9162
9335
|
alphabetizeExtras?: boolean
|
|
9336
|
+
|
|
9163
9337
|
linesBetween?: number
|
|
9338
|
+
|
|
9164
9339
|
reportIntraTagGroupSpacing?: boolean
|
|
9340
|
+
|
|
9165
9341
|
reportTagGroupSpacing?: boolean
|
|
9342
|
+
|
|
9166
9343
|
tagSequence?: {
|
|
9167
9344
|
tags?: string[]
|
|
9168
9345
|
}[]
|
|
@@ -9176,9 +9353,15 @@ type JsdocTagLines =
|
|
|
9176
9353
|
'always' | 'any' | 'never',
|
|
9177
9354
|
{
|
|
9178
9355
|
applyToEndTag?: boolean
|
|
9356
|
+
|
|
9179
9357
|
count?: number
|
|
9358
|
+
|
|
9180
9359
|
endLines?: number | null
|
|
9360
|
+
|
|
9361
|
+
maxBlockLines?: number | null
|
|
9362
|
+
|
|
9181
9363
|
startLines?: number | null
|
|
9364
|
+
|
|
9182
9365
|
tags?: {
|
|
9183
9366
|
[k: string]: {
|
|
9184
9367
|
count?: number
|
|
@@ -9193,9 +9376,45 @@ type JsdocTextEscaping =
|
|
|
9193
9376
|
| [
|
|
9194
9377
|
{
|
|
9195
9378
|
escapeHTML?: boolean
|
|
9379
|
+
|
|
9196
9380
|
escapeMarkdown?: boolean
|
|
9197
9381
|
},
|
|
9198
9382
|
]
|
|
9383
|
+
// ----- jsdoc/type-formatting -----
|
|
9384
|
+
type JsdocTypeFormatting =
|
|
9385
|
+
| []
|
|
9386
|
+
| [
|
|
9387
|
+
{
|
|
9388
|
+
arrayBrackets?: 'angle' | 'square'
|
|
9389
|
+
|
|
9390
|
+
enableFixer?: boolean
|
|
9391
|
+
|
|
9392
|
+
genericDot?: boolean
|
|
9393
|
+
|
|
9394
|
+
objectFieldIndent?: string
|
|
9395
|
+
|
|
9396
|
+
objectFieldQuote?: 'double' | 'single' | null
|
|
9397
|
+
|
|
9398
|
+
objectFieldSeparator?:
|
|
9399
|
+
| 'comma'
|
|
9400
|
+
| 'comma-and-linebreak'
|
|
9401
|
+
| 'linebreak'
|
|
9402
|
+
| 'semicolon'
|
|
9403
|
+
| 'semicolon-and-linebreak'
|
|
9404
|
+
|
|
9405
|
+
objectFieldSeparatorOptionalLinebreak?: boolean
|
|
9406
|
+
|
|
9407
|
+
objectFieldSeparatorTrailingPunctuation?: boolean
|
|
9408
|
+
|
|
9409
|
+
separatorForSingleObjectField?: boolean
|
|
9410
|
+
|
|
9411
|
+
stringQuotes?: 'double' | 'single'
|
|
9412
|
+
|
|
9413
|
+
typeBracketSpacing?: string
|
|
9414
|
+
|
|
9415
|
+
unionSpacing?: string
|
|
9416
|
+
},
|
|
9417
|
+
]
|
|
9199
9418
|
// ----- jsdoc/valid-types -----
|
|
9200
9419
|
type JsdocValidTypes =
|
|
9201
9420
|
| []
|
|
@@ -11782,6 +12001,7 @@ type NodeNoDeprecatedApi =
|
|
|
11782
12001
|
| 'repl.REPLServer'
|
|
11783
12002
|
| 'repl.Recoverable'
|
|
11784
12003
|
| 'repl.REPL_MODE_MAGIC'
|
|
12004
|
+
| 'repl.builtinModules'
|
|
11785
12005
|
| 'safe-buffer.Buffer()'
|
|
11786
12006
|
| 'new safe-buffer.Buffer()'
|
|
11787
12007
|
| 'safe-buffer.SlowBuffer'
|
|
@@ -13229,6 +13449,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13229
13449
|
| 'process.env'
|
|
13230
13450
|
| 'process.execArgv'
|
|
13231
13451
|
| 'process.execPath'
|
|
13452
|
+
| 'process.execve'
|
|
13232
13453
|
| 'process.exitCode'
|
|
13233
13454
|
| 'process.features.cached_builtins'
|
|
13234
13455
|
| 'process.features.debug'
|
|
@@ -13251,6 +13472,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13251
13472
|
| 'process.pid'
|
|
13252
13473
|
| 'process.platform'
|
|
13253
13474
|
| 'process.ppid'
|
|
13475
|
+
| 'process.ref'
|
|
13254
13476
|
| 'process.release'
|
|
13255
13477
|
| 'process.report'
|
|
13256
13478
|
| 'process.report.excludeEnv'
|
|
@@ -13281,6 +13503,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13281
13503
|
| 'process.stderr.isTTY'
|
|
13282
13504
|
| 'process.stderr.moveCursor'
|
|
13283
13505
|
| 'process.stderr.rows'
|
|
13506
|
+
| 'process.threadCpuUsage'
|
|
13284
13507
|
| 'process.throwDeprecation'
|
|
13285
13508
|
| 'process.title'
|
|
13286
13509
|
| 'process.traceDeprecation'
|
|
@@ -13320,6 +13543,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13320
13543
|
| 'process.setSourceMapsEnabled'
|
|
13321
13544
|
| 'process.setUncaughtExceptionCaptureCallback'
|
|
13322
13545
|
| 'process.umask'
|
|
13546
|
+
| 'process.unref'
|
|
13323
13547
|
| 'process.uptime'
|
|
13324
13548
|
| 'ReadableStream'
|
|
13325
13549
|
| 'ReadableStream.from'
|
|
@@ -13356,6 +13580,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13356
13580
|
| 'MessageChannel'
|
|
13357
13581
|
| 'MessagePort'
|
|
13358
13582
|
| 'assert'
|
|
13583
|
+
| 'assert.Assert'
|
|
13359
13584
|
| 'assert.assert'
|
|
13360
13585
|
| 'assert.deepEqual'
|
|
13361
13586
|
| 'assert.deepStrictEqual'
|
|
@@ -13371,11 +13596,13 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13371
13596
|
| 'assert.notEqual'
|
|
13372
13597
|
| 'assert.notStrictEqual'
|
|
13373
13598
|
| 'assert.ok'
|
|
13599
|
+
| 'assert.partialDeepStrictEqual'
|
|
13374
13600
|
| 'assert.rejects'
|
|
13375
13601
|
| 'assert.strictEqual'
|
|
13376
13602
|
| 'assert.throws'
|
|
13377
13603
|
| 'assert.CallTracker'
|
|
13378
13604
|
| 'assert.strict'
|
|
13605
|
+
| 'assert.strict.Assert'
|
|
13379
13606
|
| 'assert.strict.assert'
|
|
13380
13607
|
| 'assert.strict.deepEqual'
|
|
13381
13608
|
| 'assert.strict.deepStrictEqual'
|
|
@@ -13391,11 +13618,13 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13391
13618
|
| 'assert.strict.notEqual'
|
|
13392
13619
|
| 'assert.strict.notStrictEqual'
|
|
13393
13620
|
| 'assert.strict.ok'
|
|
13621
|
+
| 'assert.strict.partialDeepStrictEqual'
|
|
13394
13622
|
| 'assert.strict.rejects'
|
|
13395
13623
|
| 'assert.strict.strictEqual'
|
|
13396
13624
|
| 'assert.strict.throws'
|
|
13397
13625
|
| 'assert.strict.CallTracker'
|
|
13398
13626
|
| 'assert/strict'
|
|
13627
|
+
| 'assert/strict.Assert'
|
|
13399
13628
|
| 'assert/strict.assert'
|
|
13400
13629
|
| 'assert/strict.deepEqual'
|
|
13401
13630
|
| 'assert/strict.deepStrictEqual'
|
|
@@ -13411,6 +13640,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13411
13640
|
| 'assert/strict.notEqual'
|
|
13412
13641
|
| 'assert/strict.notStrictEqual'
|
|
13413
13642
|
| 'assert/strict.ok'
|
|
13643
|
+
| 'assert/strict.partialDeepStrictEqual'
|
|
13414
13644
|
| 'assert/strict.rejects'
|
|
13415
13645
|
| 'assert/strict.strictEqual'
|
|
13416
13646
|
| 'assert/strict.throws'
|
|
@@ -13590,6 +13820,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13590
13820
|
| 'dns.resolvePtr'
|
|
13591
13821
|
| 'dns.resolveSoa'
|
|
13592
13822
|
| 'dns.resolveSrv'
|
|
13823
|
+
| 'dns.resolveTlsa'
|
|
13593
13824
|
| 'dns.resolveTxt'
|
|
13594
13825
|
| 'dns.reverse'
|
|
13595
13826
|
| 'dns.setDefaultResultOrder'
|
|
@@ -13613,6 +13844,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13613
13844
|
| 'dns.promises.resolvePtr'
|
|
13614
13845
|
| 'dns.promises.resolveSoa'
|
|
13615
13846
|
| 'dns.promises.resolveSrv'
|
|
13847
|
+
| 'dns.promises.resolveTlsa'
|
|
13616
13848
|
| 'dns.promises.resolveTxt'
|
|
13617
13849
|
| 'dns.promises.reverse'
|
|
13618
13850
|
| 'dns.promises.setDefaultResultOrder'
|
|
@@ -13636,6 +13868,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13636
13868
|
| 'dns/promises.resolvePtr'
|
|
13637
13869
|
| 'dns/promises.resolveSoa'
|
|
13638
13870
|
| 'dns/promises.resolveSrv'
|
|
13871
|
+
| 'dns/promises.resolveTlsa'
|
|
13639
13872
|
| 'dns/promises.resolveTxt'
|
|
13640
13873
|
| 'dns/promises.reverse'
|
|
13641
13874
|
| 'dns/promises.setDefaultResultOrder'
|
|
@@ -13898,6 +14131,12 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13898
14131
|
| 'http.IncomingMessage'
|
|
13899
14132
|
| 'http.OutgoingMessage'
|
|
13900
14133
|
| 'http.WebSocket'
|
|
14134
|
+
| '_http_agent'
|
|
14135
|
+
| '_http_client'
|
|
14136
|
+
| '_http_common'
|
|
14137
|
+
| '_http_incoming'
|
|
14138
|
+
| '_http_outgoing'
|
|
14139
|
+
| '_http_server'
|
|
13901
14140
|
| 'https'
|
|
13902
14141
|
| 'https.globalAgent'
|
|
13903
14142
|
| 'https.createServer'
|
|
@@ -13907,10 +14146,13 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13907
14146
|
| 'https.Server'
|
|
13908
14147
|
| 'inspector'
|
|
13909
14148
|
| 'inspector.Session'
|
|
14149
|
+
| 'inspector.Network.dataReceived'
|
|
14150
|
+
| 'inspector.Network.dataSent'
|
|
13910
14151
|
| 'inspector.Network.loadingFailed'
|
|
13911
14152
|
| 'inspector.Network.loadingFinished'
|
|
13912
14153
|
| 'inspector.Network.requestWillBeSent'
|
|
13913
14154
|
| 'inspector.Network.responseReceived'
|
|
14155
|
+
| 'inspector.NetworkResources.put'
|
|
13914
14156
|
| 'inspector.console'
|
|
13915
14157
|
| 'inspector.close'
|
|
13916
14158
|
| 'inspector.open'
|
|
@@ -13918,10 +14160,13 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13918
14160
|
| 'inspector.waitForDebugger'
|
|
13919
14161
|
| 'inspector/promises'
|
|
13920
14162
|
| 'inspector/promises.Session'
|
|
14163
|
+
| 'inspector/promises.Network.dataReceived'
|
|
14164
|
+
| 'inspector/promises.Network.dataSent'
|
|
13921
14165
|
| 'inspector/promises.Network.loadingFailed'
|
|
13922
14166
|
| 'inspector/promises.Network.loadingFinished'
|
|
13923
14167
|
| 'inspector/promises.Network.requestWillBeSent'
|
|
13924
14168
|
| 'inspector/promises.Network.responseReceived'
|
|
14169
|
+
| 'inspector/promises.NetworkResources.put'
|
|
13925
14170
|
| 'inspector/promises.console'
|
|
13926
14171
|
| 'inspector/promises.close'
|
|
13927
14172
|
| 'inspector/promises.open'
|
|
@@ -13935,8 +14180,11 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13935
14180
|
| 'module.findPackageJSON'
|
|
13936
14181
|
| 'module.flushCompileCache'
|
|
13937
14182
|
| 'module.getCompileCacheDir'
|
|
14183
|
+
| 'module.getSourceMapsSupport'
|
|
13938
14184
|
| 'module.isBuiltin'
|
|
14185
|
+
| 'module.registerHooks'
|
|
13939
14186
|
| 'module.register'
|
|
14187
|
+
| 'module.setSourceMapsSupport'
|
|
13940
14188
|
| 'module.stripTypeScriptTypes'
|
|
13941
14189
|
| 'module.syncBuiltinESMExports'
|
|
13942
14190
|
| 'module.findSourceMap'
|
|
@@ -13948,8 +14196,11 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13948
14196
|
| 'module.Module.findPackageJSON'
|
|
13949
14197
|
| 'module.Module.flushCompileCache'
|
|
13950
14198
|
| 'module.Module.getCompileCacheDir'
|
|
14199
|
+
| 'module.Module.getSourceMapsSupport'
|
|
13951
14200
|
| 'module.Module.isBuiltin'
|
|
14201
|
+
| 'module.Module.registerHooks'
|
|
13952
14202
|
| 'module.Module.register'
|
|
14203
|
+
| 'module.Module.setSourceMapsSupport'
|
|
13953
14204
|
| 'module.Module.stripTypeScriptTypes'
|
|
13954
14205
|
| 'module.Module.syncBuiltinESMExports'
|
|
13955
14206
|
| 'module.Module.findSourceMap'
|
|
@@ -13966,7 +14217,9 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
13966
14217
|
| 'net.isIPv4'
|
|
13967
14218
|
| 'net.isIPv6'
|
|
13968
14219
|
| 'net.BlockList'
|
|
14220
|
+
| 'net.BlockList.isBlockList'
|
|
13969
14221
|
| 'net.SocketAddress'
|
|
14222
|
+
| 'net.SocketAddress.parse'
|
|
13970
14223
|
| 'net.Server'
|
|
13971
14224
|
| 'net.Socket'
|
|
13972
14225
|
| 'os'
|
|
@@ -14216,6 +14469,11 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14216
14469
|
| 'string_decoder'
|
|
14217
14470
|
| 'string_decoder.StringDecoder'
|
|
14218
14471
|
| 'sqlite'
|
|
14472
|
+
| 'sqlite.constants'
|
|
14473
|
+
| 'sqlite.constants.SQLITE_CHANGESET_OMIT'
|
|
14474
|
+
| 'sqlite.constants.SQLITE_CHANGESET_REPLACE'
|
|
14475
|
+
| 'sqlite.constants.SQLITE_CHANGESET_ABORT'
|
|
14476
|
+
| 'sqlite.backup'
|
|
14219
14477
|
| 'sqlite.DatabaseSync'
|
|
14220
14478
|
| 'sqlite.StatementSync'
|
|
14221
14479
|
| 'sqlite.SQLITE_CHANGESET_OMIT'
|
|
@@ -14224,6 +14482,8 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14224
14482
|
| 'test'
|
|
14225
14483
|
| 'test.after'
|
|
14226
14484
|
| 'test.afterEach'
|
|
14485
|
+
| 'test.assert'
|
|
14486
|
+
| 'test.assert.register'
|
|
14227
14487
|
| 'test.before'
|
|
14228
14488
|
| 'test.beforeEach'
|
|
14229
14489
|
| 'test.describe'
|
|
@@ -14280,21 +14540,23 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14280
14540
|
| 'timers/promises.scheduler.wait'
|
|
14281
14541
|
| 'timers/promises.scheduler.yield'
|
|
14282
14542
|
| 'tls'
|
|
14283
|
-
| 'tls.rootCertificates'
|
|
14284
|
-
| 'tls.DEFAULT_ECDH_CURVE'
|
|
14285
|
-
| 'tls.DEFAULT_MAX_VERSION'
|
|
14286
|
-
| 'tls.DEFAULT_MIN_VERSION'
|
|
14287
|
-
| 'tls.DEFAULT_CIPHERS'
|
|
14288
14543
|
| 'tls.checkServerIdentity'
|
|
14289
14544
|
| 'tls.connect'
|
|
14290
14545
|
| 'tls.createSecureContext'
|
|
14291
14546
|
| 'tls.createSecurePair'
|
|
14292
14547
|
| 'tls.createServer'
|
|
14548
|
+
| 'tls.CryptoStream'
|
|
14549
|
+
| 'tls.DEFAULT_CIPHERS'
|
|
14550
|
+
| 'tls.DEFAULT_ECDH_CURVE'
|
|
14551
|
+
| 'tls.DEFAULT_MAX_VERSION'
|
|
14552
|
+
| 'tls.DEFAULT_MIN_VERSION'
|
|
14553
|
+
| 'tls.getCACertificates'
|
|
14293
14554
|
| 'tls.getCiphers'
|
|
14555
|
+
| 'tls.rootCertificates'
|
|
14294
14556
|
| 'tls.SecureContext'
|
|
14295
|
-
| 'tls.CryptoStream'
|
|
14296
14557
|
| 'tls.SecurePair'
|
|
14297
14558
|
| 'tls.Server'
|
|
14559
|
+
| 'tls.setDefaultCACertificates'
|
|
14298
14560
|
| 'tls.TLSSocket'
|
|
14299
14561
|
| 'trace_events'
|
|
14300
14562
|
| 'trace_events.createTracing'
|
|
@@ -14314,6 +14576,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14314
14576
|
| 'url.URL.canParse'
|
|
14315
14577
|
| 'url.URL.createObjectURL'
|
|
14316
14578
|
| 'url.URL.revokeObjectURL'
|
|
14579
|
+
| 'url.URLPattern'
|
|
14317
14580
|
| 'url.URLSearchParams'
|
|
14318
14581
|
| 'url.Url'
|
|
14319
14582
|
| 'util.promisify'
|
|
@@ -14322,6 +14585,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14322
14585
|
| 'util.debuglog'
|
|
14323
14586
|
| 'util.debug'
|
|
14324
14587
|
| 'util.deprecate'
|
|
14588
|
+
| 'util.diff'
|
|
14325
14589
|
| 'util.format'
|
|
14326
14590
|
| 'util.formatWithOptions'
|
|
14327
14591
|
| 'util.getCallSite'
|
|
@@ -14337,6 +14601,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14337
14601
|
| 'util.isDeepStrictEqual'
|
|
14338
14602
|
| 'util.parseArgs'
|
|
14339
14603
|
| 'util.parseEnv'
|
|
14604
|
+
| 'util.setTraceSigInt'
|
|
14340
14605
|
| 'util.stripVTControlCharacters'
|
|
14341
14606
|
| 'util.styleText'
|
|
14342
14607
|
| 'util.toUSVString'
|
|
@@ -14384,6 +14649,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14384
14649
|
| 'util.types.isInt8Array'
|
|
14385
14650
|
| 'util.types.isInt16Array'
|
|
14386
14651
|
| 'util.types.isInt32Array'
|
|
14652
|
+
| 'util.types.isFloat16Array'
|
|
14387
14653
|
| 'util.types.isFloat32Array'
|
|
14388
14654
|
| 'util.types.isFloat64Array'
|
|
14389
14655
|
| 'util.types.isBigInt64Array'
|
|
@@ -14446,6 +14712,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14446
14712
|
| 'util/types.isInt8Array'
|
|
14447
14713
|
| 'util/types.isInt16Array'
|
|
14448
14714
|
| 'util/types.isInt32Array'
|
|
14715
|
+
| 'util/types.isFloat16Array'
|
|
14449
14716
|
| 'util/types.isFloat32Array'
|
|
14450
14717
|
| 'util/types.isFloat64Array'
|
|
14451
14718
|
| 'util/types.isBigInt64Array'
|
|
@@ -14476,6 +14743,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14476
14743
|
| 'v8.getHeapSnapshot'
|
|
14477
14744
|
| 'v8.getHeapSpaceStatistics'
|
|
14478
14745
|
| 'v8.getHeapStatistics'
|
|
14746
|
+
| 'v8.isStringOneByteRepresentation'
|
|
14479
14747
|
| 'v8.queryObjects'
|
|
14480
14748
|
| 'v8.setFlagsFromString'
|
|
14481
14749
|
| 'v8.stopCoverage'
|
|
@@ -14499,15 +14767,17 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14499
14767
|
| 'wasi.WASI'
|
|
14500
14768
|
| 'wasi'
|
|
14501
14769
|
| 'worker_threads'
|
|
14502
|
-
| 'worker_threads.isMainThread'
|
|
14503
14770
|
| 'worker_threads.parentPort'
|
|
14504
14771
|
| 'worker_threads.resourceLimits'
|
|
14505
14772
|
| 'worker_threads.SHARE_ENV'
|
|
14506
14773
|
| 'worker_threads.threadId'
|
|
14507
14774
|
| 'worker_threads.workerData'
|
|
14508
14775
|
| 'worker_threads.getEnvironmentData'
|
|
14776
|
+
| 'worker_threads.getHeapStatistics'
|
|
14509
14777
|
| 'worker_threads.markAsUncloneable'
|
|
14510
14778
|
| 'worker_threads.markAsUntransferable'
|
|
14779
|
+
| 'worker_threads.isInternalThread'
|
|
14780
|
+
| 'worker_threads.isMainThread'
|
|
14511
14781
|
| 'worker_threads.isMarkedAsUntransferable'
|
|
14512
14782
|
| 'worker_threads.moveMessagePortToContext'
|
|
14513
14783
|
| 'worker_threads.postMessageToThread'
|
|
@@ -14517,7 +14787,72 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14517
14787
|
| 'worker_threads.MessageChannel'
|
|
14518
14788
|
| 'worker_threads.MessagePort'
|
|
14519
14789
|
| 'worker_threads.Worker'
|
|
14790
|
+
| 'zlib.brotliCompress'
|
|
14791
|
+
| 'zlib.brotliCompressSync'
|
|
14792
|
+
| 'zlib.brotliDecompress'
|
|
14793
|
+
| 'zlib.brotliDecompressSync'
|
|
14520
14794
|
| 'zlib.constants'
|
|
14795
|
+
| 'zlib.constants.ZSTD_e_continue'
|
|
14796
|
+
| 'zlib.constants.ZSTD_e_flush'
|
|
14797
|
+
| 'zlib.constants.ZSTD_e_end'
|
|
14798
|
+
| 'zlib.constants.ZSTD_fast'
|
|
14799
|
+
| 'zlib.constants.ZSTD_dfast'
|
|
14800
|
+
| 'zlib.constants.ZSTD_greedy'
|
|
14801
|
+
| 'zlib.constants.ZSTD_lazy'
|
|
14802
|
+
| 'zlib.constants.ZSTD_lazy2'
|
|
14803
|
+
| 'zlib.constants.ZSTD_btlazy2'
|
|
14804
|
+
| 'zlib.constants.ZSTD_btopt'
|
|
14805
|
+
| 'zlib.constants.ZSTD_btultra'
|
|
14806
|
+
| 'zlib.constants.ZSTD_btultra2'
|
|
14807
|
+
| 'zlib.constants.ZSTD_c_compressionLevel'
|
|
14808
|
+
| 'zlib.constants.ZSTD_c_windowLog'
|
|
14809
|
+
| 'zlib.constants.ZSTD_c_hashLog'
|
|
14810
|
+
| 'zlib.constants.ZSTD_c_chainLog'
|
|
14811
|
+
| 'zlib.constants.ZSTD_c_searchLog'
|
|
14812
|
+
| 'zlib.constants.ZSTD_c_minMatch'
|
|
14813
|
+
| 'zlib.constants.ZSTD_c_targetLength'
|
|
14814
|
+
| 'zlib.constants.ZSTD_c_strategy'
|
|
14815
|
+
| 'zlib.constants.ZSTD_c_enableLongDistanceMatching'
|
|
14816
|
+
| 'zlib.constants.ZSTD_c_ldmHashLog'
|
|
14817
|
+
| 'zlib.constants.ZSTD_c_ldmMinMatch'
|
|
14818
|
+
| 'zlib.constants.ZSTD_c_ldmBucketSizeLog'
|
|
14819
|
+
| 'zlib.constants.ZSTD_c_ldmHashRateLog'
|
|
14820
|
+
| 'zlib.constants.ZSTD_c_contentSizeFlag'
|
|
14821
|
+
| 'zlib.constants.ZSTD_c_checksumFlag'
|
|
14822
|
+
| 'zlib.constants.ZSTD_c_dictIDFlag'
|
|
14823
|
+
| 'zlib.constants.ZSTD_c_nbWorkers'
|
|
14824
|
+
| 'zlib.constants.ZSTD_c_jobSize'
|
|
14825
|
+
| 'zlib.constants.ZSTD_c_overlapLog'
|
|
14826
|
+
| 'zlib.constants.ZSTD_d_windowLogMax'
|
|
14827
|
+
| 'zlib.constants.ZSTD_CLEVEL_DEFAULT'
|
|
14828
|
+
| 'zlib.constants.ZSTD_error_no_error'
|
|
14829
|
+
| 'zlib.constants.ZSTD_error_GENERIC'
|
|
14830
|
+
| 'zlib.constants.ZSTD_error_prefix_unknown'
|
|
14831
|
+
| 'zlib.constants.ZSTD_error_version_unsupported'
|
|
14832
|
+
| 'zlib.constants.ZSTD_error_frameParameter_unsupported'
|
|
14833
|
+
| 'zlib.constants.ZSTD_error_frameParameter_windowTooLarge'
|
|
14834
|
+
| 'zlib.constants.ZSTD_error_corruption_detected'
|
|
14835
|
+
| 'zlib.constants.ZSTD_error_checksum_wrong'
|
|
14836
|
+
| 'zlib.constants.ZSTD_error_literals_headerWrong'
|
|
14837
|
+
| 'zlib.constants.ZSTD_error_dictionary_corrupted'
|
|
14838
|
+
| 'zlib.constants.ZSTD_error_dictionary_wrong'
|
|
14839
|
+
| 'zlib.constants.ZSTD_error_dictionaryCreation_failed'
|
|
14840
|
+
| 'zlib.constants.ZSTD_error_parameter_unsupported'
|
|
14841
|
+
| 'zlib.constants.ZSTD_error_parameter_combination_unsupported'
|
|
14842
|
+
| 'zlib.constants.ZSTD_error_parameter_outOfBound'
|
|
14843
|
+
| 'zlib.constants.ZSTD_error_tableLog_tooLarge'
|
|
14844
|
+
| 'zlib.constants.ZSTD_error_maxSymbolValue_tooLarge'
|
|
14845
|
+
| 'zlib.constants.ZSTD_error_maxSymbolValue_tooSmall'
|
|
14846
|
+
| 'zlib.constants.ZSTD_error_stabilityCondition_notRespected'
|
|
14847
|
+
| 'zlib.constants.ZSTD_error_stage_wrong'
|
|
14848
|
+
| 'zlib.constants.ZSTD_error_init_missing'
|
|
14849
|
+
| 'zlib.constants.ZSTD_error_memory_allocation'
|
|
14850
|
+
| 'zlib.constants.ZSTD_error_workSpace_tooSmall'
|
|
14851
|
+
| 'zlib.constants.ZSTD_error_dstSize_tooSmall'
|
|
14852
|
+
| 'zlib.constants.ZSTD_error_srcSize_wrong'
|
|
14853
|
+
| 'zlib.constants.ZSTD_error_dstBuffer_null'
|
|
14854
|
+
| 'zlib.constants.ZSTD_error_noForwardProgress_destFull'
|
|
14855
|
+
| 'zlib.constants.ZSTD_error_noForwardProgress_inputEmpty'
|
|
14521
14856
|
| 'zlib.crc32'
|
|
14522
14857
|
| 'zlib.createBrotliCompress'
|
|
14523
14858
|
| 'zlib.createBrotliDecompress'
|
|
@@ -14528,24 +14863,26 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14528
14863
|
| 'zlib.createInflate'
|
|
14529
14864
|
| 'zlib.createInflateRaw'
|
|
14530
14865
|
| 'zlib.createUnzip'
|
|
14531
|
-
| 'zlib.
|
|
14532
|
-
| 'zlib.
|
|
14533
|
-
| 'zlib.brotliDecompress'
|
|
14534
|
-
| 'zlib.brotliDecompressSync'
|
|
14866
|
+
| 'zlib.createZstdCompress'
|
|
14867
|
+
| 'zlib.createZstdDecompress'
|
|
14535
14868
|
| 'zlib.deflate'
|
|
14536
|
-
| 'zlib.deflateSync'
|
|
14537
14869
|
| 'zlib.deflateRaw'
|
|
14538
14870
|
| 'zlib.deflateRawSync'
|
|
14871
|
+
| 'zlib.deflateSync'
|
|
14539
14872
|
| 'zlib.gunzip'
|
|
14540
14873
|
| 'zlib.gunzipSync'
|
|
14541
14874
|
| 'zlib.gzip'
|
|
14542
14875
|
| 'zlib.gzipSync'
|
|
14543
14876
|
| 'zlib.inflate'
|
|
14544
|
-
| 'zlib.inflateSync'
|
|
14545
14877
|
| 'zlib.inflateRaw'
|
|
14546
14878
|
| 'zlib.inflateRawSync'
|
|
14879
|
+
| 'zlib.inflateSync'
|
|
14547
14880
|
| 'zlib.unzip'
|
|
14548
14881
|
| 'zlib.unzipSync'
|
|
14882
|
+
| 'zlib.zstdCompress'
|
|
14883
|
+
| 'zlib.zstdCompressSync'
|
|
14884
|
+
| 'zlib.zstdDecompress'
|
|
14885
|
+
| 'zlib.zstdDecompressSync'
|
|
14549
14886
|
| 'zlib.BrotliCompress()'
|
|
14550
14887
|
| 'zlib.BrotliCompress'
|
|
14551
14888
|
| 'zlib.BrotliDecompress()'
|
|
@@ -14564,10 +14901,14 @@ type NodeNoUnsupportedFeaturesNodeBuiltins =
|
|
|
14564
14901
|
| 'zlib.InflateRaw'
|
|
14565
14902
|
| 'zlib.Unzip()'
|
|
14566
14903
|
| 'zlib.Unzip'
|
|
14904
|
+
| 'zlib.ZstdCompress'
|
|
14905
|
+
| 'zlib.ZstdDecompress'
|
|
14906
|
+
| 'zlib.ZstdOptions'
|
|
14567
14907
|
| 'zlib'
|
|
14568
14908
|
| 'import.meta.resolve'
|
|
14569
14909
|
| 'import.meta.dirname'
|
|
14570
14910
|
| 'import.meta.filename'
|
|
14911
|
+
| 'import.meta.main'
|
|
14571
14912
|
)[]
|
|
14572
14913
|
},
|
|
14573
14914
|
]
|
|
@@ -19012,6 +19353,29 @@ type ReactNamingConventionFilenameExtension =
|
|
|
19012
19353
|
ignoreFilesWithoutCode?: boolean
|
|
19013
19354
|
},
|
|
19014
19355
|
]
|
|
19356
|
+
// ----- react/jsx-shorthand-boolean -----
|
|
19357
|
+
type ReactJsxShorthandBoolean = [] | [-1 | 1]
|
|
19358
|
+
// ----- react/jsx-shorthand-fragment -----
|
|
19359
|
+
type ReactJsxShorthandFragment = [] | [-1 | 1]
|
|
19360
|
+
// ----- react/no-forbidden-props -----
|
|
19361
|
+
type ReactNoForbiddenProps =
|
|
19362
|
+
| []
|
|
19363
|
+
| [
|
|
19364
|
+
{
|
|
19365
|
+
forbid?: (
|
|
19366
|
+
| string
|
|
19367
|
+
| {
|
|
19368
|
+
excludedNodes?: string[]
|
|
19369
|
+
prop: string
|
|
19370
|
+
}
|
|
19371
|
+
| {
|
|
19372
|
+
includedNodes?: string[]
|
|
19373
|
+
prop: string
|
|
19374
|
+
}
|
|
19375
|
+
)[]
|
|
19376
|
+
[k: string]: unknown | undefined
|
|
19377
|
+
},
|
|
19378
|
+
]
|
|
19015
19379
|
// ----- react/no-useless-fragment -----
|
|
19016
19380
|
type ReactNoUselessFragment =
|
|
19017
19381
|
| []
|