MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / severityRank

Function severityRank

packages/cli/src/utils/layoutAudit.ts:219–223  ·  view source on GitHub ↗
(severity: LayoutIssueSeverity)

Source from the content-addressed store, hash-verified

217}
218
219function severityRank(severity: LayoutIssueSeverity): number {
220 if (severity === "error") return 0;
221 if (severity === "warning") return 1;
222 return 2;
223}
224
225function staticIssueKey(issue: LayoutIssue): string {
226 return [

Callers 1

limitLayoutIssuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected