Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
func
(r *DescriptionMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
208
return
validateMaxLen(
"description"
, r.CheckLen, msg.Description())
209
}
Callers
1
TestDescMaxLen_NegativeDisables
Function · 0.95
Calls
2
validateMaxLen
Function · 0.85
Description
Method · 0.65
Tested by
1
TestDescMaxLen_NegativeDisables
Function · 0.76