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

Method Name

lint/rule/type_enum.go:18–18  ·  view source on GitHub ↗

Name return name of the rule

()

Source from the content-addressed store, hash-verified

16
17// Name return name of the rule
18func (r *TypeEnumRule) Name() string { return "type-enum" }
19
20// Apply sets the needed argument for the rule
21func (r *TypeEnumRule) Apply(setting lint.RuleSetting) error {

Callers 1

ApplyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected