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

Method Apply

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

Source from the content-addressed store, hash-verified

54
55func (r *FooterEmptyRule) Name() string { return "footer-empty" }
56func (r *FooterEmptyRule) Apply(_ lint.RuleSetting) error { return nil }
57func (r *FooterEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
58 if msg.Footer() != "" {
59 return nil, true

Calls

no outgoing calls

Tested by 2