@storm-software/eslint 0.159.19 → 0.160.0
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
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 -->
|
|
@@ -28,17 +28,33 @@ var getFileBanner = (name = "", workspaceConfig) => {
|
|
|
28
28
|
}).join(" ");
|
|
29
29
|
}
|
|
30
30
|
const license = (process.env.STORM_LICENSE || workspaceConfig?.license || "Apache-2.0").split(" ").filter((word) => word && word.toLowerCase() !== "license").join(" ");
|
|
31
|
+
const organization = process.env.STORM_ORG_NAME || process.env.STORM_ORGANIZATION_NAME || process.env.STORM_ORG || process.env.STORM_ORGANIZATION || (workspaceConfig?.organization && (typeof workspaceConfig.organization === "string" || typeof workspaceConfig.organization.name === "string") ? typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name : "storm-software");
|
|
31
32
|
return ` -------------------------------------------------------------------
|
|
32
33
|
|
|
33
|
-
${padding}\u26A1
|
|
34
|
+
${padding}\u26A1 ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
|
|
35
|
+
if (ACRONYMS_LIST.includes(word.toUpperCase())) {
|
|
36
|
+
return word.toUpperCase();
|
|
37
|
+
}
|
|
38
|
+
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
39
|
+
}).join(" ")} ${titleName ? `- ${titleName}` : ""}
|
|
34
40
|
|
|
35
|
-
This code was released as part of ${titleName ? `the ${titleName}` :
|
|
36
|
-
|
|
41
|
+
This code was released as part of ${titleName ? `the ${titleName}` : `a ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
|
|
42
|
+
if (ACRONYMS_LIST.includes(word.toUpperCase())) {
|
|
43
|
+
return word.toUpperCase();
|
|
44
|
+
}
|
|
45
|
+
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
46
|
+
}).join(" ")}`} project. ${titleName ? titleName : "The project"}
|
|
47
|
+
is maintained by ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
|
|
48
|
+
if (ACRONYMS_LIST.includes(word.toUpperCase())) {
|
|
49
|
+
return word.toUpperCase();
|
|
50
|
+
}
|
|
51
|
+
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
52
|
+
}).join(" ")} under the ${license} license, and is
|
|
37
53
|
free for commercial and private use. For more information, please visit
|
|
38
54
|
our licensing page at ${process.env.STORM_LICENSING || workspaceConfig?.licensing || `https://stormsoftware.com/${name ? `projects/${name}/` : ""}license`}.
|
|
39
55
|
|
|
40
56
|
Website: ${process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com"}
|
|
41
|
-
Repository: ${process.env.STORM_REPOSITORY || workspaceConfig?.repository || `https://github.com
|
|
57
|
+
Repository: ${process.env.STORM_REPOSITORY || workspaceConfig?.repository || `https://github.com/${organization}${name ? `/${name}` : ""}`}
|
|
42
58
|
Documentation: ${process.env.STORM_DOCS || workspaceConfig?.docs || `https://docs.stormsoftware.com/${name ? `projects/${name}/` : ""}`}
|
|
43
59
|
Contact: ${(process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com").endsWith("/") ? (process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com").slice(-1) : process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com"}/contact
|
|
44
60
|
|
package/dist/preset.js
CHANGED
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "./chunk-S2VVDLUR.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MMEG4ETM.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IKNCTFX4.js";
|
|
18
18
|
import {
|
|
19
19
|
GLOB_ASTRO,
|
|
20
20
|
GLOB_ASTRO_TS,
|
|
@@ -2089,9 +2089,9 @@ var organizationConfigSchema = z.object({
|
|
|
2089
2089
|
}).describe("The workspace's organization details");
|
|
2090
2090
|
var stormWorkspaceConfigSchema = z.object({
|
|
2091
2091
|
$schema: z.string().trim().default(
|
|
2092
|
-
"https://
|
|
2093
|
-
).
|
|
2094
|
-
"The URL to the JSON schema file that describes the Storm configuration file"
|
|
2092
|
+
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
2093
|
+
).describe(
|
|
2094
|
+
"The URL or file path to the JSON schema file that describes the Storm configuration file"
|
|
2095
2095
|
),
|
|
2096
2096
|
extends: ExtendsSchema.optional(),
|
|
2097
2097
|
name: z.string().trim().toLowerCase().optional().describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.160.0",
|
|
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.5.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
-
"@storm-software/config": "^1.
|
|
166
|
-
"@storm-software/config-tools": "^1.174.
|
|
165
|
+
"@storm-software/config": "^1.124.1",
|
|
166
|
+
"@storm-software/config-tools": "^1.174.2",
|
|
167
167
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
168
168
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
169
169
|
"@typescript-eslint/parser": "^8.34.1",
|