@storm-software/eslint 0.169.49 → 0.169.51

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
@@ -3,7 +3,13 @@
3
3
  <!-- markdownlint-disable -->
4
4
 
5
5
 
6
- <div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
6
+ <div align="center">
7
+ <picture>
8
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif">
9
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light-optimized.gif">
10
+ <img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif" width="100%" alt="Storm Software" />
11
+ </picture>
12
+ </div>
7
13
  <br />
8
14
 
9
15
  <div align="center">
@@ -21,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
27
 
22
28
  <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
29
 
24
- [![Version](https://img.shields.io/badge/version-0.169.46-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)
30
+ [![Version](https://img.shields.io/badge/version-0.169.49-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
31
 
26
32
  <!-- prettier-ignore-start -->
27
33
  <!-- markdownlint-disable -->
@@ -40,6 +46,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
46
 
41
47
  <!-- START doctoc -->
42
48
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
49
+
43
50
  ## Table of Contents
44
51
 
45
52
  - [Storm Base ESLint Package](#storm-base-eslint-package)
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "./chunk-H5WPTM23.js";
3
+ } from "./chunk-KJG5LD7M.js";
4
4
  import {
5
5
  GLOB_SRC
6
- } from "./chunk-33FANJW3.js";
6
+ } from "./chunk-VLLBPRKA.js";
7
7
  import {
8
8
  init_esm_shims
9
- } from "./chunk-HDKSKTAP.js";
9
+ } from "./chunk-HB3JLPUE.js";
10
10
 
11
11
  // src/utils/banner-plugin.ts
12
12
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  correctPaths
3
- } from "./chunk-MPGMUG4U.js";
3
+ } from "./chunk-V54LKJAQ.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-HDKSKTAP.js";
6
+ } from "./chunk-HB3JLPUE.js";
7
7
 
8
8
  // src/utils/find-workspace-root.ts
9
9
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-HDKSKTAP.js";
3
+ } from "./chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/utils/format-config.ts
6
6
  init_esm_shims();
@@ -31,11 +31,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  mod
32
32
  ));
33
33
 
34
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__a793dd249f39ab21a45375c80b03a1ea/node_modules/tsup/assets/esm_shims.js
34
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__5adfafe360c1e61df03aa1e123559c5f/node_modules/tsup/assets/esm_shims.js
35
35
  import { fileURLToPath } from "url";
36
36
  import path from "path";
37
37
  var init_esm_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__a793dd249f39ab21a45375c80b03a1ea/node_modules/tsup/assets/esm_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__5adfafe360c1e61df03aa1e123559c5f/node_modules/tsup/assets/esm_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ACRONYMS_LIST
3
- } from "./chunk-33FANJW3.js";
3
+ } from "./chunk-VLLBPRKA.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-HDKSKTAP.js";
6
+ } from "./chunk-HB3JLPUE.js";
7
7
 
8
8
  // src/utils/get-file-banner.ts
9
9
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-HDKSKTAP.js";
3
+ } from "./chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/utils/helpers.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-HDKSKTAP.js";
3
+ } from "./chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/utils/correct-paths.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-HDKSKTAP.js";
3
+ } from "./chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/utils/constants.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-MPGMUG4U.js";
3
+ } from "./chunk-V54LKJAQ.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-HDKSKTAP.js";
6
+ } from "./chunk-HB3JLPUE.js";
7
7
 
8
8
  // src/utils/tsconfig-path.ts
9
9
  init_esm_shims();
