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

Method Validate

lint/rule/length_rules.go:117–119  ·  view source on GitHub ↗
(msg lint.Commit)

Source from the content-addressed store, hash-verified

115}
116
117func (r *FooterMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
118 return validateMaxLen("footer", r.CheckLen, msg.Footer())
119}
120
121// FooterMaxLineLenRule to validate max line length of footer
122type FooterMaxLineLenRule struct{ CheckLen int }

Callers 1

Calls 2

validateMaxLenFunction · 0.85
FooterMethod · 0.65

Tested by 1