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

Method Name

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

Source from the content-addressed store, hash-verified

17type TypeEmptyRule struct{}
18
19func (r *TypeEmptyRule) Name() string { return "type-empty" }
20func (r *TypeEmptyRule) Apply(_ lint.RuleSetting) error { return nil }
21func (r *TypeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
22 if msg.Type() != "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected