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

Method Validate

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

Source from the content-addressed store, hash-verified

179}
180
181func (r *ScopeMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
182 return validateMaxLen("scope", r.CheckLen, msg.Scope())
183}
184
185// --- Description ---
186

Callers 1

Calls 2

validateMaxLenFunction · 0.85
ScopeMethod · 0.65

Tested by 1