style: Reformat code

This commit is contained in:
Michal Šmahel committed 2025-06-09 21:54:48 +02:00
1 parent 8c9084cc7a
commit 89bc2a9293
9 files changed
+36 -26

No files matched your search

+2 -8
View File
@@ -22,14 +22,8 @@ const passwordPattern =
/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!?@#$%^&*()\-_=+[\]{};:'",.<>~`|\\/])[A-Za-z0-9!?@#$%^&*()\-_=+[\]{};:'",.<>~`|\\/]+$/;
const loginValidation = joi.object({
email: joi
.string()
.email()
.required()
.lowercase(),
password: joi
.string()
.required(),
email: joi.string().email().required().lowercase(),
password: joi.string().required(),
});
const nameValidation = joi
.string()