(msg lint.Commit)
| 167 | } |
| 168 | |
| 169 | func (r *ScopeMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 170 | return validateMinLen("scope", r.CheckLen, msg.Scope()) |
| 171 | } |
| 172 | |
| 173 | // ScopeMaxLenRule to validate max length of scope |
| 174 | type ScopeMaxLenRule struct{ CheckLen int } |