@storm-software/eslint 0.168.13 → 0.168.15
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-ZB3KFSMN.js → chunk-6H2SHOY4.js} +2 -2
- package/dist/{chunk-DACBXGVE.js → chunk-AUPVULPL.js} +2 -2
- package/dist/{chunk-LX6FGVPH.js → chunk-JGDEG437.js} +1 -1
- package/dist/{chunk-ASYPQ3CF.js → chunk-QT3ZWDTP.js} +1 -1
- package/dist/{chunk-UQT7HWWX.js → chunk-ST3BSVU6.js} +1 -1
- package/dist/{chunk-2DA5MN5N.js → chunk-TBXMMFKL.js} +1 -1
- package/dist/{chunk-FDKQK2NB.js → chunk-UE47PAF6.js} +3 -3
- package/dist/{chunk-D574F2FX.js → chunk-ULGVUI5E.js} +2 -2
- package/dist/{chunk-JRHITY3S.js → chunk-W75IM57X.js} +2 -2
- package/dist/preset.js +9 -9
- package/dist/types.d.ts +10 -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 +9 -9
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__32d1ae8d3df44e28e22d73acf5bdeba6/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__32d1ae8d3df44e28e22d73acf5bdeba6/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-W75IM57X.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TBXMMFKL.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6H2SHOY4.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-JGDEG437.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AUPVULPL.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UE47PAF6.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-W75IM57X.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-TBXMMFKL.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ULGVUI5E.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-QT3ZWDTP.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6H2SHOY4.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";
|
|
@@ -1249,7 +1249,7 @@ import { default as default5 } from "eslint-plugin-n";
|
|
|
1249
1249
|
import { default as default6 } from "eslint-plugin-no-secrets";
|
|
1250
1250
|
import { default as default7 } from "eslint-plugin-perfectionist";
|
|
1251
1251
|
|
|
1252
|
-
// ../../node_modules/.pnpm/eslint-plugin-pnpm@0.3.0_patch_hash=
|
|
1252
|
+
// ../../node_modules/.pnpm/eslint-plugin-pnpm@0.3.0_patch_hash=72dcde755c336eeca3e6170de1106fd85ecb66171e060788f80_a3316d67ac1e7c8ed797bfee35d96afb/node_modules/eslint-plugin-pnpm/dist/index.mjs
|
|
1253
1253
|
init_esm_shims();
|
|
1254
1254
|
import * as jsoncParser from "jsonc-eslint-parser";
|
|
1255
1255
|
import * as yamlParser from "yaml-eslint-parser";
|
package/dist/types.d.ts
CHANGED
|
@@ -5758,6 +5758,11 @@ Backward pagination arguments
|
|
|
5758
5758
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
5759
5759
|
*/
|
|
5760
5760
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
5761
|
+
/**
|
|
5762
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
5763
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
5764
|
+
*/
|
|
5765
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>
|
|
5761
5766
|
/**
|
|
5762
5767
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
5763
5768
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -5818,6 +5823,11 @@ Backward pagination arguments
|
|
|
5818
5823
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5819
5824
|
*/
|
|
5820
5825
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
5826
|
+
/**
|
|
5827
|
+
* prefer dynamic import in mock
|
|
5828
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
5829
|
+
*/
|
|
5830
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>
|
|
5821
5831
|
/**
|
|
5822
5832
|
* enforce importing Vitest globals
|
|
5823
5833
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
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-UE47PAF6.js";
|
|
4
|
+
import "../chunk-W75IM57X.js";
|
|
5
|
+
import "../chunk-TBXMMFKL.js";
|
|
6
|
+
import "../chunk-6H2SHOY4.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-ULGVUI5E.js";
|
|
5
|
+
import "../chunk-QT3ZWDTP.js";
|
|
6
|
+
import "../chunk-6H2SHOY4.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-TBXMMFKL.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ST3BSVU6.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-6H2SHOY4.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.168.
|
|
3
|
+
"version": "0.168.15",
|
|
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.133.
|
|
168
|
-
"@storm-software/config-tools": "^1.187.
|
|
167
|
+
"@storm-software/config": "^1.133.5",
|
|
168
|
+
"@storm-software/config-tools": "^1.187.10",
|
|
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.15",
|
|
174
174
|
"chalk": "^4.1.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
198
198
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
199
199
|
"eslint-plugin-unused-imports": "^4.2.0",
|
|
200
|
-
"eslint-plugin-yml": "^1.
|
|
200
|
+
"eslint-plugin-yml": "^1.19.0",
|
|
201
201
|
"globals": "^16.4.0",
|
|
202
202
|
"jsonc-eslint-parser": "^2.4.1",
|
|
203
203
|
"local-pkg": "^1.1.2",
|
|
@@ -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.4",
|
|
216
216
|
"@nx/eslint": "^21.4.1",
|
|
217
217
|
"@prettier/plugin-xml": "^3.4.2",
|
|
218
218
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
230
230
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
231
231
|
"eslint-plugin-react-native": "^5.0.0",
|
|
232
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
232
|
+
"eslint-plugin-react-refresh": "^0.4.23",
|
|
233
233
|
"eslint-plugin-relay": "^1.8.3",
|
|
234
234
|
"eslint-plugin-storybook": "^0.11.6",
|
|
235
235
|
"eslint-typegen": "^1.0.0",
|
|
@@ -237,9 +237,9 @@
|
|
|
237
237
|
"prettier-plugin-astro": "^0.14.1",
|
|
238
238
|
"tsup": "8.4.0",
|
|
239
239
|
"tsx": "^4.19.2",
|
|
240
|
-
"typescript": "^5.9.
|
|
240
|
+
"typescript": "^5.9.3"
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "ff77233e5189516cebce6ade530d67f202d151f3"
|
|
245
245
|
}
|