()
| 15 | type BodyLeadingBlankRule struct{} |
| 16 | |
| 17 | func (r *BodyLeadingBlankRule) Name() string { return "body-leading-blank" } |
| 18 | func (r *BodyLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil } |
| 19 | func (r *BodyLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 20 | if msg.Body() == "" || msg.BodyBlankLines() > 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected