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