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

Method Validate

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

Source from the content-addressed store, hash-verified

205}
206
207func (r *DescriptionMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
208 return validateMaxLen("description", r.CheckLen, msg.Description())
209}

Callers 1

Calls 2

validateMaxLenFunction · 0.85
DescriptionMethod · 0.65

Tested by 1