@yunarch/config-web 0.2.5 → 0.2.6
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.
|
@@ -1468,233 +1468,233 @@ interface RuleOptions {
|
|
|
1468
1468
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/consistent-type-specifier-style.md
|
|
1472
1472
|
*/
|
|
1473
1473
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Ensure a default export is present, given a default import.
|
|
1476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/default.md
|
|
1477
1477
|
*/
|
|
1478
1478
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/dynamic-import-chunkname.md
|
|
1482
1482
|
*/
|
|
1483
1483
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/export.md
|
|
1487
1487
|
*/
|
|
1488
1488
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Ensure all exports appear after other statements.
|
|
1491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/exports-last.md
|
|
1492
1492
|
*/
|
|
1493
1493
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1494
1494
|
/**
|
|
1495
1495
|
* Ensure consistent use of file extension within the import path.
|
|
1496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/extensions.md
|
|
1497
1497
|
*/
|
|
1498
1498
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Ensure all imports appear before other statements.
|
|
1501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/first.md
|
|
1502
1502
|
*/
|
|
1503
1503
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1504
1504
|
/**
|
|
1505
1505
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1506
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/group-exports.md
|
|
1507
1507
|
*/
|
|
1508
1508
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Replaced by `import-x/first`.
|
|
1511
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1511
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/imports-first.md
|
|
1512
1512
|
* @deprecated
|
|
1513
1513
|
*/
|
|
1514
1514
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Enforce the maximum number of dependencies a module can have.
|
|
1517
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/max-dependencies.md
|
|
1518
1518
|
*/
|
|
1519
1519
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1520
1520
|
/**
|
|
1521
1521
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1522
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/named.md
|
|
1523
1523
|
*/
|
|
1524
1524
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1527
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/namespace.md
|
|
1528
1528
|
*/
|
|
1529
1529
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Enforce a newline after import statements.
|
|
1532
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/newline-after-import.md
|
|
1533
1533
|
*/
|
|
1534
1534
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Forbid import of modules using absolute paths.
|
|
1537
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-absolute-path.md
|
|
1538
1538
|
*/
|
|
1539
1539
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Forbid AMD `require` and `define` calls.
|
|
1542
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-amd.md
|
|
1543
1543
|
*/
|
|
1544
1544
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Forbid anonymous values as default exports.
|
|
1547
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-anonymous-default-export.md
|
|
1548
1548
|
*/
|
|
1549
1549
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1550
1550
|
/**
|
|
1551
1551
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1552
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-commonjs.md
|
|
1553
1553
|
*/
|
|
1554
1554
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1557
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1557
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-cycle.md
|
|
1558
1558
|
*/
|
|
1559
1559
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Forbid default exports.
|
|
1562
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1562
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-default-export.md
|
|
1563
1563
|
*/
|
|
1564
1564
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1567
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1567
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-deprecated.md
|
|
1568
1568
|
*/
|
|
1569
1569
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Forbid repeated import of the same module in multiple places.
|
|
1572
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1572
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-duplicates.md
|
|
1573
1573
|
*/
|
|
1574
1574
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Forbid `require()` calls with expressions.
|
|
1577
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1577
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-dynamic-require.md
|
|
1578
1578
|
*/
|
|
1579
1579
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Forbid empty named import blocks.
|
|
1582
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1582
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-empty-named-blocks.md
|
|
1583
1583
|
*/
|
|
1584
1584
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Forbid the use of extraneous packages.
|
|
1587
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1587
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-extraneous-dependencies.md
|
|
1588
1588
|
*/
|
|
1589
1589
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Forbid import statements with CommonJS module.exports.
|
|
1592
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1592
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-import-module-exports.md
|
|
1593
1593
|
*/
|
|
1594
1594
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Forbid importing the submodules of other modules.
|
|
1597
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1597
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-internal-modules.md
|
|
1598
1598
|
*/
|
|
1599
1599
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1602
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1602
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-mutable-exports.md
|
|
1603
1603
|
*/
|
|
1604
1604
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Forbid use of exported name as identifier of default export.
|
|
1607
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1607
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-named-as-default.md
|
|
1608
1608
|
*/
|
|
1609
1609
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Forbid use of exported name as property of default export.
|
|
1612
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1612
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-named-as-default-member.md
|
|
1613
1613
|
*/
|
|
1614
1614
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Forbid named default exports.
|
|
1617
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1617
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-named-default.md
|
|
1618
1618
|
*/
|
|
1619
1619
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1620
1620
|
/**
|
|
1621
1621
|
* Forbid named exports.
|
|
1622
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1622
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-named-export.md
|
|
1623
1623
|
*/
|
|
1624
1624
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1625
1625
|
/**
|
|
1626
1626
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1627
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1627
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-namespace.md
|
|
1628
1628
|
*/
|
|
1629
1629
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Forbid Node.js builtin modules.
|
|
1632
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1632
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-nodejs-modules.md
|
|
1633
1633
|
*/
|
|
1634
1634
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1635
1635
|
/**
|
|
1636
1636
|
* Forbid importing packages through relative paths.
|
|
1637
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1637
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-relative-packages.md
|
|
1638
1638
|
*/
|
|
1639
1639
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Forbid importing modules from parent directories.
|
|
1642
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1642
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-relative-parent-imports.md
|
|
1643
1643
|
*/
|
|
1644
1644
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Forbid importing a default export by a different name.
|
|
1647
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1647
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-rename-default.md
|
|
1648
1648
|
*/
|
|
1649
1649
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Enforce which files can be imported in a given folder.
|
|
1652
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1652
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-restricted-paths.md
|
|
1653
1653
|
*/
|
|
1654
1654
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1655
1655
|
/**
|
|
1656
1656
|
* Forbid a module from importing itself.
|
|
1657
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1657
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-self-import.md
|
|
1658
1658
|
*/
|
|
1659
1659
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Forbid unassigned imports.
|
|
1662
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1662
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-unassigned-import.md
|
|
1663
1663
|
*/
|
|
1664
1664
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Ensure imports point to a file/module that can be resolved.
|
|
1667
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1667
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-unresolved.md
|
|
1668
1668
|
*/
|
|
1669
1669
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1672
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1672
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-unused-modules.md
|
|
1673
1673
|
*/
|
|
1674
1674
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Forbid unnecessary path segments in import and require statements.
|
|
1677
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1677
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-useless-path-segments.md
|
|
1678
1678
|
*/
|
|
1679
1679
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Forbid webpack loader syntax in imports.
|
|
1682
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1682
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/no-webpack-loader-syntax.md
|
|
1683
1683
|
*/
|
|
1684
1684
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Enforce a convention in module import order.
|
|
1687
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1687
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/order.md
|
|
1688
1688
|
*/
|
|
1689
1689
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1692
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1692
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/prefer-default-export.md
|
|
1693
1693
|
*/
|
|
1694
1694
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1695
1695
|
/**
|
|
1696
1696
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1697
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.
|
|
1697
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.3/docs/rules/unambiguous.md
|
|
1698
1698
|
*/
|
|
1699
1699
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1700
1700
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ignorePatterns":["**/node_modules/","**/dist/","**/out/","**/output","**/.output","**/build/","**/*.min.*","**/.yarn/","**/.yarnrc.yml","**/package-lock.json","**/yarn.lock","**/bun.lock","**/bun.lockb","**/pnpm-lock.yaml","**/.vite-inspect","**/.vitepress/cache","**/vite.config.*.timestamp-*","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*",".pnp.*","**/.pnp","**/.pnp.js","**/.pnp.cjs","**/coverage/","**/.nyc_output/","**/__snapshots__","**/.vscode/","**/.idea/","**/.cache","**/.nuxt","**/.next","**/.svelte-kit","**/.vercel","**/.changeset","**/.turbo/","**/.DS_Store","**/Thumbs.db","**/temp","**/.temp","**/tmp","**/.tmp","**/.history","**/mockServiceWorker.js","**/CHANGELOG*.md","**/LICENSE*"],"plugins":["eslint","import","jsdoc","unicorn","vitest","react"],"rules":{"for-direction":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-unexpected-multiline":0,"no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":["error",{"args":"none","caughtErrors":"none","ignoreRestSiblings":true,"vars":"all"}],"no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error","array-callback-return":["error",{"allowImplicit":true}],"block-scoped-var":"error","curly":0,"default-case-last":"error","eqeqeq":"error","func-names":["error","as-needed"],"grouped-accessor-pairs":"error","max-lines":["warn",300],"max-params":["warn",4],"new-cap":["error",{"capIsNew":false}],"no-alert":"error","no-array-constructor":"error","no-bitwise":"error","no-caller":"error","no-console":"error","no-constructor-return":"error","no-else-return":"warn","no-eval":"error","no-extend-native":"error","no-extra-label":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"warn","no-multi-assign":"error","no-nested-ternary":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-proto":"error","no-return-assign":"error","no-script-url":"error","no-self-compare":"error","no-template-curly-in-string":"error","no-unneeded-ternary":"error","no-unused-expressions":"error","no-useless-call":"error","no-useless-concat":"error","no-useless-rename":"warn","no-var":"error","no-void":["error",{"allowAsStatement":true}],"prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"warn","prefer-promise-reject-errors":["error",{"allowEmptyReject":true}],"prefer-rest-params":"error","prefer-spread":"error","symbol-description":"error","yoda":"warn","import/namespace":"error","import/default":"error","import/no-named-as-default":"warn","import/no-named-as-default-member":"warn","import/no-duplicates":["error",{"prefer-inline":true}],"import/first":"error","import/no-absolute-path":"error","import/no-amd":"error","import/no-cycle":["error",{"ignoreExternal":false,"maxDepth":3}],"import/no-dynamic-require":"error","import/no-mutable-exports":"error","import/no-self-import":"error","jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"error","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"error","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"error","jsdoc/require-yields":"error","no-negated-condition":"off","unicorn/catch-error-name":"error","unicorn/consistent-assert":"error","unicorn/consistent-date-clone":"error","unicorn/consistent-empty-array-spread":"error","unicorn/consistent-existence-index-check":"error","unicorn/consistent-function-scoping":"error","unicorn/empty-brace-spaces":"off","unicorn/error-message":"error","unicorn/escape-case":"error","unicorn/explicit-length-check":"error","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true,"pascalCase":true}}],"unicorn/new-for-builtins":"error","unicorn/no-abusive-eslint-disable":"error","unicorn/no-accessor-recursion":"error","unicorn/no-anonymous-default-export":"error","unicorn/no-array-for-each":"error","unicorn/no-array-method-this-argument":"error","unicorn/no-array-reduce":"off","unicorn/no-await-expression-member":"error","unicorn/no-await-in-promise-methods":"error","unicorn/no-console-spaces":"error","unicorn/no-document-cookie":"error","unicorn/no-empty-file":"error","unicorn/no-for-loop":"error","unicorn/no-hex-escape":"error","unicorn/no-instanceof-builtins":"error","unicorn/no-invalid-fetch-options":"error","unicorn/no-invalid-remove-event-listener":"error","unicorn/no-lonely-if":"error","unicorn/no-magic-array-flat-depth":"error","unicorn/no-negated-condition":"error","unicorn/no-negation-in-equality-check":"error","unicorn/no-nested-ternary":"off","unicorn/no-new-array":"error","unicorn/no-new-buffer":"error","unicorn/no-null":"off","unicorn/no-object-as-default-parameter":"error","unicorn/no-process-exit":"error","unicorn/no-single-promise-in-promise-methods":"error","unicorn/no-static-only-class":"error","unicorn/no-thenable":"error","unicorn/no-this-assignment":"error","unicorn/no-typeof-undefined":"error","unicorn/no-unnecessary-array-flat-depth":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-slice-end":"error","unicorn/no-unreadable-array-destructuring":"error","unicorn/no-unreadable-iife":"error","unicorn/no-useless-fallback-in-spread":"error","unicorn/no-useless-length-check":"error","unicorn/no-useless-promise-resolve-reject":"error","unicorn/no-useless-spread":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-undefined":"error","unicorn/no-zero-fractions":"error","unicorn/number-literal-case":"off","unicorn/numeric-separators-style":"error","unicorn/prefer-add-event-listener":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-blob-reading-methods":"error","unicorn/prefer-code-point":"error","unicorn/prefer-date-now":"error","unicorn/prefer-dom-node-append":"error","unicorn/prefer-dom-node-dataset":"error","unicorn/prefer-dom-node-remove":"error","unicorn/prefer-dom-node-text-content":"error","unicorn/prefer-event-target":"error","unicorn/prefer-global-this":"error","unicorn/prefer-includes":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/prefer-math-min-max":"error","unicorn/prefer-math-trunc":"error","unicorn/prefer-modern-dom-apis":"error","unicorn/prefer-modern-math-apis":"error","unicorn/prefer-native-coercion-functions":"error","unicorn/prefer-negative-index":"error","unicorn/prefer-node-protocol":"error","unicorn/prefer-number-properties":["error",{"checkInfinity":true,"checkNaN":true}],"unicorn/prefer-object-from-entries":"error","unicorn/prefer-optional-catch-binding":"error","unicorn/prefer-prototype-methods":"error","unicorn/prefer-query-selector":"error","unicorn/prefer-reflect-apply":"error","unicorn/prefer-regexp-test":"error","unicorn/prefer-set-has":"error","unicorn/prefer-set-size":"error","unicorn/prefer-spread":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-string-replace-all":"error","unicorn/prefer-string-slice":"error","unicorn/prefer-string-starts-ends-with":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-structured-clone":"error","unicorn/prefer-type-error":"error","unicorn/require-array-join-separator":"error","unicorn/require-number-to-fixed-digits-argument":"error","unicorn/require-post-message-target-origin":"off","unicorn/switch-case-braces":"error","unicorn/text-encoding-identifier-case":"error","unicorn/throw-new-error":"error","sort-imports":"off"},"overrides":[{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-class-assign":"off","no-const-assign":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-native-nonconstructor":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-unsafe-negation":"off","no-var":"error","no-with":"off","prefer-rest-params":"error","prefer-spread":"error","@typescript-eslint/ban-ts-comment":["error",{"ts-expect-error":"allow-with-description"}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":["error",{"allowInterfaces":"always"}],"@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"off","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/consistent-type-imports":["error",{"disallowTypeAnnotations":false,"fixStyle":"separate-type-imports","prefer":"type-imports"}],"@typescript-eslint/default-param-last":"error","@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-redeclare":["error",{"builtinGlobals":false}],"@typescript-eslint/no-useless-empty-export":"warn"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-throw-literal":"off","prefer-promise-reject-errors":"off","require-await":"off"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"off","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"off","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"off","jsdoc/require-yields":"error"}},{"files":["**/__tests__/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.spec.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.test.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.bench.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.benchmark.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"vitest/expect-expect":"error","vitest/no-identical-title":"error","vitest/no-commented-out-tests":"error","vitest/valid-expect":"error","vitest/valid-describe-callback":"error","vitest/require-local-test-context-for-concurrent-snapshots":"error","vitest/no-import-node-test":"error","vitest/consistent-test-it":["error",{"fn":"it","withinDescribe":"it"}],"vitest/prefer-hooks-in-order":"error","vitest/prefer-lowercase-title":"error"}},{"files":["**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"react/jsx-no-duplicate-props":"warn","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error","react-hooks/rules-of-hooks":"error"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"react/jsx-no-duplicate-props":"off","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error"}},{"files":["**/scripts/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/tasks/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","unicorn/no-process-exit":"off"}},{"files":["**/*.d.{ts,cts,mts}"],"rules":{"@typescript-eslint/consistent-indexed-object-style":"off","import/no-duplicates":"off"}},{"files":["**/*.config.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.config.*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","@typescript-eslint/explicit-function-return-type":"off"}}]}
|
|
1
|
+
{"ignorePatterns":["**/node_modules/","**/dist/","**/out/","**/output","**/.output","**/build/","**/*.min.*","**/.yarn/","**/.yarnrc.yml","**/package-lock.json","**/yarn.lock","**/bun.lock","**/bun.lockb","**/pnpm-lock.yaml","**/.vite-inspect","**/.vitepress/cache","**/vite.config.*.timestamp-*","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*",".pnp.*","**/.pnp","**/.pnp.js","**/.pnp.cjs","**/coverage/","**/.nyc_output/","**/__snapshots__","**/.vscode/","**/.idea/","**/.cache","**/.nuxt","**/.next","**/.svelte-kit","**/.vercel","**/.changeset","**/.turbo/","**/.DS_Store","**/Thumbs.db","**/temp","**/.temp","**/tmp","**/.tmp","**/.history","**/mockServiceWorker.js","**/CHANGELOG*.md","**/LICENSE*"],"plugins":["eslint","typescript","import","jsdoc","unicorn","vitest","react"],"rules":{"for-direction":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-unexpected-multiline":0,"no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":["error",{"args":"none","caughtErrors":"none","ignoreRestSiblings":true,"vars":"all"}],"no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error","array-callback-return":["error",{"allowImplicit":true}],"block-scoped-var":"error","curly":0,"default-case-last":"error","eqeqeq":"error","func-names":["error","as-needed"],"grouped-accessor-pairs":"error","max-lines":["warn",300],"max-params":["warn",4],"new-cap":["error",{"capIsNew":false}],"no-alert":"error","no-array-constructor":"error","no-bitwise":"error","no-caller":"error","no-console":"error","no-constructor-return":"error","no-else-return":"warn","no-eval":"error","no-extend-native":"error","no-extra-label":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"warn","no-multi-assign":"error","no-nested-ternary":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-proto":"error","no-return-assign":"error","no-script-url":"error","no-self-compare":"error","no-template-curly-in-string":"error","no-unneeded-ternary":"error","no-unused-expressions":"error","no-useless-call":"error","no-useless-concat":"error","no-useless-rename":"warn","no-var":"error","no-void":["error",{"allowAsStatement":true}],"prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"warn","prefer-promise-reject-errors":["error",{"allowEmptyReject":true}],"prefer-rest-params":"error","prefer-spread":"error","symbol-description":"error","yoda":"warn","import/namespace":"error","import/default":"error","import/no-named-as-default":"warn","import/no-named-as-default-member":"warn","import/no-duplicates":["error",{"prefer-inline":true}],"import/first":"error","import/no-absolute-path":"error","import/no-amd":"error","import/no-cycle":["error",{"ignoreExternal":false,"maxDepth":3}],"import/no-dynamic-require":"error","import/no-mutable-exports":"error","import/no-self-import":"error","jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"error","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"error","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"error","jsdoc/require-yields":"error","no-negated-condition":"off","unicorn/catch-error-name":"error","unicorn/consistent-assert":"error","unicorn/consistent-date-clone":"error","unicorn/consistent-empty-array-spread":"error","unicorn/consistent-existence-index-check":"error","unicorn/consistent-function-scoping":"error","unicorn/empty-brace-spaces":"off","unicorn/error-message":"error","unicorn/escape-case":"error","unicorn/explicit-length-check":"error","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true,"pascalCase":true}}],"unicorn/new-for-builtins":"error","unicorn/no-abusive-eslint-disable":"error","unicorn/no-accessor-recursion":"error","unicorn/no-anonymous-default-export":"error","unicorn/no-array-for-each":"error","unicorn/no-array-method-this-argument":"error","unicorn/no-array-reduce":"off","unicorn/no-await-expression-member":"error","unicorn/no-await-in-promise-methods":"error","unicorn/no-console-spaces":"error","unicorn/no-document-cookie":"error","unicorn/no-empty-file":"error","unicorn/no-for-loop":"error","unicorn/no-hex-escape":"error","unicorn/no-instanceof-builtins":"error","unicorn/no-invalid-fetch-options":"error","unicorn/no-invalid-remove-event-listener":"error","unicorn/no-lonely-if":"error","unicorn/no-magic-array-flat-depth":"error","unicorn/no-negated-condition":"error","unicorn/no-negation-in-equality-check":"error","unicorn/no-nested-ternary":"off","unicorn/no-new-array":"error","unicorn/no-new-buffer":"error","unicorn/no-null":"off","unicorn/no-object-as-default-parameter":"error","unicorn/no-process-exit":"error","unicorn/no-single-promise-in-promise-methods":"error","unicorn/no-static-only-class":"error","unicorn/no-thenable":"error","unicorn/no-this-assignment":"error","unicorn/no-typeof-undefined":"error","unicorn/no-unnecessary-array-flat-depth":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-slice-end":"error","unicorn/no-unreadable-array-destructuring":"error","unicorn/no-unreadable-iife":"error","unicorn/no-useless-fallback-in-spread":"error","unicorn/no-useless-length-check":"error","unicorn/no-useless-promise-resolve-reject":"error","unicorn/no-useless-spread":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-undefined":"error","unicorn/no-zero-fractions":"error","unicorn/number-literal-case":"off","unicorn/numeric-separators-style":"error","unicorn/prefer-add-event-listener":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-blob-reading-methods":"error","unicorn/prefer-code-point":"error","unicorn/prefer-date-now":"error","unicorn/prefer-dom-node-append":"error","unicorn/prefer-dom-node-dataset":"error","unicorn/prefer-dom-node-remove":"error","unicorn/prefer-dom-node-text-content":"error","unicorn/prefer-event-target":"error","unicorn/prefer-global-this":"error","unicorn/prefer-includes":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/prefer-math-min-max":"error","unicorn/prefer-math-trunc":"error","unicorn/prefer-modern-dom-apis":"error","unicorn/prefer-modern-math-apis":"error","unicorn/prefer-native-coercion-functions":"error","unicorn/prefer-negative-index":"error","unicorn/prefer-node-protocol":"error","unicorn/prefer-number-properties":["error",{"checkInfinity":true,"checkNaN":true}],"unicorn/prefer-object-from-entries":"error","unicorn/prefer-optional-catch-binding":"error","unicorn/prefer-prototype-methods":"error","unicorn/prefer-query-selector":"error","unicorn/prefer-reflect-apply":"error","unicorn/prefer-regexp-test":"error","unicorn/prefer-set-has":"error","unicorn/prefer-set-size":"error","unicorn/prefer-spread":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-string-replace-all":"error","unicorn/prefer-string-slice":"error","unicorn/prefer-string-starts-ends-with":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-structured-clone":"error","unicorn/prefer-type-error":"error","unicorn/require-array-join-separator":"error","unicorn/require-number-to-fixed-digits-argument":"error","unicorn/require-post-message-target-origin":"off","unicorn/switch-case-braces":"error","unicorn/text-encoding-identifier-case":"error","unicorn/throw-new-error":"error","sort-imports":"off"},"overrides":[{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-class-assign":"off","no-const-assign":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-native-nonconstructor":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-unsafe-negation":"off","no-var":"error","no-with":"off","prefer-rest-params":"error","prefer-spread":"error","@typescript-eslint/ban-ts-comment":["error",{"ts-expect-error":"allow-with-description"}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":["error",{"allowInterfaces":"always"}],"@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"off","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/consistent-type-imports":["error",{"disallowTypeAnnotations":false,"fixStyle":"separate-type-imports","prefer":"type-imports"}],"@typescript-eslint/default-param-last":"error","@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-redeclare":["error",{"builtinGlobals":false}],"@typescript-eslint/no-useless-empty-export":"warn"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-throw-literal":"off","prefer-promise-reject-errors":"off","require-await":"off"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"off","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"off","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"off","jsdoc/require-yields":"error"}},{"files":["**/__tests__/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.spec.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.test.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.bench.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.benchmark.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"vitest/expect-expect":"error","vitest/no-identical-title":"error","vitest/no-commented-out-tests":"error","vitest/valid-expect":"error","vitest/valid-describe-callback":"error","vitest/require-local-test-context-for-concurrent-snapshots":"error","vitest/no-import-node-test":"error","vitest/consistent-test-it":["error",{"fn":"it","withinDescribe":"it"}],"vitest/prefer-hooks-in-order":"error","vitest/prefer-lowercase-title":"error"}},{"files":["**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"react/jsx-no-duplicate-props":"warn","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error","react-hooks/rules-of-hooks":"error"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"react/jsx-no-duplicate-props":"off","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error"}},{"files":["**/scripts/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/tasks/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","unicorn/no-process-exit":"off"}},{"files":["**/*.d.{ts,cts,mts}"],"rules":{"@typescript-eslint/consistent-indexed-object-style":"off","import/no-duplicates":"off"}},{"files":["**/*.config.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.config.*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","@typescript-eslint/explicit-function-return-type":"off"}}]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"name": "@yunarch/config-web",
|
|
5
5
|
"description": "Shared configurations for web projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"typescript-eslint": "8.32.1",
|
|
98
98
|
"eslint-plugin-unicorn": "59.0.1",
|
|
99
99
|
"eslint-plugin-perfectionist": "4.13.0",
|
|
100
|
-
"eslint-plugin-import-x": "4.13.
|
|
100
|
+
"eslint-plugin-import-x": "4.13.3",
|
|
101
101
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
102
102
|
"eslint-plugin-jsdoc": "50.6.17",
|
|
103
103
|
"eslint-config-prettier": "10.1.5",
|