@storm-software/eslint 0.158.8 → 0.159.0
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 +11 -16
- package/dist/types.d.ts +3 -3
- 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-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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/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());
|
|
@@ -346,8 +346,8 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
346
346
|
properties: {
|
|
347
347
|
type: {
|
|
348
348
|
type: "string",
|
|
349
|
-
enum: ["typedoc", "base"],
|
|
350
|
-
description: "The TSDoc configuration type to use from '@storm-software/tsdoc'. Defaults to '
|
|
349
|
+
enum: ["typedoc", "api-extractor", "base", "core"],
|
|
350
|
+
description: "The TSDoc configuration type to use from '@storm-software/tsdoc'. Defaults to 'core' (@storm-software/tsdoc/core.json)."
|
|
351
351
|
},
|
|
352
352
|
configFile: {
|
|
353
353
|
type: "string",
|
|
@@ -360,7 +360,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
360
360
|
},
|
|
361
361
|
defaultOptions: [
|
|
362
362
|
{
|
|
363
|
-
type: "
|
|
363
|
+
type: "core"
|
|
364
364
|
}
|
|
365
365
|
],
|
|
366
366
|
create: (context) => {
|
|
@@ -372,7 +372,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
372
372
|
let tsdocConfigFile = {};
|
|
373
373
|
try {
|
|
374
374
|
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
375
|
-
context.options && context.options.length > 0 ? context.options[0] : { type: "
|
|
375
|
+
context.options && context.options.length > 0 ? context.options[0] : { type: "core" }
|
|
376
376
|
);
|
|
377
377
|
if (!tsdocConfigFile.fileNotFound) {
|
|
378
378
|
if (tsdocConfigFile.hasErrors) {
|
|
@@ -4112,12 +4112,7 @@ 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
|
-
overrides = {},
|
|
4117
|
-
severity = "error",
|
|
4118
|
-
type = "base",
|
|
4119
|
-
configFile
|
|
4120
|
-
} = options;
|
|
4115
|
+
const { severity = "error", type = "core", configFile } = options;
|
|
4121
4116
|
const files = options.files ?? [GLOB_TS, GLOB_TSX];
|
|
4122
4117
|
return [
|
|
4123
4118
|
{
|
package/dist/types.d.ts
CHANGED
|
@@ -17035,7 +17035,7 @@ type TsUnifiedSignatures = []|[{
|
|
|
17035
17035
|
// ----- tsdoc/syntax -----
|
|
17036
17036
|
type TsdocSyntax = []|[{
|
|
17037
17037
|
|
|
17038
|
-
type?: ("typedoc" | "base")
|
|
17038
|
+
type?: ("typedoc" | "api-extractor" | "base" | "core")
|
|
17039
17039
|
|
|
17040
17040
|
configFile?: string
|
|
17041
17041
|
}]
|
|
@@ -17959,9 +17959,9 @@ interface OptionsTSDoc extends OptionsOverrides {
|
|
|
17959
17959
|
/**
|
|
17960
17960
|
* The type of Storm Software TSDoc configuration to use.
|
|
17961
17961
|
*
|
|
17962
|
-
* @defaultValue "
|
|
17962
|
+
* @defaultValue "core"
|
|
17963
17963
|
*/
|
|
17964
|
-
type?: "base" | "typedoc";
|
|
17964
|
+
type?: "base" | "typedoc" | "api-extractor" | "core";
|
|
17965
17965
|
/**
|
|
17966
17966
|
* The path to a TSDoc config file.
|
|
17967
17967
|
*/
|
package/package.json
CHANGED