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

Struct ScopeEmptyRule

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

ScopeEmptyRule validates that the commit scope is not empty.

Source from the content-addressed store, hash-verified

27
28// ScopeEmptyRule validates that the commit scope is not empty.
29type ScopeEmptyRule struct{}
30
31func (r *ScopeEmptyRule) Name() string { return "scope-empty" }
32func (r *ScopeEmptyRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected