Skip to content

relizy / formatCommitResult

Function: formatCommitResult() ​

formatCommitResult(result, __namedParameters?): string[]

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

Lines printed for a linted commit: one line when it is valid without warning, otherwise its header, each problem with how to fix it, and the suggested header.

Parameters ​

result ​

CommitlintResult

__namedParameters? ​

colors? ​

boolean = false

label? ​

string

Returns ​

string[]

Released under the MIT License.