(_ lint.RuleSetting)
| 54 | |
| 55 | func (r *FooterEmptyRule) Name() string { return "footer-empty" } |
| 56 | func (r *FooterEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 57 | func (r *FooterEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 58 | if msg.Footer() != "" { |
| 59 | return nil, true |
no outgoing calls