@storm-software/eslint 0.169.49 → 0.169.51
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 +9 -2
- package/dist/{chunk-RX5ME5HU.js → chunk-5S3KDX5G.js} +3 -3
- package/dist/{chunk-ALVV2FVE.js → chunk-7Q2HAKWQ.js} +2 -2
- package/dist/{chunk-DJ4XDSHW.js → chunk-GDJ4KG62.js} +1 -1
- package/dist/{chunk-HDKSKTAP.js → chunk-HB3JLPUE.js} +2 -2
- package/dist/{chunk-H5WPTM23.js → chunk-KJG5LD7M.js} +2 -2
- package/dist/{chunk-WWIQZCGC.js → chunk-L6OG4LEV.js} +1 -1
- package/dist/{chunk-MPGMUG4U.js → chunk-V54LKJAQ.js} +1 -1
- package/dist/{chunk-33FANJW3.js → chunk-VLLBPRKA.js} +1 -1
- package/dist/{chunk-LZUEEZTF.js → chunk-WNXXRBAH.js} +2 -2
- package/dist/preset.js +24 -27
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +3 -3
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"
|
|
6
|
+
<div align="center">
|
|
7
|
+
<picture>
|
|
8
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif">
|
|
9
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light-optimized.gif">
|
|
10
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif" width="100%" alt="Storm Software" />
|
|
11
|
+
</picture>
|
|
12
|
+
</div>
|
|
7
13
|
<br />
|
|
8
14
|
|
|
9
15
|
<div align="center">
|
|
@@ -21,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
27
|
|
|
22
28
|
<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
29
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
31
|
|
|
26
32
|
<!-- prettier-ignore-start -->
|
|
27
33
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +46,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
46
|
|
|
41
47
|
<!-- START doctoc -->
|
|
42
48
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
49
|
+
|
|
43
50
|
## Table of Contents
|
|
44
51
|
|
|
45
52
|
- [Storm Base ESLint Package](#storm-base-eslint-package)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KJG5LD7M.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VLLBPRKA.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HB3JLPUE.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/banner-plugin.ts
|
|
12
12
|
init_esm_shims();
|
|
@@ -31,11 +31,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
mod
|
|
32
32
|
));
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
34
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__5adfafe360c1e61df03aa1e123559c5f/node_modules/tsup/assets/esm_shims.js
|
|
35
35
|
import { fileURLToPath } from "url";
|
|
36
36
|
import path from "path";
|
|
37
37
|
var init_esm_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__5adfafe360c1e61df03aa1e123559c5f/node_modules/tsup/assets/esm_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
package/dist/preset.js
CHANGED
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
isPackageInScope,
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L6OG4LEV.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WNXXRBAH.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5S3KDX5G.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KJG5LD7M.js";
|
|
18
18
|
import {
|
|
19
19
|
GLOB_ASTRO,
|
|
20
20
|
GLOB_ASTRO_TS,
|
|
@@ -41,19 +41,19 @@ import {
|
|
|
41
41
|
GLOB_TSX,
|
|
42
42
|
GLOB_XML,
|
|
43
43
|
GLOB_YAML
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VLLBPRKA.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-7Q2HAKWQ.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-V54LKJAQ.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HB3JLPUE.js";
|
|
57
57
|
|
|
58
58
|
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
59
|
import * as __import_process from "process";
|
|
@@ -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/dist/types.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-5S3KDX5G.js";
|
|
4
|
+
import "../chunk-KJG5LD7M.js";
|
|
5
|
+
import "../chunk-VLLBPRKA.js";
|
|
6
|
+
import "../chunk-HB3JLPUE.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
9
9
|
};
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot,
|
|
3
3
|
findWorkspaceRootSafe
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7Q2HAKWQ.js";
|
|
5
|
+
import "../chunk-V54LKJAQ.js";
|
|
6
|
+
import "../chunk-HB3JLPUE.js";
|
|
7
7
|
export {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
findWorkspaceRootSafe
|
package/dist/utils/helpers.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
GLOB_VUE,
|
|
34
34
|
GLOB_XML,
|
|
35
35
|
GLOB_YAML
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-VLLBPRKA.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-GDJ4KG62.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-HB3JLPUE.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.169.
|
|
3
|
+
"version": "0.169.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -161,16 +161,16 @@
|
|
|
161
161
|
"@antfu/install-pkg": "^1.1.0",
|
|
162
162
|
"@clack/prompts": "^0.10.1",
|
|
163
163
|
"@cspell/eslint-plugin": "^8.19.4",
|
|
164
|
-
"@eslint/eslintrc": "^3.3.
|
|
164
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
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.51",
|
|
168
|
+
"@storm-software/config-tools": "^1.188.51",
|
|
169
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
170
|
-
"@typescript-eslint/eslint-plugin": "^8.48.
|
|
171
|
-
"@typescript-eslint/parser": "^8.48.
|
|
172
|
-
"@typescript-eslint/utils": "^8.48.
|
|
173
|
-
"@vitest/eslint-plugin": "^1.5.
|
|
170
|
+
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
171
|
+
"@typescript-eslint/parser": "^8.48.1",
|
|
172
|
+
"@typescript-eslint/utils": "^8.48.1",
|
|
173
|
+
"@vitest/eslint-plugin": "^1.5.1",
|
|
174
174
|
"chalk": "^4.1.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"local-pkg": "^1.1.2",
|
|
204
204
|
"parse-gitignore": "^2.0.0",
|
|
205
205
|
"toml-eslint-parser": "^0.10.0",
|
|
206
|
-
"yaml-eslint-parser": "^1.3.
|
|
206
|
+
"yaml-eslint-parser": "^1.3.2",
|
|
207
207
|
"zod": "^4.1.13"
|
|
208
208
|
},
|
|
209
209
|
"devDependencies": {
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
213
213
|
"@eslint/config-inspector": "^0.5.6",
|
|
214
214
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
215
|
-
"@next/eslint-plugin-next": "^15.5.
|
|
215
|
+
"@next/eslint-plugin-next": "^15.5.7",
|
|
216
216
|
"@nx/eslint": "22.0.4",
|
|
217
217
|
"@prettier/plugin-xml": "^3.4.2",
|
|
218
218
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"esbuild": "^0.25.12",
|
|
225
225
|
"eslint": "^9.39.1",
|
|
226
226
|
"eslint-plugin-astro": "^1.5.0",
|
|
227
|
-
"eslint-plugin-format": "^1.0
|
|
227
|
+
"eslint-plugin-format": "^1.1.0",
|
|
228
228
|
"eslint-plugin-import-zod": "^1.2.1",
|
|
229
229
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
230
230
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
@@ -236,10 +236,10 @@
|
|
|
236
236
|
"graphql": "^16.12.0",
|
|
237
237
|
"prettier-plugin-astro": "^0.14.1",
|
|
238
238
|
"tsup": "8.4.0",
|
|
239
|
-
"tsx": "^4.
|
|
239
|
+
"tsx": "^4.21.0",
|
|
240
240
|
"typescript": "^5.9.3"
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "d41f1248a2121aefd52ac185981cddc2d3d3bfbd"
|
|
245
245
|
}
|