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

Struct BodyMaxLenRule

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

BodyMaxLenRule to validate max length of body

Source from the content-addressed store, hash-verified

70
71// BodyMaxLenRule to validate max length of body
72type BodyMaxLenRule struct{ CheckLen int }
73
74func (r *BodyMaxLenRule) Name() string { return "body-max-length" }
75func (r *BodyMaxLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected