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

Method Name

lint/rule/leading_blank_rules.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15type BodyLeadingBlankRule struct{}
16
17func (r *BodyLeadingBlankRule) Name() string { return "body-leading-blank" }
18func (r *BodyLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil }
19func (r *BodyLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
20 if msg.Body() == "" || msg.BodyBlankLines() > 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected