HeaderCaseRule validates that the commit header matches a given case format. Argument: one of the casing.* constants.
| 114 | // HeaderCaseRule validates that the commit header matches a given case format. |
| 115 | // Argument: one of the casing.* constants. |
| 116 | type HeaderCaseRule struct{ Case string } |
| 117 | |
| 118 | func (r *HeaderCaseRule) Name() string { return "header-case" } |
| 119 | func (r *HeaderCaseRule) Apply(s lint.RuleSetting) error { |
nothing calls this directly
no outgoing calls
no test coverage detected