@storm-software/eslint 0.160.20 → 0.160.22
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 +21 -5
- package/package.json +4 -4
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
|
@@ -3371,12 +3371,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3371
3371
|
}
|
|
3372
3372
|
}
|
|
3373
3373
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3374
|
+
const configInput = defu3(
|
|
3375
|
+
configEnv,
|
|
3376
|
+
configFile,
|
|
3377
|
+
defaultConfig
|
|
3378
3378
|
);
|
|
3379
|
-
|
|
3379
|
+
try {
|
|
3380
|
+
result = applyDefaultConfig(
|
|
3381
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
3382
|
+
);
|
|
3383
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
3384
|
+
} catch (error) {
|
|
3385
|
+
throw new Error(
|
|
3386
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
3387
|
+
|
|
3388
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
3389
|
+
configInput
|
|
3390
|
+
)}`,
|
|
3391
|
+
{
|
|
3392
|
+
cause: error
|
|
3393
|
+
}
|
|
3394
|
+
);
|
|
3395
|
+
}
|
|
3380
3396
|
} else {
|
|
3381
3397
|
result = _static_cache.data;
|
|
3382
3398
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.160.
|
|
3
|
+
"version": "0.160.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
163
|
"@eslint/markdown": "^6.6.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
-
"@storm-software/config": "^1.125.
|
|
166
|
-
"@storm-software/config-tools": "^1.176.
|
|
165
|
+
"@storm-software/config": "^1.125.7",
|
|
166
|
+
"@storm-software/config-tools": "^1.176.8",
|
|
167
167
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
168
168
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
169
169
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -237,5 +237,5 @@
|
|
|
237
237
|
},
|
|
238
238
|
"publishConfig": { "access": "public" },
|
|
239
239
|
"sideEffects": false,
|
|
240
|
-
"gitHead": "
|
|
240
|
+
"gitHead": "b0d8f489b75626777c4ba65ba127298f9cafa3f0"
|
|
241
241
|
}
|