You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the hydrogen eslint plugin to lint our hydrogen project. We are also using vitest for unit testing (per the recommendations in the docs). When I run eslint in the project, it errors because it can't determine the jest version we're running - even though jest isn't installed or configured.
After digging a bit, it seems as though eslint-plugin-hydrogen installs eslint-plugin-jest as a dependency. Since the intention seems to be for hydrogen projects to prefer vitest over jest, I'm guessing that this the result of some kind of oversight. Perhaps it should have been installed as a development dependency instead?
Thanks
The text was updated successfully, but these errors were encountered:
Describe the bug
We are using the hydrogen eslint plugin to lint our hydrogen project. We are also using
vitest
for unit testing (per the recommendations in the docs). When I run eslint in the project, it errors because it can't determine thejest
version we're running - even though jest isn't installed or configured.After digging a bit, it seems as though
eslint-plugin-hydrogen
installseslint-plugin-jest
as a dependency. Since the intention seems to be for hydrogen projects to prefervitest
overjest
, I'm guessing that this the result of some kind of oversight. Perhaps it should have been installed as a development dependency instead?Thanks
The text was updated successfully, but these errors were encountered: