@ncontiero/eslint-config 6.1.0 → 6.2.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 +583 -182
- package/dist/index.js +1 -1
- package/package.json +28 -27
package/dist/index.d.ts
CHANGED
|
@@ -1350,9 +1350,9 @@ interface RuleOptions {
|
|
|
1350
1350
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
1351
1351
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
1352
1352
|
*/
|
|
1353
|
-
'jsdoc/check-alignment'?: Linter.RuleEntry<
|
|
1353
|
+
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>
|
|
1354
1354
|
/**
|
|
1355
|
-
*
|
|
1355
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
1356
1356
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
1357
1357
|
*/
|
|
1358
1358
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>
|
|
@@ -1367,7 +1367,7 @@ interface RuleOptions {
|
|
|
1367
1367
|
*/
|
|
1368
1368
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>
|
|
1369
1369
|
/**
|
|
1370
|
-
*
|
|
1370
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
1371
1371
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
1372
1372
|
*/
|
|
1373
1373
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>
|
|
@@ -1392,7 +1392,7 @@ interface RuleOptions {
|
|
|
1392
1392
|
*/
|
|
1393
1393
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
|
|
1394
1394
|
/**
|
|
1395
|
-
* Reports invalid
|
|
1395
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
1396
1396
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
1397
1397
|
*/
|
|
1398
1398
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>
|
|
@@ -1407,12 +1407,17 @@ interface RuleOptions {
|
|
|
1407
1407
|
*/
|
|
1408
1408
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
|
|
1409
1409
|
/**
|
|
1410
|
-
*
|
|
1410
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
1411
1411
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
1412
1412
|
*/
|
|
1413
1413
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>
|
|
1414
1414
|
/**
|
|
1415
|
-
* Reports
|
|
1415
|
+
* Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
|
|
1416
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
|
|
1417
|
+
*/
|
|
1418
|
+
'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>
|
|
1419
|
+
/**
|
|
1420
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
1416
1421
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
1417
1422
|
*/
|
|
1418
1423
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>
|
|
@@ -1442,17 +1447,17 @@ interface RuleOptions {
|
|
|
1442
1447
|
*/
|
|
1443
1448
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>
|
|
1444
1449
|
/**
|
|
1445
|
-
* Controls how and whether
|
|
1450
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
1446
1451
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
1447
1452
|
*/
|
|
1448
1453
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>
|
|
1449
1454
|
/**
|
|
1450
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
1455
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
1451
1456
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
1452
1457
|
*/
|
|
1453
1458
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>
|
|
1454
1459
|
/**
|
|
1455
|
-
*
|
|
1460
|
+
* 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.
|
|
1456
1461
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
1457
1462
|
*/
|
|
1458
1463
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>
|
|
@@ -1482,22 +1487,37 @@ interface RuleOptions {
|
|
|
1482
1487
|
*/
|
|
1483
1488
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>
|
|
1484
1489
|
/**
|
|
1485
|
-
* This rule reports types being used on `@param` or `@returns
|
|
1490
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
1486
1491
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
1487
1492
|
*/
|
|
1488
1493
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>
|
|
1489
1494
|
/**
|
|
1490
|
-
*
|
|
1495
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
1491
1496
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
1492
1497
|
*/
|
|
1493
1498
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>
|
|
1499
|
+
/**
|
|
1500
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
1501
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
1502
|
+
*/
|
|
1503
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>
|
|
1504
|
+
/**
|
|
1505
|
+
* Reports use of `any` or `*` type
|
|
1506
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
1507
|
+
*/
|
|
1508
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>
|
|
1509
|
+
/**
|
|
1510
|
+
* Reports use of `Function` type
|
|
1511
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
1512
|
+
*/
|
|
1513
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>
|
|
1494
1514
|
/**
|
|
1495
1515
|
* Requires that each JSDoc line starts with an `*`.
|
|
1496
1516
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
1497
1517
|
*/
|
|
1498
1518
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>
|
|
1499
1519
|
/**
|
|
1500
|
-
* Requires that all functions have a description.
|
|
1520
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
1501
1521
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
1502
1522
|
*/
|
|
1503
1523
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>
|
|
@@ -1507,7 +1527,7 @@ interface RuleOptions {
|
|
|
1507
1527
|
*/
|
|
1508
1528
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>
|
|
1509
1529
|
/**
|
|
1510
|
-
* Requires that all functions have examples.
|
|
1530
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
1511
1531
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
1512
1532
|
*/
|
|
1513
1533
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>
|
|
@@ -1517,17 +1537,27 @@ interface RuleOptions {
|
|
|
1517
1537
|
*/
|
|
1518
1538
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>
|
|
1519
1539
|
/**
|
|
1520
|
-
* Requires a hyphen before the `@param` description.
|
|
1540
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
1521
1541
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
1522
1542
|
*/
|
|
1523
1543
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>
|
|
1524
1544
|
/**
|
|
1525
|
-
*
|
|
1545
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
1526
1546
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
1527
1547
|
*/
|
|
1528
1548
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>
|
|
1529
1549
|
/**
|
|
1530
|
-
* Requires
|
|
1550
|
+
* Requires a description for `@next` tags
|
|
1551
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
1552
|
+
*/
|
|
1553
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>
|
|
1554
|
+
/**
|
|
1555
|
+
* Requires a type for `@next` tags
|
|
1556
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
1557
|
+
*/
|
|
1558
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>
|
|
1559
|
+
/**
|
|
1560
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
1531
1561
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
1532
1562
|
*/
|
|
1533
1563
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>
|
|
@@ -1537,12 +1567,12 @@ interface RuleOptions {
|
|
|
1537
1567
|
*/
|
|
1538
1568
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>
|
|
1539
1569
|
/**
|
|
1540
|
-
* Requires that all
|
|
1570
|
+
* Requires that all `@param` tags have names.
|
|
1541
1571
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
1542
1572
|
*/
|
|
1543
1573
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>
|
|
1544
1574
|
/**
|
|
1545
|
-
* Requires that each `@param` tag has a
|
|
1575
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
1546
1576
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
1547
1577
|
*/
|
|
1548
1578
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>
|
|
@@ -1557,62 +1587,92 @@ interface RuleOptions {
|
|
|
1557
1587
|
*/
|
|
1558
1588
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>
|
|
1559
1589
|
/**
|
|
1560
|
-
* Requires that all
|
|
1590
|
+
* Requires that all `@property` tags have names.
|
|
1561
1591
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
1562
1592
|
*/
|
|
1563
1593
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>
|
|
1564
1594
|
/**
|
|
1565
|
-
* Requires that each `@property` tag has a
|
|
1595
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
1566
1596
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
1567
1597
|
*/
|
|
1568
1598
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>
|
|
1569
1599
|
/**
|
|
1570
|
-
* Requires that returns are documented
|
|
1600
|
+
* Requires that returns are documented with `@returns`.
|
|
1571
1601
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
1572
1602
|
*/
|
|
1573
1603
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>
|
|
1574
1604
|
/**
|
|
1575
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
1605
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
1576
1606
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
1577
1607
|
*/
|
|
1578
1608
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>
|
|
1579
1609
|
/**
|
|
1580
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
1610
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
1581
1611
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
1582
1612
|
*/
|
|
1583
1613
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>
|
|
1584
1614
|
/**
|
|
1585
|
-
* Requires that `@returns` tag has
|
|
1615
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
1586
1616
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
1587
1617
|
*/
|
|
1588
1618
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
|
|
1589
1619
|
/**
|
|
1590
|
-
* Requires
|
|
1620
|
+
* Requires tags be present, optionally for specific contexts
|
|
1621
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
1622
|
+
*/
|
|
1623
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>
|
|
1624
|
+
/**
|
|
1625
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
1591
1626
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
1592
1627
|
*/
|
|
1593
1628
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
|
|
1594
1629
|
/**
|
|
1595
|
-
* Requires
|
|
1630
|
+
* Requires a description for `@template` tags
|
|
1631
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
1632
|
+
*/
|
|
1633
|
+
'jsdoc/require-template-description'?: Linter.RuleEntry<[]>
|
|
1634
|
+
/**
|
|
1635
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
1596
1636
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
1597
1637
|
*/
|
|
1598
1638
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>
|
|
1599
1639
|
/**
|
|
1600
|
-
* Requires
|
|
1640
|
+
* Requires a description for `@throws` tags
|
|
1641
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
1642
|
+
*/
|
|
1643
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>
|
|
1644
|
+
/**
|
|
1645
|
+
* Requires a type for `@throws` tags
|
|
1646
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
1647
|
+
*/
|
|
1648
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>
|
|
1649
|
+
/**
|
|
1650
|
+
* Requires yields are documented with `@yields` tags.
|
|
1601
1651
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
1602
1652
|
*/
|
|
1603
1653
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>
|
|
1604
1654
|
/**
|
|
1605
|
-
*
|
|
1655
|
+
* 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).
|
|
1606
1656
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
1607
1657
|
*/
|
|
1608
1658
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>
|
|
1609
1659
|
/**
|
|
1610
|
-
*
|
|
1660
|
+
* Requires a description for `@yields` tags
|
|
1661
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
1662
|
+
*/
|
|
1663
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>
|
|
1664
|
+
/**
|
|
1665
|
+
* Requires a type for `@yields` tags
|
|
1666
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
1667
|
+
*/
|
|
1668
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>
|
|
1669
|
+
/**
|
|
1670
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
1611
1671
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
1612
1672
|
*/
|
|
1613
1673
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>
|
|
1614
1674
|
/**
|
|
1615
|
-
* Enforces lines (or no lines) between tags.
|
|
1675
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
1616
1676
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
1617
1677
|
*/
|
|
1618
1678
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
@@ -1622,7 +1682,12 @@ interface RuleOptions {
|
|
|
1622
1682
|
*/
|
|
1623
1683
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
1624
1684
|
/**
|
|
1625
|
-
*
|
|
1685
|
+
* Formats JSDoc type values.
|
|
1686
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
1687
|
+
*/
|
|
1688
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>
|
|
1689
|
+
/**
|
|
1690
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
1626
1691
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
1627
1692
|
*/
|
|
1628
1693
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>
|
|
@@ -2106,7 +2171,7 @@ interface RuleOptions {
|
|
|
2106
2171
|
* Enforce heading levels increment by one
|
|
2107
2172
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2108
2173
|
*/
|
|
2109
|
-
'markdown/heading-increment'?: Linter.RuleEntry<
|
|
2174
|
+
'markdown/heading-increment'?: Linter.RuleEntry<MarkdownHeadingIncrement>
|
|
2110
2175
|
/**
|
|
2111
2176
|
* Disallow bare URLs
|
|
2112
2177
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
@@ -2151,12 +2216,12 @@ interface RuleOptions {
|
|
|
2151
2216
|
* Disallow headings without a space after the hash characters
|
|
2152
2217
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
2153
2218
|
*/
|
|
2154
|
-
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<
|
|
2219
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<MarkdownNoMissingAtxHeadingSpace>
|
|
2155
2220
|
/**
|
|
2156
2221
|
* Disallow missing label references
|
|
2157
2222
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2158
2223
|
*/
|
|
2159
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
2224
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>
|
|
2160
2225
|
/**
|
|
2161
2226
|
* Disallow link fragments that do not reference valid headings
|
|
2162
2227
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -2167,11 +2232,21 @@ interface RuleOptions {
|
|
|
2167
2232
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
2168
2233
|
*/
|
|
2169
2234
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>
|
|
2235
|
+
/**
|
|
2236
|
+
* Disallow URLs that match defined reference identifiers
|
|
2237
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
2238
|
+
*/
|
|
2239
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>
|
|
2170
2240
|
/**
|
|
2171
2241
|
* Disallow reversed link and image syntax
|
|
2172
2242
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
2173
2243
|
*/
|
|
2174
2244
|
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>
|
|
2245
|
+
/**
|
|
2246
|
+
* Disallow spaces around emphasis markers
|
|
2247
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md
|
|
2248
|
+
*/
|
|
2249
|
+
'markdown/no-space-in-emphasis'?: Linter.RuleEntry<MarkdownNoSpaceInEmphasis>
|
|
2175
2250
|
/**
|
|
2176
2251
|
* Disallow unused definitions
|
|
2177
2252
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
|
|
@@ -3247,12 +3322,12 @@ interface RuleOptions {
|
|
|
3247
3322
|
*/
|
|
3248
3323
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>
|
|
3249
3324
|
/**
|
|
3250
|
-
* disallow `import` declarations which import
|
|
3325
|
+
* disallow `import` declarations which import missing modules
|
|
3251
3326
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
3252
3327
|
*/
|
|
3253
3328
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>
|
|
3254
3329
|
/**
|
|
3255
|
-
* disallow `require()` expressions which import
|
|
3330
|
+
* disallow `require()` expressions which import missing modules
|
|
3256
3331
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
3257
3332
|
*/
|
|
3258
3333
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>
|
|
@@ -3626,6 +3701,11 @@ interface RuleOptions {
|
|
|
3626
3701
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
3627
3702
|
*/
|
|
3628
3703
|
'prefer-template'?: Linter.RuleEntry<[]>
|
|
3704
|
+
/**
|
|
3705
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
3706
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
3707
|
+
*/
|
|
3708
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>
|
|
3629
3709
|
/**
|
|
3630
3710
|
* @see https://github.com/prettier/eslint-plugin-prettier#options
|
|
3631
3711
|
*/
|
|
@@ -4951,690 +5031,710 @@ interface RuleOptions {
|
|
|
4951
5031
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4952
5032
|
/**
|
|
4953
5033
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4955
5035
|
*/
|
|
4956
5036
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4957
5037
|
/**
|
|
4958
5038
|
* Enforce a specific parameter name in catch clauses.
|
|
4959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4960
5040
|
*/
|
|
4961
5041
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4962
5042
|
/**
|
|
4963
5043
|
* Enforce consistent assertion style with `node:assert`.
|
|
4964
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4965
5045
|
*/
|
|
4966
5046
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4967
5047
|
/**
|
|
4968
5048
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4969
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4970
5050
|
*/
|
|
4971
5051
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4972
5052
|
/**
|
|
4973
5053
|
* Use destructured variables over properties.
|
|
4974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4975
5055
|
*/
|
|
4976
5056
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4977
5057
|
/**
|
|
4978
5058
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4980
5060
|
*/
|
|
4981
5061
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4982
5062
|
/**
|
|
4983
5063
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4985
5065
|
*/
|
|
4986
5066
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4987
5067
|
/**
|
|
4988
5068
|
* Move function definitions to the highest possible scope.
|
|
4989
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4990
5070
|
*/
|
|
4991
5071
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4992
5072
|
/**
|
|
4993
5073
|
* Enforce correct `Error` subclassing.
|
|
4994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4995
5075
|
*/
|
|
4996
5076
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4997
5077
|
/**
|
|
4998
5078
|
* Enforce no spaces between braces.
|
|
4999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
5000
5080
|
*/
|
|
5001
5081
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5002
5082
|
/**
|
|
5003
5083
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
5005
5085
|
*/
|
|
5006
5086
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5007
5087
|
/**
|
|
5008
5088
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
5010
5090
|
*/
|
|
5011
5091
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
5012
5092
|
/**
|
|
5013
5093
|
* Add expiration conditions to TODO comments.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
5015
5095
|
*/
|
|
5016
5096
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5017
5097
|
/**
|
|
5018
5098
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
5020
5100
|
*/
|
|
5021
5101
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5022
5102
|
/**
|
|
5023
5103
|
* Enforce a case style for filenames.
|
|
5024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
5025
5105
|
*/
|
|
5026
5106
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5027
5107
|
/**
|
|
5028
5108
|
* Enforce specific import styles per module.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
5030
5110
|
*/
|
|
5031
5111
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5032
5112
|
/**
|
|
5033
5113
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5034
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
5035
5115
|
*/
|
|
5036
5116
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5037
5117
|
/**
|
|
5038
5118
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
5040
5120
|
*/
|
|
5041
5121
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5042
5122
|
/**
|
|
5043
5123
|
* Disallow recursive access to `this` within getters and setters.
|
|
5044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
5045
5125
|
*/
|
|
5046
5126
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
5047
5127
|
/**
|
|
5048
5128
|
* Disallow anonymous functions and classes as the default export.
|
|
5049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
5050
5130
|
*/
|
|
5051
5131
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5052
5132
|
/**
|
|
5053
5133
|
* Prevent passing a function reference directly to iterator methods.
|
|
5054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
5055
5135
|
*/
|
|
5056
5136
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5057
5137
|
/**
|
|
5058
5138
|
* Prefer `for…of` over the `forEach` method.
|
|
5059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
5060
5140
|
*/
|
|
5061
5141
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5062
5142
|
/**
|
|
5063
5143
|
* Disallow using the `this` argument in array methods.
|
|
5064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
5065
5145
|
*/
|
|
5066
5146
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5067
5147
|
/**
|
|
5068
5148
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
5070
5150
|
* @deprecated
|
|
5071
5151
|
*/
|
|
5072
5152
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
5073
5153
|
/**
|
|
5074
5154
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5075
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5076
5156
|
*/
|
|
5077
5157
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5078
5158
|
/**
|
|
5079
5159
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5081
5161
|
*/
|
|
5082
5162
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
|
|
5163
|
+
/**
|
|
5164
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5166
|
+
*/
|
|
5167
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
|
|
5083
5168
|
/**
|
|
5084
5169
|
* Disallow member access from await expression.
|
|
5085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5086
5171
|
*/
|
|
5087
5172
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5088
5173
|
/**
|
|
5089
5174
|
* Disallow using `await` in `Promise` method parameters.
|
|
5090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5091
5176
|
*/
|
|
5092
5177
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5093
5178
|
/**
|
|
5094
5179
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5180
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5096
5181
|
*/
|
|
5097
5182
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5098
5183
|
/**
|
|
5099
5184
|
* Do not use `document.cookie` directly.
|
|
5100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5185
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5101
5186
|
*/
|
|
5102
5187
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5103
5188
|
/**
|
|
5104
5189
|
* Disallow empty files.
|
|
5105
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5106
5191
|
*/
|
|
5107
5192
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5108
5193
|
/**
|
|
5109
5194
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5195
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5111
5196
|
*/
|
|
5112
5197
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5113
5198
|
/**
|
|
5114
5199
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5116
5201
|
*/
|
|
5117
5202
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5118
5203
|
/**
|
|
5119
5204
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5121
5206
|
* @deprecated
|
|
5122
5207
|
*/
|
|
5123
5208
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5124
5209
|
/**
|
|
5125
5210
|
* Disallow `instanceof` with built-in objects
|
|
5126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5127
5212
|
*/
|
|
5128
5213
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5129
5214
|
/**
|
|
5130
5215
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5132
5217
|
*/
|
|
5133
5218
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5134
5219
|
/**
|
|
5135
5220
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5137
5222
|
*/
|
|
5138
5223
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5139
5224
|
/**
|
|
5140
5225
|
* Disallow identifiers starting with `new` or `class`.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5142
5227
|
*/
|
|
5143
5228
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5144
5229
|
/**
|
|
5145
5230
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5147
5232
|
* @deprecated
|
|
5148
5233
|
*/
|
|
5149
5234
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5150
5235
|
/**
|
|
5151
5236
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5153
5238
|
*/
|
|
5154
5239
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5155
5240
|
/**
|
|
5156
5241
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5158
5243
|
*/
|
|
5159
5244
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5160
5245
|
/**
|
|
5161
5246
|
* Disallow named usage of default import and export.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5163
5248
|
*/
|
|
5164
5249
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5165
5250
|
/**
|
|
5166
5251
|
* Disallow negated conditions.
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5168
5253
|
*/
|
|
5169
5254
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5170
5255
|
/**
|
|
5171
5256
|
* Disallow negated expression in equality check.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5173
5258
|
*/
|
|
5174
5259
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5175
5260
|
/**
|
|
5176
5261
|
* Disallow nested ternary expressions.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5178
5263
|
*/
|
|
5179
5264
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5180
5265
|
/**
|
|
5181
5266
|
* Disallow `new Array()`.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5183
5268
|
*/
|
|
5184
5269
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5185
5270
|
/**
|
|
5186
5271
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5188
5273
|
*/
|
|
5189
5274
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5190
5275
|
/**
|
|
5191
5276
|
* Disallow the use of the `null` literal.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5193
5278
|
*/
|
|
5194
5279
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5195
5280
|
/**
|
|
5196
5281
|
* Disallow the use of objects as default parameters.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5198
5283
|
*/
|
|
5199
5284
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5200
5285
|
/**
|
|
5201
5286
|
* Disallow `process.exit()`.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5203
5288
|
*/
|
|
5204
5289
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5205
5290
|
/**
|
|
5206
5291
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5208
5293
|
*/
|
|
5209
5294
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5210
5295
|
/**
|
|
5211
5296
|
* Disallow classes that only have static members.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5213
5298
|
*/
|
|
5214
5299
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5215
5300
|
/**
|
|
5216
5301
|
* Disallow `then` property.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5218
5303
|
*/
|
|
5219
5304
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5220
5305
|
/**
|
|
5221
5306
|
* Disallow assigning `this` to a variable.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5223
5308
|
*/
|
|
5224
5309
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5225
5310
|
/**
|
|
5226
5311
|
* Disallow comparing `undefined` using `typeof`.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5228
5313
|
*/
|
|
5229
5314
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5230
5315
|
/**
|
|
5231
5316
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5233
5318
|
*/
|
|
5234
5319
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5235
5320
|
/**
|
|
5236
5321
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5238
5323
|
*/
|
|
5239
5324
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
5240
5325
|
/**
|
|
5241
5326
|
* Disallow awaiting non-promise values.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5243
5328
|
*/
|
|
5244
5329
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5245
5330
|
/**
|
|
5246
5331
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5248
5333
|
*/
|
|
5249
5334
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5250
5335
|
/**
|
|
5251
5336
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5253
5338
|
*/
|
|
5254
5339
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
5255
5340
|
/**
|
|
5256
5341
|
* Disallow unreadable array destructuring.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5258
5343
|
*/
|
|
5259
5344
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5260
5345
|
/**
|
|
5261
5346
|
* Disallow unreadable IIFEs.
|
|
5262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5263
5348
|
*/
|
|
5264
5349
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5265
5350
|
/**
|
|
5266
5351
|
* Disallow unused object properties.
|
|
5267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5268
5353
|
*/
|
|
5269
5354
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5270
5355
|
/**
|
|
5271
5356
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5273
5358
|
*/
|
|
5274
5359
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
|
|
5275
5360
|
/**
|
|
5276
5361
|
* Disallow useless fallback when spreading in object literals.
|
|
5277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5278
5363
|
*/
|
|
5279
5364
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5280
5365
|
/**
|
|
5281
5366
|
* Disallow useless array length check.
|
|
5282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5283
5368
|
*/
|
|
5284
5369
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5285
5370
|
/**
|
|
5286
5371
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5288
5373
|
*/
|
|
5289
5374
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5290
5375
|
/**
|
|
5291
5376
|
* Disallow unnecessary spread.
|
|
5292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5293
5378
|
*/
|
|
5294
5379
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5295
5380
|
/**
|
|
5296
5381
|
* Disallow useless case in switch statements.
|
|
5297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5298
5383
|
*/
|
|
5299
5384
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5300
5385
|
/**
|
|
5301
5386
|
* Disallow useless `undefined`.
|
|
5302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5303
5388
|
*/
|
|
5304
5389
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5305
5390
|
/**
|
|
5306
5391
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5308
5393
|
*/
|
|
5309
5394
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5310
5395
|
/**
|
|
5311
5396
|
* Enforce proper case for numeric literals.
|
|
5312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5313
5398
|
*/
|
|
5314
5399
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
5315
5400
|
/**
|
|
5316
5401
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5318
5403
|
*/
|
|
5319
5404
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5320
5405
|
/**
|
|
5321
5406
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5323
5408
|
*/
|
|
5324
5409
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5325
5410
|
/**
|
|
5326
5411
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5328
5413
|
*/
|
|
5329
5414
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5330
5415
|
/**
|
|
5331
5416
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5333
5418
|
*/
|
|
5334
5419
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5335
5420
|
/**
|
|
5336
5421
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5338
5423
|
*/
|
|
5339
5424
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5340
5425
|
/**
|
|
5341
5426
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5343
5428
|
*/
|
|
5344
5429
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5345
5430
|
/**
|
|
5346
5431
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5348
5433
|
*/
|
|
5349
5434
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5350
5435
|
/**
|
|
5351
5436
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5353
5438
|
*/
|
|
5354
5439
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5440
|
+
/**
|
|
5441
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5443
|
+
*/
|
|
5444
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
|
|
5355
5445
|
/**
|
|
5356
5446
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5358
5448
|
*/
|
|
5359
5449
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5360
5450
|
/**
|
|
5361
5451
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5363
5453
|
*/
|
|
5364
5454
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
|
|
5455
|
+
/**
|
|
5456
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5458
|
+
*/
|
|
5459
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
|
|
5365
5460
|
/**
|
|
5366
5461
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5368
5463
|
*/
|
|
5369
5464
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5370
5465
|
/**
|
|
5371
5466
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5373
5468
|
*/
|
|
5374
5469
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5375
5470
|
/**
|
|
5376
5471
|
* Prefer default parameters over reassignment.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5378
5473
|
*/
|
|
5379
5474
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5380
5475
|
/**
|
|
5381
5476
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5383
5478
|
*/
|
|
5384
5479
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5385
5480
|
/**
|
|
5386
5481
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5388
5483
|
*/
|
|
5389
5484
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5390
5485
|
/**
|
|
5391
5486
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5393
5488
|
*/
|
|
5394
5489
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5395
5490
|
/**
|
|
5396
5491
|
* Prefer `.textContent` over `.innerText`.
|
|
5397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5398
5493
|
*/
|
|
5399
5494
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5400
5495
|
/**
|
|
5401
5496
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5403
5498
|
*/
|
|
5404
5499
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5405
5500
|
/**
|
|
5406
5501
|
* Prefer `export…from` when re-exporting.
|
|
5407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5408
5503
|
*/
|
|
5409
5504
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5410
5505
|
/**
|
|
5411
5506
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5413
5508
|
*/
|
|
5414
5509
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5415
5510
|
/**
|
|
5416
5511
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5418
5513
|
*/
|
|
5419
5514
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
5420
5515
|
/**
|
|
5421
5516
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5423
5518
|
*/
|
|
5424
5519
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5425
5520
|
/**
|
|
5426
5521
|
* Prefer reading a JSON file as a buffer.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5428
5523
|
*/
|
|
5429
5524
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5430
5525
|
/**
|
|
5431
5526
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5433
5528
|
*/
|
|
5434
5529
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5435
5530
|
/**
|
|
5436
5531
|
* Prefer using a logical operator over a ternary.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5438
5533
|
*/
|
|
5439
5534
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5440
5535
|
/**
|
|
5441
5536
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5443
5538
|
*/
|
|
5444
5539
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5445
5540
|
/**
|
|
5446
5541
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5448
5543
|
*/
|
|
5449
5544
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5450
5545
|
/**
|
|
5451
5546
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5453
5548
|
*/
|
|
5454
5549
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5455
5550
|
/**
|
|
5456
5551
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5458
5553
|
*/
|
|
5459
5554
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5460
5555
|
/**
|
|
5461
5556
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5463
5558
|
*/
|
|
5464
5559
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5465
5560
|
/**
|
|
5466
5561
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5468
5563
|
*/
|
|
5469
5564
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5470
5565
|
/**
|
|
5471
5566
|
* Prefer negative index over `.length - index` when possible.
|
|
5472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5473
5568
|
*/
|
|
5474
5569
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5475
5570
|
/**
|
|
5476
5571
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5478
5573
|
*/
|
|
5479
5574
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5480
5575
|
/**
|
|
5481
5576
|
* Prefer `Number` static properties over global ones.
|
|
5482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5483
5578
|
*/
|
|
5484
5579
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5485
5580
|
/**
|
|
5486
5581
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5488
5583
|
*/
|
|
5489
5584
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5490
5585
|
/**
|
|
5491
5586
|
* Prefer omitting the `catch` binding parameter.
|
|
5492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5493
5588
|
*/
|
|
5494
5589
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5495
5590
|
/**
|
|
5496
5591
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5498
5593
|
*/
|
|
5499
5594
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5500
5595
|
/**
|
|
5501
5596
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5503
5598
|
*/
|
|
5504
5599
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5505
5600
|
/**
|
|
5506
5601
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5508
5603
|
*/
|
|
5509
5604
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5510
5605
|
/**
|
|
5511
5606
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5513
5608
|
*/
|
|
5514
5609
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5515
5610
|
/**
|
|
5516
5611
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5518
5613
|
*/
|
|
5519
5614
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5520
5615
|
/**
|
|
5521
5616
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5523
5618
|
*/
|
|
5524
5619
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5525
5620
|
/**
|
|
5526
5621
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5528
5623
|
*/
|
|
5529
5624
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
5530
5625
|
/**
|
|
5531
5626
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5533
5628
|
*/
|
|
5534
5629
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5535
5630
|
/**
|
|
5536
5631
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5538
5633
|
*/
|
|
5539
5634
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5540
5635
|
/**
|
|
5541
5636
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5543
5638
|
*/
|
|
5544
5639
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5545
5640
|
/**
|
|
5546
5641
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5548
5643
|
*/
|
|
5549
5644
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5550
5645
|
/**
|
|
5551
5646
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5553
5648
|
*/
|
|
5554
5649
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5555
5650
|
/**
|
|
5556
5651
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5558
5653
|
*/
|
|
5559
5654
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5560
5655
|
/**
|
|
5561
5656
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5563
5658
|
*/
|
|
5564
5659
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5565
5660
|
/**
|
|
5566
5661
|
* Prefer `switch` over multiple `else-if`.
|
|
5567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5568
5663
|
*/
|
|
5569
5664
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5570
5665
|
/**
|
|
5571
5666
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5573
5668
|
*/
|
|
5574
5669
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5575
5670
|
/**
|
|
5576
5671
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5578
5673
|
*/
|
|
5579
5674
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5580
5675
|
/**
|
|
5581
5676
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5583
5678
|
*/
|
|
5584
5679
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5585
5680
|
/**
|
|
5586
5681
|
* Prevent abbreviations.
|
|
5587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5588
5683
|
*/
|
|
5589
5684
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5590
5685
|
/**
|
|
5591
5686
|
* Enforce consistent relative URL style.
|
|
5592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5593
5688
|
*/
|
|
5594
5689
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5595
5690
|
/**
|
|
5596
5691
|
* Enforce using the separator argument with `Array#join()`.
|
|
5597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5598
5693
|
*/
|
|
5599
5694
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5695
|
+
/**
|
|
5696
|
+
* Require non-empty module attributes for imports and exports
|
|
5697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5698
|
+
*/
|
|
5699
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
|
|
5600
5700
|
/**
|
|
5601
5701
|
* Require non-empty specifier list in import and export statements.
|
|
5602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5603
5703
|
*/
|
|
5604
5704
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
|
|
5605
5705
|
/**
|
|
5606
5706
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5608
5708
|
*/
|
|
5609
5709
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5610
5710
|
/**
|
|
5611
5711
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5613
5713
|
*/
|
|
5614
5714
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5615
5715
|
/**
|
|
5616
5716
|
* Enforce better string content.
|
|
5617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5618
5718
|
*/
|
|
5619
5719
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5620
5720
|
/**
|
|
5621
5721
|
* Enforce consistent brace style for `case` clauses.
|
|
5622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5623
5723
|
*/
|
|
5624
5724
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5625
5725
|
/**
|
|
5626
5726
|
* Fix whitespace-insensitive template indentation.
|
|
5627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5628
5728
|
*/
|
|
5629
5729
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5630
5730
|
/**
|
|
5631
5731
|
* Enforce consistent case for text encoding identifiers.
|
|
5632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5633
5733
|
*/
|
|
5634
5734
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5635
5735
|
/**
|
|
5636
5736
|
* Require `new` when creating an error.
|
|
5637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5638
5738
|
*/
|
|
5639
5739
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5640
5740
|
/**
|
|
@@ -7007,6 +7107,7 @@ type AccessorPairs = []|[{
|
|
|
7007
7107
|
getWithoutSet?: boolean
|
|
7008
7108
|
setWithoutGet?: boolean
|
|
7009
7109
|
enforceForClassMembers?: boolean
|
|
7110
|
+
enforceForTSTypes?: boolean
|
|
7010
7111
|
}]
|
|
7011
7112
|
// ----- antfu/consistent-chaining -----
|
|
7012
7113
|
type AntfuConsistentChaining = []|[{
|
|
@@ -7244,7 +7345,9 @@ type GetterReturn = []|[{
|
|
|
7244
7345
|
allowImplicit?: boolean
|
|
7245
7346
|
}]
|
|
7246
7347
|
// ----- grouped-accessor-pairs -----
|
|
7247
|
-
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
7348
|
+
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]|[("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
7349
|
+
enforceForTSTypes?: boolean
|
|
7350
|
+
}]
|
|
7248
7351
|
// ----- handle-callback-err -----
|
|
7249
7352
|
type HandleCallbackErr = []|[string]
|
|
7250
7353
|
// ----- id-blacklist -----
|
|
@@ -7595,6 +7698,11 @@ type IndentLegacy = []|[("tab" | number)]|[("tab" | number), {
|
|
|
7595
7698
|
type InitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
7596
7699
|
ignoreForLoopInit?: boolean
|
|
7597
7700
|
}])
|
|
7701
|
+
// ----- jsdoc/check-alignment -----
|
|
7702
|
+
type JsdocCheckAlignment = []|[{
|
|
7703
|
+
|
|
7704
|
+
innerIndent?: number
|
|
7705
|
+
}]
|
|
7598
7706
|
// ----- jsdoc/check-examples -----
|
|
7599
7707
|
type JsdocCheckExamples = []|[{
|
|
7600
7708
|
allowInlineConfig?: boolean
|
|
@@ -7619,85 +7727,138 @@ type JsdocCheckExamples = []|[{
|
|
|
7619
7727
|
}]
|
|
7620
7728
|
// ----- jsdoc/check-indentation -----
|
|
7621
7729
|
type JsdocCheckIndentation = []|[{
|
|
7730
|
+
|
|
7622
7731
|
excludeTags?: string[]
|
|
7623
7732
|
}]
|
|
7624
7733
|
// ----- jsdoc/check-line-alignment -----
|
|
7625
7734
|
type JsdocCheckLineAlignment = []|[("always" | "never" | "any")]|[("always" | "never" | "any"), {
|
|
7735
|
+
|
|
7626
7736
|
customSpacings?: {
|
|
7737
|
+
|
|
7627
7738
|
postDelimiter?: number
|
|
7739
|
+
|
|
7628
7740
|
postHyphen?: number
|
|
7741
|
+
|
|
7629
7742
|
postName?: number
|
|
7743
|
+
|
|
7630
7744
|
postTag?: number
|
|
7745
|
+
|
|
7631
7746
|
postType?: number
|
|
7632
7747
|
}
|
|
7748
|
+
|
|
7633
7749
|
disableWrapIndent?: boolean
|
|
7750
|
+
|
|
7634
7751
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
7752
|
+
|
|
7635
7753
|
tags?: string[]
|
|
7754
|
+
|
|
7636
7755
|
wrapIndent?: string
|
|
7637
7756
|
}]
|
|
7638
7757
|
// ----- jsdoc/check-param-names -----
|
|
7639
7758
|
type JsdocCheckParamNames = []|[{
|
|
7759
|
+
|
|
7640
7760
|
allowExtraTrailingParamDocs?: boolean
|
|
7761
|
+
|
|
7641
7762
|
checkDestructured?: boolean
|
|
7763
|
+
|
|
7642
7764
|
checkRestProperty?: boolean
|
|
7765
|
+
|
|
7643
7766
|
checkTypesPattern?: string
|
|
7767
|
+
|
|
7644
7768
|
disableExtraPropertyReporting?: boolean
|
|
7769
|
+
|
|
7645
7770
|
disableMissingParamChecks?: boolean
|
|
7771
|
+
|
|
7646
7772
|
enableFixer?: boolean
|
|
7773
|
+
|
|
7647
7774
|
useDefaultObjectProperties?: boolean
|
|
7648
7775
|
}]
|
|
7649
7776
|
// ----- jsdoc/check-property-names -----
|
|
7650
7777
|
type JsdocCheckPropertyNames = []|[{
|
|
7778
|
+
|
|
7651
7779
|
enableFixer?: boolean
|
|
7652
7780
|
}]
|
|
7653
7781
|
// ----- jsdoc/check-tag-names -----
|
|
7654
7782
|
type JsdocCheckTagNames = []|[{
|
|
7783
|
+
|
|
7655
7784
|
definedTags?: string[]
|
|
7785
|
+
|
|
7656
7786
|
enableFixer?: boolean
|
|
7787
|
+
|
|
7788
|
+
inlineTags?: string[]
|
|
7789
|
+
|
|
7657
7790
|
jsxTags?: boolean
|
|
7791
|
+
|
|
7658
7792
|
typed?: boolean
|
|
7659
7793
|
}]
|
|
7660
7794
|
// ----- jsdoc/check-types -----
|
|
7661
7795
|
type JsdocCheckTypes = []|[{
|
|
7796
|
+
|
|
7662
7797
|
exemptTagContexts?: {
|
|
7798
|
+
|
|
7663
7799
|
tag?: string
|
|
7800
|
+
|
|
7664
7801
|
types?: (boolean | string[])
|
|
7665
7802
|
}[]
|
|
7803
|
+
|
|
7666
7804
|
noDefaults?: boolean
|
|
7805
|
+
|
|
7667
7806
|
unifyParentAndChildTypeChecks?: boolean
|
|
7668
7807
|
}]
|
|
7669
7808
|
// ----- jsdoc/check-values -----
|
|
7670
7809
|
type JsdocCheckValues = []|[{
|
|
7810
|
+
|
|
7671
7811
|
allowedAuthors?: string[]
|
|
7812
|
+
|
|
7672
7813
|
allowedLicenses?: (string[] | boolean)
|
|
7814
|
+
|
|
7673
7815
|
licensePattern?: string
|
|
7816
|
+
|
|
7674
7817
|
numericOnlyVariation?: boolean
|
|
7675
7818
|
}]
|
|
7676
7819
|
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
7677
7820
|
type JsdocConvertToJsdocComments = []|[{
|
|
7821
|
+
|
|
7678
7822
|
allowedPrefixes?: string[]
|
|
7823
|
+
|
|
7679
7824
|
contexts?: (string | {
|
|
7680
7825
|
context?: string
|
|
7681
7826
|
inlineCommentBlock?: boolean
|
|
7682
7827
|
})[]
|
|
7828
|
+
|
|
7683
7829
|
contextsAfter?: (string | {
|
|
7684
7830
|
context?: string
|
|
7685
7831
|
inlineCommentBlock?: boolean
|
|
7686
7832
|
})[]
|
|
7833
|
+
|
|
7687
7834
|
contextsBeforeAndAfter?: (string | {
|
|
7688
7835
|
context?: string
|
|
7689
7836
|
inlineCommentBlock?: boolean
|
|
7690
7837
|
})[]
|
|
7838
|
+
|
|
7691
7839
|
enableFixer?: boolean
|
|
7840
|
+
|
|
7692
7841
|
enforceJsdocLineStyle?: ("multi" | "single")
|
|
7842
|
+
|
|
7693
7843
|
lineOrBlockStyle?: ("block" | "line" | "both")
|
|
7694
7844
|
}]
|
|
7695
7845
|
// ----- jsdoc/empty-tags -----
|
|
7696
7846
|
type JsdocEmptyTags = []|[{
|
|
7847
|
+
|
|
7697
7848
|
tags?: string[]
|
|
7698
7849
|
}]
|
|
7850
|
+
// ----- jsdoc/escape-inline-tags -----
|
|
7851
|
+
type JsdocEscapeInlineTags = []|[{
|
|
7852
|
+
|
|
7853
|
+
allowedInlineTags?: string[]
|
|
7854
|
+
|
|
7855
|
+
enableFixer?: boolean
|
|
7856
|
+
|
|
7857
|
+
fixType?: ("backticks" | "backslash")
|
|
7858
|
+
}]
|
|
7699
7859
|
// ----- jsdoc/implements-on-classes -----
|
|
7700
7860
|
type JsdocImplementsOnClasses = []|[{
|
|
7861
|
+
|
|
7701
7862
|
contexts?: (string | {
|
|
7702
7863
|
comment?: string
|
|
7703
7864
|
context?: string
|
|
@@ -7705,33 +7866,47 @@ type JsdocImplementsOnClasses = []|[{
|
|
|
7705
7866
|
}]
|
|
7706
7867
|
// ----- jsdoc/informative-docs -----
|
|
7707
7868
|
type JsdocInformativeDocs = []|[{
|
|
7869
|
+
|
|
7708
7870
|
aliases?: {
|
|
7709
7871
|
[k: string]: string[]
|
|
7710
7872
|
}
|
|
7873
|
+
|
|
7711
7874
|
excludedTags?: string[]
|
|
7875
|
+
|
|
7712
7876
|
uselessWords?: string[]
|
|
7713
7877
|
}]
|
|
7714
7878
|
// ----- jsdoc/lines-before-block -----
|
|
7715
7879
|
type JsdocLinesBeforeBlock = []|[{
|
|
7880
|
+
|
|
7716
7881
|
checkBlockStarts?: boolean
|
|
7882
|
+
|
|
7717
7883
|
excludedTags?: string[]
|
|
7884
|
+
|
|
7718
7885
|
ignoreSameLine?: boolean
|
|
7886
|
+
|
|
7719
7887
|
ignoreSingleLines?: boolean
|
|
7888
|
+
|
|
7720
7889
|
lines?: number
|
|
7721
7890
|
}]
|
|
7722
7891
|
// ----- jsdoc/match-description -----
|
|
7723
7892
|
type JsdocMatchDescription = []|[{
|
|
7893
|
+
|
|
7724
7894
|
contexts?: (string | {
|
|
7725
7895
|
comment?: string
|
|
7726
7896
|
context?: string
|
|
7727
7897
|
})[]
|
|
7898
|
+
|
|
7728
7899
|
mainDescription?: (string | boolean | {
|
|
7729
7900
|
match?: (string | boolean)
|
|
7730
7901
|
message?: string
|
|
7731
7902
|
})
|
|
7903
|
+
|
|
7732
7904
|
matchDescription?: string
|
|
7905
|
+
|
|
7733
7906
|
message?: string
|
|
7907
|
+
|
|
7734
7908
|
nonemptyTags?: boolean
|
|
7909
|
+
|
|
7735
7910
|
tags?: {
|
|
7736
7911
|
[k: string]: (string | true | {
|
|
7737
7912
|
match?: (string | true)
|
|
@@ -7741,47 +7916,70 @@ type JsdocMatchDescription = []|[{
|
|
|
7741
7916
|
}]
|
|
7742
7917
|
// ----- jsdoc/match-name -----
|
|
7743
7918
|
type JsdocMatchName = []|[{
|
|
7919
|
+
|
|
7744
7920
|
match: {
|
|
7921
|
+
|
|
7745
7922
|
allowName?: string
|
|
7923
|
+
|
|
7746
7924
|
comment?: string
|
|
7925
|
+
|
|
7747
7926
|
context?: string
|
|
7927
|
+
|
|
7748
7928
|
disallowName?: string
|
|
7929
|
+
|
|
7749
7930
|
message?: string
|
|
7931
|
+
|
|
7750
7932
|
replacement?: string
|
|
7933
|
+
|
|
7751
7934
|
tags?: string[]
|
|
7752
7935
|
}[]
|
|
7753
7936
|
}]
|
|
7754
7937
|
// ----- jsdoc/multiline-blocks -----
|
|
7755
7938
|
type JsdocMultilineBlocks = []|[{
|
|
7939
|
+
|
|
7756
7940
|
allowMultipleTags?: boolean
|
|
7941
|
+
|
|
7757
7942
|
minimumLengthForMultiline?: number
|
|
7943
|
+
|
|
7758
7944
|
multilineTags?: ("*" | string[])
|
|
7945
|
+
|
|
7759
7946
|
noFinalLineText?: boolean
|
|
7947
|
+
|
|
7760
7948
|
noMultilineBlocks?: boolean
|
|
7949
|
+
|
|
7761
7950
|
noSingleLineBlocks?: boolean
|
|
7951
|
+
|
|
7762
7952
|
noZeroLineText?: boolean
|
|
7953
|
+
|
|
7763
7954
|
requireSingleLineUnderCount?: number
|
|
7955
|
+
|
|
7764
7956
|
singleLineTags?: string[]
|
|
7765
7957
|
}]
|
|
7766
7958
|
// ----- jsdoc/no-bad-blocks -----
|
|
7767
7959
|
type JsdocNoBadBlocks = []|[{
|
|
7960
|
+
|
|
7768
7961
|
ignore?: string[]
|
|
7962
|
+
|
|
7769
7963
|
preventAllMultiAsteriskBlocks?: boolean
|
|
7770
7964
|
}]
|
|
7771
7965
|
// ----- jsdoc/no-blank-blocks -----
|
|
7772
7966
|
type JsdocNoBlankBlocks = []|[{
|
|
7967
|
+
|
|
7773
7968
|
enableFixer?: boolean
|
|
7774
7969
|
}]
|
|
7775
7970
|
// ----- jsdoc/no-defaults -----
|
|
7776
7971
|
type JsdocNoDefaults = []|[{
|
|
7972
|
+
|
|
7777
7973
|
contexts?: (string | {
|
|
7778
7974
|
comment?: string
|
|
7779
7975
|
context?: string
|
|
7780
7976
|
})[]
|
|
7977
|
+
|
|
7781
7978
|
noOptionalParamNames?: boolean
|
|
7782
7979
|
}]
|
|
7783
7980
|
// ----- jsdoc/no-missing-syntax -----
|
|
7784
7981
|
type JsdocNoMissingSyntax = []|[{
|
|
7982
|
+
|
|
7785
7983
|
contexts?: (string | {
|
|
7786
7984
|
comment?: string
|
|
7787
7985
|
context?: string
|
|
@@ -7791,12 +7989,16 @@ type JsdocNoMissingSyntax = []|[{
|
|
|
7791
7989
|
}]
|
|
7792
7990
|
// ----- jsdoc/no-multi-asterisks -----
|
|
7793
7991
|
type JsdocNoMultiAsterisks = []|[{
|
|
7992
|
+
|
|
7794
7993
|
allowWhitespace?: boolean
|
|
7994
|
+
|
|
7795
7995
|
preventAtEnd?: boolean
|
|
7996
|
+
|
|
7796
7997
|
preventAtMiddleLines?: boolean
|
|
7797
7998
|
}]
|
|
7798
7999
|
// ----- jsdoc/no-restricted-syntax -----
|
|
7799
8000
|
type JsdocNoRestrictedSyntax = []|[{
|
|
8001
|
+
|
|
7800
8002
|
contexts: (string | {
|
|
7801
8003
|
comment?: string
|
|
7802
8004
|
context?: string
|
|
@@ -7805,6 +8007,7 @@ type JsdocNoRestrictedSyntax = []|[{
|
|
|
7805
8007
|
}]
|
|
7806
8008
|
// ----- jsdoc/no-types -----
|
|
7807
8009
|
type JsdocNoTypes = []|[{
|
|
8010
|
+
|
|
7808
8011
|
contexts?: (string | {
|
|
7809
8012
|
comment?: string
|
|
7810
8013
|
context?: string
|
|
@@ -7812,51 +8015,86 @@ type JsdocNoTypes = []|[{
|
|
|
7812
8015
|
}]
|
|
7813
8016
|
// ----- jsdoc/no-undefined-types -----
|
|
7814
8017
|
type JsdocNoUndefinedTypes = []|[{
|
|
8018
|
+
|
|
8019
|
+
checkUsedTypedefs?: boolean
|
|
8020
|
+
|
|
7815
8021
|
definedTypes?: string[]
|
|
8022
|
+
|
|
7816
8023
|
disableReporting?: boolean
|
|
8024
|
+
|
|
7817
8025
|
markVariablesAsUsed?: boolean
|
|
7818
8026
|
}]
|
|
8027
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8028
|
+
type JsdocPreferImportTag = []|[{
|
|
8029
|
+
|
|
8030
|
+
enableFixer?: boolean
|
|
8031
|
+
|
|
8032
|
+
exemptTypedefs?: boolean
|
|
8033
|
+
|
|
8034
|
+
outputType?: ("named-import" | "namespaced-import")
|
|
8035
|
+
}]
|
|
7819
8036
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
7820
8037
|
type JsdocRequireAsteriskPrefix = []|[("always" | "never" | "any")]|[("always" | "never" | "any"), {
|
|
8038
|
+
|
|
7821
8039
|
tags?: {
|
|
8040
|
+
|
|
7822
8041
|
always?: string[]
|
|
8042
|
+
|
|
7823
8043
|
any?: string[]
|
|
8044
|
+
|
|
7824
8045
|
never?: string[]
|
|
7825
8046
|
}
|
|
7826
8047
|
}]
|
|
7827
8048
|
// ----- jsdoc/require-description -----
|
|
7828
8049
|
type JsdocRequireDescription = []|[{
|
|
8050
|
+
|
|
7829
8051
|
checkConstructors?: boolean
|
|
8052
|
+
|
|
7830
8053
|
checkGetters?: boolean
|
|
8054
|
+
|
|
7831
8055
|
checkSetters?: boolean
|
|
8056
|
+
|
|
7832
8057
|
contexts?: (string | {
|
|
7833
8058
|
comment?: string
|
|
7834
8059
|
context?: string
|
|
7835
8060
|
})[]
|
|
8061
|
+
|
|
7836
8062
|
descriptionStyle?: ("body" | "tag" | "any")
|
|
8063
|
+
|
|
7837
8064
|
exemptedBy?: string[]
|
|
7838
8065
|
}]
|
|
7839
8066
|
// ----- jsdoc/require-description-complete-sentence -----
|
|
7840
8067
|
type JsdocRequireDescriptionCompleteSentence = []|[{
|
|
8068
|
+
|
|
7841
8069
|
abbreviations?: string[]
|
|
8070
|
+
|
|
7842
8071
|
newlineBeforeCapsAssumesBadSentenceEnd?: boolean
|
|
8072
|
+
|
|
7843
8073
|
tags?: string[]
|
|
7844
8074
|
}]
|
|
7845
8075
|
// ----- jsdoc/require-example -----
|
|
7846
8076
|
type JsdocRequireExample = []|[{
|
|
8077
|
+
|
|
7847
8078
|
checkConstructors?: boolean
|
|
8079
|
+
|
|
7848
8080
|
checkGetters?: boolean
|
|
8081
|
+
|
|
7849
8082
|
checkSetters?: boolean
|
|
8083
|
+
|
|
7850
8084
|
contexts?: (string | {
|
|
7851
8085
|
comment?: string
|
|
7852
8086
|
context?: string
|
|
7853
8087
|
})[]
|
|
8088
|
+
|
|
7854
8089
|
enableFixer?: boolean
|
|
8090
|
+
|
|
7855
8091
|
exemptedBy?: string[]
|
|
8092
|
+
|
|
7856
8093
|
exemptNoArguments?: boolean
|
|
7857
8094
|
}]
|
|
7858
8095
|
// ----- jsdoc/require-file-overview -----
|
|
7859
8096
|
type JsdocRequireFileOverview = []|[{
|
|
8097
|
+
|
|
7860
8098
|
tags?: {
|
|
7861
8099
|
[k: string]: {
|
|
7862
8100
|
initialCommentsOnly?: boolean
|
|
@@ -7867,73 +8105,117 @@ type JsdocRequireFileOverview = []|[{
|
|
|
7867
8105
|
}]
|
|
7868
8106
|
// ----- jsdoc/require-hyphen-before-param-description -----
|
|
7869
8107
|
type JsdocRequireHyphenBeforeParamDescription = []|[("always" | "never")]|[("always" | "never"), {
|
|
8108
|
+
|
|
7870
8109
|
tags?: ({
|
|
7871
8110
|
[k: string]: ("always" | "never")
|
|
7872
8111
|
} | "any")
|
|
7873
8112
|
}]
|
|
7874
8113
|
// ----- jsdoc/require-jsdoc -----
|
|
7875
8114
|
type JsdocRequireJsdoc = []|[{
|
|
8115
|
+
|
|
7876
8116
|
checkConstructors?: boolean
|
|
8117
|
+
|
|
7877
8118
|
checkGetters?: (boolean | "no-setter")
|
|
8119
|
+
|
|
7878
8120
|
checkSetters?: (boolean | "no-getter")
|
|
8121
|
+
|
|
7879
8122
|
contexts?: (string | {
|
|
7880
8123
|
context?: string
|
|
7881
8124
|
inlineCommentBlock?: boolean
|
|
7882
8125
|
minLineCount?: number
|
|
7883
8126
|
})[]
|
|
8127
|
+
|
|
7884
8128
|
enableFixer?: boolean
|
|
8129
|
+
|
|
7885
8130
|
exemptEmptyConstructors?: boolean
|
|
8131
|
+
|
|
7886
8132
|
exemptEmptyFunctions?: boolean
|
|
8133
|
+
|
|
8134
|
+
exemptOverloadedImplementations?: boolean
|
|
8135
|
+
|
|
7887
8136
|
fixerMessage?: string
|
|
8137
|
+
|
|
7888
8138
|
minLineCount?: number
|
|
8139
|
+
|
|
7889
8140
|
publicOnly?: (boolean | {
|
|
7890
8141
|
ancestorsOnly?: boolean
|
|
7891
8142
|
cjs?: boolean
|
|
7892
8143
|
esm?: boolean
|
|
7893
8144
|
window?: boolean
|
|
7894
8145
|
})
|
|
8146
|
+
|
|
7895
8147
|
require?: {
|
|
8148
|
+
|
|
7896
8149
|
ArrowFunctionExpression?: boolean
|
|
8150
|
+
|
|
7897
8151
|
ClassDeclaration?: boolean
|
|
8152
|
+
|
|
7898
8153
|
ClassExpression?: boolean
|
|
8154
|
+
|
|
7899
8155
|
FunctionDeclaration?: boolean
|
|
8156
|
+
|
|
7900
8157
|
FunctionExpression?: boolean
|
|
8158
|
+
|
|
7901
8159
|
MethodDefinition?: boolean
|
|
7902
8160
|
}
|
|
8161
|
+
|
|
8162
|
+
skipInterveningOverloadedDeclarations?: boolean
|
|
7903
8163
|
}]
|
|
7904
8164
|
// ----- jsdoc/require-param -----
|
|
7905
8165
|
type JsdocRequireParam = []|[{
|
|
8166
|
+
|
|
7906
8167
|
autoIncrementBase?: number
|
|
8168
|
+
|
|
7907
8169
|
checkConstructors?: boolean
|
|
8170
|
+
|
|
7908
8171
|
checkDestructured?: boolean
|
|
8172
|
+
|
|
7909
8173
|
checkDestructuredRoots?: boolean
|
|
8174
|
+
|
|
7910
8175
|
checkGetters?: boolean
|
|
8176
|
+
|
|
7911
8177
|
checkRestProperty?: boolean
|
|
8178
|
+
|
|
7912
8179
|
checkSetters?: boolean
|
|
8180
|
+
|
|
7913
8181
|
checkTypesPattern?: string
|
|
8182
|
+
|
|
7914
8183
|
contexts?: (string | {
|
|
7915
8184
|
comment?: string
|
|
7916
8185
|
context?: string
|
|
7917
8186
|
})[]
|
|
8187
|
+
|
|
7918
8188
|
enableFixer?: boolean
|
|
8189
|
+
|
|
7919
8190
|
enableRestElementFixer?: boolean
|
|
8191
|
+
|
|
7920
8192
|
enableRootFixer?: boolean
|
|
8193
|
+
|
|
7921
8194
|
exemptedBy?: string[]
|
|
8195
|
+
|
|
7922
8196
|
ignoreWhenAllParamsMissing?: boolean
|
|
8197
|
+
|
|
8198
|
+
interfaceExemptsParamsCheck?: boolean
|
|
8199
|
+
|
|
7923
8200
|
unnamedRootBase?: string[]
|
|
8201
|
+
|
|
7924
8202
|
useDefaultObjectProperties?: boolean
|
|
7925
8203
|
}]
|
|
7926
8204
|
// ----- jsdoc/require-param-description -----
|
|
7927
8205
|
type JsdocRequireParamDescription = []|[{
|
|
8206
|
+
|
|
7928
8207
|
contexts?: (string | {
|
|
7929
8208
|
comment?: string
|
|
7930
8209
|
context?: string
|
|
7931
8210
|
})[]
|
|
8211
|
+
|
|
7932
8212
|
defaultDestructuredRootDescription?: string
|
|
8213
|
+
|
|
7933
8214
|
setDefaultDestructuredRootDescription?: boolean
|
|
7934
8215
|
}]
|
|
7935
8216
|
// ----- jsdoc/require-param-name -----
|
|
7936
8217
|
type JsdocRequireParamName = []|[{
|
|
8218
|
+
|
|
7937
8219
|
contexts?: (string | {
|
|
7938
8220
|
comment?: string
|
|
7939
8221
|
context?: string
|
|
@@ -7941,26 +8223,37 @@ type JsdocRequireParamName = []|[{
|
|
|
7941
8223
|
}]
|
|
7942
8224
|
// ----- jsdoc/require-param-type -----
|
|
7943
8225
|
type JsdocRequireParamType = []|[{
|
|
8226
|
+
|
|
7944
8227
|
contexts?: (string | {
|
|
7945
8228
|
comment?: string
|
|
7946
8229
|
context?: string
|
|
7947
8230
|
})[]
|
|
8231
|
+
|
|
7948
8232
|
defaultDestructuredRootType?: string
|
|
8233
|
+
|
|
7949
8234
|
setDefaultDestructuredRootType?: boolean
|
|
7950
8235
|
}]
|
|
7951
8236
|
// ----- jsdoc/require-returns -----
|
|
7952
8237
|
type JsdocRequireReturns = []|[{
|
|
8238
|
+
|
|
7953
8239
|
checkConstructors?: boolean
|
|
8240
|
+
|
|
7954
8241
|
checkGetters?: boolean
|
|
8242
|
+
|
|
7955
8243
|
contexts?: (string | {
|
|
7956
8244
|
comment?: string
|
|
7957
8245
|
context?: string
|
|
7958
8246
|
forceRequireReturn?: boolean
|
|
7959
8247
|
})[]
|
|
8248
|
+
|
|
7960
8249
|
enableFixer?: boolean
|
|
8250
|
+
|
|
7961
8251
|
exemptedBy?: string[]
|
|
8252
|
+
|
|
7962
8253
|
forceRequireReturn?: boolean
|
|
8254
|
+
|
|
7963
8255
|
forceReturnsWithAsync?: boolean
|
|
8256
|
+
|
|
7964
8257
|
publicOnly?: (boolean | {
|
|
7965
8258
|
ancestorsOnly?: boolean
|
|
7966
8259
|
cjs?: boolean
|
|
@@ -7970,12 +8263,18 @@ type JsdocRequireReturns = []|[{
|
|
|
7970
8263
|
}]
|
|
7971
8264
|
// ----- jsdoc/require-returns-check -----
|
|
7972
8265
|
type JsdocRequireReturnsCheck = []|[{
|
|
8266
|
+
|
|
7973
8267
|
exemptAsync?: boolean
|
|
8268
|
+
|
|
7974
8269
|
exemptGenerators?: boolean
|
|
8270
|
+
|
|
8271
|
+
noNativeTypes?: boolean
|
|
8272
|
+
|
|
7975
8273
|
reportMissingReturnForUndefinedTypes?: boolean
|
|
7976
8274
|
}]
|
|
7977
8275
|
// ----- jsdoc/require-returns-description -----
|
|
7978
8276
|
type JsdocRequireReturnsDescription = []|[{
|
|
8277
|
+
|
|
7979
8278
|
contexts?: (string | {
|
|
7980
8279
|
comment?: string
|
|
7981
8280
|
context?: string
|
|
@@ -7983,62 +8282,99 @@ type JsdocRequireReturnsDescription = []|[{
|
|
|
7983
8282
|
}]
|
|
7984
8283
|
// ----- jsdoc/require-returns-type -----
|
|
7985
8284
|
type JsdocRequireReturnsType = []|[{
|
|
8285
|
+
|
|
7986
8286
|
contexts?: (string | {
|
|
7987
8287
|
comment?: string
|
|
7988
8288
|
context?: string
|
|
7989
8289
|
})[]
|
|
7990
8290
|
}]
|
|
8291
|
+
// ----- jsdoc/require-tags -----
|
|
8292
|
+
type JsdocRequireTags = []|[{
|
|
8293
|
+
|
|
8294
|
+
tags?: (string | {
|
|
8295
|
+
context?: string
|
|
8296
|
+
tag?: string
|
|
8297
|
+
[k: string]: unknown | undefined
|
|
8298
|
+
})[]
|
|
8299
|
+
}]
|
|
7991
8300
|
// ----- jsdoc/require-template -----
|
|
7992
8301
|
type JsdocRequireTemplate = []|[{
|
|
8302
|
+
|
|
8303
|
+
exemptedBy?: string[]
|
|
8304
|
+
|
|
7993
8305
|
requireSeparateTemplates?: boolean
|
|
7994
8306
|
}]
|
|
7995
8307
|
// ----- jsdoc/require-throws -----
|
|
7996
8308
|
type JsdocRequireThrows = []|[{
|
|
8309
|
+
|
|
7997
8310
|
contexts?: (string | {
|
|
7998
8311
|
comment?: string
|
|
7999
8312
|
context?: string
|
|
8000
8313
|
})[]
|
|
8314
|
+
|
|
8001
8315
|
exemptedBy?: string[]
|
|
8002
8316
|
}]
|
|
8003
8317
|
// ----- jsdoc/require-yields -----
|
|
8004
8318
|
type JsdocRequireYields = []|[{
|
|
8319
|
+
|
|
8005
8320
|
contexts?: (string | {
|
|
8006
8321
|
comment?: string
|
|
8007
8322
|
context?: string
|
|
8008
8323
|
})[]
|
|
8324
|
+
|
|
8009
8325
|
exemptedBy?: string[]
|
|
8326
|
+
|
|
8010
8327
|
forceRequireNext?: boolean
|
|
8328
|
+
|
|
8011
8329
|
forceRequireYields?: boolean
|
|
8330
|
+
|
|
8012
8331
|
next?: boolean
|
|
8332
|
+
|
|
8013
8333
|
nextWithGeneratorTag?: boolean
|
|
8334
|
+
|
|
8014
8335
|
withGeneratorTag?: boolean
|
|
8015
8336
|
}]
|
|
8016
8337
|
// ----- jsdoc/require-yields-check -----
|
|
8017
8338
|
type JsdocRequireYieldsCheck = []|[{
|
|
8339
|
+
|
|
8018
8340
|
checkGeneratorsOnly?: boolean
|
|
8341
|
+
|
|
8019
8342
|
contexts?: (string | {
|
|
8020
8343
|
comment?: string
|
|
8021
8344
|
context?: string
|
|
8022
8345
|
})[]
|
|
8023
|
-
|
|
8346
|
+
|
|
8024
8347
|
next?: boolean
|
|
8025
8348
|
}]
|
|
8026
8349
|
// ----- jsdoc/sort-tags -----
|
|
8027
8350
|
type JsdocSortTags = []|[{
|
|
8351
|
+
|
|
8028
8352
|
alphabetizeExtras?: boolean
|
|
8353
|
+
|
|
8029
8354
|
linesBetween?: number
|
|
8355
|
+
|
|
8030
8356
|
reportIntraTagGroupSpacing?: boolean
|
|
8357
|
+
|
|
8031
8358
|
reportTagGroupSpacing?: boolean
|
|
8359
|
+
|
|
8032
8360
|
tagSequence?: {
|
|
8361
|
+
|
|
8033
8362
|
tags?: string[]
|
|
8034
8363
|
}[]
|
|
8035
8364
|
}]
|
|
8036
8365
|
// ----- jsdoc/tag-lines -----
|
|
8037
8366
|
type JsdocTagLines = []|[("always" | "any" | "never")]|[("always" | "any" | "never"), {
|
|
8367
|
+
|
|
8038
8368
|
applyToEndTag?: boolean
|
|
8369
|
+
|
|
8039
8370
|
count?: number
|
|
8371
|
+
|
|
8040
8372
|
endLines?: (number | null)
|
|
8373
|
+
|
|
8374
|
+
maxBlockLines?: (number | null)
|
|
8375
|
+
|
|
8041
8376
|
startLines?: (number | null)
|
|
8377
|
+
|
|
8042
8378
|
tags?: {
|
|
8043
8379
|
[k: string]: {
|
|
8044
8380
|
count?: number
|
|
@@ -8048,11 +8384,41 @@ type JsdocTagLines = []|[("always" | "any" | "never")]|[("always" | "any" | "nev
|
|
|
8048
8384
|
}]
|
|
8049
8385
|
// ----- jsdoc/text-escaping -----
|
|
8050
8386
|
type JsdocTextEscaping = []|[{
|
|
8387
|
+
|
|
8051
8388
|
escapeHTML?: boolean
|
|
8389
|
+
|
|
8052
8390
|
escapeMarkdown?: boolean
|
|
8053
8391
|
}]
|
|
8392
|
+
// ----- jsdoc/type-formatting -----
|
|
8393
|
+
type JsdocTypeFormatting = []|[{
|
|
8394
|
+
|
|
8395
|
+
arrayBrackets?: ("angle" | "square")
|
|
8396
|
+
|
|
8397
|
+
enableFixer?: boolean
|
|
8398
|
+
|
|
8399
|
+
genericDot?: boolean
|
|
8400
|
+
|
|
8401
|
+
objectFieldIndent?: string
|
|
8402
|
+
|
|
8403
|
+
objectFieldQuote?: ("double" | "single" | null)
|
|
8404
|
+
|
|
8405
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak")
|
|
8406
|
+
|
|
8407
|
+
objectFieldSeparatorOptionalLinebreak?: boolean
|
|
8408
|
+
|
|
8409
|
+
objectFieldSeparatorTrailingPunctuation?: boolean
|
|
8410
|
+
|
|
8411
|
+
separatorForSingleObjectField?: boolean
|
|
8412
|
+
|
|
8413
|
+
stringQuotes?: ("double" | "single")
|
|
8414
|
+
|
|
8415
|
+
typeBracketSpacing?: string
|
|
8416
|
+
|
|
8417
|
+
unionSpacing?: string
|
|
8418
|
+
}]
|
|
8054
8419
|
// ----- jsdoc/valid-types -----
|
|
8055
8420
|
type JsdocValidTypes = []|[{
|
|
8421
|
+
|
|
8056
8422
|
allowEmptyNamepaths?: boolean
|
|
8057
8423
|
}]
|
|
8058
8424
|
// ----- jsonc/array-bracket-newline -----
|
|
@@ -8928,6 +9294,10 @@ type LogicalAssignmentOperators = (([]|["always"]|["always", {
|
|
|
8928
9294
|
type MarkdownFencedCodeLanguage = []|[{
|
|
8929
9295
|
required?: string[]
|
|
8930
9296
|
}]
|
|
9297
|
+
// ----- markdown/heading-increment -----
|
|
9298
|
+
type MarkdownHeadingIncrement = []|[{
|
|
9299
|
+
frontmatterTitle?: string
|
|
9300
|
+
}]
|
|
8931
9301
|
// ----- markdown/no-duplicate-definitions -----
|
|
8932
9302
|
type MarkdownNoDuplicateDefinitions = []|[{
|
|
8933
9303
|
allowDefinitions?: string[]
|
|
@@ -8946,6 +9316,15 @@ type MarkdownNoEmptyDefinitions = []|[{
|
|
|
8946
9316
|
// ----- markdown/no-html -----
|
|
8947
9317
|
type MarkdownNoHtml = []|[{
|
|
8948
9318
|
allowed?: string[]
|
|
9319
|
+
allowedIgnoreCase?: boolean
|
|
9320
|
+
}]
|
|
9321
|
+
// ----- markdown/no-missing-atx-heading-space -----
|
|
9322
|
+
type MarkdownNoMissingAtxHeadingSpace = []|[{
|
|
9323
|
+
checkClosedHeadings?: boolean
|
|
9324
|
+
}]
|
|
9325
|
+
// ----- markdown/no-missing-label-refs -----
|
|
9326
|
+
type MarkdownNoMissingLabelRefs = []|[{
|
|
9327
|
+
allowLabels?: string[]
|
|
8949
9328
|
}]
|
|
8950
9329
|
// ----- markdown/no-missing-link-fragments -----
|
|
8951
9330
|
type MarkdownNoMissingLinkFragments = []|[{
|
|
@@ -8956,6 +9335,10 @@ type MarkdownNoMissingLinkFragments = []|[{
|
|
|
8956
9335
|
type MarkdownNoMultipleH1 = []|[{
|
|
8957
9336
|
frontmatterTitle?: string
|
|
8958
9337
|
}]
|
|
9338
|
+
// ----- markdown/no-space-in-emphasis -----
|
|
9339
|
+
type MarkdownNoSpaceInEmphasis = []|[{
|
|
9340
|
+
checkStrikethrough?: boolean
|
|
9341
|
+
}]
|
|
8959
9342
|
// ----- markdown/no-unused-definitions -----
|
|
8960
9343
|
type MarkdownNoUnusedDefinitions = []|[{
|
|
8961
9344
|
allowDefinitions?: string[]
|
|
@@ -9314,10 +9697,18 @@ type NoRestrictedExports = []|[({
|
|
|
9314
9697
|
}
|
|
9315
9698
|
})]
|
|
9316
9699
|
// ----- no-restricted-globals -----
|
|
9317
|
-
type NoRestrictedGlobals = (string | {
|
|
9700
|
+
type NoRestrictedGlobals = ((string | {
|
|
9318
9701
|
name: string
|
|
9319
9702
|
message?: string
|
|
9320
|
-
})[]
|
|
9703
|
+
})[] | []|[{
|
|
9704
|
+
|
|
9705
|
+
globals: (string | {
|
|
9706
|
+
name: string
|
|
9707
|
+
message?: string
|
|
9708
|
+
})[]
|
|
9709
|
+
checkGlobalObject?: boolean
|
|
9710
|
+
globalObjects?: string[]
|
|
9711
|
+
}])
|
|
9321
9712
|
// ----- no-restricted-imports -----
|
|
9322
9713
|
type NoRestrictedImports = ((string | {
|
|
9323
9714
|
name: string
|
|
@@ -9446,6 +9837,7 @@ type NoUnusedVars = []|[(("all" | "local") | {
|
|
|
9446
9837
|
caughtErrorsIgnorePattern?: string
|
|
9447
9838
|
destructuredArrayIgnorePattern?: string
|
|
9448
9839
|
ignoreClassWithStaticInitBlock?: boolean
|
|
9840
|
+
ignoreUsingDeclarations?: boolean
|
|
9449
9841
|
reportUsedIgnorePattern?: boolean
|
|
9450
9842
|
})]
|
|
9451
9843
|
// ----- no-use-before-define -----
|
|
@@ -9522,7 +9914,7 @@ type NodeHashbang = []|[{
|
|
|
9522
9914
|
// ----- node/no-deprecated-api -----
|
|
9523
9915
|
type NodeNoDeprecatedApi = []|[{
|
|
9524
9916
|
version?: string
|
|
9525
|
-
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()")[]
|
|
9917
|
+
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()")[]
|
|
9526
9918
|
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")[]
|
|
9527
9919
|
ignoreIndirectDependencies?: boolean
|
|
9528
9920
|
}]
|
|
@@ -9746,7 +10138,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9746
10138
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9747
10139
|
version?: string
|
|
9748
10140
|
allowExperimental?: boolean
|
|
9749
|
-
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")[]
|
|
10141
|
+
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")[]
|
|
9750
10142
|
}]
|
|
9751
10143
|
// ----- node/prefer-global/buffer -----
|
|
9752
10144
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9852,6 +10244,8 @@ type OneVar = []|[(("always" | "never" | "consecutive") | {
|
|
|
9852
10244
|
var?: ("always" | "never" | "consecutive")
|
|
9853
10245
|
let?: ("always" | "never" | "consecutive")
|
|
9854
10246
|
const?: ("always" | "never" | "consecutive")
|
|
10247
|
+
using?: ("always" | "never" | "consecutive")
|
|
10248
|
+
awaitUsing?: ("always" | "never" | "consecutive")
|
|
9855
10249
|
} | {
|
|
9856
10250
|
initialized?: ("always" | "never" | "consecutive")
|
|
9857
10251
|
uninitialized?: ("always" | "never" | "consecutive")
|
|
@@ -12787,6 +13181,11 @@ type PreferReflect = []|[{
|
|
|
12787
13181
|
type PreferRegexLiterals = []|[{
|
|
12788
13182
|
disallowRedundantWrapping?: boolean
|
|
12789
13183
|
}]
|
|
13184
|
+
// ----- preserve-caught-error -----
|
|
13185
|
+
type PreserveCaughtError = []|[{
|
|
13186
|
+
|
|
13187
|
+
requireCatchParameter?: boolean
|
|
13188
|
+
}]
|
|
12790
13189
|
// ----- prettier/prettier -----
|
|
12791
13190
|
type PrettierPrettier = []|[{
|
|
12792
13191
|
[k: string]: unknown | undefined
|
|
@@ -12797,7 +13196,6 @@ type PrettierPrettier = []|[{
|
|
|
12797
13196
|
fileInfoOptions?: {
|
|
12798
13197
|
[k: string]: unknown | undefined
|
|
12799
13198
|
}
|
|
12800
|
-
[k: string]: unknown | undefined
|
|
12801
13199
|
}]
|
|
12802
13200
|
// ----- promise/always-return -----
|
|
12803
13201
|
type PromiseAlwaysReturn = []|[{
|
|
@@ -13823,6 +14221,10 @@ type UnicornNoArrayReduce = []|[{
|
|
|
13823
14221
|
type UnicornNoArrayReverse = []|[{
|
|
13824
14222
|
allowExpressionStatement?: boolean
|
|
13825
14223
|
}]
|
|
14224
|
+
// ----- unicorn/no-array-sort -----
|
|
14225
|
+
type UnicornNoArraySort = []|[{
|
|
14226
|
+
allowExpressionStatement?: boolean
|
|
14227
|
+
}]
|
|
13826
14228
|
// ----- unicorn/no-instanceof-builtins -----
|
|
13827
14229
|
type UnicornNoInstanceofBuiltins = []|[{
|
|
13828
14230
|
useErrorIsError?: boolean
|
|
@@ -14450,7 +14852,6 @@ declare function tailwindcss(options?: OptionsIsInEditor & OptionsOverrides): Pr
|
|
|
14450
14852
|
declare function toml(options?: OptionsOverrides & OptionsFiles & StyleOptions): Promise<FlatConfigItem[]>;
|
|
14451
14853
|
|
|
14452
14854
|
type TsOptions = OptionsFiles & OptionsOverrides & OptionsTypeScriptParserOptions;
|
|
14453
|
-
declare function typescriptCore(options?: TsOptions): Promise<FlatConfigItem[]>;
|
|
14454
14855
|
declare function typescript(options?: TsOptions): Promise<FlatConfigItem[]>;
|
|
14455
14856
|
|
|
14456
14857
|
declare function unicorn(options?: OptionsHasRegexp & OptionsUnicorn): FlatConfigItem[];
|
|
@@ -14539,4 +14940,4 @@ declare function ensurePackages(packages: (string | undefined)[]): void;
|
|
|
14539
14940
|
declare function composer(...items: Awaitable<FlatConfigItem[]>[]): Promise<FlatConfigItem[]>;
|
|
14540
14941
|
declare function toArray<T>(value: T | T[]): T[];
|
|
14541
14942
|
|
|
14542
|
-
export { type Awaitable, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_REACT, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type OptionsConfig, type OptionsFiles, type OptionsHasNextJs, type OptionsHasRegexp, type OptionsHasTanStackReactQuery, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypescript, type OptionsUnicorn, type ResolvedOptions, type Rules, type StyleConfig, type StyleOptions, combine, command, comments, composer, deMorgan, ensurePackages, getOverrides, hasNextJs, hasReact, hasTailwind, hasTanStackReactQuery, hasTypeScript, ignores, imports, interopDefault, isInEditorEnv, javascript, jsdoc, jsonc, markdown, ncontiero, nextJs, node, parserPlain, perfectionist, prettier, promise, react, regexp, resolveSubOptions, restrictedSyntaxJs, sortPackageJson, sortTsconfig, tailwindcss, toArray, toml, typescript,
|
|
14943
|
+
export { type Awaitable, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_REACT, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type OptionsConfig, type OptionsFiles, type OptionsHasNextJs, type OptionsHasRegexp, type OptionsHasTanStackReactQuery, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypescript, type OptionsUnicorn, type ResolvedOptions, type Rules, type StyleConfig, type StyleOptions, combine, command, comments, composer, deMorgan, ensurePackages, getOverrides, hasNextJs, hasReact, hasTailwind, hasTanStackReactQuery, hasTypeScript, ignores, imports, interopDefault, isInEditorEnv, javascript, jsdoc, jsonc, markdown, ncontiero, nextJs, node, parserPlain, perfectionist, prettier, promise, react, regexp, resolveSubOptions, restrictedSyntaxJs, sortPackageJson, sortTsconfig, tailwindcss, toArray, toml, typescript, unicorn, yml };
|