MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / Validate

Method Validate

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

Source from the content-addressed store, hash-verified

103}
104
105func (r *FooterMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
106 return validateMinLen("footer", r.CheckLen, msg.Footer())
107}
108
109// FooterMaxLenRule to validate max length of footer
110type FooterMaxLenRule struct{ CheckLen int }

Callers 1

Calls 2

validateMinLenFunction · 0.85
FooterMethod · 0.65

Tested by 1