@storm-software/eslint 0.163.4 → 0.163.6
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/{chunk-TJ47LVUP.js → chunk-3AIKN3AO.js} +2 -2
- package/dist/{chunk-N6Y325DQ.js → chunk-BKJP753I.js} +1 -1
- package/dist/{chunk-HMONPZQV.js → chunk-MTQ4IAJI.js} +2 -2
- package/dist/{chunk-4T2VGUKQ.js → chunk-OPXMPTGX.js} +1 -1
- package/dist/{chunk-D7COKLND.js → chunk-T53XN5VC.js} +1 -1
- package/dist/{chunk-VQHWUYQL.js → chunk-VOWBWL73.js} +2 -2
- package/dist/{chunk-BBKL5SSX.js → chunk-WYQZCFNW.js} +3 -3
- package/dist/{chunk-2ITZ6WL5.js → chunk-XAXVQHYQ.js} +2 -2
- package/dist/{chunk-NVCVBDX5.js → chunk-ZSL46ZW6.js} +1 -1
- package/dist/preset.js +21 -19
- package/dist/types.d.ts +2 -2
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +3 -3
- package/package.json +11 -11
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 -->
|
|
@@ -31,11 +31,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
mod
|
|
32
32
|
));
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
34
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__beff9b780807c086214f9f579a37eba1/node_modules/tsup/assets/esm_shims.js
|
|
35
35
|
import { fileURLToPath } from "url";
|
|
36
36
|
import path from "path";
|
|
37
37
|
var init_esm_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__beff9b780807c086214f9f579a37eba1/node_modules/tsup/assets/esm_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MTQ4IAJI.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZSL46ZW6.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VOWBWL73.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/banner-plugin.ts
|
|
12
12
|
init_esm_shims();
|
package/dist/preset.js
CHANGED
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
isPackageInScope,
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T53XN5VC.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XAXVQHYQ.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WYQZCFNW.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MTQ4IAJI.js";
|
|
18
18
|
import {
|
|
19
19
|
GLOB_ASTRO,
|
|
20
20
|
GLOB_ASTRO_TS,
|
|
@@ -41,19 +41,19 @@ import {
|
|
|
41
41
|
GLOB_TSX,
|
|
42
42
|
GLOB_XML,
|
|
43
43
|
GLOB_YAML
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZSL46ZW6.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3AIKN3AO.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-OPXMPTGX.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-VOWBWL73.js";
|
|
57
57
|
|
|
58
58
|
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=de009a33a0a628f48c96f1a59298fb264fe3e5f5a0a221b7fda5cc52d4c890de/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
59
|
var require_Debug = __commonJS({
|
|
@@ -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/dist/types.d.ts
CHANGED
|
@@ -502,12 +502,12 @@ Backward pagination arguments
|
|
|
502
502
|
'@next/next/no-unwanted-polyfillio'?: Linter.RuleEntry<[]>
|
|
503
503
|
/**
|
|
504
504
|
* Checks dependencies in project's package.json for version mismatches
|
|
505
|
-
* @see https://github.com/nrwl/nx/blob/21.
|
|
505
|
+
* @see https://github.com/nrwl/nx/blob/21.4.1/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
|
|
506
506
|
*/
|
|
507
507
|
'@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
|
|
508
508
|
/**
|
|
509
509
|
* Ensure that module boundaries are respected within the monorepo
|
|
510
|
-
* @see https://github.com/nrwl/nx/blob/21.
|
|
510
|
+
* @see https://github.com/nrwl/nx/blob/21.4.1/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
|
|
511
511
|
*/
|
|
512
512
|
'@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
|
|
513
513
|
/**
|
package/dist/types.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-WYQZCFNW.js";
|
|
4
|
+
import "../chunk-MTQ4IAJI.js";
|
|
5
|
+
import "../chunk-ZSL46ZW6.js";
|
|
6
|
+
import "../chunk-VOWBWL73.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
9
9
|
};
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot,
|
|
3
3
|
findWorkspaceRootSafe
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-3AIKN3AO.js";
|
|
5
|
+
import "../chunk-OPXMPTGX.js";
|
|
6
|
+
import "../chunk-VOWBWL73.js";
|
|
7
7
|
export {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
findWorkspaceRootSafe
|
package/dist/utils/helpers.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
GLOB_VUE,
|
|
34
34
|
GLOB_XML,
|
|
35
35
|
GLOB_YAML
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-ZSL46ZW6.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-BKJP753I.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-VOWBWL73.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.163.
|
|
3
|
+
"version": "0.163.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@eslint-react/eslint-plugin": "^1.19.0",
|
|
140
140
|
"@graphql-eslint/eslint-plugin": "^4.3.0",
|
|
141
141
|
"@next/eslint-plugin-next": "^15.2.0-canary.67",
|
|
142
|
-
"@nx/eslint": "^21.
|
|
142
|
+
"@nx/eslint": "^21.4.1",
|
|
143
143
|
"@prettier/plugin-xml": "^3.4.1",
|
|
144
144
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
145
145
|
"astro-eslint-parser": "^1.0.2",
|
|
@@ -162,9 +162,9 @@
|
|
|
162
162
|
"@cspell/eslint-plugin": "^8.19.4",
|
|
163
163
|
"@eslint/eslintrc": "^3.3.1",
|
|
164
164
|
"@eslint/markdown": "^6.6.0",
|
|
165
|
-
"@nx/eslint-plugin": "^21.
|
|
166
|
-
"@storm-software/config": "^1.128.
|
|
167
|
-
"@storm-software/config-tools": "^1.180.
|
|
165
|
+
"@nx/eslint-plugin": "^21.4.1",
|
|
166
|
+
"@storm-software/config": "^1.128.7",
|
|
167
|
+
"@storm-software/config-tools": "^1.180.8",
|
|
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",
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
"eslint-plugin-toml": "^0.12.0",
|
|
196
196
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
197
197
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
198
|
-
"eslint-plugin-unused-imports": "^4.
|
|
198
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
199
199
|
"eslint-plugin-yml": "^1.18.0",
|
|
200
200
|
"globals": "^16.3.0",
|
|
201
201
|
"jsonc-eslint-parser": "^2.4.0",
|
|
202
|
-
"local-pkg": "^1.1.
|
|
202
|
+
"local-pkg": "^1.1.2",
|
|
203
203
|
"parse-gitignore": "^2.0.0",
|
|
204
204
|
"toml-eslint-parser": "^0.10.0",
|
|
205
205
|
"yaml-eslint-parser": "^1.3.0",
|
|
@@ -207,12 +207,12 @@
|
|
|
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.6",
|
|
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",
|
|
214
|
-
"@next/eslint-plugin-next": "^15.
|
|
215
|
-
"@nx/eslint": "^21.
|
|
214
|
+
"@next/eslint-plugin-next": "^15.5.2",
|
|
215
|
+
"@nx/eslint": "^21.4.1",
|
|
216
216
|
"@prettier/plugin-xml": "^3.4.2",
|
|
217
217
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
218
218
|
"@types/eslint": "^9.6.1",
|
|
@@ -240,5 +240,5 @@
|
|
|
240
240
|
},
|
|
241
241
|
"publishConfig": { "access": "public" },
|
|
242
242
|
"sideEffects": false,
|
|
243
|
-
"gitHead": "
|
|
243
|
+
"gitHead": "4ae47f6ad886922f9e56642be8f868fb02b75554"
|
|
244
244
|
}
|