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

Method Name

lint/rule/header_trim_rule.go:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13type HeaderTrimRule struct{}
14
15func (r *HeaderTrimRule) Name() string { return "header-trim" }
16func (r *HeaderTrimRule) Apply(_ lint.RuleSetting) error { return nil }
17func (r *HeaderTrimRule) Validate(msg lint.Commit) (*lint.Issue, bool) {
18 h := msg.Header()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected