mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-06 09:36:53 +00:00
chore: move Husky configuration to .husky as per v5 documentation (#101)
Closes #98.
This commit is contained in:
parent
8752887edd
commit
657daf298c
4 changed files with 8 additions and 6 deletions
|
|
@ -5,6 +5,7 @@
|
|||
"private": true,
|
||||
"main": "run.js",
|
||||
"scripts": {
|
||||
"postinstall": "husky install",
|
||||
"test": "NODE_PATH=./node_modules jest",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||
"lint": "eslint --ignore-path .gitignore ."
|
||||
|
|
@ -57,11 +58,5 @@
|
|||
"standard-version": "^9.1.0",
|
||||
"testdouble": "^3.16.1",
|
||||
"yaml": "^1.10.0"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue