lint: enforce exhaustive switches

This commit is contained in:
Peter Steinberger
2026-04-23 06:02:01 +01:00
parent 4aa35d85fa
commit e3caacd530
9 changed files with 40 additions and 0 deletions

View File

@@ -267,6 +267,8 @@ function scoreClaimMatch(params: {
case "unknown":
score -= 4;
break;
case undefined:
break;
}
score += isClaimContestedStatus(params.status) ? -6 : 4;
return score;