@storm-software/linting-tools 1.87.0 → 1.87.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 1.87.2 (2024-10-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ - **eslint:** Resolved issues with `parserOptions` configurations ([f35b4739](https://github.com/storm-software/storm-ops/commit/f35b4739))
7
+
8
+ ## 1.87.1 (2024-10-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ - **eslint:** Resolved issue with react-hooks plugin ([2dbc2670](https://github.com/storm-software/storm-ops/commit/2dbc2670))
14
+
1
15
  ## 1.87.0 (2024-10-21)
2
16
 
3
17
 
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-1.86.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-1.87.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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/lint.js CHANGED
@@ -357007,16 +357007,18 @@ var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(messa
357007
357007
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
357008
357008
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
357009
357009
  var MAX_DEPTH = 4;
357010
- var formatLogMessage = (message, prefix = "-", depth2 = 0) => {
357010
+ var formatLogMessage = (message, options = {}, depth2 = 0) => {
357011
357011
  if (depth2 > MAX_DEPTH) {
357012
357012
  return "<max depth>";
357013
357013
  }
357014
+ const prefix = options.prefix ?? "-";
357015
+ const skip3 = options.skip ?? [];
357014
357016
  return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
357015
- ${message.map((item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(item, `${prefix}-`, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
357016
- ${Object.keys(message).map(
357017
+ ${message.map((item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip: skip3 }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
357018
+ ${Object.keys(message).filter((key) => !skip3.includes(key)).map(
357017
357019
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
357018
357020
  message[key],
357019
- `${prefix}-`,
357021
+ { prefix: `${prefix}-`, skip: skip3 },
357020
357022
  depth2 + 1
357021
357023
  ) : message[key]}`
357022
357024
  ).join("\n")}` : message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.87.0",
3
+ "version": "1.87.2",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
6
6
  "repository": {
package/src/cli/index.js CHANGED
@@ -355197,16 +355197,18 @@ var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(messa
355197
355197
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
355198
355198
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
355199
355199
  var MAX_DEPTH = 4;
355200
- var formatLogMessage = (message, prefix = "-", depth2 = 0) => {
355200
+ var formatLogMessage = (message, options = {}, depth2 = 0) => {
355201
355201
  if (depth2 > MAX_DEPTH) {
355202
355202
  return "<max depth>";
355203
355203
  }
355204
+ const prefix = options.prefix ?? "-";
355205
+ const skip3 = options.skip ?? [];
355204
355206
  return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
355205
- ${message.map((item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(item, `${prefix}-`, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
355206
- ${Object.keys(message).map(
355207
+ ${message.map((item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip: skip3 }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
355208
+ ${Object.keys(message).filter((key) => !skip3.includes(key)).map(
355207
355209
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
355208
355210
  message[key],
355209
- `${prefix}-`,
355211
+ { prefix: `${prefix}-`, skip: skip3 },
355210
355212
  depth2 + 1
355211
355213
  ) : message[key]}`
355212
355214
  ).join("\n")}` : message;