@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 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
- [![Version](https://img.shields.io/badge/version-0.159.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.159.12-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-VYMVJJZO.js";
3
+ } from "./chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/utils/correct-paths.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-VYMVJJZO.js";
3
+ } from "./chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/utils/helpers.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ACRONYMS_LIST
3
- } from "./chunk-D2XDF23C.js";
3
+ } from "./chunk-QRXN4ZQR.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-VYMVJJZO.js";
6
+ } from "./chunk-KBMKJUYQ.js";
7
7
 
8
8
  // src/utils/get-file-banner.ts
9
9
  init_esm_shims();
@@ -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=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7acf9890dc9859598f1da2f9825e5307/node_modules/tsup/assets/esm_shims.js
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=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7acf9890dc9859598f1da2f9825e5307/node_modules/tsup/assets/esm_shims.js"() {
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,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-VYMVJJZO.js";
3
+ } from "./chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/utils/constants.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-VYMVJJZO.js";
3
+ } from "./chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/utils/format-config.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-IDY7RCOU.js";
3
+ } from "./chunk-5CQE3UOC.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-VYMVJJZO.js";
6
+ } from "./chunk-KBMKJUYQ.js";
7
7
 
8
8
  // src/utils/tsconfig-path.ts
9
9
  init_esm_shims();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "./chunk-JPQ3H24H.js";
3
+ } from "./chunk-IEGLZ75U.js";
4
4
  import {
5
5
  GLOB_SRC
6
- } from "./chunk-D2XDF23C.js";
6
+ } from "./chunk-QRXN4ZQR.js";
7
7
  import {
8
8
  init_esm_shims
9
- } from "./chunk-VYMVJJZO.js";
9
+ } from "./chunk-KBMKJUYQ.js";
10
10
 
11
11
  // src/utils/banner-plugin.ts
12
12
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  correctPaths
3
- } from "./chunk-IDY7RCOU.js";
3
+ } from "./chunk-5CQE3UOC.js";
4
4
  import {
5
5
  init_esm_shims
6
- } from "./chunk-VYMVJJZO.js";
6
+ } from "./chunk-KBMKJUYQ.js";
7
7
 
8
8
  // src/utils/find-workspace-root.ts
9
9
  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-RYB2G356.js";
8
+ } from "./chunk-7TCXMWI3.js";
9
9
  import {
10
10
  getTsConfigPath
11
- } from "./chunk-SGJC2PIV.js";
11
+ } from "./chunk-S2VVDLUR.js";
12
12
  import {
13
13
  banner_plugin_default
14
- } from "./chunk-IDI2VOSV.js";
14
+ } from "./chunk-SSVAKJKX.js";
15
15
  import {
16
16
  getFileBanner
17
- } from "./chunk-JPQ3H24H.js";
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-D2XDF23C.js";
44
+ } from "./chunk-QRXN4ZQR.js";
45
45
  import {
46
46
  findWorkspaceRoot
47
- } from "./chunk-TS6H5T6G.js";
47
+ } from "./chunk-T3IDYVM5.js";
48
48
  import {
49
49
  joinPaths
50
- } from "./chunk-IDY7RCOU.js";
50
+ } from "./chunk-5CQE3UOC.js";
51
51
  import {
52
52
  __commonJS,
53
53
  __toESM,
54
54
  init_esm_shims
55
- } from "./chunk-VYMVJJZO.js";
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
- * Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
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,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-VYMVJJZO.js";
3
+ } from "./chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/types.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "../chunk-IDI2VOSV.js";
4
- import "../chunk-JPQ3H24H.js";
5
- import "../chunk-D2XDF23C.js";
6
- import "../chunk-VYMVJJZO.js";
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
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-VYMVJJZO.js";
3
+ } from "../chunk-KBMKJUYQ.js";
4
4
 
5
5
  // src/utils/combine.ts
6
6
  init_esm_shims();
