@storm-software/eslint 0.169.49 → 0.169.50

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.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)
24
+ [![Version](https://img.shields.io/badge/version-0.169.48-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 -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Base ESLint Package](#storm-base-eslint-package)
package/dist/preset.js CHANGED
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.169.49",
3
+ "version": "0.169.50",
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": "22.0.4",
167
- "@storm-software/config": "^1.134.49",
168
- "@storm-software/config-tools": "^1.188.49",
167
+ "@storm-software/config": "^1.134.50",
168
+ "@storm-software/config-tools": "^1.188.50",
169
169
  "@stylistic/eslint-plugin": "^4.4.1",
170
170
  "@typescript-eslint/eslint-plugin": "^8.48.0",
171
171
  "@typescript-eslint/parser": "^8.48.0",
@@ -241,5 +241,5 @@
241
241
  },
242
242
  "publishConfig": { "access": "public" },
243
243
  "sideEffects": false,
244
- "gitHead": "50d5da65a592cc5ebe3ba46b3793471fd910f863"
244
+ "gitHead": "b2f33cb8df16dbfea73626cad076bd41833f8dda"
245
245
  }