feat: change links in summary to be a blocking error and combined with formatting nag, banned links in description are also blocking

This commit is contained in:
tdgao
2026-08-26 18:16:55 -06:00
parent ed859272d3
commit 5dcd66f27f
12 changed files with 349 additions and 87 deletions
@@ -46,6 +46,10 @@ export function useProjectDescriptionValidation(
linkValidation.value = null
if (import.meta.server) return
if (validateProjectDescription(text).some(({ code }) => code === 'text-banned-link')) {
pending.value = false
return
}
const links = extractProjectLinks(text ?? '')
if (links.length === 0) {