Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/conventionalcommit/commitlint
/ hasErrorSeverity
Function
hasErrorSeverity
internal/cmd/lint.go:192–199 ·
view source on GitHub ↗
(result *lint.Result)
Source
from the content-addressed store, hash-verified
190
}
191
192
func
hasErrorSeverity(result *lint.Result) bool {
193
for
_, i :=
range
result.Issues() {
194
if
i.Severity() == lint.SeverityError {
195
return
true
196
}
197
}
198
return
false
199
}
Callers
1
runLint
Function · 0.85
Calls
2
Issues
Method · 0.80
Severity
Method · 0.80
Tested by
no test coverage detected