30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'type' => [
|
|
'lengthMin' => 1, // Min length of the type
|
|
'lengthMax' => 8, // Max length of the type
|
|
'acceptExtra' => false, // Allow adding types not listed in 'values' key
|
|
'values' => ['feat', 'fix', 'refactor', 'style', 'docs', 'chore', 'test', 'perf', 'build', 'ci'], // All the values usable as type
|
|
],
|
|
'scope' => [
|
|
'lengthMin' => 0, // Min length of the scope
|
|
'lengthMax' => 10, // Max length of the scope
|
|
'acceptExtra' => true, // Allow adding scopes not listed in 'values' key
|
|
'values' => [], // All the values usable as scope
|
|
],
|
|
'description' => [
|
|
'lengthMin' => 1, // Min length of the description
|
|
'lengthMax' => 65, // Max length of the description
|
|
],
|
|
'subject' => [
|
|
'lengthMin' => 1, // Min length of the subject
|
|
'lengthMax' => 80, // Max length of the subject
|
|
],
|
|
'body' => [
|
|
'wrap' => 72, // Wrap the body at 72 characters
|
|
],
|
|
'footer' => [
|
|
'wrap' => 72, // Wrap the footer at 72 characters
|
|
],
|
|
];
|