@storm-software/eslint 0.162.1 → 0.163.1

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/dist/types.d.ts CHANGED
@@ -1442,6 +1442,11 @@ Backward pagination arguments
1442
1442
  * @deprecated
1443
1443
  */
1444
1444
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1445
+ /**
1446
+ * Enforce using namespace imports for zod
1447
+ * @see https://github.com/samchungy/eslint-plugin-import-zod/blob/main/docs/rules/prefer-zod-namespace.md
1448
+ */
1449
+ 'import-zod/prefer-zod-namespace'?: Linter.RuleEntry<[]>
1445
1450
  /**
1446
1451
  * Enforce or ban the use of inline type-only markers for named imports.
1447
1452
  * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
@@ -17805,7 +17810,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
17805
17810
  onlyEquality?: boolean
17806
17811
  }]
17807
17812
  // Names of all the configs
17808
- type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/mdx/setup' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier/rules' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/regexp/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules'
17813
+ type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/mdx/setup' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier/rules' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/regexp/rules' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules' | 'storm/zod/rules'
17809
17814
 
17810
17815
  /**
17811
17816
  * Vendor types from Prettier so we don't rely on the dependency.
@@ -18419,6 +18424,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18419
18424
  * @defaultValue true
18420
18425
  */
18421
18426
  tsdoc?: boolean | OptionsTSDoc;
18427
+ /**
18428
+ * Enable Zod support.
18429
+ *
18430
+ * @defaultValue true
18431
+ */
18432
+ zod?: boolean | OptionsOverrides;
18422
18433
  /**
18423
18434
  * Enable test support.
18424
18435
  *
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-ECVSHAMX.js";
3
+ } from "./chunk-VQHWUYQL.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-URESQVUQ.js";
4
- import "../chunk-2PBILQLV.js";
5
- import "../chunk-FYHJSIQT.js";
6
- import "../chunk-ECVSHAMX.js";
3
+ } from "../chunk-BBKL5SSX.js";
4
+ import "../chunk-HMONPZQV.js";
5
+ import "../chunk-NVCVBDX5.js";
6
+ import "../chunk-VQHWUYQL.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-ECVSHAMX.js";
3
+ } from "../chunk-VQHWUYQL.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-FYHJSIQT.js";
37
- import "../chunk-ECVSHAMX.js";
36
+ } from "../chunk-NVCVBDX5.js";
37
+ import "../chunk-VQHWUYQL.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-LFKAEEDN.js";
17
- import "../chunk-ECVSHAMX.js";
16
+ } from "../chunk-4T2VGUKQ.js";
17
+ import "../chunk-VQHWUYQL.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-CP5TACRD.js";
5
- import "../chunk-LFKAEEDN.js";
6
- import "../chunk-ECVSHAMX.js";
4
+ } from "../chunk-TJ47LVUP.js";
5
+ import "../chunk-4T2VGUKQ.js";
6
+ import "../chunk-VQHWUYQL.js";
7
7
  export {
8
8
  findWorkspaceRoot,
9
9
  findWorkspaceRootSafe
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatConfig
3
- } from "../chunk-P2IWMCHT.js";
4
- import "../chunk-ECVSHAMX.js";
3
+ } from "../chunk-N6Y325DQ.js";
4
+ import "../chunk-VQHWUYQL.js";
5
5
  export {
6
6
  formatConfig
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-2PBILQLV.js";
4
- import "../chunk-FYHJSIQT.js";
5
- import "../chunk-ECVSHAMX.js";
3
+ } from "../chunk-HMONPZQV.js";
4
+ import "../chunk-NVCVBDX5.js";
5
+ import "../chunk-VQHWUYQL.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-2ASHINGN.js";
10
- import "../chunk-ECVSHAMX.js";
9
+ } from "../chunk-D7COKLND.js";
10
+ import "../chunk-VQHWUYQL.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-FYHJSIQT.js";
36
+ } from "../chunk-NVCVBDX5.js";
37
37
  import {
38
38
  formatConfig
39
- } from "../chunk-P2IWMCHT.js";
39
+ } from "../chunk-N6Y325DQ.js";
40
40
  import {
41
41
  init_esm_shims
42
- } from "../chunk-ECVSHAMX.js";
42
+ } from "../chunk-VQHWUYQL.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-WSRPN4A5.js";
4
- import "../chunk-LFKAEEDN.js";
5
- import "../chunk-ECVSHAMX.js";
3
+ } from "../chunk-ROE6YWPJ.js";
4
+ import "../chunk-4T2VGUKQ.js";
5
+ import "../chunk-VQHWUYQL.js";
6
6
  export {
7
7
  getTsConfigPath
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.162.1",
3
+ "version": "0.163.1",
4
4
  "type": "module",
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -146,6 +146,7 @@
146
146
  "eslint": "^9.20.0",
147
147
  "eslint-plugin-astro": "^1.2.0",
148
148
  "eslint-plugin-format": ">=0.1.0",
149
+ "eslint-plugin-import-zod": "^1.2.0",
149
150
  "eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
150
151
  "eslint-plugin-react-hooks": "^5.0.0",
151
152
  "eslint-plugin-react-native": "^5.0.0",
@@ -162,8 +163,8 @@
162
163
  "@eslint/eslintrc": "^3.3.1",
163
164
  "@eslint/markdown": "^6.6.0",
164
165
  "@nx/eslint-plugin": "^21.3.10",
165
- "@storm-software/config": "^1.128.1",
166
- "@storm-software/config-tools": "^1.180.1",
166
+ "@storm-software/config": "^1.128.3",
167
+ "@storm-software/config-tools": "^1.180.3",
167
168
  "@stylistic/eslint-plugin": "^4.4.1",
168
169
  "@typescript-eslint/eslint-plugin": "^8.35.0",
169
170
  "@typescript-eslint/parser": "^8.35.0",
@@ -201,7 +202,8 @@
201
202
  "local-pkg": "^1.1.1",
202
203
  "parse-gitignore": "^2.0.0",
203
204
  "toml-eslint-parser": "^0.10.0",
204
- "yaml-eslint-parser": "^1.3.0"
205
+ "yaml-eslint-parser": "^1.3.0",
206
+ "zod": "^4.0.2"
205
207
  },
206
208
  "devDependencies": {
207
209
  "@eslint-community/eslint-utils": "^4.7.0",
@@ -222,6 +224,7 @@
222
224
  "eslint": "^9.20.0",
223
225
  "eslint-plugin-astro": "^1.3.1",
224
226
  "eslint-plugin-format": "^1.0.1",
227
+ "eslint-plugin-import-zod": "^1.2.0",
225
228
  "eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
226
229
  "eslint-plugin-react-hooks": "^5.2.0",
227
230
  "eslint-plugin-react-native": "^5.0.0",
@@ -237,5 +240,5 @@
237
240
  },
238
241
  "publishConfig": { "access": "public" },
239
242
  "sideEffects": false,
240
- "gitHead": "cbaf4c299753a966ba81abe9933194fa2f421639"
243
+ "gitHead": "45ad3d8c10f6f667f184ffd50446ee894b8e1dda"
241
244
  }