All I did was edit the package.json file.
To try it out, run npm i so it installs husky, and try committing a change.
The husky pre-commit hook runs when you do git commit
In future, we can also make it prevent commits that cause tests to fail,
but right now, I have it only display a reminder:
issue https://github.com/alan-mj-lin/Sporeas/issues/55
All I did was edit the
package.json
file. To try it out, runnpm i
so it installshusky
, and try committing a change. Thehusky
pre-commit hook runs when you dogit commit
In future, we can also make it prevent commits that cause tests to fail, but right now, I have it only display a reminder: