@storm-software/eslint 0.163.3 → 0.163.5
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 +2 -1
- package/dist/preset.js +13 -11
- package/package.json +5 -5
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 -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Base ESLint Package](#storm-base-eslint-package)
|
package/dist/preset.js
CHANGED
|
@@ -80,7 +80,7 @@ var require_ConfigCache = __commonJS({
|
|
|
80
80
|
"use strict";
|
|
81
81
|
init_esm_shims();
|
|
82
82
|
var __import___Debug = __toESM(require_Debug());
|
|
83
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
83
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
84
84
|
if (k2 === void 0) k2 = k;
|
|
85
85
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
86
86
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -89,13 +89,13 @@ var require_ConfigCache = __commonJS({
|
|
|
89
89
|
} };
|
|
90
90
|
}
|
|
91
91
|
Object.defineProperty(o, k2, desc);
|
|
92
|
-
} : function(o, m, k, k2) {
|
|
92
|
+
}) : (function(o, m, k, k2) {
|
|
93
93
|
if (k2 === void 0) k2 = k;
|
|
94
94
|
o[k2] = m[k];
|
|
95
|
-
});
|
|
96
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
95
|
+
}));
|
|
96
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
97
97
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
98
|
-
} : function(o, v) {
|
|
98
|
+
}) : function(o, v) {
|
|
99
99
|
o["default"] = v;
|
|
100
100
|
});
|
|
101
101
|
var __importStar = exports && exports.__importStar || function(mod) {
|
|
@@ -4042,10 +4042,10 @@ var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
|
4042
4042
|
};
|
|
4043
4043
|
inst.clone = (_def, params) => clone(inst, _def, params);
|
|
4044
4044
|
inst.brand = () => inst;
|
|
4045
|
-
inst.register = (reg, meta) => {
|
|
4045
|
+
inst.register = ((reg, meta) => {
|
|
4046
4046
|
reg.add(inst, meta);
|
|
4047
4047
|
return inst;
|
|
4048
|
-
};
|
|
4048
|
+
});
|
|
4049
4049
|
});
|
|
4050
4050
|
var ZodMiniString = /* @__PURE__ */ $constructor("ZodMiniString", (inst, def) => {
|
|
4051
4051
|
$ZodString.init(inst, def);
|
|
@@ -4983,7 +4983,7 @@ var getConfigEnv = () => {
|
|
|
4983
4983
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
4984
4984
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
4985
4985
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
4986
|
-
configFile: process.env[`${prefix}
|
|
4986
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? correctPaths(process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
4987
4987
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? correctPaths(process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
4988
4988
|
directories: {
|
|
4989
4989
|
cache: process.env[`${prefix}CACHE_DIR`] ? correctPaths(process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? correctPaths(process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
@@ -5046,7 +5046,7 @@ var getConfigEnv = () => {
|
|
|
5046
5046
|
config3.licensing = `${config3.homepage}/docs`;
|
|
5047
5047
|
}
|
|
5048
5048
|
}
|
|
5049
|
-
const serializedConfig = process.env[`${prefix}
|
|
5049
|
+
const serializedConfig = process.env[`${prefix}WORKSPACE_CONFIG`];
|
|
5050
5050
|
if (serializedConfig) {
|
|
5051
5051
|
const parsed = JSON.parse(serializedConfig);
|
|
5052
5052
|
config3 = {
|
|
@@ -5279,7 +5279,9 @@ var setConfigEnv = (config3) => {
|
|
|
5279
5279
|
process.env.LANG = config3.locale ? `${config3.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
5280
5280
|
}
|
|
5281
5281
|
if (config3.configFile) {
|
|
5282
|
-
process.env[`${prefix}
|
|
5282
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = correctPaths(
|
|
5283
|
+
config3.configFile
|
|
5284
|
+
);
|
|
5283
5285
|
}
|
|
5284
5286
|
if (config3.workspaceRoot) {
|
|
5285
5287
|
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config3.workspaceRoot);
|
|
@@ -5383,7 +5385,7 @@ var setConfigEnv = (config3) => {
|
|
|
5383
5385
|
config3.skipConfigLogging
|
|
5384
5386
|
);
|
|
5385
5387
|
}
|
|
5386
|
-
process.env[`${prefix}
|
|
5388
|
+
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(config3);
|
|
5387
5389
|
for (const key of Object.keys(config3.extensions ?? {})) {
|
|
5388
5390
|
if (config3.extensions[key] && Object.keys(config3.extensions[key])) {
|
|
5389
5391
|
setExtensionEnv(key, config3.extensions[key]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.163.
|
|
3
|
+
"version": "0.163.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"@eslint/eslintrc": "^3.3.1",
|
|
164
164
|
"@eslint/markdown": "^6.6.0",
|
|
165
165
|
"@nx/eslint-plugin": "^21.3.10",
|
|
166
|
-
"@storm-software/config": "^1.128.
|
|
167
|
-
"@storm-software/config-tools": "^1.180.
|
|
166
|
+
"@storm-software/config": "^1.128.6",
|
|
167
|
+
"@storm-software/config-tools": "^1.180.7",
|
|
168
168
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
169
169
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
170
170
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
},
|
|
208
208
|
"devDependencies": {
|
|
209
209
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
210
|
-
"@eslint-react/eslint-plugin": "^1.52.
|
|
210
|
+
"@eslint-react/eslint-plugin": "^1.52.5",
|
|
211
211
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
212
212
|
"@eslint/config-inspector": "^0.5.6",
|
|
213
213
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
@@ -240,5 +240,5 @@
|
|
|
240
240
|
},
|
|
241
241
|
"publishConfig": { "access": "public" },
|
|
242
242
|
"sideEffects": false,
|
|
243
|
-
"gitHead": "
|
|
243
|
+
"gitHead": "4350a6d02b440c658e3bc88c00c8197914c23128"
|
|
244
244
|
}
|