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

Function caseIssue

rule/case_rules.go:25–27  ·  view source on GitHub ↗
(field, caseFormat string)

Source from the content-addressed store, hash-verified

23var CaseValues = casing.All
24
25func caseIssue(field, caseFormat string) *lint.Issue {
26 return lint.NewIssue(fmt.Sprintf("%s must be in %s", field, caseFormat))
27}
28
29func applyCaseArg(dst *string, ruleName string, setting lint.RuleSetting) error {
30 if err := setStringArg(dst, setting.Argument); err != nil {

Callers 5

ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85

Calls 1

NewIssueFunction · 0.92

Tested by

no test coverage detected