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

Method Name

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

Source from the content-addressed store, hash-verified

34type HeadMinLenRule struct{ CheckLen int }
35
36func (r *HeadMinLenRule) Name() string { return "header-min-length" }
37func (r *HeadMinLenRule) Apply(s lint.RuleSetting) error {
38 return applyIntArg(&r.CheckLen, r.Name(), s)
39}

Callers 1

ApplyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected