Phase 1: Add ESLint/Prettier config + baseline auto-fixes

This commit is contained in:
Krystie
2026-03-22 11:00:25 +01:00
parent 41a0cdee7e
commit e2c67a8fe8
90 changed files with 4008 additions and 3066 deletions

View File

@@ -37,7 +37,7 @@ const SENSITIVE_FIELDS = [
'masterKey',
'master_key',
'encryptionKey',
'encryption_key'
'encryption_key',
];
/**
@@ -116,7 +116,7 @@ function safeLog(message, data = {}, additionalSensitiveKeys = []) {
return {
message,
data: sanitizeForLog(data, additionalSensitiveKeys),
timestamp: new Date().toISOString()
timestamp: new Date().toISOString(),
};
}
@@ -124,5 +124,5 @@ module.exports = {
sanitizeForLog,
redactCredential,
safeLog,
SENSITIVE_FIELDS
SENSITIVE_FIELDS,
};