11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-06 09:36:53 +00:00

chore: check commit messages with commitlint during commit

Closes #60.
This commit is contained in:
Jeroen de Bruijn 2020-11-21 14:14:40 +01:00
parent d6a383492a
commit faf96bdaa9
No known key found for this signature in database
GPG key ID: 94DD99A281A21364
2 changed files with 496 additions and 1 deletions

View file

@ -34,6 +34,7 @@
"uuid": "^8.3.1"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/test": "^9.0.1",
"@commitlint/test-environment": "^9.0.1",
"conventional-changelog-cli": "^2.1.0",
@ -47,7 +48,8 @@
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}