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

Method Name

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

Source from the content-addressed store, hash-verified

29type ScopeEmptyRule struct{}
30
31func (r *ScopeEmptyRule) Name() string { return "scope-empty" }
32func (r *ScopeEmptyRule) Apply(_ lint.RuleSetting) error { return nil }
33func (r *ScopeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
34 if msg.Scope() != "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected