(s lint.RuleSetting)
| 123 | |
| 124 | func (r *FooterMaxLineLenRule) Name() string { return "footer-max-line-length" } |
| 125 | func (r *FooterMaxLineLenRule) Apply(s lint.RuleSetting) error { |
| 126 | return applyIntArg(&r.CheckLen, r.Name(), s) |
| 127 | } |
| 128 | |
| 129 | func (r *FooterMaxLineLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 130 | return validateMaxLineLength("footer", r.CheckLen, msg.Footer()) |