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

Method parserErrorRule

lint/linter.go:104–109  ·  view source on GitHub ↗
(commitMsg string, err error)

Source from the content-addressed store, hash-verified

102}
103
104func (l *Linter) parserErrorRule(commitMsg string, err error) []*Issue {
105 issue := NewIssue(err.Error())
106 issue.ruleName = "parser"
107 issue.severity = SeverityError
108 return []*Issue{issue}
109}

Callers 1

ParseAndLintMethod · 0.95

Calls 2

NewIssueFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected