Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
217
func
isSeverityValid(s lint.Severity) bool {
218
return
s == lint.SeverityError || s == lint.SeverityWarn
219
}
Callers
1
Validate
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected