@storm-software/eslint 0.48.1 → 0.50.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 +1 -1
- package/dist/preset.mjs +12 -9
- 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.mjs
CHANGED
|
@@ -12571,7 +12571,7 @@ const getFileBanner = (name = "") => {
|
|
|
12571
12571
|
if (!name) {
|
|
12572
12572
|
name = process.env.STORM_NAMESPACE || "";
|
|
12573
12573
|
}
|
|
12574
|
-
let padding = "
|
|
12574
|
+
let padding = " ";
|
|
12575
12575
|
for (let i = 0; i < name.length + 2 && padding.length > 4; i++) {
|
|
12576
12576
|
padding = padding.slice(0, -1);
|
|
12577
12577
|
}
|
|
@@ -12591,11 +12591,11 @@ ${padding}\u26A1 Storm Software ${titleName ? `- ${titleName}` : ""}
|
|
|
12591
12591
|
free for commercial and private use. For more information, please visit
|
|
12592
12592
|
our licensing page.
|
|
12593
12593
|
|
|
12594
|
-
Website:
|
|
12595
|
-
Repository:
|
|
12596
|
-
Documentation:
|
|
12597
|
-
Contact:
|
|
12598
|
-
Licensing:
|
|
12594
|
+
Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.com"}
|
|
12595
|
+
Repository: ${process.env.STORM_REPOSITORY ?? `https://github.com/storm-software${name ? `/${name}` : ""}`}
|
|
12596
|
+
Documentation: https://docs.stormsoftware.com${name ? `/projects/${name}` : ""}
|
|
12597
|
+
Contact: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.com"}/contact
|
|
12598
|
+
Licensing: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.com"}/licensing
|
|
12599
12599
|
|
|
12600
12600
|
-------------------------------------------------------------------`;
|
|
12601
12601
|
};
|
|
@@ -13033,12 +13033,15 @@ function getStormConfig(options = {
|
|
|
13033
13033
|
globals: {
|
|
13034
13034
|
...Object.fromEntries(
|
|
13035
13035
|
Object.keys(globals).flatMap(
|
|
13036
|
-
(group) => Object.keys(globals[group]).map((
|
|
13037
|
-
|
|
13038
|
-
|
|
13036
|
+
(group) => Object.keys(globals[group]).map((key) => [
|
|
13037
|
+
key,
|
|
13038
|
+
"readonly"
|
|
13039
13039
|
])
|
|
13040
13040
|
)
|
|
13041
13041
|
),
|
|
13042
|
+
...globals.browser,
|
|
13043
|
+
...globals.node,
|
|
13044
|
+
"window": "readonly",
|
|
13042
13045
|
"Storm": "readonly"
|
|
13043
13046
|
},
|
|
13044
13047
|
ecmaVersion: "latest",
|
package/package.json
CHANGED