()
| 17 | type TypeEmptyRule struct{} |
| 18 | |
| 19 | func (r *TypeEmptyRule) Name() string { return "type-empty" } |
| 20 | func (r *TypeEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 21 | func (r *TypeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 22 | if msg.Type() != "" { |
nothing calls this directly
no outgoing calls
no test coverage detected