@storm-software/eslint 0.147.0 → 0.148.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{chunk-YNODBJNX.js → chunk-CA7PWCVJ.js} +1 -1
- package/dist/{chunk-QAXC3XSW.js → chunk-HTYZKOBI.js} +2 -1
- package/dist/preset.js +2 -2
- package/dist/types.d.ts +219 -143
- package/dist/utils/banner-plugin.js +2 -2
- package/dist/utils/get-file-banner.js +1 -1
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Base ESLint Package](#storm-base-eslint-package)
|
|
@@ -26,7 +26,7 @@ var getFileBanner = /* @__PURE__ */ __name((repositoryName = "") => {
|
|
|
26
26
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
27
27
|
}).join(" ");
|
|
28
28
|
}
|
|
29
|
-
const license = (process.env.STORM_LICENSE ?? "Apache-2.0")
|
|
29
|
+
const license = (process.env.STORM_LICENSE ?? "Apache-2.0").split(" ").filter((word) => word && word.toLowerCase() !== "license").join(" ");
|
|
30
30
|
return ` -------------------------------------------------------------------
|
|
31
31
|
|
|
32
32
|
${padding}\u26A1 Storm Software ${titleName ? `- ${titleName}` : ""}
|
|
@@ -40,6 +40,7 @@ ${padding}\u26A1 Storm Software ${titleName ? `- ${titleName}` : ""}
|
|
|
40
40
|
Repository: ${process.env.STORM_REPOSITORY ?? `https://github.com/storm-software${repositoryName ? `/${repositoryName}` : ""}`}
|
|
41
41
|
Documentation: ${process.env.STORM_DOCS ? process.env.STORM_DOCS : `https://stormsoftware.com/${repositoryName ? `projects/${repositoryName}/` : ""}docs`}
|
|
42
42
|
Contact: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.com"}/contact
|
|
43
|
+
|
|
43
44
|
SPDX-License-Identifier: ${license}
|
|
44
45
|
|
|
45
46
|
------------------------------------------------------------------- `;
|
package/dist/preset.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1444,233 +1444,233 @@ Backward pagination arguments
|
|
|
1444
1444
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1447
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/consistent-type-specifier-style.md
|
|
1448
1448
|
*/
|
|
1449
1449
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Ensure a default export is present, given a default import.
|
|
1452
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/default.md
|
|
1453
1453
|
*/
|
|
1454
1454
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1457
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/dynamic-import-chunkname.md
|
|
1458
1458
|
*/
|
|
1459
1459
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1462
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/export.md
|
|
1463
1463
|
*/
|
|
1464
1464
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Ensure all exports appear after other statements.
|
|
1467
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/exports-last.md
|
|
1468
1468
|
*/
|
|
1469
1469
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Ensure consistent use of file extension within the import path.
|
|
1472
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/extensions.md
|
|
1473
1473
|
*/
|
|
1474
1474
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Ensure all imports appear before other statements.
|
|
1477
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/first.md
|
|
1478
1478
|
*/
|
|
1479
1479
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1482
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/group-exports.md
|
|
1483
1483
|
*/
|
|
1484
1484
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Replaced by `import-x/first`.
|
|
1487
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/imports-first.md
|
|
1488
1488
|
* @deprecated
|
|
1489
1489
|
*/
|
|
1490
1490
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Enforce the maximum number of dependencies a module can have.
|
|
1493
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1493
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/max-dependencies.md
|
|
1494
1494
|
*/
|
|
1495
1495
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1498
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1498
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/named.md
|
|
1499
1499
|
*/
|
|
1500
1500
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1503
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1503
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/namespace.md
|
|
1504
1504
|
*/
|
|
1505
1505
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Enforce a newline after import statements.
|
|
1508
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1508
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/newline-after-import.md
|
|
1509
1509
|
*/
|
|
1510
1510
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Forbid import of modules using absolute paths.
|
|
1513
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1513
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-absolute-path.md
|
|
1514
1514
|
*/
|
|
1515
1515
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Forbid AMD `require` and `define` calls.
|
|
1518
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1518
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-amd.md
|
|
1519
1519
|
*/
|
|
1520
1520
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Forbid anonymous values as default exports.
|
|
1523
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1523
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-anonymous-default-export.md
|
|
1524
1524
|
*/
|
|
1525
1525
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1528
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1528
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-commonjs.md
|
|
1529
1529
|
*/
|
|
1530
1530
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1533
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1533
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-cycle.md
|
|
1534
1534
|
*/
|
|
1535
1535
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1536
1536
|
/**
|
|
1537
1537
|
* Forbid default exports.
|
|
1538
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1538
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-default-export.md
|
|
1539
1539
|
*/
|
|
1540
1540
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1543
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1543
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-deprecated.md
|
|
1544
1544
|
*/
|
|
1545
1545
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Forbid repeated import of the same module in multiple places.
|
|
1548
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1548
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-duplicates.md
|
|
1549
1549
|
*/
|
|
1550
1550
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Forbid `require()` calls with expressions.
|
|
1553
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1553
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-dynamic-require.md
|
|
1554
1554
|
*/
|
|
1555
1555
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1556
1556
|
/**
|
|
1557
1557
|
* Forbid empty named import blocks.
|
|
1558
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1558
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-empty-named-blocks.md
|
|
1559
1559
|
*/
|
|
1560
1560
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Forbid the use of extraneous packages.
|
|
1563
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1563
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-extraneous-dependencies.md
|
|
1564
1564
|
*/
|
|
1565
1565
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1566
1566
|
/**
|
|
1567
1567
|
* Forbid import statements with CommonJS module.exports.
|
|
1568
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1568
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-import-module-exports.md
|
|
1569
1569
|
*/
|
|
1570
1570
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1571
1571
|
/**
|
|
1572
1572
|
* Forbid importing the submodules of other modules.
|
|
1573
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1573
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-internal-modules.md
|
|
1574
1574
|
*/
|
|
1575
1575
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1576
1576
|
/**
|
|
1577
1577
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1578
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-mutable-exports.md
|
|
1579
1579
|
*/
|
|
1580
1580
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Forbid use of exported name as identifier of default export.
|
|
1583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1583
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default.md
|
|
1584
1584
|
*/
|
|
1585
1585
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Forbid use of exported name as property of default export.
|
|
1588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1588
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-as-default-member.md
|
|
1589
1589
|
*/
|
|
1590
1590
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Forbid named default exports.
|
|
1593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1593
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-default.md
|
|
1594
1594
|
*/
|
|
1595
1595
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Forbid named exports.
|
|
1598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1598
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-named-export.md
|
|
1599
1599
|
*/
|
|
1600
1600
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1601
1601
|
/**
|
|
1602
1602
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1603
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-namespace.md
|
|
1604
1604
|
*/
|
|
1605
1605
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Forbid Node.js builtin modules.
|
|
1608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1608
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-nodejs-modules.md
|
|
1609
1609
|
*/
|
|
1610
1610
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Forbid importing packages through relative paths.
|
|
1613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1613
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-packages.md
|
|
1614
1614
|
*/
|
|
1615
1615
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Forbid importing modules from parent directories.
|
|
1618
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1618
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-relative-parent-imports.md
|
|
1619
1619
|
*/
|
|
1620
1620
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Forbid importing a default export by a different name.
|
|
1623
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1623
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-rename-default.md
|
|
1624
1624
|
*/
|
|
1625
1625
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Enforce which files can be imported in a given folder.
|
|
1628
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1628
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-restricted-paths.md
|
|
1629
1629
|
*/
|
|
1630
1630
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Forbid a module from importing itself.
|
|
1633
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1633
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-self-import.md
|
|
1634
1634
|
*/
|
|
1635
1635
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Forbid unassigned imports.
|
|
1638
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1638
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unassigned-import.md
|
|
1639
1639
|
*/
|
|
1640
1640
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Ensure imports point to a file/module that can be resolved.
|
|
1643
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1643
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unresolved.md
|
|
1644
1644
|
*/
|
|
1645
1645
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1648
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1648
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-unused-modules.md
|
|
1649
1649
|
*/
|
|
1650
1650
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Forbid unnecessary path segments in import and require statements.
|
|
1653
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1653
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-useless-path-segments.md
|
|
1654
1654
|
*/
|
|
1655
1655
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Forbid webpack loader syntax in imports.
|
|
1658
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1658
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/no-webpack-loader-syntax.md
|
|
1659
1659
|
*/
|
|
1660
1660
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Enforce a convention in module import order.
|
|
1663
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1663
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/order.md
|
|
1664
1664
|
*/
|
|
1665
1665
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1668
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1668
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/prefer-default-export.md
|
|
1669
1669
|
*/
|
|
1670
1670
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1673
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1673
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.0/docs/rules/unambiguous.md
|
|
1674
1674
|
*/
|
|
1675
1675
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1676
1676
|
/**
|
|
@@ -2448,30 +2448,37 @@ Backward pagination arguments
|
|
|
2448
2448
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Require languages for fenced code blocks
|
|
2451
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
2451
2452
|
*/
|
|
2452
2453
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
2453
2454
|
/**
|
|
2454
2455
|
* Enforce heading levels increment by one
|
|
2456
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2455
2457
|
*/
|
|
2456
2458
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
2457
2459
|
/**
|
|
2458
2460
|
* Disallow duplicate headings in the same document
|
|
2461
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
2459
2462
|
*/
|
|
2460
2463
|
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
2461
2464
|
/**
|
|
2462
2465
|
* Disallow empty links
|
|
2466
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
2463
2467
|
*/
|
|
2464
2468
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
2465
2469
|
/**
|
|
2466
2470
|
* Disallow HTML tags
|
|
2471
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
2467
2472
|
*/
|
|
2468
2473
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
2469
2474
|
/**
|
|
2470
2475
|
* Disallow invalid label references
|
|
2476
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
2471
2477
|
*/
|
|
2472
2478
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
2473
2479
|
/**
|
|
2474
2480
|
* Disallow missing label references
|
|
2481
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2475
2482
|
*/
|
|
2476
2483
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
2477
2484
|
/**
|
|
@@ -4143,7 +4150,7 @@ Backward pagination arguments
|
|
|
4143
4150
|
*/
|
|
4144
4151
|
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
4145
4152
|
/**
|
|
4146
|
-
* Disallow class components.
|
|
4153
|
+
* Disallow class components except for error boundaries.
|
|
4147
4154
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
4148
4155
|
*/
|
|
4149
4156
|
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
@@ -4242,6 +4249,11 @@ Backward pagination arguments
|
|
|
4242
4249
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
4243
4250
|
*/
|
|
4244
4251
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
4252
|
+
/**
|
|
4253
|
+
* Prevents incorrect usage of `captureOwnerStack`.
|
|
4254
|
+
* @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
|
|
4255
|
+
*/
|
|
4256
|
+
'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>
|
|
4245
4257
|
/**
|
|
4246
4258
|
* Disallow nesting component definitions inside other components.
|
|
4247
4259
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
@@ -4252,6 +4264,11 @@ Backward pagination arguments
|
|
|
4252
4264
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
4253
4265
|
*/
|
|
4254
4266
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
4267
|
+
/**
|
|
4268
|
+
* Disallow nesting lazy component declarations inside other components.
|
|
4269
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
4270
|
+
*/
|
|
4271
|
+
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>
|
|
4255
4272
|
/**
|
|
4256
4273
|
* Disallow `propTypes` in favor of TypeScript or another type-checking solution.
|
|
4257
4274
|
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
@@ -4268,7 +4285,7 @@ Backward pagination arguments
|
|
|
4268
4285
|
*/
|
|
4269
4286
|
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
4270
4287
|
/**
|
|
4271
|
-
*
|
|
4288
|
+
* Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
|
|
4272
4289
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
4273
4290
|
*/
|
|
4274
4291
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
@@ -4278,7 +4295,7 @@ Backward pagination arguments
|
|
|
4278
4295
|
*/
|
|
4279
4296
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
4280
4297
|
/**
|
|
4281
|
-
*
|
|
4298
|
+
* Replaces string refs with callback refs.
|
|
4282
4299
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
4283
4300
|
*/
|
|
4284
4301
|
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
@@ -5651,6 +5668,11 @@ Backward pagination arguments
|
|
|
5651
5668
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
|
|
5652
5669
|
*/
|
|
5653
5670
|
'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
5671
|
+
/**
|
|
5672
|
+
* enforce using a function as a describe title over an equivalent string
|
|
5673
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-describe-function-title.md
|
|
5674
|
+
*/
|
|
5675
|
+
'test/prefer-describe-function-title'?: Linter.RuleEntry<[]>
|
|
5654
5676
|
/**
|
|
5655
5677
|
* enforce using `each` rather than manual loops
|
|
5656
5678
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
|
|
@@ -7592,6 +7614,8 @@ type CspellSpellchecker = []|[{
|
|
|
7592
7614
|
|
|
7593
7615
|
description?: string
|
|
7594
7616
|
|
|
7617
|
+
ignoreForbiddenWords?: boolean
|
|
7618
|
+
|
|
7595
7619
|
name: string
|
|
7596
7620
|
|
|
7597
7621
|
noSuggest?: boolean
|
|
@@ -11692,96 +11716,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11692
11716
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11693
11717
|
})[]
|
|
11694
11718
|
}]
|
|
11695
|
-
// ----- perfectionist/sort-imports -----
|
|
11696
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
11697
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
11698
|
-
|
|
11699
|
-
fallbackSort?: {
|
|
11700
|
-
|
|
11701
|
-
order?: ("asc" | "desc")
|
|
11702
|
-
|
|
11703
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11704
|
-
[k: string]: unknown | undefined
|
|
11705
|
-
}
|
|
11706
|
-
|
|
11707
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11708
|
-
|
|
11709
|
-
ignoreCase?: boolean
|
|
11710
|
-
|
|
11711
|
-
alphabet?: string
|
|
11712
|
-
|
|
11713
|
-
locales?: (string | string[])
|
|
11714
|
-
|
|
11715
|
-
order?: ("asc" | "desc")
|
|
11716
|
-
|
|
11717
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11718
|
-
|
|
11719
|
-
customGroups?: {
|
|
11720
|
-
|
|
11721
|
-
value?: {
|
|
11722
|
-
[k: string]: unknown | undefined
|
|
11723
|
-
}
|
|
11724
|
-
|
|
11725
|
-
type?: {
|
|
11726
|
-
[k: string]: unknown | undefined
|
|
11727
|
-
}
|
|
11728
|
-
}
|
|
11729
|
-
|
|
11730
|
-
maxLineLength?: number
|
|
11731
|
-
|
|
11732
|
-
sortSideEffects?: boolean
|
|
11733
|
-
|
|
11734
|
-
environment?: ("node" | "bun")
|
|
11735
|
-
|
|
11736
|
-
tsconfigRootDir?: string
|
|
11737
|
-
|
|
11738
|
-
partitionByComment?: (boolean | (({
|
|
11739
|
-
pattern?: string
|
|
11740
|
-
flags?: string
|
|
11741
|
-
} | string)[] | ({
|
|
11742
|
-
pattern?: string
|
|
11743
|
-
flags?: string
|
|
11744
|
-
} | string)) | {
|
|
11745
|
-
block?: (boolean | (({
|
|
11746
|
-
pattern?: string
|
|
11747
|
-
flags?: string
|
|
11748
|
-
} | string)[] | ({
|
|
11749
|
-
pattern?: string
|
|
11750
|
-
flags?: string
|
|
11751
|
-
} | string)))
|
|
11752
|
-
line?: (boolean | (({
|
|
11753
|
-
pattern?: string
|
|
11754
|
-
flags?: string
|
|
11755
|
-
} | string)[] | ({
|
|
11756
|
-
pattern?: string
|
|
11757
|
-
flags?: string
|
|
11758
|
-
} | string)))
|
|
11759
|
-
})
|
|
11760
|
-
|
|
11761
|
-
partitionByNewLine?: boolean
|
|
11762
|
-
|
|
11763
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11764
|
-
|
|
11765
|
-
internalPattern?: (({
|
|
11766
|
-
pattern?: string
|
|
11767
|
-
flags?: string
|
|
11768
|
-
} | string)[] | ({
|
|
11769
|
-
pattern?: string
|
|
11770
|
-
flags?: string
|
|
11771
|
-
} | string))
|
|
11772
|
-
|
|
11773
|
-
groups?: (string | string[] | {
|
|
11774
|
-
|
|
11775
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11776
|
-
})[]
|
|
11777
|
-
})
|
|
11778
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
11779
|
-
[k: string]: unknown | undefined
|
|
11780
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
11781
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
11782
|
-
type: "line-length"
|
|
11783
|
-
[k: string]: unknown | undefined
|
|
11784
|
-
}
|
|
11785
11719
|
// ----- perfectionist/sort-interfaces -----
|
|
11786
11720
|
type PerfectionistSortInterfaces = {
|
|
11787
11721
|
|
|
@@ -12394,7 +12328,7 @@ type PerfectionistSortModules = []|[{
|
|
|
12394
12328
|
})[]
|
|
12395
12329
|
}]
|
|
12396
12330
|
// ----- perfectionist/sort-named-exports -----
|
|
12397
|
-
type PerfectionistSortNamedExports =
|
|
12331
|
+
type PerfectionistSortNamedExports = {
|
|
12398
12332
|
|
|
12399
12333
|
fallbackSort?: {
|
|
12400
12334
|
|
|
@@ -12420,6 +12354,68 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12420
12354
|
|
|
12421
12355
|
ignoreAlias?: boolean
|
|
12422
12356
|
|
|
12357
|
+
customGroups?: ({
|
|
12358
|
+
|
|
12359
|
+
newlinesInside?: ("always" | "never")
|
|
12360
|
+
|
|
12361
|
+
fallbackSort?: {
|
|
12362
|
+
|
|
12363
|
+
order?: ("asc" | "desc")
|
|
12364
|
+
|
|
12365
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12366
|
+
[k: string]: unknown | undefined
|
|
12367
|
+
}
|
|
12368
|
+
|
|
12369
|
+
groupName?: string
|
|
12370
|
+
|
|
12371
|
+
order?: ("asc" | "desc")
|
|
12372
|
+
|
|
12373
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12374
|
+
anyOf?: {
|
|
12375
|
+
|
|
12376
|
+
modifiers?: ("value" | "type")[]
|
|
12377
|
+
|
|
12378
|
+
selector?: "export"
|
|
12379
|
+
|
|
12380
|
+
elementNamePattern?: (({
|
|
12381
|
+
pattern?: string
|
|
12382
|
+
flags?: string
|
|
12383
|
+
} | string)[] | ({
|
|
12384
|
+
pattern?: string
|
|
12385
|
+
flags?: string
|
|
12386
|
+
} | string))
|
|
12387
|
+
}[]
|
|
12388
|
+
} | {
|
|
12389
|
+
|
|
12390
|
+
newlinesInside?: ("always" | "never")
|
|
12391
|
+
|
|
12392
|
+
fallbackSort?: {
|
|
12393
|
+
|
|
12394
|
+
order?: ("asc" | "desc")
|
|
12395
|
+
|
|
12396
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12397
|
+
[k: string]: unknown | undefined
|
|
12398
|
+
}
|
|
12399
|
+
|
|
12400
|
+
groupName?: string
|
|
12401
|
+
|
|
12402
|
+
order?: ("asc" | "desc")
|
|
12403
|
+
|
|
12404
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12405
|
+
|
|
12406
|
+
modifiers?: ("value" | "type")[]
|
|
12407
|
+
|
|
12408
|
+
selector?: "export"
|
|
12409
|
+
|
|
12410
|
+
elementNamePattern?: (({
|
|
12411
|
+
pattern?: string
|
|
12412
|
+
flags?: string
|
|
12413
|
+
} | string)[] | ({
|
|
12414
|
+
pattern?: string
|
|
12415
|
+
flags?: string
|
|
12416
|
+
} | string))
|
|
12417
|
+
})[]
|
|
12418
|
+
|
|
12423
12419
|
partitionByComment?: (boolean | (({
|
|
12424
12420
|
pattern?: string
|
|
12425
12421
|
flags?: string
|
|
@@ -12444,9 +12440,16 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12444
12440
|
})
|
|
12445
12441
|
|
|
12446
12442
|
partitionByNewLine?: boolean
|
|
12447
|
-
|
|
12443
|
+
|
|
12444
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12445
|
+
|
|
12446
|
+
groups?: (string | string[] | {
|
|
12447
|
+
|
|
12448
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12449
|
+
})[]
|
|
12450
|
+
}[]
|
|
12448
12451
|
// ----- perfectionist/sort-named-imports -----
|
|
12449
|
-
type PerfectionistSortNamedImports =
|
|
12452
|
+
type PerfectionistSortNamedImports = {
|
|
12450
12453
|
|
|
12451
12454
|
fallbackSort?: {
|
|
12452
12455
|
|
|
@@ -12472,6 +12475,68 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
12472
12475
|
|
|
12473
12476
|
ignoreAlias?: boolean
|
|
12474
12477
|
|
|
12478
|
+
customGroups?: ({
|
|
12479
|
+
|
|
12480
|
+
newlinesInside?: ("always" | "never")
|
|
12481
|
+
|
|
12482
|
+
fallbackSort?: {
|
|
12483
|
+
|
|
12484
|
+
order?: ("asc" | "desc")
|
|
12485
|
+
|
|
12486
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12487
|
+
[k: string]: unknown | undefined
|
|
12488
|
+
}
|
|
12489
|
+
|
|
12490
|
+
groupName?: string
|
|
12491
|
+
|
|
12492
|
+
order?: ("asc" | "desc")
|
|
12493
|
+
|
|
12494
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12495
|
+
anyOf?: {
|
|
12496
|
+
|
|
12497
|
+
modifiers?: ("value" | "type")[]
|
|
12498
|
+
|
|
12499
|
+
selector?: "import"
|
|
12500
|
+
|
|
12501
|
+
elementNamePattern?: (({
|
|
12502
|
+
pattern?: string
|
|
12503
|
+
flags?: string
|
|
12504
|
+
} | string)[] | ({
|
|
12505
|
+
pattern?: string
|
|
12506
|
+
flags?: string
|
|
12507
|
+
} | string))
|
|
12508
|
+
}[]
|
|
12509
|
+
} | {
|
|
12510
|
+
|
|
12511
|
+
newlinesInside?: ("always" | "never")
|
|
12512
|
+
|
|
12513
|
+
fallbackSort?: {
|
|
12514
|
+
|
|
12515
|
+
order?: ("asc" | "desc")
|
|
12516
|
+
|
|
12517
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12518
|
+
[k: string]: unknown | undefined
|
|
12519
|
+
}
|
|
12520
|
+
|
|
12521
|
+
groupName?: string
|
|
12522
|
+
|
|
12523
|
+
order?: ("asc" | "desc")
|
|
12524
|
+
|
|
12525
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12526
|
+
|
|
12527
|
+
modifiers?: ("value" | "type")[]
|
|
12528
|
+
|
|
12529
|
+
selector?: "import"
|
|
12530
|
+
|
|
12531
|
+
elementNamePattern?: (({
|
|
12532
|
+
pattern?: string
|
|
12533
|
+
flags?: string
|
|
12534
|
+
} | string)[] | ({
|
|
12535
|
+
pattern?: string
|
|
12536
|
+
flags?: string
|
|
12537
|
+
} | string))
|
|
12538
|
+
})[]
|
|
12539
|
+
|
|
12475
12540
|
partitionByComment?: (boolean | (({
|
|
12476
12541
|
pattern?: string
|
|
12477
12542
|
flags?: string
|
|
@@ -12496,7 +12561,14 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
12496
12561
|
})
|
|
12497
12562
|
|
|
12498
12563
|
partitionByNewLine?: boolean
|
|
12499
|
-
|
|
12564
|
+
|
|
12565
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12566
|
+
|
|
12567
|
+
groups?: (string | string[] | {
|
|
12568
|
+
|
|
12569
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12570
|
+
})[]
|
|
12571
|
+
}[]
|
|
12500
12572
|
// ----- perfectionist/sort-object-types -----
|
|
12501
12573
|
type PerfectionistSortObjectTypes = {
|
|
12502
12574
|
|
|
@@ -15674,6 +15746,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
15674
15746
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
15675
15747
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
|
15676
15748
|
|
|
15749
|
+
checkLiteralConstAssertions?: boolean
|
|
15750
|
+
|
|
15677
15751
|
typesToIgnore?: string[]
|
|
15678
15752
|
}]
|
|
15679
15753
|
// ----- ts/no-unused-expressions -----
|
|
@@ -16350,6 +16424,7 @@ type YamlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "ne
|
|
|
16350
16424
|
type YamlIndent = []|[number]|[number, {
|
|
16351
16425
|
indentBlockSequences?: boolean
|
|
16352
16426
|
indicatorValueIndent?: number
|
|
16427
|
+
alignMultilineFlowScalars?: boolean
|
|
16353
16428
|
}]
|
|
16354
16429
|
// ----- yaml/key-name-casing -----
|
|
16355
16430
|
type YamlKeyNameCasing = []|[{
|
|
@@ -16562,6 +16637,7 @@ type YmlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "nev
|
|
|
16562
16637
|
type YmlIndent = []|[number]|[number, {
|
|
16563
16638
|
indentBlockSequences?: boolean
|
|
16564
16639
|
indicatorValueIndent?: number
|
|
16640
|
+
alignMultilineFlowScalars?: boolean
|
|
16565
16641
|
}]
|
|
16566
16642
|
// ----- yml/key-name-casing -----
|
|
16567
16643
|
type YmlKeyNameCasing = []|[{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.148.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -157,77 +157,77 @@
|
|
|
157
157
|
},
|
|
158
158
|
"dependencies": {
|
|
159
159
|
"@antfu/install-pkg": "^1.0.0",
|
|
160
|
-
"@clack/prompts": "^0.10.
|
|
161
|
-
"@cspell/eslint-plugin": "^8.
|
|
162
|
-
"@eslint/eslintrc": "^3.
|
|
163
|
-
"@eslint/markdown": "^6.
|
|
160
|
+
"@clack/prompts": "^0.10.1",
|
|
161
|
+
"@cspell/eslint-plugin": "^8.19.3",
|
|
162
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
163
|
+
"@eslint/markdown": "^6.4.0",
|
|
164
164
|
"@nx/eslint-plugin": "20.8.0",
|
|
165
|
-
"@stylistic/eslint-plugin": "^4.
|
|
166
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
167
|
-
"@typescript-eslint/parser": "^8.
|
|
168
|
-
"@typescript-eslint/utils": "^8.
|
|
169
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
165
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
166
|
+
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
167
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
168
|
+
"@typescript-eslint/utils": "^8.31.1",
|
|
169
|
+
"@vitest/eslint-plugin": "^1.1.43",
|
|
170
170
|
"chalk": "^4.1.2",
|
|
171
171
|
"defu": "6.1.4",
|
|
172
172
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
173
|
-
"eslint-config-prettier": "^10.
|
|
173
|
+
"eslint-config-prettier": "^10.1.2",
|
|
174
174
|
"eslint-flat-config-utils": "^2.0.1",
|
|
175
175
|
"eslint-merge-processors": "^2.0.0",
|
|
176
|
-
"eslint-plugin-import-x": "^4.
|
|
177
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
178
|
-
"eslint-plugin-json": "^4.0.
|
|
179
|
-
"eslint-plugin-jsonc": "^2.
|
|
180
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
176
|
+
"eslint-plugin-import-x": "^4.11.0",
|
|
177
|
+
"eslint-plugin-jsdoc": "^50.6.11",
|
|
178
|
+
"eslint-plugin-json": "^4.0.1",
|
|
179
|
+
"eslint-plugin-jsonc": "^2.20.0",
|
|
180
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
181
181
|
"eslint-plugin-markdown": "^5.1.0",
|
|
182
182
|
"eslint-plugin-markdownlint": "^0.6.0",
|
|
183
|
-
"eslint-plugin-mdx": "^3.1
|
|
184
|
-
"eslint-plugin-n": "^17.
|
|
183
|
+
"eslint-plugin-mdx": "^3.4.1",
|
|
184
|
+
"eslint-plugin-n": "^17.17.0",
|
|
185
185
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
186
186
|
"eslint-plugin-no-secrets": "^2.2.1",
|
|
187
187
|
"eslint-plugin-paths": "^1.1.0",
|
|
188
|
-
"eslint-plugin-perfectionist": "^4.
|
|
188
|
+
"eslint-plugin-perfectionist": "^4.12.3",
|
|
189
189
|
"eslint-plugin-pnpm": "0.3.0",
|
|
190
|
-
"eslint-plugin-prettier": "^5.2.
|
|
190
|
+
"eslint-plugin-prettier": "^5.2.6",
|
|
191
191
|
"eslint-plugin-regexp": "^2.7.0",
|
|
192
192
|
"eslint-plugin-toml": "^0.12.0",
|
|
193
193
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
194
194
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
195
195
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
196
|
-
"eslint-plugin-yml": "^1.
|
|
196
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
197
197
|
"globals": "^16.0.0",
|
|
198
198
|
"jsonc-eslint-parser": "^2.4.0",
|
|
199
|
-
"local-pkg": "^1.
|
|
199
|
+
"local-pkg": "^1.1.1",
|
|
200
200
|
"parse-gitignore": "^2.0.0",
|
|
201
201
|
"toml-eslint-parser": "^0.10.0",
|
|
202
|
-
"yaml-eslint-parser": "^1.
|
|
202
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
203
203
|
},
|
|
204
204
|
"devDependencies": {
|
|
205
|
-
"@eslint-community/eslint-utils": "^4.
|
|
206
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
205
|
+
"@eslint-community/eslint-utils": "^4.6.1",
|
|
206
|
+
"@eslint-react/eslint-plugin": "^1.48.5",
|
|
207
207
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
208
|
-
"@eslint/config-inspector": "^0.5.
|
|
209
|
-
"@graphql-eslint/eslint-plugin": "^4.
|
|
210
|
-
"@next/eslint-plugin-next": "^15.
|
|
208
|
+
"@eslint/config-inspector": "^0.5.6",
|
|
209
|
+
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
210
|
+
"@next/eslint-plugin-next": "^15.3.1",
|
|
211
211
|
"@nx/eslint": "20.8.0",
|
|
212
212
|
"@prettier/plugin-xml": "^3.4.1",
|
|
213
|
-
"@stylistic/eslint-plugin-migrate": "^4.
|
|
213
|
+
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
214
214
|
"@types/eslint": "^9.6.1",
|
|
215
215
|
"@types/eslint__js": "^8.42.3",
|
|
216
216
|
"@types/node": "^22.10.2",
|
|
217
217
|
"@unocss/eslint-plugin": "^65.5.0",
|
|
218
|
-
"astro-eslint-parser": "^1.2.
|
|
218
|
+
"astro-eslint-parser": "^1.2.2",
|
|
219
219
|
"esbuild": "^0.25.0",
|
|
220
220
|
"eslint": "^9.20.0",
|
|
221
221
|
"eslint-plugin-astro": "^1.3.1",
|
|
222
222
|
"eslint-plugin-format": "^1.0.1",
|
|
223
223
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
224
|
-
"eslint-plugin-react-hooks": "^5.
|
|
224
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
225
225
|
"eslint-plugin-react-native": "^5.0.0",
|
|
226
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
226
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
227
227
|
"eslint-plugin-relay": "^1.8.3",
|
|
228
|
-
"eslint-plugin-storybook": "^0.11.
|
|
228
|
+
"eslint-plugin-storybook": "^0.11.6",
|
|
229
229
|
"eslint-typegen": "^1.0.0",
|
|
230
|
-
"graphql": "^
|
|
230
|
+
"graphql": "^16.11.0",
|
|
231
231
|
"prettier-plugin-astro": "^0.14.1",
|
|
232
232
|
"tsup": "8.4.0",
|
|
233
233
|
"tsx": "^4.19.2",
|