MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / Apply

Method Apply

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

Source from the content-addressed store, hash-verified

62
63func (r *DescriptionFullStopRule) Name() string { return "description-full-stop" }
64func (r *DescriptionFullStopRule) Apply(s lint.RuleSetting) error {
65 return applyFullStopArg(&r.Char, r.Name(), s)
66}
67
68func (r *DescriptionFullStopRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
69 desc := msg.Description()

Calls 2

NameMethod · 0.95
applyFullStopArgFunction · 0.85