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

Method Name

lint/rule/leading_blank_rules.go:30–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28type FooterLeadingBlankRule struct{}
29
30func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" }
31func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }
32func (r *FooterLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
33 if msg.Footer() == "" || msg.FooterBlankLines() > 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected