DEV Community

loading...

Discussion on: How To Add Prettier and ESLint Automation to a React Codebase

Collapse
mendoza profile image
David Mendoza (He/Him)

I'm not 100% sure if you take this in mind, but basically since husky 5 they don't get the script from the package.json you could use
npm i husky@4

Collapse
swyx profile image
swyx Author

hmm i checked the docs and for husky v6 it seems fine with the prepare script typicode.github.io/husky/#/?id=manual

Collapse
mendoza profile image
David Mendoza (He/Him)

Ohh I see, great I didn't knew that command.

Collapse
swyx profile image
swyx Author

ohh thats annoying. ok thank you!