MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / FooterLeadingBlankRule

Struct FooterLeadingBlankRule

rule/leading_blank_rules.go:46–46  ·  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

44// FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line
45// (i.e. there is an empty line between body/header and footer).
46type FooterLeadingBlankRule struct{}
47
48func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" }
49func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected