style: clean up code formatting and remove trailing whitespace
refactor: reorganize imports and fix type imports
This commit is contained in:
1 parent
d3704602fd
commit
47c04de6fe
232 files changed
+7140
-4798
No files matched your search
@@ -29,7 +29,7 @@ interface MaskOptions {
|
||||
removeSensitive?: boolean;
|
||||
}
|
||||
|
||||
const isProduction = process.env.NODE_ENV === "production";
|
||||
const _isProduction = process.env.NODE_ENV === "production";
|
||||
|
||||
/**
|
||||
* Mascara email mantendo primeiro caractere e domínio
|
||||
@@ -38,7 +38,7 @@ function maskEmail(email: string): string {
|
||||
if (!email || !email.includes("@")) return email;
|
||||
|
||||
const [localPart, domain] = email.split("@");
|
||||
const maskedLocal = localPart.substring(0, 1) + "***";
|
||||
const maskedLocal = `${localPart.substring(0, 1)}***`;
|
||||
|
||||
return `${maskedLocal}@${domain}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user