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

@@ -22,6 +22,7 @@ function scopeRank(scope: typeof pluginRegistryLoaded): number {
case "all":
return 3;
}
throw new Error("Unsupported plugin registry scope");
}
function activeRegistrySatisfiesScope(
@@ -50,6 +51,7 @@ function activeRegistrySatisfiesScope(
case "all":
return false;
}
throw new Error("Unsupported plugin registry scope");
}
export function ensurePluginRegistryLoaded(options?: {