(s lint.RuleSetting)
| 99 | |
| 100 | func (r *FooterMinLenRule) Name() string { return "footer-min-length" } |
| 101 | func (r *FooterMinLenRule) Apply(s lint.RuleSetting) error { |
| 102 | return applyIntArg(&r.CheckLen, r.Name(), s) |
| 103 | } |
| 104 | |
| 105 | func (r *FooterMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 106 | return validateMinLen("footer", r.CheckLen, msg.Footer()) |