@storm-software/eslint 0.159.11 → 0.159.13
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-IDY7RCOU.js → chunk-5CQE3UOC.js} +1 -1
- package/dist/{chunk-RYB2G356.js → chunk-7TCXMWI3.js} +1 -1
- package/dist/{chunk-JPQ3H24H.js → chunk-IEGLZ75U.js} +2 -2
- package/dist/{chunk-VYMVJJZO.js → chunk-KBMKJUYQ.js} +2 -2
- package/dist/{chunk-D2XDF23C.js → chunk-QRXN4ZQR.js} +1 -1
- package/dist/{chunk-RFTPEAHT.js → chunk-RNW2OOIE.js} +1 -1
- package/dist/{chunk-SGJC2PIV.js → chunk-S2VVDLUR.js} +2 -2
- package/dist/{chunk-IDI2VOSV.js → chunk-SSVAKJKX.js} +3 -3
- package/dist/{chunk-TS6H5T6G.js → chunk-T3IDYVM5.js} +2 -2
- package/dist/preset.js +8 -8
- package/dist/types.d.ts +20 -1
- 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 +12 -12
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 -->
|
|
@@ -27,11 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__874b2146e0e581d6ef5c922c607465aa/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
import { fileURLToPath } from "url";
|
|
32
32
|
import path from "path";
|
|
33
33
|
var init_esm_shims = __esm({
|
|
34
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__874b2146e0e581d6ef5c922c607465aa/node_modules/tsup/assets/esm_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IEGLZ75U.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QRXN4ZQR.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KBMKJUYQ.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-7TCXMWI3.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S2VVDLUR.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SSVAKJKX.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IEGLZ75U.js";
|
|
18
18
|
import {
|
|
19
19
|
GLOB_ASTRO,
|
|
20
20
|
GLOB_ASTRO_TS,
|
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
GLOB_TSX,
|
|
42
42
|
GLOB_XML,
|
|
43
43
|
GLOB_YAML
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QRXN4ZQR.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-T3IDYVM5.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5CQE3UOC.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__toESM,
|
|
54
54
|
init_esm_shims
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-KBMKJUYQ.js";
|
|
56
56
|
|
|
57
57
|
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=e11a3887a5b3ec5d675ce58bd21db060debc09ebe2f9ce229a088d3f69e21238/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
58
58
|
var require_Debug = __commonJS({
|
package/dist/types.d.ts
CHANGED
|
@@ -5547,6 +5547,11 @@ Backward pagination arguments
|
|
|
5547
5547
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
5548
5548
|
*/
|
|
5549
5549
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
|
|
5550
|
+
/**
|
|
5551
|
+
* enforce using vitest or vi but not both
|
|
5552
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
5553
|
+
*/
|
|
5554
|
+
'test/consistent-vitest-vi'?: Linter.RuleEntry<TestConsistentVitestVi>
|
|
5550
5555
|
/**
|
|
5551
5556
|
* enforce having expectation in test body
|
|
5552
5557
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -5623,6 +5628,11 @@ Backward pagination arguments
|
|
|
5623
5628
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
5624
5629
|
*/
|
|
5625
5630
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
5631
|
+
/**
|
|
5632
|
+
* disallow importing Vitest globals
|
|
5633
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
5634
|
+
*/
|
|
5635
|
+
'test/no-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
5626
5636
|
/**
|
|
5627
5637
|
* disallow string interpolation in snapshots
|
|
5628
5638
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -5659,7 +5669,7 @@ Backward pagination arguments
|
|
|
5659
5669
|
*/
|
|
5660
5670
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
|
|
5661
5671
|
/**
|
|
5662
|
-
*
|
|
5672
|
+
* disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
5663
5673
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
5664
5674
|
*/
|
|
5665
5675
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
@@ -5753,6 +5763,11 @@ Backward pagination arguments
|
|
|
5753
5763
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5754
5764
|
*/
|
|
5755
5765
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
5766
|
+
/**
|
|
5767
|
+
* enforce importing Vitest globals
|
|
5768
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
5769
|
+
*/
|
|
5770
|
+
'test/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
5756
5771
|
/**
|
|
5757
5772
|
* enforce lowercase titles
|
|
5758
5773
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -15687,6 +15702,10 @@ type TestConsistentTestIt = []|[{
|
|
|
15687
15702
|
fn?: ("test" | "it")
|
|
15688
15703
|
withinDescribe?: ("test" | "it")
|
|
15689
15704
|
}]
|
|
15705
|
+
// ----- test/consistent-vitest-vi -----
|
|
15706
|
+
type TestConsistentVitestVi = []|[{
|
|
15707
|
+
fn?: ("vi" | "vitest")
|
|
15708
|
+
}]
|
|
15690
15709
|
// ----- test/expect-expect -----
|
|
15691
15710
|
type TestExpectExpect = []|[{
|
|
15692
15711
|
assertFunctionNames?: string[]
|
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-SSVAKJKX.js";
|
|
4
|
+
import "../chunk-IEGLZ75U.js";
|
|
5
|
+
import "../chunk-QRXN4ZQR.js";
|
|
6
|
+
import "../chunk-KBMKJUYQ.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-T3IDYVM5.js";
|
|
5
|
+
import "../chunk-5CQE3UOC.js";
|
|
6
|
+
import "../chunk-KBMKJUYQ.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-QRXN4ZQR.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-RNW2OOIE.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-KBMKJUYQ.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.13",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "github",
|
|
8
8
|
"url": "https://github.com/storm-software/storm-ops",
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
163
|
"@eslint/markdown": "^6.5.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
-
"@storm-software/config": "^1.122.
|
|
166
|
-
"@storm-software/config-tools": "^1.173.
|
|
165
|
+
"@storm-software/config": "^1.122.5",
|
|
166
|
+
"@storm-software/config-tools": "^1.173.5",
|
|
167
167
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
168
|
-
"@typescript-eslint/eslint-plugin": "^8.34.
|
|
169
|
-
"@typescript-eslint/parser": "^8.34.
|
|
170
|
-
"@typescript-eslint/utils": "^8.34.
|
|
171
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
168
|
+
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
169
|
+
"@typescript-eslint/parser": "^8.34.1",
|
|
170
|
+
"@typescript-eslint/utils": "^8.34.1",
|
|
171
|
+
"@vitest/eslint-plugin": "^1.2.7",
|
|
172
172
|
"chalk": "^4.1.2",
|
|
173
173
|
"defu": "6.1.4",
|
|
174
174
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -182,14 +182,14 @@
|
|
|
182
182
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
183
183
|
"eslint-plugin-markdown": "^5.1.0",
|
|
184
184
|
"eslint-plugin-markdownlint": "^0.6.0",
|
|
185
|
-
"eslint-plugin-mdx": "^3.
|
|
186
|
-
"eslint-plugin-n": "^17.
|
|
185
|
+
"eslint-plugin-mdx": "^3.5.0",
|
|
186
|
+
"eslint-plugin-n": "^17.20.0",
|
|
187
187
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
188
188
|
"eslint-plugin-no-secrets": "^2.2.1",
|
|
189
189
|
"eslint-plugin-paths": "^1.1.0",
|
|
190
190
|
"eslint-plugin-perfectionist": "^4.14.0",
|
|
191
191
|
"eslint-plugin-pnpm": "0.3.0",
|
|
192
|
-
"eslint-plugin-prettier": "^5.
|
|
192
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
193
193
|
"eslint-plugin-regexp": "^2.9.0",
|
|
194
194
|
"eslint-plugin-toml": "^0.12.0",
|
|
195
195
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
207
207
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
208
|
-
"@eslint-react/eslint-plugin": "^1.52.
|
|
208
|
+
"@eslint-react/eslint-plugin": "^1.52.2",
|
|
209
209
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
210
210
|
"@eslint/config-inspector": "^0.5.6",
|
|
211
211
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|