package/dist/preset.js CHANGED
@@ -5,16 +5,16 @@ import {
5
5
  isPackageInScope,
6
6
  parserPlain,
7
7
  renameRules
8
- } from "./chunk-WWIQZCGC.js";
8
+ } from "./chunk-L6OG4LEV.js";
9
9
  import {
10
10
  getTsConfigPath
11
- } from "./chunk-LZUEEZTF.js";
11
+ } from "./chunk-WNXXRBAH.js";
12
12
  import {
13
13
  banner_plugin_default
14
- } from "./chunk-RX5ME5HU.js";
14
+ } from "./chunk-5S3KDX5G.js";
15
15
  import {
16
16
  getFileBanner
17
- } from "./chunk-H5WPTM23.js";
17
+ } from "./chunk-KJG5LD7M.js";
18
18
  import {
19
19
  GLOB_ASTRO,
20
20
  GLOB_ASTRO_TS,
@@ -41,19 +41,19 @@ import {
41
41
  GLOB_TSX,
42
42
  GLOB_XML,
43
43
  GLOB_YAML
44
- } from "./chunk-33FANJW3.js";
44
+ } from "./chunk-VLLBPRKA.js";
45
45
  import {
46
46
  findWorkspaceRoot
47
- } from "./chunk-ALVV2FVE.js";
47
+ } from "./chunk-7Q2HAKWQ.js";
48
48
  import {
49
49
  joinPaths
50
- } from "./chunk-MPGMUG4U.js";
50
+ } from "./chunk-V54LKJAQ.js";
51
51
  import {
52
52
  __commonJS,
53
53
  __export,
54
54
  __toESM,
55
55
  init_esm_shims
56
- } from "./chunk-HDKSKTAP.js";
56
+ } from "./chunk-HB3JLPUE.js";
57
57
 
58
58
  // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/Debug.js
59
59
  import * as __import_process from "process";
@@ -7613,7 +7613,6 @@ var ReactRouterPackages = [
7613
7613
  "@react-router/serve",
7614
7614
  "@react-router/dev"
7615
7615
  ];
