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

Struct FooterLeadingBlankRule

lint/rule/leading_blank_rules.go:28–28  ·  view source on GitHub ↗

FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line (i.e. there is an empty line between body/header and footer).

Source from the content-addressed store, hash-verified

26// FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line
27// (i.e. there is an empty line between body/header and footer).
28type FooterLeadingBlankRule struct{}
29
30func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" }
31func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected