- Introduced `Confirmation` trait for reusable confirmation modal logic in Livewire components. - Added `ConfirmationModal` Livewire component for handling confirmation prompts with customizable title, subtitle, description, and styling. - Updated `captainhook.json` to increase `subjectLength` limit. - Integrated confirmation modal in the sidebar layout with `<livewire:confirmation-modal/>`.
29 lines
624 B
JSON
29 lines
624 B
JSON
{
|
|
"commit-msg": {
|
|
"enabled": true,
|
|
"actions": [
|
|
{
|
|
"action": "\\CaptainHook\\App\\Hook\\Message\\Action\\Beams",
|
|
"options": {
|
|
"subjectLength": 100,
|
|
"bodyLineLength": 300
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"pre-commit": {
|
|
"enabled": true,
|
|
"actions": [
|
|
{
|
|
"action": "composer lint"
|
|
},
|
|
{
|
|
"action": "composer check"
|
|
},
|
|
{
|
|
"action": "composer test:arch"
|
|
}
|
|
]
|
|
}
|
|
}
|