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

Struct TypeEnumRule

lint/rule/type_enum.go:13–15  ·  view source on GitHub ↗

TypeEnumRule to validate types

Source from the content-addressed store, hash-verified

11
12// TypeEnumRule to validate types
13type TypeEnumRule struct {
14 Types []string
15}
16
17// Name return name of the rule
18func (r *TypeEnumRule) Name() string { return "type-enum" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected