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

Struct BodyFullStopRule

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

BodyFullStopRule checks that the body does NOT end with a given character.

Source from the content-addressed store, hash-verified

40
41// BodyFullStopRule checks that the body does NOT end with a given character.
42type BodyFullStopRule struct{ Char string }
43
44func (r *BodyFullStopRule) Name() string { return "body-full-stop" }
45func (r *BodyFullStopRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected