MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / Name

Method Name

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

Source from the content-addressed store, hash-verified

41type BodyEmptyRule struct{}
42
43func (r *BodyEmptyRule) Name() string { return "body-empty" }
44func (r *BodyEmptyRule) Apply(_ lint.RuleSetting) error { return nil }
45func (r *BodyEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
46 if msg.Body() != "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected