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

Struct TypeEmptyRule

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

TypeEmptyRule validates that the commit type is not empty.

Source from the content-addressed store, hash-verified

15
16// TypeEmptyRule validates that the commit type is not empty.
17type TypeEmptyRule struct{}
18
19func (r *TypeEmptyRule) Name() string { return "type-empty" }
20func (r *TypeEmptyRule) Apply(_ lint.RuleSetting) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected