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

Struct DescriptionFullStopRule

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

DescriptionFullStopRule checks that the description does NOT end with a given character.

Source from the content-addressed store, hash-verified

59
60// DescriptionFullStopRule checks that the description does NOT end with a given character.
61type DescriptionFullStopRule struct{ Char string }
62
63func (r *DescriptionFullStopRule) Name() string { return "description-full-stop" }
64func (r *DescriptionFullStopRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected