Using Prettier and husky to make your js commits safe.
Repo for the Medium story: https://medium.com/@bartwijnants/using-prettier-and-husky-to-make-your-commits-save-2960f55cd351.
git clone https://github.com/bartw/pretty_husky
npm install
Open ./src/foo.test.js and change some things.
git add .
git commit -m"this should format code and run the tests"