MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / DescriptionCaseRule

Struct DescriptionCaseRule

rule/case_rules.go:79–79  ·  view source on GitHub ↗

DescriptionCaseRule validates that the commit description (subject) matches a given case format. Argument: one of the casing.* constants.

Source from the content-addressed store, hash-verified

77// given case format.
78// Argument: one of the casing.* constants.
79type DescriptionCaseRule struct{ Case string }
80
81func (r *DescriptionCaseRule) Name() string { return "description-case" }
82func (r *DescriptionCaseRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected