Skip to content

Commit 42bd2d4

Browse files
committed
Fixed linting errors
1 parent 7c1aa19 commit 42bd2d4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/auth/schemas.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export { type SignupFormData, SignupSchema } from '$generated/schemas';
77
// In dev mode, allow addresses like test@localhost (no TLD required)
88
export const LoginSchema = dev
99
? GeneratedLoginSchema.extend({
10-
email: string().min(1, 'Email is required').regex(/^[^\s@]+@[^\s@]+$/, 'Please enter a valid email address')
10+
email: string()
11+
.min(1, 'Email is required')
12+
.regex(/^[^\s@]+@[^\s@]+$/, 'Please enter a valid email address')
1113
})
1214
: GeneratedLoginSchema;
1315
export type LoginFormData = Infer<typeof GeneratedLoginSchema>;

src/Exceptionless.Web/ClientApp/src/routes/(auth)/login/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@
9898
<form.Field name="password">
9999
{#snippet children(field)}
100100
<Field.Field data-invalid={ariaInvalid(field)}>
101-
<Field.Label for={field.name}>Password <Muted class="float-right"><A href={resolve('/(auth)/forgot-password')} tabindex={6}>Forgot password?</A></Muted></Field.Label>
101+
<Field.Label for={field.name}
102+
>Password <Muted class="float-right"><A href={resolve('/(auth)/forgot-password')} tabindex={6}>Forgot password?</A></Muted
103+
></Field.Label
104+
>
102105
<Input
103106
id={field.name}
104107
name={field.name}

0 commit comments

Comments
 (0)