Skip to content

chore(deps): update dependency eslint-plugin-zod to v5 - #623

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-linters
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-linters

Conversation

@renovate

@renovate renovate Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-zod (source) 4.14.2 → 5.2.2 age confidence

Release Notes

marcalexiei/eslint-zod (eslint-plugin-zod)

v5.2.2

Compare Source

Patch Changes

v5.2.1

Compare Source

Patch Changes

v5.2.0

Compare Source

Minor Changes
  • #​566 020a144 - feat(consistent-import): add the default syntax (import z from 'zod')
Patch Changes

v5.1.0

Compare Source

eslint is no longer needed to use this plugin.
It loads without eslint (#​539), and it no longer depends on @typescript-eslint/utils (#​560), whose required eslint and typescript peers were installed along with it.
With oxlint, nothing from ESLint has to be installed.

Minor Changes
  • #​537 232da5b - feat: drop consistent-object-schema-type from the stylistic config

  • #​500 5adf57a - fix: lint .mts and .cts files, and register the exported plugin in each config so it can be re-registered.

Patch Changes

v5.0.1

Compare Source

Patch Changes
  • #​493 43ad93e - fix(consistent-schema-var-name): keep the suggested name camelCase when before ends in a letter, so user becomes zUser rather than zuser.

  • #​492 1a9ab36 - fix(consistent-schema-var-name): ignore a parse result whose chain continues after a property access, such as .parse(input).tags.map(fn).

  • Updated dependencies [43ad93e, 1a9ab36]:

v5.0.0

Compare Source

Major Changes
  • #​473 353e773 - feat!: remove the deprecated no-string-schema-with-uuid rule; use prefer-top-level-string-formats instead.

  • #​474 ae3ae1a - feat!: split configs into recommended, strict, stylistic and all.

Migration guide

recommended now holds only rules that catch bugs or deprecated APIs.
Nine rules left it:

  • to stylistic: array-style, prefer-enum-over-literal-union, prefer-loose-object, prefer-meta, prefer-meta-last, prefer-nullish, prefer-strict-object, prefer-string-schema-with-trim
  • to strict: prefer-trim-before-string-length-checks

Two rules joined it: no-conflicting-checks and no-transform-in-record-key.

To keep every rule you had, add stylistic and switch to strict:

 export default defineConfig(
-  eslintPluginZod.configs.recommended,
+  eslintPluginZod.configs.strict,
+  eslintPluginZod.configs.stylistic,
 );

Both configs also enable rules that were in no config before.
To avoid them, stay on recommended and re-enable the rules you want one by one:

{
  rules: {
    'zod/array-style': 'error',
    'zod/prefer-trim-before-string-length-checks': 'error',
  },
}

In Oxlint, spread each config's rules the same way.

  • #​475 c227d7a - feat!: publish ESM only and require Node ^20.19 || ^22.12 || >=24; CommonJS configs still load the package through require(), under .default.
Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from boneskull as a code owner October 2, 2026 21:15
@renovate renovate Bot added the dependencies dep upgrades, adds, removals label Oct 2, 2026
@github-actions github-actions Bot added the chore tooling & overhead label Oct 2, 2026
@socket-security

socket-security Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedeslint-plugin-zod@​4.14.2 ⏵ 5.2.2100 +110010098 +1100

View full report

@renovate
renovate Bot force-pushed the renovate/major-linters branch from c8df2e9 to d499e43 Compare October 5, 2026 16:51
@renovate
renovate Bot force-pushed the renovate/major-linters branch 4 times, most recently from cfb36b7 to 4c6c8c0 Compare October 18, 2026 08:54
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 4c6c8c0 to 8cb16ac Compare October 24, 2026 20:21
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 8cb16ac to a118b61 Compare October 27, 2026 01:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore tooling & overhead dependencies dep upgrades, adds, removals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants