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

Method Name

lint/rule/length_rules.go:176–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174type ScopeMaxLenRule struct{ CheckLen int }
175
176func (r *ScopeMaxLenRule) Name() string { return "scope-max-length" }
177func (r *ScopeMaxLenRule) Apply(s lint.RuleSetting) error {
178 return applyIntArg(&r.CheckLen, r.Name(), s)
179}

Callers 1

ApplyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected