MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / formMaxLenDesc

Function formMaxLenDesc

lint/rule/rule.go:33–35  ·  view source on GitHub ↗
(typ string, actualLen, expectedLen int)

Source from the content-addressed store, hash-verified

31}
32
33func formMaxLenDesc(typ string, actualLen, expectedLen int) string {
34 return fmt.Sprintf("%s length is %d, should have less than %d chars", typ, actualLen, expectedLen)
35}
36
37func formMaxLineLenDesc(typ string, expectedLen int) string {
38 return fmt.Sprintf("each %s line should have less than %d chars", typ, expectedLen)

Callers 1

validateMaxLenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected