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

Method Apply

lint/rule/fullstop_rules.go:45–47  ·  view source on GitHub ↗
(s lint.RuleSetting)

Source from the content-addressed store, hash-verified

43
44func (r *BodyFullStopRule) Name() string { return "body-full-stop" }
45func (r *BodyFullStopRule) Apply(s lint.RuleSetting) error {
46 return applyFullStopArg(&r.Char, r.Name(), s)
47}
48
49func (r *BodyFullStopRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
50 body := msg.Body()

Calls 2

NameMethod · 0.95
applyFullStopArgFunction · 0.85