(_ lint.RuleSetting)
| 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() != "" { |
| 35 | return nil, true |
no outgoing calls