@@ -33,8 +33,8 @@ import {
33
33
  GLOB_VUE,
34
34
  GLOB_XML,
35
35
  GLOB_YAML
36
- } from "../chunk-D2XDF23C.js";
37
- import "../chunk-VYMVJJZO.js";
36
+ } from "../chunk-QRXN4ZQR.js";
37
+ import "../chunk-KBMKJUYQ.js";
38
38
  export {
39
39
  ACRONYMS_LIST,
40
40
  GLOB_ALL_SRC,
@@ -13,8 +13,8 @@ import {
13
13
  resolve,
14
14
  sep,
15
15
  toNamespacedPath
16
- } from "../chunk-IDY7RCOU.js";
17
- import "../chunk-VYMVJJZO.js";
16
+ } from "../chunk-5CQE3UOC.js";
17
+ import "../chunk-KBMKJUYQ.js";
18
18
  export {
19
19
  basename,
20
20
  correctPaths,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot,
3
3
  findWorkspaceRootSafe
4
- } from "../chunk-TS6H5T6G.js";
5
- import "../chunk-IDY7RCOU.js";
6
- import "../chunk-VYMVJJZO.js";
4
+ } from "../chunk-T3IDYVM5.js";
5
+ import "../chunk-5CQE3UOC.js";
6
+ import "../chunk-KBMKJUYQ.js";
7
7
  export {
8
8
  findWorkspaceRoot,
9
9
  findWorkspaceRootSafe
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatConfig
3
- } from "../chunk-RFTPEAHT.js";
4
- import "../chunk-VYMVJJZO.js";
3
+ } from "../chunk-RNW2OOIE.js";
4
+ import "../chunk-KBMKJUYQ.js";
5
5
  export {
6
6
  formatConfig
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-JPQ3H24H.js";
4
- import "../chunk-D2XDF23C.js";
5
- import "../chunk-VYMVJJZO.js";
3
+ } from "../chunk-IEGLZ75U.js";
4
+ import "../chunk-QRXN4ZQR.js";
5
+ import "../chunk-KBMKJUYQ.js";
6
6
  export {
7
7
  getFileBanner
8
8
  };
@@ -6,8 +6,8 @@ import {
6
6
  isPackageInScope,
7
7
  parserPlain,
8
8
  renameRules
9
- } from "../chunk-RYB2G356.js";
10
- import "../chunk-VYMVJJZO.js";
9
+ } from "../chunk-7TCXMWI3.js";
10
+ import "../chunk-KBMKJUYQ.js";
11
11
  export {
12
12
  ensurePackages,
13
13
  interopDefault,
@@ -33,13 +33,13 @@ import {
33
33
  GLOB_VUE,
34
34
  GLOB_XML,
35
35
  GLOB_YAML
36
- } from "../chunk-D2XDF23C.js";
36
+ } from "../chunk-QRXN4ZQR.js";
37
37
  import {
38
38
  formatConfig
39
- } from "../chunk-RFTPEAHT.js";
39
+ } from "../chunk-RNW2OOIE.js";
40
40
  import {
41
41
  init_esm_shims
42
- } from "../chunk-VYMVJJZO.js";
42
+ } from "../chunk-KBMKJUYQ.js";
43
43
 
44
44
  // src/utils/index.ts
45
45
  init_esm_shims();
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getTsConfigPath
3
- } from "../chunk-SGJC2PIV.js";
4
- import "../chunk-IDY7RCOU.js";
5
- import "../chunk-VYMVJJZO.js";
3
+ } from "../chunk-S2VVDLUR.js";
4
+ import "../chunk-5CQE3UOC.js";
5
+ import "../chunk-KBMKJUYQ.js";
6
6
  export {
7
7
  getTsConfigPath
8
8
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.159.11",
3
+ "version": "0.159.13",
4
4
  "type": "module",
5
- "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
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.3",
166
- "@storm-software/config-tools": "^1.173.3",
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.0",
169
- "@typescript-eslint/parser": "^8.34.0",
170
- "@typescript-eslint/utils": "^8.34.0",
171
- "@vitest/eslint-plugin": "^1.2.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.4.2",
186
- "eslint-plugin-n": "^17.19.0",
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.4.1",
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.1",
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",