7616
- var NextJsPackages = ["next"];
7617
7616
  async function react(options = {}) {
7618
7617
  const {
7619
7618
  files = [GLOB_SRC],
@@ -7647,7 +7646,6 @@ async function react(options = {}) {
7647
7646
  (i) => isPackageExists(i)
7648
7647
  );
7649
7648
  const isUsingReactRouter = ReactRouterPackages.some((i) => isPackageExists(i));
7650
- const isUsingNext = NextJsPackages.some((i) => isPackageExists(i));
7651
7649
  const plugins = pluginReact.configs.all.plugins;
7652
7650
  return [
7653
7651
  {
@@ -7696,23 +7694,22 @@ async function react(options = {}) {
7696
7694
  {
7697
7695
  allowConstantExport: isAllowConstantExport,
7698
7696
  allowExportNames: [
7699
- ...isUsingNext ? [
7700
- "dynamic",
7701
- "dynamicParams",
7702
- "revalidate",
7703
- "fetchCache",
7704
- "runtime",
7705
- "preferredRegion",
7706
- "maxDuration",
7707
- "config",
7708
- "generateStaticParams",
7709
- "metadata",
7710
- "generateMetadata",
7711
- "viewport",
7712
- "generateViewport"
7713
- ] : [],
7714
- ...isUsingReactRouter ? ["meta", "links", "headers", "loader", "action"] : []
7715
- ]
7697
+ "dynamic",
7698
+ "dynamicParams",
7699
+ "revalidate",
7700
+ "fetchCache",
7701
+ "runtime",
7702
+ "preferredRegion",
7703
+ "maxDuration",
7704
+ "config",
7705
+ "generateStaticParams",
7706
+ "metadata",
7707
+ "generateMetadata",
7708
+ "viewport",
7709
+ "generateViewport"
7710
+ ].concat(
7711
+ isUsingReactRouter ? ["meta", "links", "headers", "loader", "action"] : []
7712
+ )
7716
7713
  }
7717
7714
  ],
7718
7715
  // recommended rules from @eslint-react/web-api
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-HDKSKTAP.js";
3
+ } from "./chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/types.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "../chunk-RX5ME5HU.js";
4
- import "../chunk-H5WPTM23.js";
5
- import "../chunk-33FANJW3.js";
6
- import "../chunk-HDKSKTAP.js";
3
+ } from "../chunk-5S3KDX5G.js";
4
+ import "../chunk-KJG5LD7M.js";
5
+ import "../chunk-VLLBPRKA.js";
6
+ import "../chunk-HB3JLPUE.js";
7
7
  export {
8
8
  banner_plugin_default as default
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-HDKSKTAP.js";
3
+ } from "../chunk-HB3JLPUE.js";
4
4
 
5
5
  // src/utils/combine.ts
6
6
  init_esm_shims();
@@ -33,8 +33,8 @@ import {
33
33
  GLOB_VUE,
34
34
  GLOB_XML,
35
35
  GLOB_YAML
36
- } from "../chunk-33FANJW3.js";
37
- import "../chunk-HDKSKTAP.js";
36
+ } from "../chunk-VLLBPRKA.js";
37
+ import "../chunk-HB3JLPUE.js";
38
38
  export {
39
39
  ACRONYMS_LIST,
40
40
  GLOB_ALL_SRC,
@@ -13,8 +13,8 @@ import {
13
13
  resolve,
14
14
  sep,
15
15
  toNamespacedPath
16
- } from "../chunk-MPGMUG4U.js";
17
- import "../chunk-HDKSKTAP.js";
16
+ } from "../chunk-V54LKJAQ.js";
17
+ import "../chunk-HB3JLPUE.js";
18
18
  export {
19
19
  basename,
20
20
  correctPaths,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot,
3
3
  findWorkspaceRootSafe
4
- } from "../chunk-ALVV2FVE.js";
5
- import "../chunk-MPGMUG4U.js";
6
- import "../chunk-HDKSKTAP.js";
4
+ } from "../chunk-7Q2HAKWQ.js";
5
+ import "../chunk-V54LKJAQ.js";
6
+ import "../chunk-HB3JLPUE.js";
7
7
  export {
8
8
  findWorkspaceRoot,
9
9
  findWorkspaceRootSafe
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatConfig
3
- } from "../chunk-DJ4XDSHW.js";
4
- import "../chunk-HDKSKTAP.js";
3
+ } from "../chunk-GDJ4KG62.js";
4
+ import "../chunk-HB3JLPUE.js";
5
5
  export {
6
6
  formatConfig
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-H5WPTM23.js";
4
- import "../chunk-33FANJW3.js";
5
- import "../chunk-HDKSKTAP.js";
3
+ } from "../chunk-KJG5LD7M.js";
4
+ import "../chunk-VLLBPRKA.js";
5
+ import "../chunk-HB3JLPUE.js";
6
6
  export {
7
7
  getFileBanner
8
8
  };
@@ -6,8 +6,8 @@ import {
6
6
  isPackageInScope,
7
7
  parserPlain,
8
8
  renameRules
9
- } from "../chunk-WWIQZCGC.js";
10
- import "../chunk-HDKSKTAP.js";
9
+ } from "../chunk-L6OG4LEV.js";
10
+ import "../chunk-HB3JLPUE.js";
11
11
  export {
12
12
  ensurePackages,
13
13
  interopDefault,
@@ -33,13 +33,13 @@ import {
33
33
  GLOB_VUE,
34
34
  GLOB_XML,
35
35
  GLOB_YAML
36
- } from "../chunk-33FANJW3.js";
36
+ } from "../chunk-VLLBPRKA.js";
37
37
  import {
38
38
  formatConfig
39
- } from "../chunk-DJ4XDSHW.js";
39
+ } from "../chunk-GDJ4KG62.js";
40
40
  import {
41
41
  init_esm_shims
42
- } from "../chunk-HDKSKTAP.js";
42
+ } from "../chunk-HB3JLPUE.js";
43
43
 
44
44
  // src/utils/index.ts
