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

Method Apply

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

Source from the content-addressed store, hash-verified

47
48func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" }
49func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }
50func (r *FooterLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
51 footer := msg.Footer()
52 if footer == "" {

Calls

no outgoing calls