@storm-software/eslint 0.158.1 → 0.158.2

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.157.1-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.158.0-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
@@ -52,9 +52,9 @@ import {
52
52
  init_esm_shims
53
53
  } from "./chunk-7T36VVWK.js";
54
54
 
55
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/Debug.js
55
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
57
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
71
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
76
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/index.js
309
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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=be253a1e507d3049c735251fea147ba0612ee26e241e78fe442073fc4b39d16c/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
312
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=81bad945d9ea1bb54b58bcaaa69ba9238f921d8116af83909b8bb924e1526820/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());
@@ -363,12 +363,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
363
363
  type: "base"
364
364
  }
365
365
  ],
366
- create: (context, [
367
- {
368
- type = "base",
369
- configFile
370
- }
371
- ]) => {
366
+ create: (context) => {
372
367
  const sourceFilePath = context.filename;
373
368
  const tsConfigDir = context.parserOptions.tsconfigRootDir;
374
369
  Debug_1.Debug.log(`Linting: "${sourceFilePath}"`);
@@ -376,10 +371,9 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
376
371
  try {
377
372
  let tsdocConfigFile = {};
378
373
  try {
379
- tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile({
380
- type,
381
- configFile
382
- });
374
+ tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
375
+ context.options && context.options.length > 0 ? context.options[0] : { type: "base" }
376
+ );
383
377
  if (!tsdocConfigFile.fileNotFound) {
384
378
  if (tsdocConfigFile.hasErrors) {
385
379
  context.report({
@@ -4133,8 +4127,7 @@ async function tsdoc(options = {}) {
4133
4127
  tsdoc: import_eslint_plugin_tsdoc.default
4134
4128
  },
4135
4129
  rules: {
4136
- "tsdoc/syntax": [severity, { type, configFile }],
4137
- ...overrides ?? {}
4130
+ "tsdoc/syntax": [severity, { type, configFile }]
4138
4131
  }
4139
4132
  }
4140
4133
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.158.1",
3
+ "version": "0.158.2",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {