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

Struct ScopeMaxLenRule

lint/rule/length_rules.go:174–174  ·  view source on GitHub ↗

ScopeMaxLenRule to validate max length of scope

Source from the content-addressed store, hash-verified

172
173// ScopeMaxLenRule to validate max length of scope
174type ScopeMaxLenRule struct{ CheckLen int }
175
176func (r *ScopeMaxLenRule) Name() string { return "scope-max-length" }
177func (r *ScopeMaxLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected