(_ lint.RuleSetting)
| 66 | |
| 67 | func (r *DescriptionEmptyRule) Name() string { return "description-empty" } |
| 68 | func (r *DescriptionEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 69 | func (r *DescriptionEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 70 | if msg.Description() != "" { |
| 71 | return nil, true |
no outgoing calls