@storm-software/eslint 0.131.0 → 0.131.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 +1 -1
- package/dist/{chunk-UAGSKXUP.js → chunk-NXBMVNV2.js} +1 -0
- package/dist/preset.js +30 -37
- package/dist/utils/ignores.js +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
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 -->
|
package/dist/preset.js
CHANGED
|
@@ -2667,34 +2667,26 @@ async function perfectionist() {
|
|
|
2667
2667
|
type: "natural"
|
|
2668
2668
|
}
|
|
2669
2669
|
],
|
|
2670
|
-
"perfectionist/sort-imports": [
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
"object",
|
|
2691
|
-
"unknown"
|
|
2692
|
-
],
|
|
2693
|
-
newlinesBetween: "ignore",
|
|
2694
|
-
order: "asc",
|
|
2695
|
-
type: "natural"
|
|
2696
|
-
}
|
|
2697
|
-
],
|
|
2670
|
+
// "perfectionist/sort-imports": [
|
|
2671
|
+
// "error",
|
|
2672
|
+
// {
|
|
2673
|
+
// groups: [
|
|
2674
|
+
// "type",
|
|
2675
|
+
// ["parent-type", "sibling-type", "index-type", "internal-type"],
|
|
2676
|
+
// "builtin",
|
|
2677
|
+
// "external",
|
|
2678
|
+
// "internal",
|
|
2679
|
+
// ["parent", "sibling", "index"],
|
|
2680
|
+
// "side-effect",
|
|
2681
|
+
// "object",
|
|
2682
|
+
// "unknown"
|
|
2683
|
+
// ],
|
|
2684
|
+
// newlinesBetween: "ignore",
|
|
2685
|
+
// order: "asc",
|
|
2686
|
+
// type: "natural"
|
|
2687
|
+
// }
|
|
2688
|
+
// ],
|
|
2689
|
+
"perfectionist/sort-imports": "off",
|
|
2698
2690
|
"perfectionist/sort-named-exports": [
|
|
2699
2691
|
"error",
|
|
2700
2692
|
{
|
|
@@ -2702,13 +2694,11 @@ async function perfectionist() {
|
|
|
2702
2694
|
type: "natural"
|
|
2703
2695
|
}
|
|
2704
2696
|
],
|
|
2705
|
-
"perfectionist/sort-named-imports": [
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
}
|
|
2711
|
-
]
|
|
2697
|
+
// "perfectionist/sort-named-imports": [
|
|
2698
|
+
// "error",
|
|
2699
|
+
// { order: "asc", type: "natural" }
|
|
2700
|
+
// ],
|
|
2701
|
+
"perfectionist/sort-named-imports": "off"
|
|
2712
2702
|
}
|
|
2713
2703
|
}
|
|
2714
2704
|
];
|
|
@@ -3423,7 +3413,6 @@ async function toml(options = {}) {
|
|
|
3423
3413
|
__name(toml, "toml");
|
|
3424
3414
|
|
|
3425
3415
|
// src/configs/typescript.ts
|
|
3426
|
-
import process2 from "node:process";
|
|
3427
3416
|
async function typescript(options = {}) {
|
|
3428
3417
|
const { componentExts = [], overrides = {}, overridesTypeAware = {}, parserOptions = {}, type = "app" } = options;
|
|
3429
3418
|
const files = options.files ?? [
|
|
@@ -3490,6 +3479,7 @@ async function typescript(options = {}) {
|
|
|
3490
3479
|
parserOptions: {
|
|
3491
3480
|
extraFileExtensions: componentExts.map((ext) => `.${ext}`),
|
|
3492
3481
|
sourceType: "module",
|
|
3482
|
+
projectService: true,
|
|
3493
3483
|
...typeAware ? {
|
|
3494
3484
|
projectService: {
|
|
3495
3485
|
allowDefaultProject: [
|
|
@@ -3497,7 +3487,7 @@ async function typescript(options = {}) {
|
|
|
3497
3487
|
],
|
|
3498
3488
|
defaultProject: tsconfigPath
|
|
3499
3489
|
},
|
|
3500
|
-
tsconfigRootDir:
|
|
3490
|
+
tsconfigRootDir: import.meta.dirname
|
|
3501
3491
|
} : {},
|
|
3502
3492
|
...parserOptions
|
|
3503
3493
|
}
|
|
@@ -3542,6 +3532,9 @@ async function typescript(options = {}) {
|
|
|
3542
3532
|
*
|
|
3543
3533
|
**************************************************************/
|
|
3544
3534
|
"ts/no-explicit-any": "off",
|
|
3535
|
+
"ts/no-unsafe-assignment": "off",
|
|
3536
|
+
"ts/no-unsafe-argument": "off",
|
|
3537
|
+
"ts/no-unsafe-member-access": "off",
|
|
3545
3538
|
"ts/no-empty-function": "off",
|
|
3546
3539
|
"ts/no-var-requires": "off",
|
|
3547
3540
|
"ts/ban-ts-comment": "off",
|
package/dist/utils/ignores.js
CHANGED
package/dist/utils/index.js
CHANGED
package/package.json
CHANGED