@storm-software/eslint 0.169.10 → 0.169.12
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/{chunk-DKLQIXFY.js → chunk-4WKAXWVU.js} +2 -2
- package/dist/{chunk-EQQXXA7O.js → chunk-6A5FEQKR.js} +1 -1
- package/dist/{chunk-3P3BY536.js → chunk-6H6LCHHQ.js} +1 -1
- package/dist/{chunk-4R4I37PE.js → chunk-BHZ4K64G.js} +2 -2
- package/dist/{chunk-I2OWRZCL.js → chunk-E35FAZSW.js} +1 -1
- package/dist/{chunk-3CABY5SU.js → chunk-G2H5TVU3.js} +2 -2
- package/dist/{chunk-4Y2FVQLS.js → chunk-PCYS6M4T.js} +2 -2
- package/dist/{chunk-3Y4ML6EI.js → chunk-UGY3LRJW.js} +1 -1
- package/dist/{chunk-LCRY7GZQ.js → chunk-YPHN6CFT.js} +3 -3
- package/dist/preset.js +9 -14
- package/dist/types.d.ts +12 -0
- 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 +6 -6
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 -->
|
|
@@ -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__f32c8b65381a717ba532db36fe924c50/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__f32c8b65381a717ba532db36fe924c50/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-PCYS6M4T.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E35FAZSW.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G2H5TVU3.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-UGY3LRJW.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4WKAXWVU.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YPHN6CFT.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PCYS6M4T.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-E35FAZSW.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-BHZ4K64G.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6H6LCHHQ.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-G2H5TVU3.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";
|
|
@@ -8352,7 +8352,6 @@ async function typescript(options = {}) {
|
|
|
8352
8352
|
{
|
|
8353
8353
|
selector: "typeLike",
|
|
8354
8354
|
format: ["PascalCase"],
|
|
8355
|
-
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_)", match: true },
|
|
8356
8355
|
filter: { regex: "^(__String|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8357
8356
|
},
|
|
8358
8357
|
{
|
|
@@ -8363,7 +8362,7 @@ async function typescript(options = {}) {
|
|
|
8363
8362
|
match: false
|
|
8364
8363
|
},
|
|
8365
8364
|
filter: {
|
|
8366
|
-
regex: "^
|
|
8365
|
+
regex: "^I(Arguments|TextWriter|O([A-Z][a-z]+[A-Za-z]*)?)$",
|
|
8367
8366
|
match: false
|
|
8368
8367
|
}
|
|
8369
8368
|
},
|
|
@@ -8371,7 +8370,6 @@ async function typescript(options = {}) {
|
|
|
8371
8370
|
selector: "variable",
|
|
8372
8371
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
8373
8372
|
leadingUnderscore: "allow",
|
|
8374
|
-
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_)", match: true },
|
|
8375
8373
|
filter: {
|
|
8376
8374
|
regex: "^(_{1,2}filename|_{1,2}dirname|_+|[A-Za-z]+_[A-Za-z]+)$",
|
|
8377
8375
|
match: false
|
|
@@ -8381,7 +8379,6 @@ async function typescript(options = {}) {
|
|
|
8381
8379
|
selector: "function",
|
|
8382
8380
|
format: ["camelCase", "PascalCase"],
|
|
8383
8381
|
leadingUnderscore: "allow",
|
|
8384
|
-
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_)", match: true },
|
|
8385
8382
|
filter: { regex: "^[A-Za-z]+_[A-Za-z]+$", match: false }
|
|
8386
8383
|
},
|
|
8387
8384
|
{
|
|
@@ -8394,14 +8391,12 @@ async function typescript(options = {}) {
|
|
|
8394
8391
|
selector: "method",
|
|
8395
8392
|
format: ["camelCase", "PascalCase"],
|
|
8396
8393
|
leadingUnderscore: "allow",
|
|
8397
|
-
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_)", match: true },
|
|
8398
8394
|
filter: { regex: "^([0-9]+|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8399
8395
|
},
|
|
8400
8396
|
{
|
|
8401
8397
|
selector: "memberLike",
|
|
8402
8398
|
format: ["camelCase"],
|
|
8403
8399
|
leadingUnderscore: "allow",
|
|
8404
|
-
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_)", match: true },
|
|
8405
8400
|
filter: { regex: "^([0-9]+|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8406
8401
|
},
|
|
8407
8402
|
{
|
package/dist/types.d.ts
CHANGED
|
@@ -784,6 +784,11 @@ Backward pagination arguments
|
|
|
784
784
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-text-directive/
|
|
785
785
|
*/
|
|
786
786
|
'astro/no-set-text-directive'?: Linter.RuleEntry<[]>
|
|
787
|
+
/**
|
|
788
|
+
* disallow inline `<script>` without `src` to encourage CSP-safe patterns
|
|
789
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unsafe-inline-scripts/
|
|
790
|
+
*/
|
|
791
|
+
'astro/no-unsafe-inline-scripts'?: Linter.RuleEntry<AstroNoUnsafeInlineScripts>
|
|
787
792
|
/**
|
|
788
793
|
* disallow selectors defined in `style` tag that don't use in HTML
|
|
789
794
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unused-css-selector/
|
|
@@ -8300,6 +8305,13 @@ type AstroJsxA11YScope = []|[{
|
|
|
8300
8305
|
type AstroJsxA11YTabindexNoPositive = []|[{
|
|
8301
8306
|
[k: string]: unknown | undefined
|
|
8302
8307
|
}]
|
|
8308
|
+
// ----- astro/no-unsafe-inline-scripts -----
|
|
8309
|
+
type AstroNoUnsafeInlineScripts = []|[{
|
|
8310
|
+
allowDefineVars?: boolean
|
|
8311
|
+
allowModuleScripts?: boolean
|
|
8312
|
+
allowNonExecutingTypes?: string[]
|
|
8313
|
+
allowNonce?: boolean
|
|
8314
|
+
}]
|
|
8303
8315
|
// ----- astro/prefer-split-class-list -----
|
|
8304
8316
|
type AstroPreferSplitClassList = []|[{
|
|
8305
8317
|
splitLiteral?: boolean
|
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-YPHN6CFT.js";
|
|
4
|
+
import "../chunk-PCYS6M4T.js";
|
|
5
|
+
import "../chunk-E35FAZSW.js";
|
|
6
|
+
import "../chunk-G2H5TVU3.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-BHZ4K64G.js";
|
|
5
|
+
import "../chunk-6H6LCHHQ.js";
|
|
6
|
+
import "../chunk-G2H5TVU3.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-E35FAZSW.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-6A5FEQKR.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-G2H5TVU3.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.12",
|
|
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,13 +164,13 @@
|
|
|
164
164
|
"@eslint/eslintrc": "^3.3.1",
|
|
165
165
|
"@eslint/markdown": "^6.6.0",
|
|
166
166
|
"@nx/eslint-plugin": "^21.4.1",
|
|
167
|
-
"@storm-software/config": "^1.134.
|
|
168
|
-
"@storm-software/config-tools": "^1.188.
|
|
167
|
+
"@storm-software/config": "^1.134.12",
|
|
168
|
+
"@storm-software/config-tools": "^1.188.12",
|
|
169
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
170
170
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
171
171
|
"@typescript-eslint/parser": "^8.35.0",
|
|
172
172
|
"@typescript-eslint/utils": "^8.35.0",
|
|
173
|
-
"@vitest/eslint-plugin": "^1.3.
|
|
173
|
+
"@vitest/eslint-plugin": "^1.3.26",
|
|
174
174
|
"chalk": "^4.1.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"astro-eslint-parser": "^1.2.2",
|
|
224
224
|
"esbuild": "^0.25.0",
|
|
225
225
|
"eslint": "^9.35.0",
|
|
226
|
-
"eslint-plugin-astro": "^1.
|
|
226
|
+
"eslint-plugin-astro": "^1.4.0",
|
|
227
227
|
"eslint-plugin-format": "^1.0.2",
|
|
228
228
|
"eslint-plugin-import-zod": "^1.2.0",
|
|
229
229
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "f8f8eb9bb43ef672370e0dfcba1cf80f7e009934"
|
|
245
245
|
}
|