@storm-software/eslint 0.165.4 → 0.165.6

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 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
- [![Version](https://img.shields.io/badge/version-0.165.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.165.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
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=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/Debug.js
58
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/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=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
60
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/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=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
74
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/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=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
79
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/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());
@@ -253,37 +253,55 @@ var require_ConfigCache = __commonJS({
253
253
  }
254
254
  let configFilePath = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
255
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 (!path.existsSync(configFilePath)) {
256
265
  if (path.existsSync(
257
266
  path.join(
258
267
  workspaceRoot,
259
- "node_modules",
260
- configFile
268
+ configFilePath
261
269
  )
262
270
  )) {
263
271
  configFilePath = path.join(
264
272
  workspaceRoot,
265
- "node_modules",
266
- configFile
273
+ configFilePath
267
274
  );
268
275
  } else if (path.existsSync(
269
276
  path.join(
270
277
  workspaceRoot,
271
- configFile
278
+ "node_modules",
279
+ configFilePath
272
280
  )
273
281
  )) {
274
282
  configFilePath = path.join(
275
283
  workspaceRoot,
276
- configFile
284
+ "node_modules",
285
+ configFilePath
277
286
  );
278
- } else {
287
+ } else if (path.existsSync(
288
+ path.join(
289
+ workspaceRoot,
290
+ "node_modules",
291
+ "@storm-software",
292
+ "tsdoc",
293
+ configFilePath
294
+ )
295
+ )) {
279
296
  configFilePath = path.join(
280
297
  workspaceRoot,
281
298
  "node_modules",
282
299
  "@storm-software",
283
300
  "tsdoc",
284
- "config",
285
- (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
+ configFilePath
286
302
  );
303
+ } else {
304
+ configFilePath = void 0;
287
305
  }
288
306
  }
289
307
  const cacheKey = configFilePath;
@@ -336,10 +354,10 @@ var require_ConfigCache = __commonJS({
336
354
  }
337
355
  });
338
356
 
339
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/index.js
357
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/node_modules/eslint-plugin-tsdoc/lib/index.js
340
358
  import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
341
359
  var require_lib = __commonJS({
342
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c7db1cb91f47551a01d6f78ec9e2a2170f4f73afe2f4fa05161caf67d70e7f8a/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
360
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=65157417585cd65c7c9c496edc1f5e95a5599ecf9882d3173da26c6951fd5b81/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
343
361
  "use strict";
344
362
  init_esm_shims();
345
363
  var __import___Debug = __toESM(require_Debug());
@@ -358,10 +376,15 @@ var require_lib = __commonJS({
358
376
  // from the NPM package name, and then appending this string.
359
377
  syntax: {
360
378
  meta: {
361
- 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:
362
381
  {{details}}
363
382
 
364
- 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),
365
388
  type: "problem",
366
389
  docs: {
367
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.4",
3
+ "version": "0.165.6",
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,8 +164,8 @@
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.3",
168
- "@storm-software/config-tools": "^1.183.4",
167
+ "@storm-software/config": "^1.130.4",
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": "130c0445a406e976d0302d764282acc0b39bb1e2"
244
+ "gitHead": "077fe1bd6b03332b44d5838ab949f206850082c4"
245
245
  }