@luxass/eslint-config 5.3.1 → 6.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +827 -332
- package/dist/index.js +34 -17
- package/dist/lib-CANFQzGY.js +10961 -0
- package/package.json +57 -56
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
2
|
+
import { Linter } from "eslint";
|
|
2
3
|
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
3
4
|
import { ParserOptions } from "@typescript-eslint/parser";
|
|
4
5
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
5
6
|
import { Options } from "eslint-processor-vue-blocks";
|
|
6
|
-
import { Linter } from "eslint";
|
|
7
7
|
|
|
8
8
|
//#region src/configs/stylistic.d.ts
|
|
9
9
|
type StylisticConfig = Pick<StylisticCustomizeOptions, "jsx" | "indent" | "quotes" | "semi">;
|
|
@@ -472,6 +472,13 @@ interface TypeScriptOptions {
|
|
|
472
472
|
* @default "app"
|
|
473
473
|
*/
|
|
474
474
|
type?: ProjectType;
|
|
475
|
+
/**
|
|
476
|
+
* Enable erasable syntax only rules.
|
|
477
|
+
*
|
|
478
|
+
* @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only
|
|
479
|
+
* @default false
|
|
480
|
+
*/
|
|
481
|
+
erasableOnly?: boolean;
|
|
475
482
|
}
|
|
476
483
|
declare function typescript(options?: TypeScriptOptions): Promise<TypedFlatConfigItem[]>;
|
|
477
484
|
//#endregion
|
|
@@ -1276,9 +1283,9 @@ interface RuleOptions {
|
|
|
1276
1283
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
1277
1284
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
1278
1285
|
*/
|
|
1279
|
-
'jsdoc/check-alignment'?: Linter.RuleEntry<
|
|
1286
|
+
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>;
|
|
1280
1287
|
/**
|
|
1281
|
-
*
|
|
1288
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
1282
1289
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
1283
1290
|
*/
|
|
1284
1291
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>;
|
|
@@ -1293,7 +1300,7 @@ interface RuleOptions {
|
|
|
1293
1300
|
*/
|
|
1294
1301
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>;
|
|
1295
1302
|
/**
|
|
1296
|
-
*
|
|
1303
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
1297
1304
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
1298
1305
|
*/
|
|
1299
1306
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>;
|
|
@@ -1318,7 +1325,7 @@ interface RuleOptions {
|
|
|
1318
1325
|
*/
|
|
1319
1326
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>;
|
|
1320
1327
|
/**
|
|
1321
|
-
* Reports invalid
|
|
1328
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
1322
1329
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
1323
1330
|
*/
|
|
1324
1331
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>;
|
|
@@ -1333,12 +1340,17 @@ interface RuleOptions {
|
|
|
1333
1340
|
*/
|
|
1334
1341
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
1335
1342
|
/**
|
|
1336
|
-
*
|
|
1343
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
1337
1344
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
1338
1345
|
*/
|
|
1339
1346
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
1340
1347
|
/**
|
|
1341
|
-
* Reports
|
|
1348
|
+
* Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
|
|
1349
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
|
|
1350
|
+
*/
|
|
1351
|
+
'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
1342
1354
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
1343
1355
|
*/
|
|
1344
1356
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -1368,17 +1380,17 @@ interface RuleOptions {
|
|
|
1368
1380
|
*/
|
|
1369
1381
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>;
|
|
1370
1382
|
/**
|
|
1371
|
-
* Controls how and whether
|
|
1383
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
1372
1384
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
1373
1385
|
*/
|
|
1374
1386
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
1375
1387
|
/**
|
|
1376
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
1388
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
1377
1389
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
1378
1390
|
*/
|
|
1379
1391
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
1380
1392
|
/**
|
|
1381
|
-
*
|
|
1393
|
+
* 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.
|
|
1382
1394
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
1383
1395
|
*/
|
|
1384
1396
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>;
|
|
@@ -1408,22 +1420,37 @@ interface RuleOptions {
|
|
|
1408
1420
|
*/
|
|
1409
1421
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
1410
1422
|
/**
|
|
1411
|
-
* This rule reports types being used on `@param` or `@returns
|
|
1423
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
1412
1424
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
1413
1425
|
*/
|
|
1414
1426
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>;
|
|
1415
1427
|
/**
|
|
1416
|
-
*
|
|
1428
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
1417
1429
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
1418
1430
|
*/
|
|
1419
1431
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
1434
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
1435
|
+
*/
|
|
1436
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Reports use of `any` or `*` type
|
|
1439
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
1440
|
+
*/
|
|
1441
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Reports use of `Function` type
|
|
1444
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
1445
|
+
*/
|
|
1446
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>;
|
|
1420
1447
|
/**
|
|
1421
1448
|
* Requires that each JSDoc line starts with an `*`.
|
|
1422
1449
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
1423
1450
|
*/
|
|
1424
1451
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
1425
1452
|
/**
|
|
1426
|
-
* Requires that all functions have a description.
|
|
1453
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
1427
1454
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
1428
1455
|
*/
|
|
1429
1456
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -1433,7 +1460,7 @@ interface RuleOptions {
|
|
|
1433
1460
|
*/
|
|
1434
1461
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
1435
1462
|
/**
|
|
1436
|
-
* Requires that all functions have examples.
|
|
1463
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
1437
1464
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
1438
1465
|
*/
|
|
1439
1466
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -1443,17 +1470,27 @@ interface RuleOptions {
|
|
|
1443
1470
|
*/
|
|
1444
1471
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
1445
1472
|
/**
|
|
1446
|
-
* Requires a hyphen before the `@param` description.
|
|
1473
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
1447
1474
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
1448
1475
|
*/
|
|
1449
1476
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
1450
1477
|
/**
|
|
1451
|
-
*
|
|
1478
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
1452
1479
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
1453
1480
|
*/
|
|
1454
1481
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
1455
1482
|
/**
|
|
1456
|
-
* Requires
|
|
1483
|
+
* Requires a description for `@next` tags
|
|
1484
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
1485
|
+
*/
|
|
1486
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>;
|
|
1487
|
+
/**
|
|
1488
|
+
* Requires a type for `@next` tags
|
|
1489
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
1490
|
+
*/
|
|
1491
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>;
|
|
1492
|
+
/**
|
|
1493
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
1457
1494
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
1458
1495
|
*/
|
|
1459
1496
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -1463,12 +1500,12 @@ interface RuleOptions {
|
|
|
1463
1500
|
*/
|
|
1464
1501
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
1465
1502
|
/**
|
|
1466
|
-
* Requires that all
|
|
1503
|
+
* Requires that all `@param` tags have names.
|
|
1467
1504
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
1468
1505
|
*/
|
|
1469
1506
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
1470
1507
|
/**
|
|
1471
|
-
* Requires that each `@param` tag has a
|
|
1508
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
1472
1509
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
1473
1510
|
*/
|
|
1474
1511
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -1483,62 +1520,92 @@ interface RuleOptions {
|
|
|
1483
1520
|
*/
|
|
1484
1521
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>;
|
|
1485
1522
|
/**
|
|
1486
|
-
* Requires that all
|
|
1523
|
+
* Requires that all `@property` tags have names.
|
|
1487
1524
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
1488
1525
|
*/
|
|
1489
1526
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>;
|
|
1490
1527
|
/**
|
|
1491
|
-
* Requires that each `@property` tag has a
|
|
1528
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
1492
1529
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
1493
1530
|
*/
|
|
1494
1531
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
1495
1532
|
/**
|
|
1496
|
-
* Requires that returns are documented
|
|
1533
|
+
* Requires that returns are documented with `@returns`.
|
|
1497
1534
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
1498
1535
|
*/
|
|
1499
1536
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
1500
1537
|
/**
|
|
1501
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
1538
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
1502
1539
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
1503
1540
|
*/
|
|
1504
1541
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
1505
1542
|
/**
|
|
1506
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
1543
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
1507
1544
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
1508
1545
|
*/
|
|
1509
1546
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
1510
1547
|
/**
|
|
1511
|
-
* Requires that `@returns` tag has
|
|
1548
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
1512
1549
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
1513
1550
|
*/
|
|
1514
1551
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
1515
1552
|
/**
|
|
1516
|
-
* Requires
|
|
1553
|
+
* Requires tags be present, optionally for specific contexts
|
|
1554
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
1555
|
+
*/
|
|
1556
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
1557
|
+
/**
|
|
1558
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
1517
1559
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
1518
1560
|
*/
|
|
1519
1561
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
1520
1562
|
/**
|
|
1521
|
-
* Requires
|
|
1563
|
+
* Requires a description for `@template` tags
|
|
1564
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
1565
|
+
*/
|
|
1566
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
|
|
1567
|
+
/**
|
|
1568
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
1522
1569
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
1523
1570
|
*/
|
|
1524
1571
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
1525
1572
|
/**
|
|
1526
|
-
* Requires
|
|
1573
|
+
* Requires a description for `@throws` tags
|
|
1574
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
1575
|
+
*/
|
|
1576
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>;
|
|
1577
|
+
/**
|
|
1578
|
+
* Requires a type for `@throws` tags
|
|
1579
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
1580
|
+
*/
|
|
1581
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>;
|
|
1582
|
+
/**
|
|
1583
|
+
* Requires yields are documented with `@yields` tags.
|
|
1527
1584
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
1528
1585
|
*/
|
|
1529
1586
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>;
|
|
1530
1587
|
/**
|
|
1531
|
-
*
|
|
1588
|
+
* 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).
|
|
1532
1589
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
1533
1590
|
*/
|
|
1534
1591
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
1535
1592
|
/**
|
|
1536
|
-
*
|
|
1593
|
+
* Requires a description for `@yields` tags
|
|
1594
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
1595
|
+
*/
|
|
1596
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Requires a type for `@yields` tags
|
|
1599
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
1600
|
+
*/
|
|
1601
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
1537
1604
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
1538
1605
|
*/
|
|
1539
1606
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
1540
1607
|
/**
|
|
1541
|
-
* Enforces lines (or no lines) between tags.
|
|
1608
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
1542
1609
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
1543
1610
|
*/
|
|
1544
1611
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -1548,7 +1615,32 @@ interface RuleOptions {
|
|
|
1548
1615
|
*/
|
|
1549
1616
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
1550
1617
|
/**
|
|
1551
|
-
*
|
|
1618
|
+
* Prefers either function properties or method signatures
|
|
1619
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
|
|
1620
|
+
*/
|
|
1621
|
+
'jsdoc/ts-method-signature-style'?: Linter.RuleEntry<JsdocTsMethodSignatureStyle>;
|
|
1622
|
+
/**
|
|
1623
|
+
* Warns against use of the empty object type
|
|
1624
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-empty-object-type.md#repos-sticky-header
|
|
1625
|
+
*/
|
|
1626
|
+
'jsdoc/ts-no-empty-object-type'?: Linter.RuleEntry<[]>;
|
|
1627
|
+
/**
|
|
1628
|
+
* Catches unnecessary template expressions such as string expressions within a template literal.
|
|
1629
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-unnecessary-template-expression.md#repos-sticky-header
|
|
1630
|
+
*/
|
|
1631
|
+
'jsdoc/ts-no-unnecessary-template-expression'?: Linter.RuleEntry<JsdocTsNoUnnecessaryTemplateExpression>;
|
|
1632
|
+
/**
|
|
1633
|
+
* Prefers function types over call signatures when there are no other properties.
|
|
1634
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-prefer-function-type.md#repos-sticky-header
|
|
1635
|
+
*/
|
|
1636
|
+
'jsdoc/ts-prefer-function-type'?: Linter.RuleEntry<JsdocTsPreferFunctionType>;
|
|
1637
|
+
/**
|
|
1638
|
+
* Formats JSDoc type values.
|
|
1639
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
1640
|
+
*/
|
|
1641
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
1642
|
+
/**
|
|
1643
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
1552
1644
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
1553
1645
|
*/
|
|
1554
1646
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -1884,7 +1976,7 @@ interface RuleOptions {
|
|
|
1884
1976
|
* Disallow missing label references
|
|
1885
1977
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1886
1978
|
*/
|
|
1887
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
1979
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
1888
1980
|
/**
|
|
1889
1981
|
* Disallow link fragments that do not reference valid headings
|
|
1890
1982
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -1895,6 +1987,11 @@ interface RuleOptions {
|
|
|
1895
1987
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1896
1988
|
*/
|
|
1897
1989
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Disallow URLs that match defined reference identifiers
|
|
1992
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
1993
|
+
*/
|
|
1994
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>;
|
|
1898
1995
|
/**
|
|
1899
1996
|
* Disallow reversed link and image syntax
|
|
1900
1997
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
@@ -2876,12 +2973,12 @@ interface RuleOptions {
|
|
|
2876
2973
|
*/
|
|
2877
2974
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
2878
2975
|
/**
|
|
2879
|
-
* disallow `import` declarations which import
|
|
2976
|
+
* disallow `import` declarations which import missing modules
|
|
2880
2977
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2881
2978
|
*/
|
|
2882
2979
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
2883
2980
|
/**
|
|
2884
|
-
* disallow `require()` expressions which import
|
|
2981
|
+
* disallow `require()` expressions which import missing modules
|
|
2885
2982
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2886
2983
|
*/
|
|
2887
2984
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -3209,6 +3306,11 @@ interface RuleOptions {
|
|
|
3209
3306
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-unused-catalog-item.test.ts
|
|
3210
3307
|
*/
|
|
3211
3308
|
'pnpm/yaml-no-unused-catalog-item'?: Linter.RuleEntry<[]>;
|
|
3309
|
+
/**
|
|
3310
|
+
* Ensure all package patterns in `pnpm-workspace.yaml` match at least one directory
|
|
3311
|
+
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-valid-packages.test.ts
|
|
3312
|
+
*/
|
|
3313
|
+
'pnpm/yaml-valid-packages'?: Linter.RuleEntry<[]>;
|
|
3212
3314
|
/**
|
|
3213
3315
|
* Require using arrow functions for callbacks
|
|
3214
3316
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -3280,6 +3382,11 @@ interface RuleOptions {
|
|
|
3280
3382
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
3281
3383
|
*/
|
|
3282
3384
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
3385
|
+
/**
|
|
3386
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
3387
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
3388
|
+
*/
|
|
3389
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
3283
3390
|
/**
|
|
3284
3391
|
* Require quotes around object literal property names
|
|
3285
3392
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -3297,11 +3404,6 @@ interface RuleOptions {
|
|
|
3297
3404
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
3298
3405
|
*/
|
|
3299
3406
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
3300
|
-
/**
|
|
3301
|
-
* Disallow `children` in void DOM elements.
|
|
3302
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3303
|
-
*/
|
|
3304
|
-
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>;
|
|
3305
3407
|
/**
|
|
3306
3408
|
* Disallow `dangerouslySetInnerHTML`.
|
|
3307
3409
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -3333,7 +3435,7 @@ interface RuleOptions {
|
|
|
3333
3435
|
*/
|
|
3334
3436
|
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
|
|
3335
3437
|
/**
|
|
3336
|
-
* Enforces explicit `sandbox`
|
|
3438
|
+
* Enforces explicit `sandbox` prop for `iframe` elements.
|
|
3337
3439
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
|
|
3338
3440
|
*/
|
|
3339
3441
|
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
@@ -3357,6 +3459,11 @@ interface RuleOptions {
|
|
|
3357
3459
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
3358
3460
|
*/
|
|
3359
3461
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
|
|
3462
|
+
/**
|
|
3463
|
+
* Disallows the use of string style prop.
|
|
3464
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
3465
|
+
*/
|
|
3466
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
3360
3467
|
/**
|
|
3361
3468
|
* Disallow unknown `DOM` property.
|
|
3362
3469
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -3383,70 +3490,133 @@ interface RuleOptions {
|
|
|
3383
3490
|
*/
|
|
3384
3491
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
3385
3492
|
/**
|
|
3386
|
-
* Enforces
|
|
3387
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3493
|
+
* Enforces React Dom is imported via a namespace import.
|
|
3494
|
+
* @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
3388
3495
|
*/
|
|
3389
|
-
'react-
|
|
3496
|
+
'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
3390
3497
|
/**
|
|
3391
|
-
* Disallow
|
|
3392
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
3498
|
+
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
3499
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
3393
3500
|
*/
|
|
3394
|
-
'react-hooks-extra/
|
|
3501
|
+
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
|
|
3395
3502
|
/**
|
|
3396
|
-
*
|
|
3397
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3503
|
+
* Verifies that automatic effect dependencies are compiled if opted-in
|
|
3398
3504
|
*/
|
|
3399
|
-
'react-hooks
|
|
3505
|
+
'react-hooks/automatic-effect-dependencies'?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies>;
|
|
3400
3506
|
/**
|
|
3401
|
-
*
|
|
3402
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
3507
|
+
* Validates against calling capitalized functions/methods instead of using JSX
|
|
3403
3508
|
*/
|
|
3404
|
-
'react-hooks
|
|
3509
|
+
'react-hooks/capitalized-calls'?: Linter.RuleEntry<ReactHooksCapitalizedCalls>;
|
|
3405
3510
|
/**
|
|
3406
|
-
*
|
|
3407
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
3511
|
+
* Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
|
|
3408
3512
|
*/
|
|
3409
|
-
'react-hooks
|
|
3513
|
+
'react-hooks/component-hook-factories'?: Linter.RuleEntry<ReactHooksComponentHookFactories>;
|
|
3410
3514
|
/**
|
|
3411
|
-
*
|
|
3412
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3515
|
+
* Validates the compiler configuration options
|
|
3413
3516
|
*/
|
|
3414
|
-
'react-hooks
|
|
3517
|
+
'react-hooks/config'?: Linter.RuleEntry<ReactHooksConfig>;
|
|
3415
3518
|
/**
|
|
3416
|
-
*
|
|
3417
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3519
|
+
* Validates usage of error boundaries instead of try/catch for errors in child components
|
|
3418
3520
|
*/
|
|
3419
|
-
'react-hooks
|
|
3521
|
+
'react-hooks/error-boundaries'?: Linter.RuleEntry<ReactHooksErrorBoundaries>;
|
|
3420
3522
|
/**
|
|
3421
|
-
*
|
|
3422
|
-
* @see https://
|
|
3523
|
+
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
3524
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
3423
3525
|
*/
|
|
3424
|
-
'react-hooks
|
|
3526
|
+
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>;
|
|
3425
3527
|
/**
|
|
3426
|
-
*
|
|
3427
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3528
|
+
* Validates usage of fbt
|
|
3428
3529
|
*/
|
|
3429
|
-
'react-hooks
|
|
3530
|
+
'react-hooks/fbt'?: Linter.RuleEntry<ReactHooksFbt>;
|
|
3430
3531
|
/**
|
|
3431
|
-
*
|
|
3432
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3532
|
+
* Validates usage of `fire`
|
|
3433
3533
|
*/
|
|
3434
|
-
'react-hooks
|
|
3534
|
+
'react-hooks/fire'?: Linter.RuleEntry<ReactHooksFire>;
|
|
3435
3535
|
/**
|
|
3436
|
-
*
|
|
3437
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
3536
|
+
* Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
|
|
3438
3537
|
*/
|
|
3439
|
-
'react-hooks
|
|
3538
|
+
'react-hooks/gating'?: Linter.RuleEntry<ReactHooksGating>;
|
|
3440
3539
|
/**
|
|
3441
|
-
*
|
|
3442
|
-
* @see https://github.com/facebook/react/issues/14920
|
|
3540
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
|
|
3443
3541
|
*/
|
|
3444
|
-
'react-hooks/
|
|
3542
|
+
'react-hooks/globals'?: Linter.RuleEntry<ReactHooksGlobals>;
|
|
3543
|
+
/**
|
|
3544
|
+
* Validates the rules of hooks
|
|
3545
|
+
*/
|
|
3546
|
+
'react-hooks/hooks'?: Linter.RuleEntry<ReactHooksHooks>;
|
|
3547
|
+
/**
|
|
3548
|
+
* Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
|
|
3549
|
+
*/
|
|
3550
|
+
'react-hooks/immutability'?: Linter.RuleEntry<ReactHooksImmutability>;
|
|
3551
|
+
/**
|
|
3552
|
+
* Validates against usage of libraries which are incompatible with memoization (manual or automatic)
|
|
3553
|
+
*/
|
|
3554
|
+
'react-hooks/incompatible-library'?: Linter.RuleEntry<ReactHooksIncompatibleLibrary>;
|
|
3555
|
+
/**
|
|
3556
|
+
* Internal invariants
|
|
3557
|
+
*/
|
|
3558
|
+
'react-hooks/invariant'?: Linter.RuleEntry<ReactHooksInvariant>;
|
|
3559
|
+
/**
|
|
3560
|
+
* Validates that effect dependencies are memoized
|
|
3561
|
+
*/
|
|
3562
|
+
'react-hooks/memoized-effect-dependencies'?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies>;
|
|
3563
|
+
/**
|
|
3564
|
+
* Validates against deriving values from state in an effect
|
|
3565
|
+
*/
|
|
3566
|
+
'react-hooks/no-deriving-state-in-effects'?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects>;
|
|
3567
|
+
/**
|
|
3568
|
+
* Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
|
|
3569
|
+
*/
|
|
3570
|
+
'react-hooks/preserve-manual-memoization'?: Linter.RuleEntry<ReactHooksPreserveManualMemoization>;
|
|
3571
|
+
/**
|
|
3572
|
+
* Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
|
|
3573
|
+
*/
|
|
3574
|
+
'react-hooks/purity'?: Linter.RuleEntry<ReactHooksPurity>;
|
|
3575
|
+
/**
|
|
3576
|
+
* Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
|
|
3577
|
+
*/
|
|
3578
|
+
'react-hooks/refs'?: Linter.RuleEntry<ReactHooksRefs>;
|
|
3579
|
+
/**
|
|
3580
|
+
* Validates against suppression of other rules
|
|
3581
|
+
*/
|
|
3582
|
+
'react-hooks/rule-suppression'?: Linter.RuleEntry<ReactHooksRuleSuppression>;
|
|
3445
3583
|
/**
|
|
3446
3584
|
* enforces the Rules of Hooks
|
|
3447
|
-
* @see https://
|
|
3585
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
3586
|
+
*/
|
|
3587
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<ReactHooksRulesOfHooks>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
|
|
3590
|
+
*/
|
|
3591
|
+
'react-hooks/set-state-in-effect'?: Linter.RuleEntry<ReactHooksSetStateInEffect>;
|
|
3592
|
+
/**
|
|
3593
|
+
* Validates against setting state during render, which can trigger additional renders and potential infinite render loops
|
|
3448
3594
|
*/
|
|
3449
|
-
'react-hooks/
|
|
3595
|
+
'react-hooks/set-state-in-render'?: Linter.RuleEntry<ReactHooksSetStateInRender>;
|
|
3596
|
+
/**
|
|
3597
|
+
* Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
|
|
3598
|
+
*/
|
|
3599
|
+
'react-hooks/static-components'?: Linter.RuleEntry<ReactHooksStaticComponents>;
|
|
3600
|
+
/**
|
|
3601
|
+
* Validates against invalid syntax
|
|
3602
|
+
*/
|
|
3603
|
+
'react-hooks/syntax'?: Linter.RuleEntry<ReactHooksSyntax>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Unimplemented features
|
|
3606
|
+
*/
|
|
3607
|
+
'react-hooks/todo'?: Linter.RuleEntry<ReactHooksTodo>;
|
|
3608
|
+
/**
|
|
3609
|
+
* Validates against syntax that we do not plan to support in React Compiler
|
|
3610
|
+
*/
|
|
3611
|
+
'react-hooks/unsupported-syntax'?: Linter.RuleEntry<ReactHooksUnsupportedSyntax>;
|
|
3612
|
+
/**
|
|
3613
|
+
* Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
3614
|
+
*/
|
|
3615
|
+
'react-hooks/use-memo'?: Linter.RuleEntry<ReactHooksUseMemo>;
|
|
3616
|
+
/**
|
|
3617
|
+
* Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
|
|
3618
|
+
*/
|
|
3619
|
+
'react-hooks/void-use-memo'?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
|
|
3450
3620
|
/**
|
|
3451
3621
|
* Enforces naming conventions for components.
|
|
3452
3622
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
@@ -3494,25 +3664,15 @@ interface RuleOptions {
|
|
|
3494
3664
|
*/
|
|
3495
3665
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
3496
3666
|
/**
|
|
3497
|
-
* Enforces
|
|
3498
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
3499
|
-
*/
|
|
3500
|
-
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
3501
|
-
/**
|
|
3502
|
-
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
3503
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
3504
|
-
*/
|
|
3505
|
-
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
3506
|
-
/**
|
|
3507
|
-
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
3508
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3509
|
-
*/
|
|
3510
|
-
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>;
|
|
3511
|
-
/**
|
|
3512
|
-
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
3667
|
+
* Enforces that the 'key' prop is placed before the spread prop in JSX elements.
|
|
3513
3668
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
3514
3669
|
*/
|
|
3515
3670
|
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
3671
|
+
/**
|
|
3672
|
+
* Prevents comments from being inserted as text nodes.
|
|
3673
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
3674
|
+
*/
|
|
3675
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
3516
3676
|
/**
|
|
3517
3677
|
* Disallow duplicate props in JSX elements.
|
|
3518
3678
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
@@ -3528,6 +3688,16 @@ interface RuleOptions {
|
|
|
3528
3688
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
3529
3689
|
*/
|
|
3530
3690
|
'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
3691
|
+
/**
|
|
3692
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
3693
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
3694
|
+
*/
|
|
3695
|
+
'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
|
|
3696
|
+
/**
|
|
3697
|
+
* Enforces shorthand syntax for fragments.
|
|
3698
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
3699
|
+
*/
|
|
3700
|
+
'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
|
|
3531
3701
|
/**
|
|
3532
3702
|
* Marks React variables as used when JSX is used.
|
|
3533
3703
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
@@ -3588,21 +3758,6 @@ interface RuleOptions {
|
|
|
3588
3758
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
3589
3759
|
*/
|
|
3590
3760
|
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3591
|
-
/**
|
|
3592
|
-
* Prevents comments from being inserted as text nodes.
|
|
3593
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
3594
|
-
*/
|
|
3595
|
-
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
3596
|
-
/**
|
|
3597
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3598
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3599
|
-
*/
|
|
3600
|
-
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3601
|
-
/**
|
|
3602
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3603
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3604
|
-
*/
|
|
3605
|
-
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3606
3761
|
/**
|
|
3607
3762
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
3608
3763
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
@@ -3638,16 +3793,16 @@ interface RuleOptions {
|
|
|
3638
3793
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3639
3794
|
*/
|
|
3640
3795
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3641
|
-
/**
|
|
3642
|
-
* Disallow duplicate props in JSX elements.
|
|
3643
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3644
|
-
*/
|
|
3645
|
-
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>;
|
|
3646
3796
|
/**
|
|
3647
3797
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
3648
3798
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3649
3799
|
*/
|
|
3650
3800
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3801
|
+
/**
|
|
3802
|
+
* Disallow certain props on components.
|
|
3803
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
3804
|
+
*/
|
|
3805
|
+
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
|
|
3651
3806
|
/**
|
|
3652
3807
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
3653
3808
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -3688,11 +3843,6 @@ interface RuleOptions {
|
|
|
3688
3843
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3689
3844
|
*/
|
|
3690
3845
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3691
|
-
/**
|
|
3692
|
-
* Disallow nesting component definitions inside other components.
|
|
3693
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3694
|
-
*/
|
|
3695
|
-
'react/no-nested-components'?: Linter.RuleEntry<[]>;
|
|
3696
3846
|
/**
|
|
3697
3847
|
* Disallow nesting lazy component declarations inside other components.
|
|
3698
3848
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
@@ -3719,7 +3869,7 @@ interface RuleOptions {
|
|
|
3719
3869
|
*/
|
|
3720
3870
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3721
3871
|
/**
|
|
3722
|
-
*
|
|
3872
|
+
* Disallow calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
|
|
3723
3873
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
3724
3874
|
*/
|
|
3725
3875
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
@@ -3728,6 +3878,26 @@ interface RuleOptions {
|
|
|
3728
3878
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
3729
3879
|
*/
|
|
3730
3880
|
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
3881
|
+
/**
|
|
3882
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
3883
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
3884
|
+
*/
|
|
3885
|
+
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
3886
|
+
/**
|
|
3887
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
3888
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
3889
|
+
*/
|
|
3890
|
+
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
3891
|
+
/**
|
|
3892
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
3893
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
3894
|
+
*/
|
|
3895
|
+
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
3896
|
+
/**
|
|
3897
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3898
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3899
|
+
*/
|
|
3900
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3731
3901
|
/**
|
|
3732
3902
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
3733
3903
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
@@ -3758,6 +3928,11 @@ interface RuleOptions {
|
|
|
3758
3928
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
3759
3929
|
*/
|
|
3760
3930
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3931
|
+
/**
|
|
3932
|
+
* Warns component props that are defined but never used.
|
|
3933
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3934
|
+
*/
|
|
3935
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
3761
3936
|
/**
|
|
3762
3937
|
* Warns unused class component state.
|
|
3763
3938
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
@@ -3785,29 +3960,19 @@ interface RuleOptions {
|
|
|
3785
3960
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
3786
3961
|
/**
|
|
3787
3962
|
* Enforces React is imported via a namespace import.
|
|
3788
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3963
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
3789
3964
|
*/
|
|
3790
|
-
'react/prefer-
|
|
3965
|
+
'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
3791
3966
|
/**
|
|
3792
3967
|
* Enforces read-only props in components.
|
|
3793
3968
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
3794
3969
|
*/
|
|
3795
3970
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
3796
3971
|
/**
|
|
3797
|
-
* Enforces
|
|
3798
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3799
|
-
*/
|
|
3800
|
-
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
3801
|
-
/**
|
|
3802
|
-
* Enforces shorthand syntax for fragments.
|
|
3803
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
3804
|
-
*/
|
|
3805
|
-
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
3806
|
-
/**
|
|
3807
|
-
* Marks variables used in JSX elements as used.
|
|
3808
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3972
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3973
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
3809
3974
|
*/
|
|
3810
|
-
'react/use-
|
|
3975
|
+
'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
3811
3976
|
/**
|
|
3812
3977
|
* disallow confusing quantifiers
|
|
3813
3978
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -4388,6 +4553,11 @@ interface RuleOptions {
|
|
|
4388
4553
|
* @see https://eslint.style/rules/eol-last
|
|
4389
4554
|
*/
|
|
4390
4555
|
'style/eol-last'?: Linter.RuleEntry<StyleEolLast>;
|
|
4556
|
+
/**
|
|
4557
|
+
* Enforce consistent spacing and line break styles inside brackets.
|
|
4558
|
+
* @see https://eslint.style/rules/list-style
|
|
4559
|
+
*/
|
|
4560
|
+
'style/exp-list-style'?: Linter.RuleEntry<StyleExpListStyle>;
|
|
4391
4561
|
/**
|
|
4392
4562
|
* Enforce line breaks between arguments of a function call
|
|
4393
4563
|
* @see https://eslint.style/rules/function-call-argument-newline
|
|
@@ -4859,7 +5029,7 @@ interface RuleOptions {
|
|
|
4859
5029
|
*/
|
|
4860
5030
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
|
|
4861
5031
|
/**
|
|
4862
|
-
* require
|
|
5032
|
+
* require test file pattern
|
|
4863
5033
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
4864
5034
|
*/
|
|
4865
5035
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
|
|
@@ -5039,6 +5209,11 @@ interface RuleOptions {
|
|
|
5039
5209
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
5040
5210
|
*/
|
|
5041
5211
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
5212
|
+
/**
|
|
5213
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
5214
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
5215
|
+
*/
|
|
5216
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
5042
5217
|
/**
|
|
5043
5218
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
5044
5219
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -5099,6 +5274,11 @@ interface RuleOptions {
|
|
|
5099
5274
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5100
5275
|
*/
|
|
5101
5276
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
5277
|
+
/**
|
|
5278
|
+
* prefer dynamic import in mock
|
|
5279
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
5280
|
+
*/
|
|
5281
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
5102
5282
|
/**
|
|
5103
5283
|
* enforce importing Vitest globals
|
|
5104
5284
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -5757,7 +5937,7 @@ interface RuleOptions {
|
|
|
5757
5937
|
* Disallow member access on a value with type `any`
|
|
5758
5938
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
5759
5939
|
*/
|
|
5760
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
5940
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
5761
5941
|
/**
|
|
5762
5942
|
* Disallow returning a value with type `any` from a function
|
|
5763
5943
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -6004,690 +6184,710 @@ interface RuleOptions {
|
|
|
6004
6184
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
6005
6185
|
/**
|
|
6006
6186
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
6007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
6008
6188
|
*/
|
|
6009
6189
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
6010
6190
|
/**
|
|
6011
6191
|
* Enforce a specific parameter name in catch clauses.
|
|
6012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
6013
6193
|
*/
|
|
6014
6194
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
6015
6195
|
/**
|
|
6016
6196
|
* Enforce consistent assertion style with `node:assert`.
|
|
6017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
6018
6198
|
*/
|
|
6019
6199
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
6020
6200
|
/**
|
|
6021
6201
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
6022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
6023
6203
|
*/
|
|
6024
6204
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
6025
6205
|
/**
|
|
6026
6206
|
* Use destructured variables over properties.
|
|
6027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
6028
6208
|
*/
|
|
6029
6209
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
6030
6210
|
/**
|
|
6031
6211
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
6032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
6033
6213
|
*/
|
|
6034
6214
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
6035
6215
|
/**
|
|
6036
6216
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
6037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
6038
6218
|
*/
|
|
6039
6219
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
6040
6220
|
/**
|
|
6041
6221
|
* Move function definitions to the highest possible scope.
|
|
6042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
6043
6223
|
*/
|
|
6044
6224
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
6045
6225
|
/**
|
|
6046
6226
|
* Enforce correct `Error` subclassing.
|
|
6047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
6048
6228
|
*/
|
|
6049
6229
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
6050
6230
|
/**
|
|
6051
6231
|
* Enforce no spaces between braces.
|
|
6052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
6053
6233
|
*/
|
|
6054
6234
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
6055
6235
|
/**
|
|
6056
6236
|
* Enforce passing a `message` value when creating a built-in error.
|
|
6057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
6058
6238
|
*/
|
|
6059
6239
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
6060
6240
|
/**
|
|
6061
6241
|
* Require escape sequences to use uppercase or lowercase values.
|
|
6062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
6063
6243
|
*/
|
|
6064
6244
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
6065
6245
|
/**
|
|
6066
6246
|
* Add expiration conditions to TODO comments.
|
|
6067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
6068
6248
|
*/
|
|
6069
6249
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
6070
6250
|
/**
|
|
6071
6251
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
6072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
6073
6253
|
*/
|
|
6074
6254
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
6075
6255
|
/**
|
|
6076
6256
|
* Enforce a case style for filenames.
|
|
6077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
6078
6258
|
*/
|
|
6079
6259
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
6080
6260
|
/**
|
|
6081
6261
|
* Enforce specific import styles per module.
|
|
6082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
6083
6263
|
*/
|
|
6084
6264
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
6085
6265
|
/**
|
|
6086
6266
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
6087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
6088
6268
|
*/
|
|
6089
6269
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
6090
6270
|
/**
|
|
6091
6271
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
6092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
6093
6273
|
*/
|
|
6094
6274
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
6095
6275
|
/**
|
|
6096
6276
|
* Disallow recursive access to `this` within getters and setters.
|
|
6097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
6098
6278
|
*/
|
|
6099
6279
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
6100
6280
|
/**
|
|
6101
6281
|
* Disallow anonymous functions and classes as the default export.
|
|
6102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
6103
6283
|
*/
|
|
6104
6284
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
6105
6285
|
/**
|
|
6106
6286
|
* Prevent passing a function reference directly to iterator methods.
|
|
6107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
6108
6288
|
*/
|
|
6109
6289
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
6110
6290
|
/**
|
|
6111
6291
|
* Prefer `for…of` over the `forEach` method.
|
|
6112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
6113
6293
|
*/
|
|
6114
6294
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
6115
6295
|
/**
|
|
6116
6296
|
* Disallow using the `this` argument in array methods.
|
|
6117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
6118
6298
|
*/
|
|
6119
6299
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
6120
6300
|
/**
|
|
6121
6301
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
6122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
6123
6303
|
* @deprecated
|
|
6124
6304
|
*/
|
|
6125
6305
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
6126
6306
|
/**
|
|
6127
6307
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
6128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6308
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
6129
6309
|
*/
|
|
6130
6310
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
6131
6311
|
/**
|
|
6132
6312
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
6133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
6134
6314
|
*/
|
|
6135
6315
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
6316
|
+
/**
|
|
6317
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
6318
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
6319
|
+
*/
|
|
6320
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
6136
6321
|
/**
|
|
6137
6322
|
* Disallow member access from await expression.
|
|
6138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6323
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
6139
6324
|
*/
|
|
6140
6325
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
6141
6326
|
/**
|
|
6142
6327
|
* Disallow using `await` in `Promise` method parameters.
|
|
6143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6328
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
6144
6329
|
*/
|
|
6145
6330
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6146
6331
|
/**
|
|
6147
6332
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
6148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6333
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
6149
6334
|
*/
|
|
6150
6335
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
6151
6336
|
/**
|
|
6152
6337
|
* Do not use `document.cookie` directly.
|
|
6153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
6154
6339
|
*/
|
|
6155
6340
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
6156
6341
|
/**
|
|
6157
6342
|
* Disallow empty files.
|
|
6158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6343
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
6159
6344
|
*/
|
|
6160
6345
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
6161
6346
|
/**
|
|
6162
6347
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
6163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
6164
6349
|
*/
|
|
6165
6350
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
6166
6351
|
/**
|
|
6167
6352
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
6168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6353
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
6169
6354
|
*/
|
|
6170
6355
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
6171
6356
|
/**
|
|
6172
6357
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
6173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
6174
6359
|
* @deprecated
|
|
6175
6360
|
*/
|
|
6176
6361
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
6177
6362
|
/**
|
|
6178
6363
|
* Disallow `instanceof` with built-in objects
|
|
6179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
6180
6365
|
*/
|
|
6181
6366
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
6182
6367
|
/**
|
|
6183
6368
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
6184
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
6185
6370
|
*/
|
|
6186
6371
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
6187
6372
|
/**
|
|
6188
6373
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
6189
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
6190
6375
|
*/
|
|
6191
6376
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
6192
6377
|
/**
|
|
6193
6378
|
* Disallow identifiers starting with `new` or `class`.
|
|
6194
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
6195
6380
|
*/
|
|
6196
6381
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
6197
6382
|
/**
|
|
6198
6383
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
6199
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
6200
6385
|
* @deprecated
|
|
6201
6386
|
*/
|
|
6202
6387
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
6203
6388
|
/**
|
|
6204
6389
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
6205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
6206
6391
|
*/
|
|
6207
6392
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
6208
6393
|
/**
|
|
6209
6394
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
6210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
6211
6396
|
*/
|
|
6212
6397
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
6213
6398
|
/**
|
|
6214
6399
|
* Disallow named usage of default import and export.
|
|
6215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
6216
6401
|
*/
|
|
6217
6402
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
6218
6403
|
/**
|
|
6219
6404
|
* Disallow negated conditions.
|
|
6220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
6221
6406
|
*/
|
|
6222
6407
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
6223
6408
|
/**
|
|
6224
6409
|
* Disallow negated expression in equality check.
|
|
6225
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
6226
6411
|
*/
|
|
6227
6412
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
6228
6413
|
/**
|
|
6229
6414
|
* Disallow nested ternary expressions.
|
|
6230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
6231
6416
|
*/
|
|
6232
6417
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
6233
6418
|
/**
|
|
6234
6419
|
* Disallow `new Array()`.
|
|
6235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
6236
6421
|
*/
|
|
6237
6422
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
6238
6423
|
/**
|
|
6239
6424
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
6240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
6241
6426
|
*/
|
|
6242
6427
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
6243
6428
|
/**
|
|
6244
6429
|
* Disallow the use of the `null` literal.
|
|
6245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
6246
6431
|
*/
|
|
6247
6432
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
6248
6433
|
/**
|
|
6249
6434
|
* Disallow the use of objects as default parameters.
|
|
6250
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
6251
6436
|
*/
|
|
6252
6437
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
6253
6438
|
/**
|
|
6254
6439
|
* Disallow `process.exit()`.
|
|
6255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
6256
6441
|
*/
|
|
6257
6442
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
6258
6443
|
/**
|
|
6259
6444
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
6260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
6261
6446
|
*/
|
|
6262
6447
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6263
6448
|
/**
|
|
6264
6449
|
* Disallow classes that only have static members.
|
|
6265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
6266
6451
|
*/
|
|
6267
6452
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
6268
6453
|
/**
|
|
6269
6454
|
* Disallow `then` property.
|
|
6270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
6271
6456
|
*/
|
|
6272
6457
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
6273
6458
|
/**
|
|
6274
6459
|
* Disallow assigning `this` to a variable.
|
|
6275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
6276
6461
|
*/
|
|
6277
6462
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
6278
6463
|
/**
|
|
6279
6464
|
* Disallow comparing `undefined` using `typeof`.
|
|
6280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
6281
6466
|
*/
|
|
6282
6467
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
6283
6468
|
/**
|
|
6284
6469
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
6285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
6286
6471
|
*/
|
|
6287
6472
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
6288
6473
|
/**
|
|
6289
6474
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
6290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
6291
6476
|
*/
|
|
6292
6477
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
6293
6478
|
/**
|
|
6294
6479
|
* Disallow awaiting non-promise values.
|
|
6295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
6296
6481
|
*/
|
|
6297
6482
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
6298
6483
|
/**
|
|
6299
6484
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
6300
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
6301
6486
|
*/
|
|
6302
6487
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
6303
6488
|
/**
|
|
6304
6489
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
6305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
6306
6491
|
*/
|
|
6307
6492
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
6308
6493
|
/**
|
|
6309
6494
|
* Disallow unreadable array destructuring.
|
|
6310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
6311
6496
|
*/
|
|
6312
6497
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
6313
6498
|
/**
|
|
6314
6499
|
* Disallow unreadable IIFEs.
|
|
6315
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
6316
6501
|
*/
|
|
6317
6502
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
6318
6503
|
/**
|
|
6319
6504
|
* Disallow unused object properties.
|
|
6320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
6321
6506
|
*/
|
|
6322
6507
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
6323
6508
|
/**
|
|
6324
6509
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
6325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
6326
6511
|
*/
|
|
6327
6512
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
6328
6513
|
/**
|
|
6329
6514
|
* Disallow useless fallback when spreading in object literals.
|
|
6330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
6331
6516
|
*/
|
|
6332
6517
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
6333
6518
|
/**
|
|
6334
6519
|
* Disallow useless array length check.
|
|
6335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
6336
6521
|
*/
|
|
6337
6522
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
6338
6523
|
/**
|
|
6339
6524
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
6341
6526
|
*/
|
|
6342
6527
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
6343
6528
|
/**
|
|
6344
6529
|
* Disallow unnecessary spread.
|
|
6345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
6346
6531
|
*/
|
|
6347
6532
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
6348
6533
|
/**
|
|
6349
6534
|
* Disallow useless case in switch statements.
|
|
6350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6535
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
6351
6536
|
*/
|
|
6352
6537
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
6353
6538
|
/**
|
|
6354
6539
|
* Disallow useless `undefined`.
|
|
6355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
6356
6541
|
*/
|
|
6357
6542
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
6358
6543
|
/**
|
|
6359
6544
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
6361
6546
|
*/
|
|
6362
6547
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
6363
6548
|
/**
|
|
6364
6549
|
* Enforce proper case for numeric literals.
|
|
6365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
6366
6551
|
*/
|
|
6367
6552
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
6368
6553
|
/**
|
|
6369
6554
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
6371
6556
|
*/
|
|
6372
6557
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
6373
6558
|
/**
|
|
6374
6559
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
6376
6561
|
*/
|
|
6377
6562
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
6378
6563
|
/**
|
|
6379
6564
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
6381
6566
|
*/
|
|
6382
6567
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
6383
6568
|
/**
|
|
6384
6569
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
6386
6571
|
*/
|
|
6387
6572
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
6388
6573
|
/**
|
|
6389
6574
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
6391
6576
|
*/
|
|
6392
6577
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
6393
6578
|
/**
|
|
6394
6579
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
6396
6581
|
*/
|
|
6397
6582
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
6398
6583
|
/**
|
|
6399
6584
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
6401
6586
|
*/
|
|
6402
6587
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
6403
6588
|
/**
|
|
6404
6589
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
6406
6591
|
*/
|
|
6407
6592
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
6593
|
+
/**
|
|
6594
|
+
* Prefer `BigInt` literals over the constructor.
|
|
6595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
6596
|
+
*/
|
|
6597
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
6408
6598
|
/**
|
|
6409
6599
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
6411
6601
|
*/
|
|
6412
6602
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
6413
6603
|
/**
|
|
6414
6604
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
6415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
6416
6606
|
*/
|
|
6417
6607
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
6608
|
+
/**
|
|
6609
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
6610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
6611
|
+
*/
|
|
6612
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
6418
6613
|
/**
|
|
6419
6614
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
6421
6616
|
*/
|
|
6422
6617
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
6423
6618
|
/**
|
|
6424
6619
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
6426
6621
|
*/
|
|
6427
6622
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
6428
6623
|
/**
|
|
6429
6624
|
* Prefer default parameters over reassignment.
|
|
6430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
6431
6626
|
*/
|
|
6432
6627
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
6433
6628
|
/**
|
|
6434
6629
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
6436
6631
|
*/
|
|
6437
6632
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
6438
6633
|
/**
|
|
6439
6634
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
6441
6636
|
*/
|
|
6442
6637
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
6443
6638
|
/**
|
|
6444
6639
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
6446
6641
|
*/
|
|
6447
6642
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
6448
6643
|
/**
|
|
6449
6644
|
* Prefer `.textContent` over `.innerText`.
|
|
6450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
6451
6646
|
*/
|
|
6452
6647
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
6453
6648
|
/**
|
|
6454
6649
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
6456
6651
|
*/
|
|
6457
6652
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
6458
6653
|
/**
|
|
6459
6654
|
* Prefer `export…from` when re-exporting.
|
|
6460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
6461
6656
|
*/
|
|
6462
6657
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
6463
6658
|
/**
|
|
6464
6659
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
6466
6661
|
*/
|
|
6467
6662
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
6468
6663
|
/**
|
|
6469
6664
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
6470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
6471
6666
|
*/
|
|
6472
6667
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
6473
6668
|
/**
|
|
6474
6669
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
6476
6671
|
*/
|
|
6477
6672
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
6478
6673
|
/**
|
|
6479
6674
|
* Prefer reading a JSON file as a buffer.
|
|
6480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
6481
6676
|
*/
|
|
6482
6677
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
6483
6678
|
/**
|
|
6484
6679
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
6486
6681
|
*/
|
|
6487
6682
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
6488
6683
|
/**
|
|
6489
6684
|
* Prefer using a logical operator over a ternary.
|
|
6490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6491
6686
|
*/
|
|
6492
6687
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
6493
6688
|
/**
|
|
6494
6689
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
6496
6691
|
*/
|
|
6497
6692
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
6498
6693
|
/**
|
|
6499
6694
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
6501
6696
|
*/
|
|
6502
6697
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
6503
6698
|
/**
|
|
6504
6699
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
6506
6701
|
*/
|
|
6507
6702
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
6508
6703
|
/**
|
|
6509
6704
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
6511
6706
|
*/
|
|
6512
6707
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
6513
6708
|
/**
|
|
6514
6709
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
6516
6711
|
*/
|
|
6517
6712
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
6518
6713
|
/**
|
|
6519
6714
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
6521
6716
|
*/
|
|
6522
6717
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
6523
6718
|
/**
|
|
6524
6719
|
* Prefer negative index over `.length - index` when possible.
|
|
6525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
6526
6721
|
*/
|
|
6527
6722
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
6528
6723
|
/**
|
|
6529
6724
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
6531
6726
|
*/
|
|
6532
6727
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
6533
6728
|
/**
|
|
6534
6729
|
* Prefer `Number` static properties over global ones.
|
|
6535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
6536
6731
|
*/
|
|
6537
6732
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
6538
6733
|
/**
|
|
6539
6734
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
6541
6736
|
*/
|
|
6542
6737
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
6543
6738
|
/**
|
|
6544
6739
|
* Prefer omitting the `catch` binding parameter.
|
|
6545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
6546
6741
|
*/
|
|
6547
6742
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
6548
6743
|
/**
|
|
6549
6744
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
6551
6746
|
*/
|
|
6552
6747
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
6553
6748
|
/**
|
|
6554
6749
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
6556
6751
|
*/
|
|
6557
6752
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
6558
6753
|
/**
|
|
6559
6754
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
6561
6756
|
*/
|
|
6562
6757
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
6563
6758
|
/**
|
|
6564
6759
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
6566
6761
|
*/
|
|
6567
6762
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
6568
6763
|
/**
|
|
6569
6764
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
6571
6766
|
*/
|
|
6572
6767
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
6573
6768
|
/**
|
|
6574
6769
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6575
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
6576
6771
|
*/
|
|
6577
6772
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
6578
6773
|
/**
|
|
6579
6774
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
6580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
6581
6776
|
*/
|
|
6582
6777
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
6583
6778
|
/**
|
|
6584
6779
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6585
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
6586
6781
|
*/
|
|
6587
6782
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
6588
6783
|
/**
|
|
6589
6784
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
6591
6786
|
*/
|
|
6592
6787
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
6593
6788
|
/**
|
|
6594
6789
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
6596
6791
|
*/
|
|
6597
6792
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
6598
6793
|
/**
|
|
6599
6794
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
6601
6796
|
*/
|
|
6602
6797
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
6603
6798
|
/**
|
|
6604
6799
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
6606
6801
|
*/
|
|
6607
6802
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
6608
6803
|
/**
|
|
6609
6804
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
6611
6806
|
*/
|
|
6612
6807
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
6613
6808
|
/**
|
|
6614
6809
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
6616
6811
|
*/
|
|
6617
6812
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
6618
6813
|
/**
|
|
6619
6814
|
* Prefer `switch` over multiple `else-if`.
|
|
6620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
6621
6816
|
*/
|
|
6622
6817
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
6623
6818
|
/**
|
|
6624
6819
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
6626
6821
|
*/
|
|
6627
6822
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
6628
6823
|
/**
|
|
6629
6824
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6630
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
6631
6826
|
*/
|
|
6632
6827
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
6633
6828
|
/**
|
|
6634
6829
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
6636
6831
|
*/
|
|
6637
6832
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
6638
6833
|
/**
|
|
6639
6834
|
* Prevent abbreviations.
|
|
6640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
6641
6836
|
*/
|
|
6642
6837
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
6643
6838
|
/**
|
|
6644
6839
|
* Enforce consistent relative URL style.
|
|
6645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
6646
6841
|
*/
|
|
6647
6842
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
6648
6843
|
/**
|
|
6649
6844
|
* Enforce using the separator argument with `Array#join()`.
|
|
6650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
6651
6846
|
*/
|
|
6652
6847
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
6848
|
+
/**
|
|
6849
|
+
* Require non-empty module attributes for imports and exports
|
|
6850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
6851
|
+
*/
|
|
6852
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
6653
6853
|
/**
|
|
6654
6854
|
* Require non-empty specifier list in import and export statements.
|
|
6655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
6656
6856
|
*/
|
|
6657
6857
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
6658
6858
|
/**
|
|
6659
6859
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6661
6861
|
*/
|
|
6662
6862
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
6663
6863
|
/**
|
|
6664
6864
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6865
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
6666
6866
|
*/
|
|
6667
6867
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
6668
6868
|
/**
|
|
6669
6869
|
* Enforce better string content.
|
|
6670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6870
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
6671
6871
|
*/
|
|
6672
6872
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
6673
6873
|
/**
|
|
6674
6874
|
* Enforce consistent brace style for `case` clauses.
|
|
6675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
6676
6876
|
*/
|
|
6677
6877
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
6678
6878
|
/**
|
|
6679
6879
|
* Fix whitespace-insensitive template indentation.
|
|
6680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6880
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
6681
6881
|
*/
|
|
6682
6882
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
6683
6883
|
/**
|
|
6684
6884
|
* Enforce consistent case for text encoding identifiers.
|
|
6685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
6686
6886
|
*/
|
|
6687
6887
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
6688
6888
|
/**
|
|
6689
6889
|
* Require `new` when creating an error.
|
|
6690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6890
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
6691
6891
|
*/
|
|
6692
6892
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
6693
6893
|
/**
|
|
@@ -7029,7 +7229,7 @@ interface RuleOptions {
|
|
|
7029
7229
|
* disallow asynchronous actions in computed properties
|
|
7030
7230
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
7031
7231
|
*/
|
|
7032
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
7232
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
7033
7233
|
/**
|
|
7034
7234
|
* disallow the use of bare strings in `<template>`
|
|
7035
7235
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -7530,7 +7730,7 @@ interface RuleOptions {
|
|
|
7530
7730
|
* disallow use of v-html to prevent XSS attack
|
|
7531
7731
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
7532
7732
|
*/
|
|
7533
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
7733
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
7534
7734
|
/**
|
|
7535
7735
|
* disallow adding an argument to `v-model` used in custom component
|
|
7536
7736
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -8138,7 +8338,6 @@ interface RuleOptions {
|
|
|
8138
8338
|
*/
|
|
8139
8339
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
8140
8340
|
}
|
|
8141
|
-
|
|
8142
8341
|
/* ======= Declarations ======= */
|
|
8143
8342
|
// ----- accessor-pairs -----
|
|
8144
8343
|
type AccessorPairs = [] | [{
|
|
@@ -8515,6 +8714,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
8515
8714
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
8516
8715
|
ignoreForLoopInit?: boolean;
|
|
8517
8716
|
}]);
|
|
8717
|
+
// ----- jsdoc/check-alignment -----
|
|
8718
|
+
type JsdocCheckAlignment = [] | [{
|
|
8719
|
+
innerIndent?: number;
|
|
8720
|
+
}];
|
|
8518
8721
|
// ----- jsdoc/check-examples -----
|
|
8519
8722
|
type JsdocCheckExamples = [] | [{
|
|
8520
8723
|
allowInlineConfig?: boolean;
|
|
@@ -8574,6 +8777,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
8574
8777
|
type JsdocCheckTagNames = [] | [{
|
|
8575
8778
|
definedTags?: string[];
|
|
8576
8779
|
enableFixer?: boolean;
|
|
8780
|
+
inlineTags?: string[];
|
|
8577
8781
|
jsxTags?: boolean;
|
|
8578
8782
|
typed?: boolean;
|
|
8579
8783
|
}];
|
|
@@ -8616,6 +8820,12 @@ type JsdocConvertToJsdocComments = [] | [{
|
|
|
8616
8820
|
type JsdocEmptyTags = [] | [{
|
|
8617
8821
|
tags?: string[];
|
|
8618
8822
|
}];
|
|
8823
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
8824
|
+
type JsdocEscapeInlineTags = [] | [{
|
|
8825
|
+
allowedInlineTags?: string[];
|
|
8826
|
+
enableFixer?: boolean;
|
|
8827
|
+
fixType?: ("backticks" | "backslash");
|
|
8828
|
+
}];
|
|
8619
8829
|
// ----- jsdoc/implements-on-classes -----
|
|
8620
8830
|
type JsdocImplementsOnClasses = [] | [{
|
|
8621
8831
|
contexts?: (string | {
|
|
@@ -8732,10 +8942,17 @@ type JsdocNoTypes = [] | [{
|
|
|
8732
8942
|
}];
|
|
8733
8943
|
// ----- jsdoc/no-undefined-types -----
|
|
8734
8944
|
type JsdocNoUndefinedTypes = [] | [{
|
|
8945
|
+
checkUsedTypedefs?: boolean;
|
|
8735
8946
|
definedTypes?: string[];
|
|
8736
8947
|
disableReporting?: boolean;
|
|
8737
8948
|
markVariablesAsUsed?: boolean;
|
|
8738
8949
|
}];
|
|
8950
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8951
|
+
type JsdocPreferImportTag = [] | [{
|
|
8952
|
+
enableFixer?: boolean;
|
|
8953
|
+
exemptTypedefs?: boolean;
|
|
8954
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
8955
|
+
}];
|
|
8739
8956
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
8740
8957
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
8741
8958
|
tags?: {
|
|
@@ -8804,6 +9021,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
8804
9021
|
enableFixer?: boolean;
|
|
8805
9022
|
exemptEmptyConstructors?: boolean;
|
|
8806
9023
|
exemptEmptyFunctions?: boolean;
|
|
9024
|
+
exemptOverloadedImplementations?: boolean;
|
|
8807
9025
|
fixerMessage?: string;
|
|
8808
9026
|
minLineCount?: number;
|
|
8809
9027
|
publicOnly?: (boolean | {
|
|
@@ -8820,6 +9038,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
8820
9038
|
FunctionExpression?: boolean;
|
|
8821
9039
|
MethodDefinition?: boolean;
|
|
8822
9040
|
};
|
|
9041
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
8823
9042
|
}];
|
|
8824
9043
|
// ----- jsdoc/require-param -----
|
|
8825
9044
|
type JsdocRequireParam = [] | [{
|
|
@@ -8840,6 +9059,7 @@ type JsdocRequireParam = [] | [{
|
|
|
8840
9059
|
enableRootFixer?: boolean;
|
|
8841
9060
|
exemptedBy?: string[];
|
|
8842
9061
|
ignoreWhenAllParamsMissing?: boolean;
|
|
9062
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
8843
9063
|
unnamedRootBase?: string[];
|
|
8844
9064
|
useDefaultObjectProperties?: boolean;
|
|
8845
9065
|
}];
|
|
@@ -8892,6 +9112,7 @@ type JsdocRequireReturns = [] | [{
|
|
|
8892
9112
|
type JsdocRequireReturnsCheck = [] | [{
|
|
8893
9113
|
exemptAsync?: boolean;
|
|
8894
9114
|
exemptGenerators?: boolean;
|
|
9115
|
+
noNativeTypes?: boolean;
|
|
8895
9116
|
reportMissingReturnForUndefinedTypes?: boolean;
|
|
8896
9117
|
}];
|
|
8897
9118
|
// ----- jsdoc/require-returns-description -----
|
|
@@ -8908,6 +9129,14 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
8908
9129
|
context?: string;
|
|
8909
9130
|
})[];
|
|
8910
9131
|
}];
|
|
9132
|
+
// ----- jsdoc/require-tags -----
|
|
9133
|
+
type JsdocRequireTags = [] | [{
|
|
9134
|
+
tags?: (string | {
|
|
9135
|
+
context?: string;
|
|
9136
|
+
tag?: string;
|
|
9137
|
+
[k: string]: unknown | undefined;
|
|
9138
|
+
})[];
|
|
9139
|
+
}];
|
|
8911
9140
|
// ----- jsdoc/require-template -----
|
|
8912
9141
|
type JsdocRequireTemplate = [] | [{
|
|
8913
9142
|
exemptedBy?: string[];
|
|
@@ -8941,7 +9170,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
8941
9170
|
comment?: string;
|
|
8942
9171
|
context?: string;
|
|
8943
9172
|
})[];
|
|
8944
|
-
exemptedBy?: string[];
|
|
8945
9173
|
next?: boolean;
|
|
8946
9174
|
}];
|
|
8947
9175
|
// ----- jsdoc/sort-tags -----
|
|
@@ -8959,6 +9187,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
8959
9187
|
applyToEndTag?: boolean;
|
|
8960
9188
|
count?: number;
|
|
8961
9189
|
endLines?: (number | null);
|
|
9190
|
+
maxBlockLines?: (number | null);
|
|
8962
9191
|
startLines?: (number | null);
|
|
8963
9192
|
tags?: {
|
|
8964
9193
|
[k: string]: {
|
|
@@ -8972,6 +9201,49 @@ type JsdocTextEscaping = [] | [{
|
|
|
8972
9201
|
escapeHTML?: boolean;
|
|
8973
9202
|
escapeMarkdown?: boolean;
|
|
8974
9203
|
}];
|
|
9204
|
+
// ----- jsdoc/ts-method-signature-style -----
|
|
9205
|
+
type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
|
|
9206
|
+
enableFixer?: boolean;
|
|
9207
|
+
}];
|
|
9208
|
+
// ----- jsdoc/ts-no-unnecessary-template-expression -----
|
|
9209
|
+
type JsdocTsNoUnnecessaryTemplateExpression = [] | [{
|
|
9210
|
+
enableFixer?: boolean;
|
|
9211
|
+
}];
|
|
9212
|
+
// ----- jsdoc/ts-prefer-function-type -----
|
|
9213
|
+
type JsdocTsPreferFunctionType = [] | [{
|
|
9214
|
+
enableFixer?: boolean;
|
|
9215
|
+
}];
|
|
9216
|
+
// ----- jsdoc/type-formatting -----
|
|
9217
|
+
type JsdocTypeFormatting = [] | [{
|
|
9218
|
+
arrayBrackets?: ("angle" | "square");
|
|
9219
|
+
arrowFunctionPostReturnMarkerSpacing?: string;
|
|
9220
|
+
arrowFunctionPreReturnMarkerSpacing?: string;
|
|
9221
|
+
enableFixer?: boolean;
|
|
9222
|
+
functionOrClassParameterSpacing?: string;
|
|
9223
|
+
functionOrClassPostGenericSpacing?: string;
|
|
9224
|
+
functionOrClassPostReturnMarkerSpacing?: string;
|
|
9225
|
+
functionOrClassPreReturnMarkerSpacing?: string;
|
|
9226
|
+
functionOrClassTypeParameterSpacing?: string;
|
|
9227
|
+
genericAndTupleElementSpacing?: string;
|
|
9228
|
+
genericDot?: boolean;
|
|
9229
|
+
keyValuePostColonSpacing?: string;
|
|
9230
|
+
keyValuePostKeySpacing?: string;
|
|
9231
|
+
keyValuePostOptionalSpacing?: string;
|
|
9232
|
+
keyValuePostVariadicSpacing?: string;
|
|
9233
|
+
methodQuotes?: ("double" | "single");
|
|
9234
|
+
objectFieldIndent?: string;
|
|
9235
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
9236
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
9237
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
9238
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
9239
|
+
parameterDefaultValueSpacing?: string;
|
|
9240
|
+
postMethodNameSpacing?: string;
|
|
9241
|
+
postNewSpacing?: string;
|
|
9242
|
+
separatorForSingleObjectField?: boolean;
|
|
9243
|
+
stringQuotes?: ("double" | "single");
|
|
9244
|
+
typeBracketSpacing?: string;
|
|
9245
|
+
unionSpacing?: string;
|
|
9246
|
+
}];
|
|
8975
9247
|
// ----- jsdoc/valid-types -----
|
|
8976
9248
|
type JsdocValidTypes = [] | [{
|
|
8977
9249
|
allowEmptyNamepaths?: boolean;
|
|
@@ -9660,6 +9932,10 @@ type MarkdownNoHtml = [] | [{
|
|
|
9660
9932
|
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
9661
9933
|
checkClosedHeadings?: boolean;
|
|
9662
9934
|
}];
|
|
9935
|
+
// ----- markdown/no-missing-label-refs -----
|
|
9936
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
9937
|
+
allowLabels?: string[];
|
|
9938
|
+
}];
|
|
9663
9939
|
// ----- markdown/no-missing-link-fragments -----
|
|
9664
9940
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
9665
9941
|
ignoreCase?: boolean;
|
|
@@ -10044,12 +10320,14 @@ type NoRestrictedImports = ((string | {
|
|
|
10044
10320
|
message?: string;
|
|
10045
10321
|
importNames?: string[];
|
|
10046
10322
|
allowImportNames?: string[];
|
|
10323
|
+
allowTypeImports?: boolean;
|
|
10047
10324
|
})[] | [] | [{
|
|
10048
10325
|
paths?: (string | {
|
|
10049
10326
|
name: string;
|
|
10050
10327
|
message?: string;
|
|
10051
10328
|
importNames?: string[];
|
|
10052
10329
|
allowImportNames?: string[];
|
|
10330
|
+
allowTypeImports?: boolean;
|
|
10053
10331
|
})[];
|
|
10054
10332
|
patterns?: (string[] | ({
|
|
10055
10333
|
[k: string]: unknown | undefined;
|
|
@@ -10237,7 +10515,7 @@ type NodeHashbang = [] | [{
|
|
|
10237
10515
|
// ----- node/no-deprecated-api -----
|
|
10238
10516
|
type NodeNoDeprecatedApi = [] | [{
|
|
10239
10517
|
version?: string;
|
|
10240
|
-
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()")[];
|
|
10518
|
+
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" | "repl.builtinModules" | "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()")[];
|
|
10241
10519
|
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")[];
|
|
10242
10520
|
ignoreIndirectDependencies?: boolean;
|
|
10243
10521
|
}];
|
|
@@ -10431,7 +10709,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
10431
10709
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
10432
10710
|
version?: string;
|
|
10433
10711
|
allowExperimental?: boolean;
|
|
10434
|
-
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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
10712
|
+
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.execve" | "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.ref" | "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.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "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.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "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.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "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.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "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" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "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.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "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.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "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.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
10435
10713
|
}];
|
|
10436
10714
|
// ----- node/prefer-global/buffer -----
|
|
10437
10715
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -12289,6 +12567,7 @@ type PnpmJsonEnforceCatalog = [] | [{
|
|
|
12289
12567
|
reuseExistingCatalog?: boolean;
|
|
12290
12568
|
conflicts?: ("new-catalog" | "overrides" | "error");
|
|
12291
12569
|
fields?: string[];
|
|
12570
|
+
ignores?: string[];
|
|
12292
12571
|
}];
|
|
12293
12572
|
// ----- pnpm/json-prefer-workspace-settings -----
|
|
12294
12573
|
type PnpmJsonPreferWorkspaceSettings = [] | [{
|
|
@@ -12305,6 +12584,7 @@ type PnpmJsonValidCatalog = [] | [{
|
|
|
12305
12584
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
12306
12585
|
type PnpmYamlNoDuplicateCatalogItem = [] | [{
|
|
12307
12586
|
allow?: string[];
|
|
12587
|
+
checkDuplicates?: ("name-only" | "exact-version");
|
|
12308
12588
|
}];
|
|
12309
12589
|
// ----- prefer-arrow-callback -----
|
|
12310
12590
|
type PreferArrowCallback = [] | [{
|
|
@@ -12356,6 +12636,10 @@ type PreferReflect = [] | [{
|
|
|
12356
12636
|
type PreferRegexLiterals = [] | [{
|
|
12357
12637
|
disallowRedundantWrapping?: boolean;
|
|
12358
12638
|
}];
|
|
12639
|
+
// ----- preserve-caught-error -----
|
|
12640
|
+
type PreserveCaughtError = [] | [{
|
|
12641
|
+
requireCatchParameter?: boolean;
|
|
12642
|
+
}];
|
|
12359
12643
|
// ----- quote-props -----
|
|
12360
12644
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
12361
12645
|
keywords?: boolean;
|
|
@@ -12374,16 +12658,128 @@ type ReactDomNoUnknownProperty = [] | [{
|
|
|
12374
12658
|
ignore?: string[];
|
|
12375
12659
|
requireDataLowercase?: boolean;
|
|
12376
12660
|
}];
|
|
12661
|
+
// ----- react-hooks/automatic-effect-dependencies -----
|
|
12662
|
+
type ReactHooksAutomaticEffectDependencies = [] | [{
|
|
12663
|
+
[k: string]: unknown | undefined;
|
|
12664
|
+
}];
|
|
12665
|
+
// ----- react-hooks/capitalized-calls -----
|
|
12666
|
+
type ReactHooksCapitalizedCalls = [] | [{
|
|
12667
|
+
[k: string]: unknown | undefined;
|
|
12668
|
+
}];
|
|
12669
|
+
// ----- react-hooks/component-hook-factories -----
|
|
12670
|
+
type ReactHooksComponentHookFactories = [] | [{
|
|
12671
|
+
[k: string]: unknown | undefined;
|
|
12672
|
+
}];
|
|
12673
|
+
// ----- react-hooks/config -----
|
|
12674
|
+
type ReactHooksConfig = [] | [{
|
|
12675
|
+
[k: string]: unknown | undefined;
|
|
12676
|
+
}];
|
|
12677
|
+
// ----- react-hooks/error-boundaries -----
|
|
12678
|
+
type ReactHooksErrorBoundaries = [] | [{
|
|
12679
|
+
[k: string]: unknown | undefined;
|
|
12680
|
+
}];
|
|
12377
12681
|
// ----- react-hooks/exhaustive-deps -----
|
|
12378
12682
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
12379
12683
|
additionalHooks?: string;
|
|
12380
12684
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
12685
|
+
experimental_autoDependenciesHooks?: string[];
|
|
12686
|
+
requireExplicitEffectDeps?: boolean;
|
|
12687
|
+
}];
|
|
12688
|
+
// ----- react-hooks/fbt -----
|
|
12689
|
+
type ReactHooksFbt = [] | [{
|
|
12690
|
+
[k: string]: unknown | undefined;
|
|
12691
|
+
}];
|
|
12692
|
+
// ----- react-hooks/fire -----
|
|
12693
|
+
type ReactHooksFire = [] | [{
|
|
12694
|
+
[k: string]: unknown | undefined;
|
|
12695
|
+
}];
|
|
12696
|
+
// ----- react-hooks/gating -----
|
|
12697
|
+
type ReactHooksGating = [] | [{
|
|
12698
|
+
[k: string]: unknown | undefined;
|
|
12699
|
+
}];
|
|
12700
|
+
// ----- react-hooks/globals -----
|
|
12701
|
+
type ReactHooksGlobals = [] | [{
|
|
12702
|
+
[k: string]: unknown | undefined;
|
|
12703
|
+
}];
|
|
12704
|
+
// ----- react-hooks/hooks -----
|
|
12705
|
+
type ReactHooksHooks = [] | [{
|
|
12706
|
+
[k: string]: unknown | undefined;
|
|
12707
|
+
}];
|
|
12708
|
+
// ----- react-hooks/immutability -----
|
|
12709
|
+
type ReactHooksImmutability = [] | [{
|
|
12710
|
+
[k: string]: unknown | undefined;
|
|
12711
|
+
}];
|
|
12712
|
+
// ----- react-hooks/incompatible-library -----
|
|
12713
|
+
type ReactHooksIncompatibleLibrary = [] | [{
|
|
12714
|
+
[k: string]: unknown | undefined;
|
|
12715
|
+
}];
|
|
12716
|
+
// ----- react-hooks/invariant -----
|
|
12717
|
+
type ReactHooksInvariant = [] | [{
|
|
12718
|
+
[k: string]: unknown | undefined;
|
|
12719
|
+
}];
|
|
12720
|
+
// ----- react-hooks/memoized-effect-dependencies -----
|
|
12721
|
+
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
12722
|
+
[k: string]: unknown | undefined;
|
|
12723
|
+
}];
|
|
12724
|
+
// ----- react-hooks/no-deriving-state-in-effects -----
|
|
12725
|
+
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
12726
|
+
[k: string]: unknown | undefined;
|
|
12727
|
+
}];
|
|
12728
|
+
// ----- react-hooks/preserve-manual-memoization -----
|
|
12729
|
+
type ReactHooksPreserveManualMemoization = [] | [{
|
|
12730
|
+
[k: string]: unknown | undefined;
|
|
12731
|
+
}];
|
|
12732
|
+
// ----- react-hooks/purity -----
|
|
12733
|
+
type ReactHooksPurity = [] | [{
|
|
12734
|
+
[k: string]: unknown | undefined;
|
|
12735
|
+
}];
|
|
12736
|
+
// ----- react-hooks/refs -----
|
|
12737
|
+
type ReactHooksRefs = [] | [{
|
|
12738
|
+
[k: string]: unknown | undefined;
|
|
12739
|
+
}];
|
|
12740
|
+
// ----- react-hooks/rule-suppression -----
|
|
12741
|
+
type ReactHooksRuleSuppression = [] | [{
|
|
12742
|
+
[k: string]: unknown | undefined;
|
|
12743
|
+
}];
|
|
12744
|
+
// ----- react-hooks/rules-of-hooks -----
|
|
12745
|
+
type ReactHooksRulesOfHooks = [] | [{
|
|
12746
|
+
additionalHooks?: string;
|
|
12747
|
+
}];
|
|
12748
|
+
// ----- react-hooks/set-state-in-effect -----
|
|
12749
|
+
type ReactHooksSetStateInEffect = [] | [{
|
|
12750
|
+
[k: string]: unknown | undefined;
|
|
12751
|
+
}];
|
|
12752
|
+
// ----- react-hooks/set-state-in-render -----
|
|
12753
|
+
type ReactHooksSetStateInRender = [] | [{
|
|
12754
|
+
[k: string]: unknown | undefined;
|
|
12755
|
+
}];
|
|
12756
|
+
// ----- react-hooks/static-components -----
|
|
12757
|
+
type ReactHooksStaticComponents = [] | [{
|
|
12758
|
+
[k: string]: unknown | undefined;
|
|
12759
|
+
}];
|
|
12760
|
+
// ----- react-hooks/syntax -----
|
|
12761
|
+
type ReactHooksSyntax = [] | [{
|
|
12762
|
+
[k: string]: unknown | undefined;
|
|
12763
|
+
}];
|
|
12764
|
+
// ----- react-hooks/todo -----
|
|
12765
|
+
type ReactHooksTodo = [] | [{
|
|
12766
|
+
[k: string]: unknown | undefined;
|
|
12767
|
+
}];
|
|
12768
|
+
// ----- react-hooks/unsupported-syntax -----
|
|
12769
|
+
type ReactHooksUnsupportedSyntax = [] | [{
|
|
12770
|
+
[k: string]: unknown | undefined;
|
|
12771
|
+
}];
|
|
12772
|
+
// ----- react-hooks/use-memo -----
|
|
12773
|
+
type ReactHooksUseMemo = [] | [{
|
|
12774
|
+
[k: string]: unknown | undefined;
|
|
12775
|
+
}];
|
|
12776
|
+
// ----- react-hooks/void-use-memo -----
|
|
12777
|
+
type ReactHooksVoidUseMemo = [] | [{
|
|
12778
|
+
[k: string]: unknown | undefined;
|
|
12381
12779
|
}];
|
|
12382
12780
|
// ----- react-naming-convention/component-name -----
|
|
12383
12781
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
12384
12782
|
allowAllCaps?: boolean;
|
|
12385
|
-
allowLeadingUnderscore?: boolean;
|
|
12386
|
-
allowNamespace?: boolean;
|
|
12387
12783
|
excepts?: string[];
|
|
12388
12784
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
12389
12785
|
})];
|
|
@@ -12406,6 +12802,20 @@ type ReactRefreshOnlyExportComponents = [] | [{
|
|
|
12406
12802
|
customHOCs?: string[];
|
|
12407
12803
|
checkJS?: boolean;
|
|
12408
12804
|
}];
|
|
12805
|
+
// ----- react/jsx-shorthand-boolean -----
|
|
12806
|
+
type ReactJsxShorthandBoolean = [] | [(-1 | 1)];
|
|
12807
|
+
// ----- react/jsx-shorthand-fragment -----
|
|
12808
|
+
type ReactJsxShorthandFragment = [] | [(-1 | 1)];
|
|
12809
|
+
// ----- react/no-forbidden-props -----
|
|
12810
|
+
type ReactNoForbiddenProps = [] | [{
|
|
12811
|
+
forbid?: (string | {
|
|
12812
|
+
excludedNodes?: string[];
|
|
12813
|
+
prop: string;
|
|
12814
|
+
} | {
|
|
12815
|
+
includedNodes?: string[];
|
|
12816
|
+
prop: string;
|
|
12817
|
+
})[];
|
|
12818
|
+
}];
|
|
12409
12819
|
// ----- react/no-useless-fragment -----
|
|
12410
12820
|
type ReactNoUselessFragment = [] | [{
|
|
12411
12821
|
allowExpressions?: boolean;
|
|
@@ -12800,6 +13210,50 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
12800
13210
|
type StyleDotLocation = [] | [("object" | "property")];
|
|
12801
13211
|
// ----- style/eol-last -----
|
|
12802
13212
|
type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
13213
|
+
// ----- style/exp-list-style -----
|
|
13214
|
+
type StyleExpListStyle = [] | [{
|
|
13215
|
+
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
13216
|
+
multiLine?: _StyleExpListStyle_MultiLineConfig;
|
|
13217
|
+
overrides?: {
|
|
13218
|
+
"[]"?: _StyleExpListStyle_BaseConfig;
|
|
13219
|
+
"{}"?: _StyleExpListStyle_BaseConfig;
|
|
13220
|
+
"<>"?: _StyleExpListStyle_BaseConfig;
|
|
13221
|
+
"()"?: _StyleExpListStyle_BaseConfig;
|
|
13222
|
+
ArrayExpression?: _StyleExpListStyle_BaseConfig;
|
|
13223
|
+
ArrayPattern?: _StyleExpListStyle_BaseConfig;
|
|
13224
|
+
ArrowFunctionExpression?: _StyleExpListStyle_BaseConfig;
|
|
13225
|
+
CallExpression?: _StyleExpListStyle_BaseConfig;
|
|
13226
|
+
ExportNamedDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
13227
|
+
FunctionDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
13228
|
+
FunctionExpression?: _StyleExpListStyle_BaseConfig;
|
|
13229
|
+
ImportDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
13230
|
+
ImportAttributes?: _StyleExpListStyle_BaseConfig;
|
|
13231
|
+
NewExpression?: _StyleExpListStyle_BaseConfig;
|
|
13232
|
+
ObjectExpression?: _StyleExpListStyle_BaseConfig;
|
|
13233
|
+
ObjectPattern?: _StyleExpListStyle_BaseConfig;
|
|
13234
|
+
TSDeclareFunction?: _StyleExpListStyle_BaseConfig;
|
|
13235
|
+
TSFunctionType?: _StyleExpListStyle_BaseConfig;
|
|
13236
|
+
TSInterfaceBody?: _StyleExpListStyle_BaseConfig;
|
|
13237
|
+
TSEnumBody?: _StyleExpListStyle_BaseConfig;
|
|
13238
|
+
TSTupleType?: _StyleExpListStyle_BaseConfig;
|
|
13239
|
+
TSTypeLiteral?: _StyleExpListStyle_BaseConfig;
|
|
13240
|
+
TSTypeParameterDeclaration?: _StyleExpListStyle_BaseConfig;
|
|
13241
|
+
TSTypeParameterInstantiation?: _StyleExpListStyle_BaseConfig;
|
|
13242
|
+
JSONArrayExpression?: _StyleExpListStyle_BaseConfig;
|
|
13243
|
+
JSONObjectExpression?: _StyleExpListStyle_BaseConfig;
|
|
13244
|
+
};
|
|
13245
|
+
}];
|
|
13246
|
+
interface _StyleExpListStyle_SingleLineConfig {
|
|
13247
|
+
spacing?: ("always" | "never");
|
|
13248
|
+
maxItems?: number;
|
|
13249
|
+
}
|
|
13250
|
+
interface _StyleExpListStyle_MultiLineConfig {
|
|
13251
|
+
minItems?: number;
|
|
13252
|
+
}
|
|
13253
|
+
interface _StyleExpListStyle_BaseConfig {
|
|
13254
|
+
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
13255
|
+
multiline?: _StyleExpListStyle_MultiLineConfig;
|
|
13256
|
+
}
|
|
12803
13257
|
// ----- style/function-call-argument-newline -----
|
|
12804
13258
|
type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
12805
13259
|
// ----- style/function-call-spacing -----
|
|
@@ -12830,6 +13284,10 @@ type StyleGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither"
|
|
|
12830
13284
|
before?: boolean;
|
|
12831
13285
|
after?: boolean;
|
|
12832
13286
|
});
|
|
13287
|
+
shorthand?: (("before" | "after" | "both" | "neither") | {
|
|
13288
|
+
before?: boolean;
|
|
13289
|
+
after?: boolean;
|
|
13290
|
+
});
|
|
12833
13291
|
})];
|
|
12834
13292
|
// ----- style/implicit-arrow-linebreak -----
|
|
12835
13293
|
type StyleImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
@@ -12865,7 +13323,11 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
12865
13323
|
ObjectExpression?: (number | ("first" | "off"));
|
|
12866
13324
|
ImportDeclaration?: (number | ("first" | "off"));
|
|
12867
13325
|
flatTernaryExpressions?: boolean;
|
|
12868
|
-
offsetTernaryExpressions?: boolean
|
|
13326
|
+
offsetTernaryExpressions?: (boolean | {
|
|
13327
|
+
CallExpression?: boolean;
|
|
13328
|
+
AwaitExpression?: boolean;
|
|
13329
|
+
NewExpression?: boolean;
|
|
13330
|
+
});
|
|
12869
13331
|
offsetTernaryExpressionsOffsetCallExpressions?: boolean;
|
|
12870
13332
|
ignoredNodes?: string[];
|
|
12871
13333
|
ignoreComments?: boolean;
|
|
@@ -13075,22 +13537,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13075
13537
|
before?: boolean;
|
|
13076
13538
|
after?: boolean;
|
|
13077
13539
|
};
|
|
13078
|
-
arguments?: {
|
|
13079
|
-
before?: boolean;
|
|
13080
|
-
after?: boolean;
|
|
13081
|
-
};
|
|
13082
|
-
as?: {
|
|
13083
|
-
before?: boolean;
|
|
13084
|
-
after?: boolean;
|
|
13085
|
-
};
|
|
13086
|
-
async?: {
|
|
13087
|
-
before?: boolean;
|
|
13088
|
-
after?: boolean;
|
|
13089
|
-
};
|
|
13090
|
-
await?: {
|
|
13091
|
-
before?: boolean;
|
|
13092
|
-
after?: boolean;
|
|
13093
|
-
};
|
|
13094
13540
|
boolean?: {
|
|
13095
13541
|
before?: boolean;
|
|
13096
13542
|
after?: boolean;
|
|
@@ -13155,10 +13601,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13155
13601
|
before?: boolean;
|
|
13156
13602
|
after?: boolean;
|
|
13157
13603
|
};
|
|
13158
|
-
eval?: {
|
|
13159
|
-
before?: boolean;
|
|
13160
|
-
after?: boolean;
|
|
13161
|
-
};
|
|
13162
13604
|
export?: {
|
|
13163
13605
|
before?: boolean;
|
|
13164
13606
|
after?: boolean;
|
|
@@ -13187,18 +13629,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13187
13629
|
before?: boolean;
|
|
13188
13630
|
after?: boolean;
|
|
13189
13631
|
};
|
|
13190
|
-
from?: {
|
|
13191
|
-
before?: boolean;
|
|
13192
|
-
after?: boolean;
|
|
13193
|
-
};
|
|
13194
13632
|
function?: {
|
|
13195
13633
|
before?: boolean;
|
|
13196
13634
|
after?: boolean;
|
|
13197
13635
|
};
|
|
13198
|
-
get?: {
|
|
13199
|
-
before?: boolean;
|
|
13200
|
-
after?: boolean;
|
|
13201
|
-
};
|
|
13202
13636
|
goto?: {
|
|
13203
13637
|
before?: boolean;
|
|
13204
13638
|
after?: boolean;
|
|
@@ -13231,10 +13665,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13231
13665
|
before?: boolean;
|
|
13232
13666
|
after?: boolean;
|
|
13233
13667
|
};
|
|
13234
|
-
let?: {
|
|
13235
|
-
before?: boolean;
|
|
13236
|
-
after?: boolean;
|
|
13237
|
-
};
|
|
13238
13668
|
long?: {
|
|
13239
13669
|
before?: boolean;
|
|
13240
13670
|
after?: boolean;
|
|
@@ -13251,10 +13681,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13251
13681
|
before?: boolean;
|
|
13252
13682
|
after?: boolean;
|
|
13253
13683
|
};
|
|
13254
|
-
of?: {
|
|
13255
|
-
before?: boolean;
|
|
13256
|
-
after?: boolean;
|
|
13257
|
-
};
|
|
13258
13684
|
package?: {
|
|
13259
13685
|
before?: boolean;
|
|
13260
13686
|
after?: boolean;
|
|
@@ -13275,10 +13701,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13275
13701
|
before?: boolean;
|
|
13276
13702
|
after?: boolean;
|
|
13277
13703
|
};
|
|
13278
|
-
set?: {
|
|
13279
|
-
before?: boolean;
|
|
13280
|
-
after?: boolean;
|
|
13281
|
-
};
|
|
13282
13704
|
short?: {
|
|
13283
13705
|
before?: boolean;
|
|
13284
13706
|
after?: boolean;
|
|
@@ -13323,18 +13745,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13323
13745
|
before?: boolean;
|
|
13324
13746
|
after?: boolean;
|
|
13325
13747
|
};
|
|
13326
|
-
type?: {
|
|
13327
|
-
before?: boolean;
|
|
13328
|
-
after?: boolean;
|
|
13329
|
-
};
|
|
13330
13748
|
typeof?: {
|
|
13331
13749
|
before?: boolean;
|
|
13332
13750
|
after?: boolean;
|
|
13333
13751
|
};
|
|
13334
|
-
using?: {
|
|
13335
|
-
before?: boolean;
|
|
13336
|
-
after?: boolean;
|
|
13337
|
-
};
|
|
13338
13752
|
var?: {
|
|
13339
13753
|
before?: boolean;
|
|
13340
13754
|
after?: boolean;
|
|
@@ -13355,6 +13769,54 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13355
13769
|
before?: boolean;
|
|
13356
13770
|
after?: boolean;
|
|
13357
13771
|
};
|
|
13772
|
+
arguments?: {
|
|
13773
|
+
before?: boolean;
|
|
13774
|
+
after?: boolean;
|
|
13775
|
+
};
|
|
13776
|
+
as?: {
|
|
13777
|
+
before?: boolean;
|
|
13778
|
+
after?: boolean;
|
|
13779
|
+
};
|
|
13780
|
+
async?: {
|
|
13781
|
+
before?: boolean;
|
|
13782
|
+
after?: boolean;
|
|
13783
|
+
};
|
|
13784
|
+
await?: {
|
|
13785
|
+
before?: boolean;
|
|
13786
|
+
after?: boolean;
|
|
13787
|
+
};
|
|
13788
|
+
eval?: {
|
|
13789
|
+
before?: boolean;
|
|
13790
|
+
after?: boolean;
|
|
13791
|
+
};
|
|
13792
|
+
from?: {
|
|
13793
|
+
before?: boolean;
|
|
13794
|
+
after?: boolean;
|
|
13795
|
+
};
|
|
13796
|
+
get?: {
|
|
13797
|
+
before?: boolean;
|
|
13798
|
+
after?: boolean;
|
|
13799
|
+
};
|
|
13800
|
+
let?: {
|
|
13801
|
+
before?: boolean;
|
|
13802
|
+
after?: boolean;
|
|
13803
|
+
};
|
|
13804
|
+
of?: {
|
|
13805
|
+
before?: boolean;
|
|
13806
|
+
after?: boolean;
|
|
13807
|
+
};
|
|
13808
|
+
set?: {
|
|
13809
|
+
before?: boolean;
|
|
13810
|
+
after?: boolean;
|
|
13811
|
+
};
|
|
13812
|
+
type?: {
|
|
13813
|
+
before?: boolean;
|
|
13814
|
+
after?: boolean;
|
|
13815
|
+
};
|
|
13816
|
+
using?: {
|
|
13817
|
+
before?: boolean;
|
|
13818
|
+
after?: boolean;
|
|
13819
|
+
};
|
|
13358
13820
|
yield?: {
|
|
13359
13821
|
before?: boolean;
|
|
13360
13822
|
after?: boolean;
|
|
@@ -13654,6 +14116,19 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
13654
14116
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
13655
14117
|
arraysInObjects?: boolean;
|
|
13656
14118
|
objectsInObjects?: boolean;
|
|
14119
|
+
overrides?: {
|
|
14120
|
+
ObjectPattern?: ("always" | "never");
|
|
14121
|
+
ObjectExpression?: ("always" | "never");
|
|
14122
|
+
ImportDeclaration?: ("always" | "never");
|
|
14123
|
+
ImportAttributes?: ("always" | "never");
|
|
14124
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
14125
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
14126
|
+
TSMappedType?: ("always" | "never");
|
|
14127
|
+
TSTypeLiteral?: ("always" | "never");
|
|
14128
|
+
TSInterfaceBody?: ("always" | "never");
|
|
14129
|
+
TSEnumBody?: ("always" | "never");
|
|
14130
|
+
};
|
|
14131
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
13657
14132
|
}];
|
|
13658
14133
|
// ----- style/object-property-newline -----
|
|
13659
14134
|
type StyleObjectPropertyNewline = [] | [{
|
|
@@ -14808,6 +15283,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
14808
15283
|
checkLiteralConstAssertions?: boolean;
|
|
14809
15284
|
typesToIgnore?: string[];
|
|
14810
15285
|
}];
|
|
15286
|
+
// ----- ts/no-unsafe-member-access -----
|
|
15287
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
15288
|
+
allowOptionalChaining?: boolean;
|
|
15289
|
+
}];
|
|
14811
15290
|
// ----- ts/no-unused-expressions -----
|
|
14812
15291
|
type TsNoUnusedExpressions = [] | [{
|
|
14813
15292
|
allowShortCircuit?: boolean;
|
|
@@ -14825,6 +15304,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
14825
15304
|
destructuredArrayIgnorePattern?: string;
|
|
14826
15305
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
14827
15306
|
ignoreRestSiblings?: boolean;
|
|
15307
|
+
ignoreUsingDeclarations?: boolean;
|
|
14828
15308
|
reportUsedIgnorePattern?: boolean;
|
|
14829
15309
|
vars?: ("all" | "local");
|
|
14830
15310
|
varsIgnorePattern?: string;
|
|
@@ -15123,6 +15603,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
15123
15603
|
type UnicornNoArrayReverse = [] | [{
|
|
15124
15604
|
allowExpressionStatement?: boolean;
|
|
15125
15605
|
}];
|
|
15606
|
+
// ----- unicorn/no-array-sort -----
|
|
15607
|
+
type UnicornNoArraySort = [] | [{
|
|
15608
|
+
allowExpressionStatement?: boolean;
|
|
15609
|
+
}];
|
|
15126
15610
|
// ----- unicorn/no-instanceof-builtins -----
|
|
15127
15611
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
15128
15612
|
useErrorIsError?: boolean;
|
|
@@ -15290,6 +15774,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
15290
15774
|
destructuredArrayIgnorePattern?: string;
|
|
15291
15775
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
15292
15776
|
ignoreRestSiblings?: boolean;
|
|
15777
|
+
ignoreUsingDeclarations?: boolean;
|
|
15293
15778
|
reportUsedIgnorePattern?: boolean;
|
|
15294
15779
|
vars?: ("all" | "local");
|
|
15295
15780
|
varsIgnorePattern?: string;
|
|
@@ -15303,6 +15788,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
15303
15788
|
destructuredArrayIgnorePattern?: string;
|
|
15304
15789
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
15305
15790
|
ignoreRestSiblings?: boolean;
|
|
15791
|
+
ignoreUsingDeclarations?: boolean;
|
|
15306
15792
|
reportUsedIgnorePattern?: boolean;
|
|
15307
15793
|
vars?: ("all" | "local");
|
|
15308
15794
|
varsIgnorePattern?: string;
|
|
@@ -15354,6 +15840,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
15354
15840
|
type VueAttributesOrder = [] | [{
|
|
15355
15841
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
15356
15842
|
alphabetical?: boolean;
|
|
15843
|
+
sortLineLength?: boolean;
|
|
15357
15844
|
}];
|
|
15358
15845
|
// ----- vue/block-lang -----
|
|
15359
15846
|
type VueBlockLang = [] | [{
|
|
@@ -16000,6 +16487,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
16000
16487
|
}];
|
|
16001
16488
|
// ----- vue/next-tick-style -----
|
|
16002
16489
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
16490
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
16491
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
16492
|
+
ignoredObjectNames?: string[];
|
|
16493
|
+
}];
|
|
16003
16494
|
// ----- vue/no-bare-strings-in-template -----
|
|
16004
16495
|
type VueNoBareStringsInTemplate = [] | [{
|
|
16005
16496
|
allowlist?: string[];
|
|
@@ -16284,6 +16775,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
16284
16775
|
ignoreIncludesComment?: boolean;
|
|
16285
16776
|
ignoreStringEscape?: boolean;
|
|
16286
16777
|
}];
|
|
16778
|
+
// ----- vue/no-v-html -----
|
|
16779
|
+
type VueNoVHtml = [] | [{
|
|
16780
|
+
ignorePattern?: string;
|
|
16781
|
+
}];
|
|
16287
16782
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
16288
16783
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
16289
16784
|
allow?: string[];
|