@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 +2 -1
- package/dist/preset.js +16 -19
- package/package.json +4 -4
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 -->
|
|
@@ -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
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
] : []
|
|
7714
|
-
|
|
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.
|
|
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.
|
|
168
|
-
"@storm-software/config-tools": "^1.188.
|
|
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": "
|
|
244
|
+
"gitHead": "b2f33cb8df16dbfea73626cad076bd41833f8dda"
|
|
245
245
|
}
|