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

Struct SignedOffByRule

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

SignedOffByRule checks that at least one footer note token matches the configured value (default "Signed-off-by").

Source from the content-addressed store, hash-verified

15// SignedOffByRule checks that at least one footer note token matches the
16// configured value (default "Signed-off-by").
17type SignedOffByRule struct{ Value string }
18
19func (r *SignedOffByRule) Name() string { return "signed-off-by" }
20func (r *SignedOffByRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected