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

Struct FooterMaxLenRule

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

FooterMaxLenRule to validate max length of footer

Source from the content-addressed store, hash-verified

108
109// FooterMaxLenRule to validate max length of footer
110type FooterMaxLenRule struct{ CheckLen int }
111
112func (r *FooterMaxLenRule) Name() string { return "footer-max-length" }
113func (r *FooterMaxLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected