()
| 200 | type DescriptionMaxLenRule struct{ CheckLen int } |
| 201 | |
| 202 | func (r *DescriptionMaxLenRule) Name() string { return "description-max-length" } |
| 203 | func (r *DescriptionMaxLenRule) Apply(s lint.RuleSetting) error { |
| 204 | return applyIntArg(&r.CheckLen, r.Name(), s) |
| 205 | } |