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

Struct HeaderFullStopRule

lint/rule/fullstop_rules.go:27–27  ·  view source on GitHub ↗

HeaderFullStopRule checks that the header does NOT end with a given character. Default character is ".".

Source from the content-addressed store, hash-verified

25// HeaderFullStopRule checks that the header does NOT end with a given character.
26// Default character is ".".
27type HeaderFullStopRule struct{ Char string }
28
29func (r *HeaderFullStopRule) Name() string { return "header-full-stop" }
30func (r *HeaderFullStopRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected