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

Struct ScopeMinLenRule

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

--- Scope --- ScopeMinLenRule to validate min length of scope

Source from the content-addressed store, hash-verified

160
161// ScopeMinLenRule to validate min length of scope
162type ScopeMinLenRule struct{ CheckLen int }
163
164func (r *ScopeMinLenRule) Name() string { return "scope-min-length" }
165func (r *ScopeMinLenRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected