mirror of
https://github.com/n3w/helpers-functions-cli.git
synced 2025-12-19 12:43:22 +00:00
chore: Update README, LICENCE, and add code linting
This commit is contained in:
parent
33090aee1f
commit
b9a3034788
8 changed files with 145 additions and 7 deletions
41
.php-commitizen.php
Normal file
41
.php-commitizen.php
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'type' => [
|
||||
'lengthMin' => 3,
|
||||
'lengthMax' => 8,
|
||||
'acceptExtra' => false,
|
||||
'values' => [
|
||||
'feat',
|
||||
'fix',
|
||||
'docs',
|
||||
'chore',
|
||||
'test',
|
||||
'refactor',
|
||||
'revert',
|
||||
'ci',
|
||||
]
|
||||
],
|
||||
'scope' => [
|
||||
'lengthMin' => 0,
|
||||
'lengthMax' => 10,
|
||||
'acceptExtra' => true,
|
||||
'values' => [],
|
||||
],
|
||||
'description' => [
|
||||
'lengthMin' => 1,
|
||||
'lengthMax' => 47,
|
||||
],
|
||||
'subject' => [
|
||||
'lengthMin' => 1,
|
||||
'lengthMax' => 69,
|
||||
],
|
||||
'body' => [
|
||||
'wrap' => 72,
|
||||
],
|
||||
'footer' => [
|
||||
'wrap' => 72,
|
||||
],
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue