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

Method Apply

rule/empty_rules.go:68–68  ·  view source on GitHub ↗
(_ lint.RuleSetting)

Source from the content-addressed store, hash-verified

66
67func (r *DescriptionEmptyRule) Name() string { return "description-empty" }
68func (r *DescriptionEmptyRule) Apply(_ lint.RuleSetting) error { return nil }
69func (r *DescriptionEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
70 if msg.Description() != "" {
71 return nil, true

Calls

no outgoing calls