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

Struct TypeMinLenRule

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

--- Type --- TypeMinLenRule to validate min length of type

Source from the content-addressed store, hash-verified

134
135// TypeMinLenRule to validate min length of type
136type TypeMinLenRule struct{ CheckLen int }
137
138func (r *TypeMinLenRule) Name() string { return "type-min-length" }
139func (r *TypeMinLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected