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

Struct TypeCharsetRule

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

TypeCharsetRule to validate charset of type

Source from the content-addressed store, hash-verified

18
19// TypeCharsetRule to validate charset of type
20type TypeCharsetRule struct{ Charset string }
21
22func (r *TypeCharsetRule) Name() string { return "type-charset" }
23func (r *TypeCharsetRule) Apply(s lint.RuleSetting) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected