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