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

Method String

lint/lint.go:23–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21type Severity string
22
23func (s Severity) String() string {
24 switch s {
25 case SeverityError:
26 return "Error"
27 case SeverityWarn:
28 return "Warning"
29 default:
30 return "Severity(" + string(s) + ")"
31 }
32}
33
34// Formatter represent a lint result formatter
35type Formatter interface {

Callers 3

writeFailureMethod · 0.45

Calls

no outgoing calls

Tested by 2