@storm-software/eslint 0.165.10 → 0.165.11

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.8-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.9-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,10 +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=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/Debug.js
58
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/Debug.js
59
59
  import * as __import_process from "process";
60
60
  var require_Debug = __commonJS({
61
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
61
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
62
62
  "use strict";
63
63
  init_esm_shims();
64
64
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -74,12 +74,12 @@ var require_Debug = __commonJS({
74
74
  }
75
75
  });
76
76
 
77
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
77
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
78
78
  import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
79
79
  import * as __import_path from "path";
80
80
  import * as __import_fs from "fs";
81
81
  var require_ConfigCache = __commonJS({
82
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
82
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
83
83
  "use strict";
84
84
  init_esm_shims();
85
85
  var __import___Debug = __toESM(require_Debug());
@@ -304,8 +304,8 @@ var require_ConfigCache = __commonJS({
304
304
  return void 0;
305
305
  }
306
306
  static getStormConfigFile(options) {
307
- const type = options.type || "recommended";
308
- const configFile = options.configFile;
307
+ const type = options && options.type ? options.type : "recommended";
308
+ const configFile = options && options.configFile ? options.configFile : void 0;
309
309
  let workspaceRoot = "";
310
310
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
311
311
  workspaceRoot = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
@@ -313,14 +313,18 @@ var require_ConfigCache = __commonJS({
313
313
  if (!workspaceRoot) {
314
314
  workspaceRoot = findWorkspaceRoot3();
315
315
  }
316
+ let currentConfigFile = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
317
+ Debug_1.Debug.log(`Config file from user options: ${currentConfigFile || "(none)"}`);
316
318
  let configFilePath = _ConfigCache._checkConfigFilePath(
317
319
  workspaceRoot,
318
- process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile
320
+ currentConfigFile
319
321
  );
320
322
  if (!configFilePath) {
323
+ currentConfigFile = `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`;
324
+ Debug_1.Debug.log(`Config file from user options not found, trying: ${currentConfigFile}`);
321
325
  configFilePath = _ConfigCache._checkConfigFilePath(
322
326
  workspaceRoot,
323
- `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`
327
+ currentConfigFile
324
328
  );
325
329
  if (!configFilePath) {
326
330
  configFilePath = _ConfigCache._checkConfigFilePath(
@@ -385,10 +389,10 @@ var require_ConfigCache = __commonJS({
385
389
  }
386
390
  });
387
391
 
388
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/index.js
392
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/index.js
389
393
  import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
390
394
  var require_lib = __commonJS({
391
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
395
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c27161ab2fa1944160de49bd7d224d28caaddfdd7fc1f2652cd4d48efd69592f/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
392
396
  "use strict";
393
397
  init_esm_shims();
394
398
  var __import___Debug = __toESM(require_Debug());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.165.10",
3
+ "version": "0.165.11",
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.6",
168
- "@storm-software/config-tools": "^1.183.9",
168
+ "@storm-software/config-tools": "^1.183.10",
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": "7c0ed16488136b62e4b55bb8932b024dac0637d7"
244
+ "gitHead": "fa958aa34c073d781d487ef1a4d16da54e079d38"
245
245
  }