File tree 3 files changed +29
-3
lines changed
3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ const flags = {
89
89
alias : 'v' ,
90
90
type : 'boolean' ,
91
91
description : 'display version information'
92
+ } ,
93
+ verbose : {
94
+ alias : 'V' ,
95
+ type : 'boolean' ,
96
+ description : 'enable verbose output for reports without problems'
92
97
}
93
98
} ;
94
99
Original file line number Diff line number Diff line change @@ -40,10 +40,30 @@ type ReportResult = {
40
40
}
41
41
42
42
type formatOptions = {
43
- /*
43
+ /**
44
44
* Color the output
45
- */
45
+ ** /
46
46
color: boolean = true ;
47
+
48
+ /**
49
+ * Signs to use as decoration for messages with severy 0, 1, 2
50
+ **/
51
+ signs: readonly [string ; string ; string ] = [' ' , ' ⚠' , ' ✖' ];
52
+
53
+ /**
54
+ * Colors to use for messages with severy 0, 1, 2
55
+ **/
56
+ colors: readonly [string ; string ; string ] = [' white' , ' yellow' , ' red' ];
57
+
58
+ /**
59
+ * Print summary and inputs for reports without problems
60
+ **/
61
+ verbose: boolean = false ;
62
+
63
+ /**
64
+ * URL to print as help for reports with problems
65
+ **/
66
+ helpUrl: string ;
47
67
}
48
68
49
69
format (report ?: Report = {}, options ?: formatOptions = {}) => string [];
Original file line number Diff line number Diff line change 18
18
--parser-preset, -p configuration preset to use for conventional-commits-parser
19
19
--quiet, -q toggle console output
20
20
--to, -t upper end of the commit range to lint; applies if edit=false
21
- --version, -v display version information
21
+ --version, -v display version informationv
22
+ --verbose, -V print summary and inputs for reports without problems
22
23
` ` `
You can’t perform that action at this time.
0 commit comments