@storm-software/eslint 0.163.16 → 0.164.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 +2 -1
- package/dist/{chunk-XAXVQHYQ.js → chunk-7ZO3W7OH.js} +2 -2
- package/dist/{chunk-MTQ4IAJI.js → chunk-AUVZFDDS.js} +2 -2
- package/dist/{chunk-OPXMPTGX.js → chunk-LQC4IJZO.js} +1 -1
- package/dist/{chunk-3AIKN3AO.js → chunk-LX2WLDEJ.js} +2 -2
- package/dist/{chunk-VOWBWL73.js → chunk-NAOQBQSK.js} +2 -2
- package/dist/{chunk-BKJP753I.js → chunk-RGQQOX7D.js} +1 -1
- package/dist/{chunk-T53XN5VC.js → chunk-RH5GBG6M.js} +1 -1
- package/dist/{chunk-ZSL46ZW6.js → chunk-VXTUFBBY.js} +1 -1
- package/dist/{chunk-WYQZCFNW.js → chunk-ZQA53H43.js} +3 -3
- package/dist/preset.js +9 -9
- package/dist/types.d.ts +27 -3
- 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 +11 -10
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)
|
|
@@ -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__07dc873a07b0e46f5af09aa8a3fe0c22/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__07dc873a07b0e46f5af09aa8a3fe0c22/node_modules/tsup/assets/esm_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AUVZFDDS.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VXTUFBBY.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NAOQBQSK.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/banner-plugin.ts
|
|
12
12
|
init_esm_shims();
|
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-RH5GBG6M.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7ZO3W7OH.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZQA53H43.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AUVZFDDS.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-VXTUFBBY.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-LX2WLDEJ.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LQC4IJZO.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-NAOQBQSK.js";
|
|
57
57
|
|
|
58
58
|
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=de009a33a0a628f48c96f1a59298fb264fe3e5f5a0a221b7fda5cc52d4c890de/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
59
|
var require_Debug = __commonJS({
|
|
@@ -1150,7 +1150,7 @@ import { default as default5 } from "eslint-plugin-n";
|
|
|
1150
1150
|
import { default as default6 } from "eslint-plugin-no-secrets";
|
|
1151
1151
|
import { default as default7 } from "eslint-plugin-perfectionist";
|
|
1152
1152
|
|
|
1153
|
-
// ../../node_modules/.pnpm/eslint-plugin-pnpm@0.3.0_patch_hash=
|
|
1153
|
+
// ../../node_modules/.pnpm/eslint-plugin-pnpm@0.3.0_patch_hash=72dcde755c336eeca3e6170de1106fd85ecb66171e060788f80_f49c0fa2888558cc49f0b3e531470a9e/node_modules/eslint-plugin-pnpm/dist/index.mjs
|
|
1154
1154
|
init_esm_shims();
|
|
1155
1155
|
import * as jsoncParser from "jsonc-eslint-parser";
|
|
1156
1156
|
import * as yamlParser from "yaml-eslint-parser";
|
package/dist/types.d.ts
CHANGED
|
@@ -3913,6 +3913,11 @@ Backward pagination arguments
|
|
|
3913
3913
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
3914
3914
|
*/
|
|
3915
3915
|
'prefer-template'?: Linter.RuleEntry<[]>
|
|
3916
|
+
/**
|
|
3917
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
3918
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
3919
|
+
*/
|
|
3920
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>
|
|
3916
3921
|
/**
|
|
3917
3922
|
* @see https://github.com/prettier/eslint-plugin-prettier#options
|
|
3918
3923
|
*/
|
|
@@ -8052,6 +8057,7 @@ type AccessorPairs = []|[{
|
|
|
8052
8057
|
getWithoutSet?: boolean
|
|
8053
8058
|
setWithoutGet?: boolean
|
|
8054
8059
|
enforceForClassMembers?: boolean
|
|
8060
|
+
enforceForTSTypes?: boolean
|
|
8055
8061
|
}]
|
|
8056
8062
|
// ----- array-bracket-newline -----
|
|
8057
8063
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -8681,7 +8687,9 @@ type GraphqlStrictIdInTypes = []|[{
|
|
|
8681
8687
|
}
|
|
8682
8688
|
}]
|
|
8683
8689
|
// ----- grouped-accessor-pairs -----
|
|
8684
|
-
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
8690
|
+
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]|[("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
8691
|
+
enforceForTSTypes?: boolean
|
|
8692
|
+
}]
|
|
8685
8693
|
// ----- handle-callback-err -----
|
|
8686
8694
|
type HandleCallbackErr = []|[string]
|
|
8687
8695
|
// ----- id-blacklist -----
|
|
@@ -10734,10 +10742,18 @@ type NoRestrictedExports = []|[({
|
|
|
10734
10742
|
}
|
|
10735
10743
|
})]
|
|
10736
10744
|
// ----- no-restricted-globals -----
|
|
10737
|
-
type NoRestrictedGlobals = (string | {
|
|
10745
|
+
type NoRestrictedGlobals = ((string | {
|
|
10738
10746
|
name: string
|
|
10739
10747
|
message?: string
|
|
10740
|
-
})[]
|
|
10748
|
+
})[] | []|[{
|
|
10749
|
+
|
|
10750
|
+
globals: (string | {
|
|
10751
|
+
name: string
|
|
10752
|
+
message?: string
|
|
10753
|
+
})[]
|
|
10754
|
+
checkGlobalObject?: boolean
|
|
10755
|
+
globalObjects?: string[]
|
|
10756
|
+
}])
|
|
10741
10757
|
// ----- no-restricted-imports -----
|
|
10742
10758
|
type NoRestrictedImports = ((string | {
|
|
10743
10759
|
name: string
|
|
@@ -10866,6 +10882,7 @@ type NoUnusedVars = []|[(("all" | "local") | {
|
|
|
10866
10882
|
caughtErrorsIgnorePattern?: string
|
|
10867
10883
|
destructuredArrayIgnorePattern?: string
|
|
10868
10884
|
ignoreClassWithStaticInitBlock?: boolean
|
|
10885
|
+
ignoreUsingDeclarations?: boolean
|
|
10869
10886
|
reportUsedIgnorePattern?: boolean
|
|
10870
10887
|
})]
|
|
10871
10888
|
// ----- no-use-before-define -----
|
|
@@ -11272,6 +11289,8 @@ type OneVar = []|[(("always" | "never" | "consecutive") | {
|
|
|
11272
11289
|
var?: ("always" | "never" | "consecutive")
|
|
11273
11290
|
let?: ("always" | "never" | "consecutive")
|
|
11274
11291
|
const?: ("always" | "never" | "consecutive")
|
|
11292
|
+
using?: ("always" | "never" | "consecutive")
|
|
11293
|
+
awaitUsing?: ("always" | "never" | "consecutive")
|
|
11275
11294
|
} | {
|
|
11276
11295
|
initialized?: ("always" | "never" | "consecutive")
|
|
11277
11296
|
uninitialized?: ("always" | "never" | "consecutive")
|
|
@@ -14246,6 +14265,11 @@ type PreferReflect = []|[{
|
|
|
14246
14265
|
type PreferRegexLiterals = []|[{
|
|
14247
14266
|
disallowRedundantWrapping?: boolean
|
|
14248
14267
|
}]
|
|
14268
|
+
// ----- preserve-caught-error -----
|
|
14269
|
+
type PreserveCaughtError = []|[{
|
|
14270
|
+
|
|
14271
|
+
requireCatchParameter?: boolean
|
|
14272
|
+
}]
|
|
14249
14273
|
// ----- prettier/prettier -----
|
|
14250
14274
|
type PrettierPrettier = []|[{
|
|
14251
14275
|
[k: string]: unknown | undefined
|
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-ZQA53H43.js";
|
|
4
|
+
import "../chunk-AUVZFDDS.js";
|
|
5
|
+
import "../chunk-VXTUFBBY.js";
|
|
6
|
+
import "../chunk-NAOQBQSK.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-LX2WLDEJ.js";
|
|
5
|
+
import "../chunk-LQC4IJZO.js";
|
|
6
|
+
import "../chunk-NAOQBQSK.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-VXTUFBBY.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-RGQQOX7D.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-NAOQBQSK.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.
|
|
3
|
+
"version": "0.164.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": {
|
|
@@ -141,9 +141,10 @@
|
|
|
141
141
|
"@next/eslint-plugin-next": "^15.2.0-canary.67",
|
|
142
142
|
"@nx/eslint": "^21.4.1",
|
|
143
143
|
"@prettier/plugin-xml": "^3.4.1",
|
|
144
|
+
"@storm-software/tsdoc": "*",
|
|
144
145
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
145
146
|
"astro-eslint-parser": "^1.0.2",
|
|
146
|
-
"eslint": "^9.
|
|
147
|
+
"eslint": "^9.35.0",
|
|
147
148
|
"eslint-plugin-astro": "^1.2.0",
|
|
148
149
|
"eslint-plugin-format": ">=0.1.0",
|
|
149
150
|
"eslint-plugin-import-zod": "^1.2.0",
|
|
@@ -163,8 +164,8 @@
|
|
|
163
164
|
"@eslint/eslintrc": "^3.3.1",
|
|
164
165
|
"@eslint/markdown": "^6.6.0",
|
|
165
166
|
"@nx/eslint-plugin": "^21.4.1",
|
|
166
|
-
"@storm-software/config": "^1.129.
|
|
167
|
-
"@storm-software/config-tools": "^1.
|
|
167
|
+
"@storm-software/config": "^1.129.2",
|
|
168
|
+
"@storm-software/config-tools": "^1.182.0",
|
|
168
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
169
170
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
170
171
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
198
199
|
"eslint-plugin-unused-imports": "^4.2.0",
|
|
199
200
|
"eslint-plugin-yml": "^1.18.0",
|
|
200
|
-
"globals": "^16.
|
|
201
|
+
"globals": "^16.4.0",
|
|
201
202
|
"jsonc-eslint-parser": "^2.4.0",
|
|
202
203
|
"local-pkg": "^1.1.2",
|
|
203
204
|
"parse-gitignore": "^2.0.0",
|
|
@@ -206,12 +207,12 @@
|
|
|
206
207
|
"zod": "^4.0.2"
|
|
207
208
|
},
|
|
208
209
|
"devDependencies": {
|
|
209
|
-
"@eslint-community/eslint-utils": "^4.
|
|
210
|
-
"@eslint-react/eslint-plugin": "^1.53.
|
|
210
|
+
"@eslint-community/eslint-utils": "^4.9.0",
|
|
211
|
+
"@eslint-react/eslint-plugin": "^1.53.1",
|
|
211
212
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
212
213
|
"@eslint/config-inspector": "^0.5.6",
|
|
213
214
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
214
|
-
"@next/eslint-plugin-next": "^15.5.
|
|
215
|
+
"@next/eslint-plugin-next": "^15.5.3",
|
|
215
216
|
"@nx/eslint": "^21.4.1",
|
|
216
217
|
"@prettier/plugin-xml": "^3.4.2",
|
|
217
218
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
"@unocss/eslint-plugin": "^65.5.0",
|
|
222
223
|
"astro-eslint-parser": "^1.2.2",
|
|
223
224
|
"esbuild": "^0.25.0",
|
|
224
|
-
"eslint": "^9.
|
|
225
|
+
"eslint": "^9.35.0",
|
|
225
226
|
"eslint-plugin-astro": "^1.3.1",
|
|
226
227
|
"eslint-plugin-format": "^1.0.1",
|
|
227
228
|
"eslint-plugin-import-zod": "^1.2.0",
|
|
@@ -240,5 +241,5 @@
|
|
|
240
241
|
},
|
|
241
242
|
"publishConfig": { "access": "public" },
|
|
242
243
|
"sideEffects": false,
|
|
243
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "33495f6446b9cce3f9874b76bc93cdc975e2d866"
|
|
244
245
|
}
|