@storm-software/eslint 0.158.1 → 0.158.3
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 +12 -19
- 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.js
CHANGED
|
@@ -52,9 +52,9 @@ import {
|
|
|
52
52
|
init_esm_shims
|
|
53
53
|
} from "./chunk-7T36VVWK.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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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());
|
|
@@ -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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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=1194078fd4b6e620a9e5c24210677ef267c925de35da0ccec8b7991b28d44e11/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());
|
|
@@ -363,12 +363,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
363
363
|
type: "base"
|
|
364
364
|
}
|
|
365
365
|
],
|
|
366
|
-
create: (context
|
|
367
|
-
{
|
|
368
|
-
type = "base",
|
|
369
|
-
configFile
|
|
370
|
-
}
|
|
371
|
-
]) => {
|
|
366
|
+
create: (context) => {
|
|
372
367
|
const sourceFilePath = context.filename;
|
|
373
368
|
const tsConfigDir = context.parserOptions.tsconfigRootDir;
|
|
374
369
|
Debug_1.Debug.log(`Linting: "${sourceFilePath}"`);
|
|
@@ -376,10 +371,9 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
376
371
|
try {
|
|
377
372
|
let tsdocConfigFile = {};
|
|
378
373
|
try {
|
|
379
|
-
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
380
|
-
type
|
|
381
|
-
|
|
382
|
-
});
|
|
374
|
+
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
375
|
+
context.options && context.options.length > 0 ? context.options[0] : { type: "base" }
|
|
376
|
+
);
|
|
383
377
|
if (!tsdocConfigFile.fileNotFound) {
|
|
384
378
|
if (tsdocConfigFile.hasErrors) {
|
|
385
379
|
context.report({
|
|
@@ -411,7 +405,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
411
405
|
}
|
|
412
406
|
});
|
|
413
407
|
}
|
|
414
|
-
if (!tsdocConfigFile) {
|
|
408
|
+
if (!tsdocConfigFile || tsdocConfigFile.fileNotFound || tsdocConfigFile.hasErrors) {
|
|
415
409
|
tsdocConfigFile = ConfigCache_1.ConfigCache.getForSourceFile(sourceFilePath, tsConfigDir);
|
|
416
410
|
if (!tsdocConfigFile.fileNotFound) {
|
|
417
411
|
if (tsdocConfigFile.hasErrors) {
|
|
@@ -4133,8 +4127,7 @@ async function tsdoc(options = {}) {
|
|
|
4133
4127
|
tsdoc: import_eslint_plugin_tsdoc.default
|
|
4134
4128
|
},
|
|
4135
4129
|
rules: {
|
|
4136
|
-
"tsdoc/syntax": [severity, { type, configFile }]
|
|
4137
|
-
...overrides ?? {}
|
|
4130
|
+
"tsdoc/syntax": [severity, { type, configFile }]
|
|
4138
4131
|
}
|
|
4139
4132
|
}
|
|
4140
4133
|
];
|
package/package.json
CHANGED