Skip to content
Permalink
Browse files

chore(commitlint): add deps, config, and git hook (#1419)

  • Loading branch information...
larrybotha authored and tannerlinsley committed Jul 30, 2019
1 parent 11167e5 commit d7a4db0979ceb6f4efb0a23c783c9ff8e4656c45
Showing with 827 additions and 16 deletions.
  1. +1 −1 .huskyrc.js
  2. +1 −0 commitlint.config.js
  3. +823 −15 package-lock.json
  4. +2 −0 package.json
@@ -1,6 +1,6 @@
module.exports = {
hooks: {
'pre-commit': 'lint-staged',
// 'prepare-commit-msg': 'exec < /dev/tty && git cz --hook',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
}
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }

0 comments on commit d7a4db0

Please sign in to comment.
You can’t perform that action at this time.