Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/conventionalcommit/commitlint
/ Validate
Method
Validate
rule/length_rules.go:129–131 ·
view source on GitHub ↗
(msg lint.Commit)
Source
from the content-addressed store, hash-verified
127
}
128
129
func
(r *FooterMaxLineLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
130
return
validateMaxLineLength(
"footer"
, r.CheckLen, msg.Footer())
131
}
132
133
// --- Type ---
134
Callers
2
TestFooterMaxLineLen_Pass
Function · 0.95
TestFooterMaxLineLen_Fail
Function · 0.95
Calls
2
validateMaxLineLength
Function · 0.85
Footer
Method · 0.65
Tested by
2
TestFooterMaxLineLen_Pass
Function · 0.76
TestFooterMaxLineLen_Fail
Function · 0.76