mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
chore(commitlint): add deps, config, and git hook (#1419)
This commit is contained in:
parent
11167e5635
commit
d7a4db0979
@ -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
commitlint.config.js
Normal file
1
commitlint.config.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = { extends: ['@commitlint/config-conventional'] }
|
||||
838
package-lock.json
generated
838
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user