feat: clean up link detection in summary and description

This commit is contained in:
tdgao
2026-08-28 12:10:19 -06:00
parent 18c1f31514
commit d7442e8760
15 changed files with 212 additions and 162 deletions
@@ -1,20 +1,12 @@
export { PROJECT_LINK_BLOCK_LIST } from './block-list.ts'
export {
containsExplicitHttpProjectLink,
containsProjectLinkOrIp,
extractProjectLinks,
findBlockedProjectContentLink,
} from './detection.ts'
export { EXTERNAL_LINKS_BLOCK_LIST, URL_SHORTENERS } from './block-list.ts'
export { PROJECT_LINK_DOMAIN_LIST } from './domain-list.ts'
export {
getBlockedProjectContentLink,
getBlockedProjectExternalLink,
getLinkHostname,
hostnameMatchesDomain,
isCommonProjectLink,
isDiscordLink,
isInappropriateLicenseLink,
isLinkShortener,
} from './syntax-checks.ts'
export type {
BlockedProjectLink,