mawesome/.huskyrc.js
2021-01-15 10:43:56 +01:00

8 lines
210 B
JavaScript

module.exports = {
hooks: {
'prepare-commit-msg': 'exec < /dev/tty && git cz --hook || true',
'pre-commit': 'npm run build && lint-staged',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
};