chore: enable consistent-return

This commit is contained in:
Peter Steinberger
2026-04-10 20:56:08 +01:00
parent bc27278d6d
commit 0ebeee8b0d
68 changed files with 223 additions and 107 deletions

View File

@@ -413,4 +413,5 @@ export function filterRecordsForReport(
case "public-surface-usage":
return records;
}
throw new Error("Unsupported topology report");
}

View File

@@ -72,6 +72,7 @@ function extractOwner(relPath: string): string | null {
case "test":
return null;
}
throw new Error("Unsupported topology scope");
}
function extractExtensionId(relPath: string): string | null {