Merge pull request #123 from php-flasher/feat/validate-commit-messages

style: use commitizen for conventional commit messages
This commit is contained in:
Younes KHOUBZA
2023-01-22 02:44:44 +01:00
committed by GitHub
5 changed files with 2176 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"path": "cz-conventional-changelog"
}
+2
View File
@@ -7,3 +7,5 @@ composer.lock
packs/**/composer.lock
packs/**/vendor/
node_modules/
+1 -1
View File
@@ -16,7 +16,7 @@ grumphp:
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
max_subject_width: 100
max_subject_width: 93
type_scope_conventions:
types:
- build
+2161
View File
File diff suppressed because it is too large Load Diff
+9
View File
@@ -0,0 +1,9 @@
{
"devDependencies": {
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0"
},
"scripts": {
"commit": "cz"
}
}