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

Struct HeadMinLenRule

lint/rule/length_rules.go:34–34  ·  view source on GitHub ↗

--- Header --- HeadMinLenRule to validate min length of header

Source from the content-addressed store, hash-verified

32
33// HeadMinLenRule to validate min length of header
34type HeadMinLenRule struct{ CheckLen int }
35
36func (r *HeadMinLenRule) Name() string { return "header-min-length" }
37func (r *HeadMinLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected