zkapp-cli
zkapp-cli copied to clipboard
Require tests to pass before committing OR add directions to README for devs to add it optionally
trafficstars
Via stage-linted. This will require tests to pass before committing to Git:
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"**/*.js": [
"node --experimental-vm-modules ./node_modules/.bin/jest --bail --findRelatedTests"
]
}
Set it up to run tests against only staged files: npm run test:staged
Discussed with Yoni. Closing for now because maybe too opinionated.