From 375b4f01dd1c92baa2061120106828a47fc3e7e7 Mon Sep 17 00:00:00 2001 From: JuanSaavedra Date: Thu, 22 Aug 2024 08:52:36 -0400 Subject: [PATCH] OV-3: * lint format --- .../user-sign-up.validation-schema.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts b/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts index 7526c681c..7811599b2 100644 --- a/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts +++ b/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts @@ -14,13 +14,9 @@ const userSignUp = z fullName: z .string({ required_error: UserValidationMessage.FIELD_REQUIRE }) .trim() - .refine( - (value) => - value.split(/\s+/).length >= 2, - { - message: 'Full name should have a minimum of two words.', - }, - ), + .refine((value) => value.split(/\s+/).length >= 2, { + message: 'Full name should have a minimum of two words.', + }), email: z .string({ required_error: UserValidationMessage.FIELD_REQUIRE }) .trim()