BodyCaseRule validates that the commit body as a whole matches a given case format. An empty body always passes. Argument: one of the casing.* constants.
| 94 | // format. An empty body always passes. |
| 95 | // Argument: one of the casing.* constants. |
| 96 | type BodyCaseRule struct{ Case string } |
| 97 | |
| 98 | func (r *BodyCaseRule) Name() string { return "body-case" } |
| 99 | func (r *BodyCaseRule) Apply(s lint.RuleSetting) error { |
nothing calls this directly
no outgoing calls
no test coverage detected