@storm-software/eslint 0.131.1 → 0.131.2
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/preset.js +5 -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
|
@@ -3415,6 +3415,10 @@ __name(toml, "toml");
|
|
|
3415
3415
|
// src/configs/typescript.ts
|
|
3416
3416
|
async function typescript(options = {}) {
|
|
3417
3417
|
const { componentExts = [], overrides = {}, overridesTypeAware = {}, parserOptions = {}, type = "app" } = options;
|
|
3418
|
+
let tsconfigRootDir = process.cwd();
|
|
3419
|
+
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
3420
|
+
tsconfigRootDir = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
|
|
3421
|
+
}
|
|
3418
3422
|
const files = options.files ?? [
|
|
3419
3423
|
GLOB_TS,
|
|
3420
3424
|
GLOB_TSX,
|
|
@@ -3487,7 +3491,7 @@ async function typescript(options = {}) {
|
|
|
3487
3491
|
],
|
|
3488
3492
|
defaultProject: tsconfigPath
|
|
3489
3493
|
},
|
|
3490
|
-
tsconfigRootDir
|
|
3494
|
+
tsconfigRootDir
|
|
3491
3495
|
} : {},
|
|
3492
3496
|
...parserOptions
|
|
3493
3497
|
}
|
package/package.json
CHANGED