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

Struct ScopeCharsetRule

rule/charset_rules.go:39–39  ·  view source on GitHub ↗

ScopeCharsetRule to validate charset of scope

Source from the content-addressed store, hash-verified

37
38// ScopeCharsetRule to validate charset of scope
39type ScopeCharsetRule struct{ Charset string }
40
41func (r *ScopeCharsetRule) Name() string { return "scope-charset" }
42func (r *ScopeCharsetRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected