- Added `laradumps/laradumps` for enhanced debugging. - Introduced `test:arch` command in Composer for architecture testing. - Updated `captainhook.json` with `composer test:arch` action. - Improved `.gitignore` to exclude `laradumps.yaml`.
29 lines
623 B
JSON
29 lines
623 B
JSON
{
|
|
"commit-msg": {
|
|
"enabled": true,
|
|
"actions": [
|
|
{
|
|
"action": "\\CaptainHook\\App\\Hook\\Message\\Action\\Beams",
|
|
"options": {
|
|
"subjectLength": 50,
|
|
"bodyLineLength": 300
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"pre-commit": {
|
|
"enabled": true,
|
|
"actions": [
|
|
{
|
|
"action": "composer lint"
|
|
},
|
|
{
|
|
"action": "composer check"
|
|
},
|
|
{
|
|
"action": "composer test:arch"
|
|
}
|
|
]
|
|
}
|
|
}
|