eslint-plugin-react-hooks currently has these dependencies:
"dependencies": {
...
"zod": "^3.22.4",
"zod-validation-error": "^3.0.3"
},
More recent versions of zod-validation-plugin since 3.5.3 (matched by "^3.0.3" above) have a peer-dependency requirement for "zod": "^3.25.0 || ^4.0.0", and they are internally using the zod/v3 import introduced by zod 3.25.0.
eslint-plugin-react-hooks should change its dependencies to:
"zod": "^3.25.0",
"zod-validation-error": "^3.5.3"
Or maybe go all the way to the latest versions of both packages.