(s lint.RuleSetting)
| 85 | |
| 86 | func (r *BodyMaxLineLenRule) Name() string { return "body-max-line-length" } |
| 87 | func (r *BodyMaxLineLenRule) Apply(s lint.RuleSetting) error { |
| 88 | return applyIntArg(&r.CheckLen, r.Name(), s) |
| 89 | } |
| 90 | |
| 91 | func (r *BodyMaxLineLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 92 | return validateMaxLineLength("body", r.CheckLen, msg.Body()) |