(_ lint.RuleSetting)
| 42 | |
| 43 | func (r *BodyEmptyRule) Name() string { return "body-empty" } |
| 44 | func (r *BodyEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 45 | func (r *BodyEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 46 | if msg.Body() != "" { |
| 47 | return nil, true |
no outgoing calls