@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 +1 -1
- package/dist/preset.mjs +4 -2
- package/package.json +6 -5
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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 || "
|
|
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.
|
|
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": ">=
|
|
55
|
-
"@nx/eslint-plugin": ">=
|
|
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": ">=
|
|
107
|
-
"@nx/eslint-plugin": ">=
|
|
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",
|