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

Struct BodyLeadingBlankRule

lint/rule/leading_blank_rules.go:15–15  ·  view source on GitHub ↗

BodyLeadingBlankRule checks that when a body is present, it begins with a blank line (i.e. the raw commit message has an empty line between header and body).

Source from the content-addressed store, hash-verified

13// BodyLeadingBlankRule checks that when a body is present, it begins with a blank line
14// (i.e. the raw commit message has an empty line between header and body).
15type BodyLeadingBlankRule struct{}
16
17func (r *BodyLeadingBlankRule) Name() string { return "body-leading-blank" }
18func (r *BodyLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected