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

Method Name

lint/lint.go:59–59  ·  view source on GitHub ↗

Name returns name of the rule, it should be a unique identifier

()

Source from the content-addressed store, hash-verified

57type Rule interface {
58 // Name returns name of the rule, it should be a unique identifier
59 Name() string
60
61 // Apply calls with arguments and flags for the rule from config file
62 // if flags or arguments are invalid or not expected return an error

Callers 13

TestRegisterCustomRuleFunction · 0.65
RegisterRuleMethod · 0.65
RegisterFormatterMethod · 0.65
LintMethod · 0.65
runRuleMethod · 0.65
processParamFunction · 0.65
TestConfig_GetFormatterFunction · 0.65
GetEnabledRulesFunction · 0.65
NewDefaultFunction · 0.65

Implementers 15

TypeCaseRulerule/case_rules.go
ScopeCaseRulerule/case_rules.go
DescriptionCaseRulerule/case_rules.go
BodyCaseRulerule/case_rules.go
HeaderCaseRulerule/case_rules.go
BodyLeadingBlankRulerule/leading_blank_rules.go
FooterLeadingBlankRulerule/leading_blank_rules.go
TypeCharsetRulerule/charset_rules.go
ScopeCharsetRulerule/charset_rules.go
ScopeEnumRulerule/scope_enum.go
BreakingChangeExclamationMarkRulerule/breaking_change_rule.go
FooterTypeEnumRulerule/footer_type_enum.go

Calls

no outgoing calls

Tested by 5

TestRegisterCustomRuleFunction · 0.52
TestConfig_GetFormatterFunction · 0.52