File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ Create a .czrc file in your home directory, with the following content:
2424{
2525 "path" : " @metahub/cz-conventional-commit" ,
2626 "cz-conventional-commit" : {
27- "maxSubjectLength" : 50 ,
28- "bodyLineLength" : 72
27+ "maxSubjectLength" : 72 ,
28+ "bodyLineLength" : 100
2929 }
3030}
3131```
@@ -45,8 +45,8 @@ You can customize cz-conventional-commit in `package.json`:
4545 "commitizen" : {
4646 "path" : " @metahub/cz-conventional-commit" ,
4747 "cz-conventional-commit" : {
48- "maxSubjectLength" : 50 ,
49- "bodyLineLength" : 72
48+ "maxSubjectLength" : 72 ,
49+ "bodyLineLength" : 100
5050 }
5151 }
5252}
@@ -59,8 +59,8 @@ See [commitizen documentation](https://github.com/commitizen/cz-cli#making-your-
5959
6060| Option | Description | Default |
6161| ------------------ | ------------------------------------------------------------------------------------------ | ------- |
62- | ` maxSubjectLength ` | Length at which to truncate the commit head (head includes type, scope, subject and emoji) | 50 |
63- | ` bodyLineLength ` | Length at which to wrap body lines | 72 |
62+ | ` maxSubjectLength ` | Length at which to truncate the commit head (head includes type, scope, subject and emoji) | 72 |
63+ | ` bodyLineLength ` | Length at which to wrap body lines | 100 |
6464
6565## Commit types
6666
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import format from './format-commit';
66
77const config = merge ( configLoader . load ( ) , {
88 'cz-conventional-commit' : {
9- maxSubjectLength : 50 ,
10- bodyLineLength : 72 ,
9+ maxSubjectLength : 72 ,
10+ bodyLineLength : 100 ,
1111 } ,
1212} ) [ 'cz-conventional-commit' ] ;
1313
You can’t perform that action at this time.
0 commit comments