@storm-software/eslint 0.89.0 → 0.90.0

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.90.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.mjs CHANGED
@@ -6,13 +6,14 @@ const __dirname = banner_dirname(__filename);
6
6
 
7
7
  import { plugins, rules } from '@cspell/eslint-plugin/recommended';
8
8
  import next from '@next/eslint-plugin-next';
9
- import nxPlugin from '@nx/eslint-plugin';
9
+ import nxPlugin from '@nx/eslint-plugin/nx';
10
10
  import json from 'eslint-plugin-json';
11
11
  import markdown from 'eslint-plugin-markdown';
12
12
  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';
@@ -12935,7 +12936,7 @@ function getStormConfig(options = {
12935
12936
  var _a;
12936
12937
  const tsconfig = options.tsconfig;
12937
12938
  const parserOptions = options.parserOptions;
12938
- const typescriptEslintConfigType = options.typescriptEslintConfigType || "recommendedTypeChecked";
12939
+ const typescriptEslintConfigType = options.typescriptEslintConfigType || "eslintRecommended";
12939
12940
  const useUnicorn = options.useUnicorn ?? true;
12940
12941
  const react = options.react ?? {};
12941
12942
  const nx = options.nx ?? {};
@@ -13147,6 +13148,7 @@ function getStormConfig(options = {
13147
13148
  typescriptConfig.languageOptions.parserOptions.project = tsconfig;
13148
13149
  }
13149
13150
  configs.push(typescriptConfig);
13151
+ configs.push(...storybookPlugin.configs["flat/recommended"]);
13150
13152
  if (options.markdown) {
13151
13153
  configs.push(...markdown.configs.recommended);
13152
13154
  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.90.0",
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",