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

Function isSeverityValid

config/config.go:217–219  ·  view source on GitHub ↗
(s lint.Severity)

Source from the content-addressed store, hash-verified

215}
216
217func isSeverityValid(s lint.Severity) bool {
218 return s == lint.SeverityError || s == lint.SeverityWarn
219}

Callers 1

ValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected