@storm-software/eslint 0.89.0 → 0.89.1

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.88.3-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.89.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/dist/preset.mjs CHANGED
@@ -13,6 +13,7 @@ import prettierConfig from 'eslint-plugin-prettier/recommended';
13
13
  import reactPlugin from 'eslint-plugin-react';
14
14
  import reactCompiler from 'eslint-plugin-react-compiler';
15
15
  import reactHooks from 'eslint-plugin-react-hooks';
16
+ import storybookPlugin from 'eslint-plugin-storybook';
16
17
  import tsdoc from 'eslint-plugin-tsdoc';
17
18
  import unicorn from 'eslint-plugin-unicorn';
18
19
  import yml from 'eslint-plugin-yml';
@@ -13016,6 +13017,11 @@ function getStormConfig(options = {
13016
13017
  configs.push({
13017
13018
  plugins: { "@nx": nxPlugin }
13018
13019
  });
13020
+ const nxPluginConfigs = nxPlugin.configs;
13021
+ if (react) {
13022
+ configs.push(...nxPluginConfigs["flat/react-typescript"]);
13023
+ }
13024
+ configs.push(...nxPluginConfigs["flat/typescript"]);
13019
13025
  }
13020
13026
  configs.push(eslint.configs.recommended);
13021
13027
  if (typescriptEslintConfigType !== "none") {
@@ -13147,6 +13153,7 @@ function getStormConfig(options = {
13147
13153
  typescriptConfig.languageOptions.parserOptions.project = tsconfig;
13148
13154
  }
13149
13155
  configs.push(typescriptConfig);
13156
+ configs.push(...storybookPlugin.configs["flat/recommended"]);
13150
13157
  if (options.markdown) {
13151
13158
  configs.push(...markdown.configs.recommended);
13152
13159
  configs.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.89.0",
3
+ "version": "0.89.1",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -51,8 +51,8 @@
51
51
  "monorepo"
52
52
  ],
53
53
  "peerDependencies": {
54
- "@nx/eslint": ">=19.6.4",
55
- "@nx/eslint-plugin": ">=19.6.4",
54
+ "@nx/eslint": ">=20.0.6",
55
+ "@nx/eslint-plugin": ">=20.0.6",
56
56
  "eslint": "9.5.0",
57
57
  "graphql": ">=16.9.0"
58
58
  },
@@ -91,6 +91,7 @@
91
91
  "eslint-plugin-react-hooks": "^4.6.2",
92
92
  "eslint-plugin-relay": "1.8.3",
93
93
  "eslint-plugin-sonarjs": "1.0.3",
94
+ "eslint-plugin-storybook": "0.10.1",
94
95
  "eslint-plugin-tsdoc": "0.3.0",
95
96
  "eslint-plugin-unicorn": "54.0.0",
96
97
  "eslint-plugin-yml": "1.14.0",
@@ -103,8 +104,8 @@
103
104
  },
104
105
  "devDependencies": {
105
106
  "@eslint/config-inspector": "^0.5.1",
106
- "@nx/eslint": ">=19.6.4",
107
- "@nx/eslint-plugin": ">=19.6.4",
107
+ "@nx/eslint": ">=20.0.6",
108
+ "@nx/eslint-plugin": ">=20.0.6",
108
109
  "@types/eslint": "^8.56.10",
109
110
  "@types/eslint__js": "^8.42.3",
110
111
  "@types/node": "^22.4.0",