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

This commit is contained in:
Larry Botha
2019-07-29 23:45:46 -06:00
committed by Tanner Linsley
parent 11167e5635
commit d7a4db0979
4 changed files with 827 additions and 16 deletions
+1 -1
View File
@@ -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',
},
}
+1
View File
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
+823 -15
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -49,6 +49,8 @@
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.5.5",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@svgr/rollup": "^4.3.2",
"@testing-library/dom": "^5.6.0",
"@testing-library/jest-dom": "^4.0.0",