MCPcopy 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

148type TypeMaxLenRule struct{ CheckLen int }
149
150func (r *TypeMaxLenRule) Name() string { return "type-max-length" }
151func (r *TypeMaxLenRule) Apply(s lint.RuleSetting) error {
152 return applyIntArg(&r.CheckLen, r.Name(), s)
153}

Callers 1

ApplyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected