(msg lint.Commit)
| 141 | } |
| 142 | |
| 143 | func (r *TypeMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 144 | return validateMinLen("type", r.CheckLen, msg.Type()) |
| 145 | } |
| 146 | |
| 147 | // TypeMaxLenRule to validate max length of type |
| 148 | type TypeMaxLenRule struct{ CheckLen int } |