@storm-software/eslint 0.165.5 → 0.165.7

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.
Files changed (2) hide show
  1. package/dist/preset.js +27 -19
  2. package/package.json +3 -3
package/dist/preset.js CHANGED
@@ -55,9 +55,9 @@ 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=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/Debug.js
58
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/Debug.js
59
59
  var require_Debug = __commonJS({
60
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
60
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
61
61
  "use strict";
62
62
  init_esm_shims();
63
63
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -71,12 +71,12 @@ var require_Debug = __commonJS({
71
71
  }
72
72
  });
73
73
 
74
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
74
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
75
75
  import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
76
76
  import * as __import_path from "path";
77
77
  import * as __import_fs from "fs";
78
78
  var require_ConfigCache = __commonJS({
79
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
79
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
80
80
  "use strict";
81
81
  init_esm_shims();
82
82
  var __import___Debug = __toESM(require_Debug());
@@ -252,8 +252,17 @@ var require_ConfigCache = __commonJS({
252
252
  workspaceRoot = findWorkspaceRoot3();
253
253
  }
254
254
  let configFilePath = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
255
- if (!configFilePath || !path.existsSync(configFilePath)) {
256
- if (path.existsSync(
255
+ if (!configFilePath) {
256
+ configFilePath = path.join(
257
+ workspaceRoot,
258
+ "node_modules",
259
+ "@storm-software",
260
+ "tsdoc",
261
+ (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`
262
+ );
263
+ }
264
+ if (!_fs.existsSync(configFilePath)) {
265
+ if (_fs.existsSync(
257
266
  path.join(
258
267
  workspaceRoot,
259
268
  configFilePath
@@ -263,7 +272,7 @@ var require_ConfigCache = __commonJS({
263
272
  workspaceRoot,
264
273
  configFilePath
265
274
  );
266
- } else if (path.existsSync(
275
+ } else if (_fs.existsSync(
267
276
  path.join(
268
277
  workspaceRoot,
269
278
  "node_modules",
@@ -275,7 +284,7 @@ var require_ConfigCache = __commonJS({
275
284
  "node_modules",
276
285
  configFilePath
277
286
  );
278
- } else if (path.existsSync(
287
+ } else if (_fs.existsSync(
279
288
  path.join(
280
289
  workspaceRoot,
281
290
  "node_modules",
@@ -292,13 +301,7 @@ var require_ConfigCache = __commonJS({
292
301
  configFilePath
293
302
  );
294
303
  } else {
295
- configFilePath = path.join(
296
- workspaceRoot,
297
- "node_modules",
298
- "@storm-software",
299
- "tsdoc",
300
- (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`
301
- );
304
+ configFilePath = void 0;
302
305
  }
303
306
  }
304
307
  const cacheKey = configFilePath;
@@ -351,10 +354,10 @@ var require_ConfigCache = __commonJS({
351
354
  }
352
355
  });
353
356
 
354
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/index.js
357
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/index.js
355
358
  import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
356
359
  var require_lib = __commonJS({
357
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=439395c28bd6d98ee4f5a21f2dc01d333670eb9ada437b514a68e63a5686860b/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
360
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=6df4d5b6007d32e6b37f2460b0a31eb084907a03527017060e5aafd7991f855c/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
358
361
  "use strict";
359
362
  init_esm_shims();
360
363
  var __import___Debug = __toESM(require_Debug());
@@ -373,10 +376,15 @@ var require_lib = __commonJS({
373
376
  // from the NPM package name, and then appending this string.
374
377
  syntax: {
375
378
  meta: {
376
- messages: Object.assign({ "error-loading-storm-config": `Error loading Storm Software's shared TSDoc config file:
379
+ messages: Object.assign({
380
+ "error-loading-storm-config": `Error loading Storm Software's shared TSDoc config file:
377
381
  {{details}}
378
382
 
379
- Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "error-loading-config-file": "Error loading TSDoc config file:\n{{details}}", "error-applying-storm-config": "Error applying Storm Software's shared TSDoc configuration: {{details}}", "error-applying-config": "Error applying TSDoc configuration: {{details}}" }, tsdocMessageIds),
383
+ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
384
+ "error-loading-config-file": "Error loading TSDoc config file:\n{{details}}",
385
+ "error-applying-storm-config": "Error applying Storm Software's shared TSDoc configuration: {{details}}",
386
+ "error-applying-config": "Error applying TSDoc configuration: {{details}}"
387
+ }, tsdocMessageIds),
380
388
  type: "problem",
381
389
  docs: {
382
390
  description: "Validates that TypeScript documentation comments conform to the TSDoc standard",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.165.5",
3
+ "version": "0.165.7",
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.4",
168
- "@storm-software/config-tools": "^1.183.5",
168
+ "@storm-software/config-tools": "^1.183.6",
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": "ee2be672dff8773062977876c5388bb5ea6dcde2"
244
+ "gitHead": "07ad10cab1322344a83fec3f14176a6a020a1c84"
245
245
  }