@storm-software/eslint 0.165.10 → 0.165.11
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 +14 -10
- package/package.json +3 -3
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
|
@@ -55,10 +55,10 @@ import {
|
|
|
55
55
|
init_esm_shims
|
|
56
56
|
} from "./chunk-NAOQBQSK.js";
|
|
57
57
|
|
|
58
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
58
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
59
|
import * as __import_process from "process";
|
|
60
60
|
var require_Debug = __commonJS({
|
|
61
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
61
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
|
|
62
62
|
"use strict";
|
|
63
63
|
init_esm_shims();
|
|
64
64
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -74,12 +74,12 @@ var require_Debug = __commonJS({
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
77
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
|
|
78
78
|
import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
|
|
79
79
|
import * as __import_path from "path";
|
|
80
80
|
import * as __import_fs from "fs";
|
|
81
81
|
var require_ConfigCache = __commonJS({
|
|
82
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
82
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
|
|
83
83
|
"use strict";
|
|
84
84
|
init_esm_shims();
|
|
85
85
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -304,8 +304,8 @@ var require_ConfigCache = __commonJS({
|
|
|
304
304
|
return void 0;
|
|
305
305
|
}
|
|
306
306
|
static getStormConfigFile(options) {
|
|
307
|
-
const type = options.type
|
|
308
|
-
const configFile = options.configFile;
|
|
307
|
+
const type = options && options.type ? options.type : "recommended";
|
|
308
|
+
const configFile = options && options.configFile ? options.configFile : void 0;
|
|
309
309
|
let workspaceRoot = "";
|
|
310
310
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
311
311
|
workspaceRoot = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
|
|
@@ -313,14 +313,18 @@ var require_ConfigCache = __commonJS({
|
|
|
313
313
|
if (!workspaceRoot) {
|
|
314
314
|
workspaceRoot = findWorkspaceRoot3();
|
|
315
315
|
}
|
|
316
|
+
let currentConfigFile = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
|
|
317
|
+
Debug_1.Debug.log(`Config file from user options: ${currentConfigFile || "(none)"}`);
|
|
316
318
|
let configFilePath = _ConfigCache._checkConfigFilePath(
|
|
317
319
|
workspaceRoot,
|
|
318
|
-
|
|
320
|
+
currentConfigFile
|
|
319
321
|
);
|
|
320
322
|
if (!configFilePath) {
|
|
323
|
+
currentConfigFile = `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`;
|
|
324
|
+
Debug_1.Debug.log(`Config file from user options not found, trying: ${currentConfigFile}`);
|
|
321
325
|
configFilePath = _ConfigCache._checkConfigFilePath(
|
|
322
326
|
workspaceRoot,
|
|
323
|
-
|
|
327
|
+
currentConfigFile
|
|
324
328
|
);
|
|
325
329
|
if (!configFilePath) {
|
|
326
330
|
configFilePath = _ConfigCache._checkConfigFilePath(
|
|
@@ -385,10 +389,10 @@ var require_ConfigCache = __commonJS({
|
|
|
385
389
|
}
|
|
386
390
|
});
|
|
387
391
|
|
|
388
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
392
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/index.js
|
|
389
393
|
import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
|
|
390
394
|
var require_lib = __commonJS({
|
|
391
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
395
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
|
|
392
396
|
"use strict";
|
|
393
397
|
init_esm_shims();
|
|
394
398
|
var __import___Debug = __toESM(require_Debug());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"@eslint/markdown": "^6.6.0",
|
|
166
166
|
"@nx/eslint-plugin": "^21.4.1",
|
|
167
167
|
"@storm-software/config": "^1.130.6",
|
|
168
|
-
"@storm-software/config-tools": "^1.183.
|
|
168
|
+
"@storm-software/config-tools": "^1.183.10",
|
|
169
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
170
170
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
171
171
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "fa958aa34c073d781d487ef1a4d16da54e079d38"
|
|
245
245
|
}
|