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

Struct FooterEnumRule

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

FooterEnumRule to validate footer tokens

Source from the content-addressed store, hash-verified

13
14// FooterEnumRule to validate footer tokens
15type FooterEnumRule struct {
16 Tokens []string
17}
18
19// Name return name of the rule
20func (r *FooterEnumRule) Name() string { return "footer-enum" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected