Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
181
func
(r *ScopeMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
182
return
validateMaxLen(
"scope"
, r.CheckLen, msg.Scope())
183
}
184
185
// --- Description ---
186
Callers
1
TestScopeMaxLen_NegativeDisables
Function · 0.95
Calls
2
validateMaxLen
Function · 0.85
Scope
Method · 0.65
Tested by
1
TestScopeMaxLen_NegativeDisables
Function · 0.76