Refactor lint config and retry logic

This commit is contained in:
2026-05-07 14:44:59 +02:00
parent 140198177b
commit 4fabf1df98
15 changed files with 397 additions and 644 deletions
+2 -2
View File
@@ -147,8 +147,8 @@ function safeParseJson(jsonString) {
if (dangerousKeys.some((key) => Object.keys(obj).includes(key))) {
return true;
}
// Recursively check nested objects
for (const key in obj) {
// Recursively check nested objects (own properties only)
for (const key of Object.keys(obj)) {
if (checkDangerousPatterns(obj[key])) {
return true;
}