DescriptionCaseRule validates that the commit description (subject) matches a given case format. Argument: one of the casing.* constants.
| 77 | // given case format. |
| 78 | // Argument: one of the casing.* constants. |
| 79 | type DescriptionCaseRule struct{ Case string } |
| 80 | |
| 81 | func (r *DescriptionCaseRule) Name() string { return "description-case" } |
| 82 | func (r *DescriptionCaseRule) Apply(s lint.RuleSetting) error { |
nothing calls this directly
no outgoing calls
no test coverage detected