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

Struct BodyEmptyRule

lint/rule/empty_rules.go:41–41  ·  view source on GitHub ↗

BodyEmptyRule validates that the commit body is not empty.

Source from the content-addressed store, hash-verified

39
40// BodyEmptyRule validates that the commit body is not empty.
41type BodyEmptyRule struct{}
42
43func (r *BodyEmptyRule) Name() string { return "body-empty" }
44func (r *BodyEmptyRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected