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

Struct TypeMaxLenRule

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

TypeMaxLenRule to validate max length of type

Source from the content-addressed store, hash-verified

146
147// TypeMaxLenRule to validate max length of type
148type TypeMaxLenRule struct{ CheckLen int }
149
150func (r *TypeMaxLenRule) Name() string { return "type-max-length" }
151func (r *TypeMaxLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected