@storm-software/eslint 0.159.8 → 0.159.9
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/dist/preset.js +14 -10
- package/package.json +1 -1
package/dist/preset.js
CHANGED
|
@@ -52,9 +52,9 @@ import {
|
|
|
52
52
|
init_esm_shims
|
|
53
53
|
} from "./chunk-UNRUDVIB.js";
|
|
54
54
|
|
|
55
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
55
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
56
56
|
var require_Debug = __commonJS({
|
|
57
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
57
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
|
|
58
58
|
"use strict";
|
|
59
59
|
init_esm_shims();
|
|
60
60
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68,12 +68,12 @@ var require_Debug = __commonJS({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
71
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
|
|
72
72
|
import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
|
|
73
73
|
import * as __import_path from "path";
|
|
74
74
|
import * as __import_fs from "fs";
|
|
75
75
|
var require_ConfigCache = __commonJS({
|
|
76
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
76
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
|
|
77
77
|
"use strict";
|
|
78
78
|
init_esm_shims();
|
|
79
79
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -238,7 +238,7 @@ var require_ConfigCache = __commonJS({
|
|
|
238
238
|
return cachedConfig.configFile;
|
|
239
239
|
}
|
|
240
240
|
static getStormConfigFile({
|
|
241
|
-
type = "
|
|
241
|
+
type = "core",
|
|
242
242
|
configFile
|
|
243
243
|
}) {
|
|
244
244
|
let workspaceRoot = "";
|
|
@@ -254,7 +254,7 @@ var require_ConfigCache = __commonJS({
|
|
|
254
254
|
"@storm-software",
|
|
255
255
|
"tsdoc",
|
|
256
256
|
"config",
|
|
257
|
-
(process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type)
|
|
257
|
+
(process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type).endsWith(".json") ? process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type : `${process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type}.json`
|
|
258
258
|
);
|
|
259
259
|
const cacheKey = configFilePath;
|
|
260
260
|
Debug_1.Debug.log(`Storm Software Configuration Cache key: "${cacheKey}"`);
|
|
@@ -306,10 +306,10 @@ var require_ConfigCache = __commonJS({
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
|
|
309
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
309
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/index.js
|
|
310
310
|
import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
|
|
311
311
|
var require_lib = __commonJS({
|
|
312
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
312
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5461761ec250d73f2fa3105b0db6754a0d9370fc3e67cdbca919e292a05a3bcc/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
|
|
313
313
|
"use strict";
|
|
314
314
|
init_esm_shims();
|
|
315
315
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -4112,8 +4112,12 @@ async function toml(options = {}) {
|
|
|
4112
4112
|
init_esm_shims();
|
|
4113
4113
|
var import_eslint_plugin_tsdoc = __toESM(require_lib(), 1);
|
|
4114
4114
|
async function tsdoc(options = {}) {
|
|
4115
|
-
const {
|
|
4116
|
-
|
|
4115
|
+
const {
|
|
4116
|
+
severity = "error",
|
|
4117
|
+
type = "core",
|
|
4118
|
+
configFile,
|
|
4119
|
+
files = [GLOB_TS, GLOB_TSX]
|
|
4120
|
+
} = options;
|
|
4117
4121
|
return [
|
|
4118
4122
|
{
|
|
4119
4123
|
files,
|
package/package.json
CHANGED