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

Struct DescriptionMaxLenRule

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

DescriptionMaxLenRule to validate max length of description

Source from the content-addressed store, hash-verified

198
199// DescriptionMaxLenRule to validate max length of description
200type DescriptionMaxLenRule struct{ CheckLen int }
201
202func (r *DescriptionMaxLenRule) Name() string { return "description-max-length" }
203func (r *DescriptionMaxLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected