Skip to content

Commit f866dc0

Browse files
committed
style: format moderation flags
1 parent 69436fd commit f866dc0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

convex/lib/moderation.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import type { Doc } from '../_generated/dataModel'
33
const FLAG_RULES: Array<{ flag: string; pattern: RegExp }> = [
44
// Known-bad / known-suspicious identifiers.
55
// NOTE: keep these narrowly scoped; use staff review to confirm removals.
6-
{ flag: 'blocked.malware', pattern: /(keepcold131\/ClawdAuthenticatorTool|ClawdAuthenticatorTool)/i },
6+
{
7+
flag: 'blocked.malware',
8+
pattern: /(keepcold131\/ClawdAuthenticatorTool|ClawdAuthenticatorTool)/i,
9+
},
710

811
{ flag: 'suspicious.keyword', pattern: /(malware|stealer|phish|phishing|keylogger)/i },
912
{ flag: 'suspicious.secrets', pattern: /(api[-_ ]?key|token|password|private key|secret)/i },

0 commit comments

Comments
 (0)