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

Method Name

lint/rule/trailer_rules.go:44–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42type TrailerExistsRule struct{ Value string }
43
44func (r *TrailerExistsRule) Name() string { return "trailer-exists" }
45func (r *TrailerExistsRule) Apply(s lint.RuleSetting) error {
46 if err := applyStringArg(&r.Value, r.Name(), s); err != nil {
47 return err

Callers 1

ApplyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected