Closed PierreBresson closed 4 years ago
Reject commit if yarn test or yarn lintor yarn typescript fails in order to avoid https://github.com/NotMyFaultEarth/nmf-app/commit/1825a7b64877b0f08b4d34fabe4eef90531dc7bc
yarn test
yarn lint
yarn typescript
Can be done in your .git folder, or for the whole repo with: https://github.com/typicode/husky#readme
.git
Done in https://github.com/NotMyFaultEarth/nmf-app/commit/d42767fee28a98f5885ad9243847d92aceb4fe9f
Reject commit if
yarn test
oryarn lint
oryarn typescript
fails in order to avoid https://github.com/NotMyFaultEarth/nmf-app/commit/1825a7b64877b0f08b4d34fabe4eef90531dc7bc