stevensblueprint / inreach-website

https://inreach-website.vercel.app
6 stars 1 forks source link

Prettier Hook for Formatting #33

Closed j-ferber closed 5 months ago

j-ferber commented 6 months ago

For this issue, you will have to add a husky hook for pre-commit and pre-push. This will require you to install the package listed here: https://www.npmjs.com/package/husky

Here is a reference to a recent commit by Miguel doing the same: https://github.com/stevensblueprint/aad-admin/pull/152/files

In our case, we only need npm run lint && npm run format

brrryry commented 5 months ago

Just added husky! As far as I know, the pre-commit commands run fine (.husky/pre-commit). I'll submit a PR now.