45
45
  init_esm_shims();
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getTsConfigPath
3
- } from "../chunk-LZUEEZTF.js";
4
- import "../chunk-MPGMUG4U.js";
5
- import "../chunk-HDKSKTAP.js";
3
+ } from "../chunk-WNXXRBAH.js";
4
+ import "../chunk-V54LKJAQ.js";
5
+ import "../chunk-HB3JLPUE.js";
6
6
  export {
7
7
  getTsConfigPath
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.169.49",
3
+ "version": "0.169.51",
4
4
  "type": "module",
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -161,16 +161,16 @@
161
161
  "@antfu/install-pkg": "^1.1.0",
162
162
  "@clack/prompts": "^0.10.1",
163
163
  "@cspell/eslint-plugin": "^8.19.4",
164
- "@eslint/eslintrc": "^3.3.1",
164
+ "@eslint/eslintrc": "^3.3.3",
165
165
  "@eslint/markdown": "^6.6.0",
166
166
  "@nx/eslint-plugin": "22.0.4",
167
- "@storm-software/config": "^1.134.49",
168
- "@storm-software/config-tools": "^1.188.49",
167
+ "@storm-software/config": "^1.134.51",
168
+ "@storm-software/config-tools": "^1.188.51",
169
169
  "@stylistic/eslint-plugin": "^4.4.1",
170
- "@typescript-eslint/eslint-plugin": "^8.48.0",
171
- "@typescript-eslint/parser": "^8.48.0",
172
- "@typescript-eslint/utils": "^8.48.0",
173
- "@vitest/eslint-plugin": "^1.5.0",
170
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
171
+ "@typescript-eslint/parser": "^8.48.1",
172
+ "@typescript-eslint/utils": "^8.48.1",
173
+ "@vitest/eslint-plugin": "^1.5.1",
174
174
  "chalk": "^4.1.2",
175
175
  "defu": "6.1.4",
176
176
  "eslint-config-flat-gitignore": "^2.1.0",
@@ -203,7 +203,7 @@
203
203
  "local-pkg": "^1.1.2",
204
204
  "parse-gitignore": "^2.0.0",
205
205
  "toml-eslint-parser": "^0.10.0",
206
- "yaml-eslint-parser": "^1.3.1",
206
+ "yaml-eslint-parser": "^1.3.2",
207
207
  "zod": "^4.1.13"
208
208
  },
209
209
  "devDependencies": {
@@ -212,7 +212,7 @@
212
212
  "@eslint-types/typescript-eslint": "^7.5.0",
213
213
  "@eslint/config-inspector": "^0.5.6",
214
214
  "@graphql-eslint/eslint-plugin": "^4.4.0",
215
- "@next/eslint-plugin-next": "^15.5.6",
215
+ "@next/eslint-plugin-next": "^15.5.7",
216
216
  "@nx/eslint": "22.0.4",
217
217
  "@prettier/plugin-xml": "^3.4.2",
218
218
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
@@ -224,7 +224,7 @@
224
224
  "esbuild": "^0.25.12",
225
225
  "eslint": "^9.39.1",
226
226
  "eslint-plugin-astro": "^1.5.0",
227
- "eslint-plugin-format": "^1.0.2",
227
+ "eslint-plugin-format": "^1.1.0",
228
228
  "eslint-plugin-import-zod": "^1.2.1",
229
229
  "eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
230
230
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -236,10 +236,10 @@
236
236
  "graphql": "^16.12.0",
237
237
  "prettier-plugin-astro": "^0.14.1",
238
238
  "tsup": "8.4.0",
239
- "tsx": "^4.20.6",
239
+ "tsx": "^4.21.0",
240
240
  "typescript": "^5.9.3"
241
241
  },
242
242
  "publishConfig": { "access": "public" },
243
243
  "sideEffects": false,
244
- "gitHead": "50d5da65a592cc5ebe3ba46b3793471fd910f863"
244
+ "gitHead": "d41f1248a2121aefd52ac185981cddc2d3d3bfbd"
245
245
  }