Skip to content

relizy / formatTextReport

Function: formatTextReport() ​

formatTextReport(report, __namedParameters?): string[]

Defined in: src/core/commitlint/report.ts:263

The text report: each commit, then a summary with the verdict, the documentation of the failing rules, the help URL and how to fix.

Parameters ​

report ​

CommitlintReport

__namedParameters? ​

colors? ​

boolean = false

quiet? ​

boolean = false

Only print the commits with problems, and the summary

Returns ​

string[]

Released under the MIT License.