@storm-software/eslint 0.165.7 → 0.165.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/README.md +1 -1
- package/dist/preset.js +14 -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 -->
|
package/dist/preset.js
CHANGED
|
@@ -55,9 +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=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
|
+
import * as __import_process from "process";
|
|
59
60
|
var require_Debug = __commonJS({
|
|
60
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
61
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
|
|
61
62
|
"use strict";
|
|
62
63
|
init_esm_shims();
|
|
63
64
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -65,18 +66,20 @@ var require_Debug = __commonJS({
|
|
|
65
66
|
var Debug = class {
|
|
66
67
|
// To debug the plugin, temporarily uncomment the body of this function
|
|
67
68
|
static log(message) {
|
|
69
|
+
message = __import_process.pid + ": " + message;
|
|
70
|
+
console.log(message);
|
|
68
71
|
}
|
|
69
72
|
};
|
|
70
73
|
exports.Debug = Debug;
|
|
71
74
|
}
|
|
72
75
|
});
|
|
73
76
|
|
|
74
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
77
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
|
|
75
78
|
import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
|
|
76
79
|
import * as __import_path from "path";
|
|
77
80
|
import * as __import_fs from "fs";
|
|
78
81
|
var require_ConfigCache = __commonJS({
|
|
79
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
82
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
|
|
80
83
|
"use strict";
|
|
81
84
|
init_esm_shims();
|
|
82
85
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -354,10 +357,10 @@ var require_ConfigCache = __commonJS({
|
|
|
354
357
|
}
|
|
355
358
|
});
|
|
356
359
|
|
|
357
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
360
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/index.js
|
|
358
361
|
import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
|
|
359
362
|
var require_lib = __commonJS({
|
|
360
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
363
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=5a6f3249dd49c802d229ffdde11a1362f456e3ada7b8c2a1d81beb857bd15d90/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
|
|
361
364
|
"use strict";
|
|
362
365
|
init_esm_shims();
|
|
363
366
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -389,8 +392,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
389
392
|
docs: {
|
|
390
393
|
description: "Validates that TypeScript documentation comments conform to the TSDoc standard",
|
|
391
394
|
category: "Stylistic Issues",
|
|
392
|
-
|
|
393
|
-
recommended: false,
|
|
395
|
+
recommended: true,
|
|
394
396
|
url: "https://tsdoc.org/pages/packages/eslint-plugin-tsdoc"
|
|
395
397
|
},
|
|
396
398
|
schema: [
|
|
@@ -417,15 +419,16 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
417
419
|
}
|
|
418
420
|
],
|
|
419
421
|
create: (context) => {
|
|
420
|
-
const
|
|
422
|
+
const tsdocConfiguration = new tsdoc_1.TSDocConfiguration();
|
|
421
423
|
const tsConfigDir = context.parserOptions.tsconfigRootDir;
|
|
424
|
+
const sourceFilePath = context.filename;
|
|
422
425
|
Debug_1.Debug.log(`Linting: "${sourceFilePath}"`);
|
|
423
|
-
const tsdocConfiguration = new tsdoc_1.TSDocConfiguration();
|
|
424
426
|
try {
|
|
425
427
|
let tsdocConfigFile = {};
|
|
426
428
|
try {
|
|
429
|
+
const userOptions = context.options ? Array.isArray(context.options) ? context.options.length > 0 ? context.options[0] : {} : context.options : {};
|
|
427
430
|
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
428
|
-
|
|
431
|
+
{ type: "recommended", ...userOptions }
|
|
429
432
|
);
|
|
430
433
|
if (!tsdocConfigFile.fileNotFound) {
|
|
431
434
|
if (tsdocConfigFile.hasErrors) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
"@eslint/eslintrc": "^3.3.1",
|
|
165
165
|
"@eslint/markdown": "^6.6.0",
|
|
166
166
|
"@nx/eslint-plugin": "^21.4.1",
|
|
167
|
-
"@storm-software/config": "^1.130.
|
|
168
|
-
"@storm-software/config-tools": "^1.183.
|
|
167
|
+
"@storm-software/config": "^1.130.5",
|
|
168
|
+
"@storm-software/config-tools": "^1.183.8",
|
|
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",
|
|
172
172
|
"@typescript-eslint/utils": "^8.35.0",
|
|
173
|
-
"@vitest/eslint-plugin": "^1.3.
|
|
173
|
+
"@vitest/eslint-plugin": "^1.3.10",
|
|
174
174
|
"chalk": "^4.1.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "749c9b5853abf44d03fa5094205071ad1ab44461"
|
|
245
245
|
}
|