Faire / mjml-react

React component library to generate the HTML emails on the fly
https://www.npmjs.com/package/@faire/mjml-react
MIT License
376 stars 16 forks source link

Run prettier on src folder and add husky pre-commit hook to run prettier #23

Closed emmclaughlin closed 1 year ago

emmclaughlin commented 1 year ago

Before going too far making changes I think it is best we run prettier on all files in src. This will prevent confusing diffs in future PR's as we make updates to these files.To do this yarn prettier --write src was run

Also added husky pre-commit hook for enforcing prettier be run to ensure the standard code formatting is kept.