@storm-software/eslint 0.88.3 → 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 +1 -1
- package/dist/preset.mjs +7 -0
- 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
|
@@ -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.
|
|
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": ">=
|
|
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",
|