mawesome/.huskyrc.js
2021-01-16 09:28:15 +01:00

8 lines
193 B
JavaScript

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