Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conventionalcommit/commitlint
/ Name
Method
Name
lint/rule/length_rules.go:150–150 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
type
TypeMaxLenRule
struct
{ CheckLen int }
149
150
func
(r *TypeMaxLenRule) Name() string {
return
"type-max-length"
}
151
func
(r *TypeMaxLenRule) Apply(s lint.RuleSetting) error {
152
return
applyIntArg(&r.CheckLen, r.Name(), s)
153
}
Callers
1
Apply
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected