()
| 29 | type ScopeEmptyRule struct{} |
| 30 | |
| 31 | func (r *ScopeEmptyRule) Name() string { return "scope-empty" } |
| 32 | func (r *ScopeEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 33 | func (r *ScopeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 34 | if msg.Scope() != "" { |
nothing calls this directly
no outgoing calls
no test coverage detected