DEV Community

Discussion on: Avoiding having both `yarn.lock` and `package-lock.json`

Collapse
 
sebbdk profile image
Sebastian Vargr • Edited

What are your thoughts on checking this in CI or with a git hook?

I am thinking there might be edge cases where one would want to install with the other manager to temporarily test something out.

Edit: And the pre-install can technically be omitted, although that would imply, someone wanting' to omit the rules.