mirror of
https://github.com/simoneb/axios-hooks.git
synced 2025-12-08 21:25:56 +00:00
chore: add commitlint
This commit is contained in:
parent
1f5e06d1bd
commit
bc8b387665
3
commitlint.config.js
Normal file
3
commitlint.config.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = {
|
||||||
|
extends: ['@commitlint/config-conventional']
|
||||||
|
}
|
||||||
1149
package-lock.json
generated
1149
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -47,6 +47,8 @@
|
|||||||
"@babel/core": "7.7.0",
|
"@babel/core": "7.7.0",
|
||||||
"@babel/plugin-transform-runtime": "7.6.2",
|
"@babel/plugin-transform-runtime": "7.6.2",
|
||||||
"@babel/preset-env": "7.7.1",
|
"@babel/preset-env": "7.7.1",
|
||||||
|
"@commitlint/cli": "8.2.0",
|
||||||
|
"@commitlint/config-conventional": "8.2.0",
|
||||||
"@testing-library/react-hooks": "3.2.1",
|
"@testing-library/react-hooks": "3.2.1",
|
||||||
"@types/jest": "24.0.22",
|
"@types/jest": "24.0.22",
|
||||||
"@types/lru-cache": "5.1.0",
|
"@types/lru-cache": "5.1.0",
|
||||||
@ -77,6 +79,7 @@
|
|||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
||||||
"pre-commit": "lint-staged",
|
"pre-commit": "lint-staged",
|
||||||
"post-merge": "npm i"
|
"post-merge": "npm i"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user