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

Struct Issue

lint/result.go:23–31  ·  view source on GitHub ↗

Issue holds a rule result

Source from the content-addressed store, hash-verified

21
22// Issue holds a rule result
23type Issue struct {
24 ruleName string
25
26 severity Severity
27
28 description string
29
30 additionalInfos []string
31}
32
33// NewIssue returns a new issue
34func NewIssue(desc string, infos ...string) *Issue {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected