style: 🎨 run deno fmt

This commit is contained in:
Julien Oculi 2024-05-13 18:04:30 +02:00
parent 6280b02934
commit fa0b692b62

View file

@ -1,4 +1,4 @@
import { Login } from "@/types.ts" import { Login } from '@/types.ts'
export function toLogin({ export function toLogin({
firstname, firstname,
@ -23,7 +23,6 @@ function sanitizeChar(char: string): string {
export const regex = { export const regex = {
uuidV4: /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/, uuidV4: /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,
isoDateString: isoDateString: /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/,
/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/,
mailAddress: /\S+@\S+\.\S+/, mailAddress: /\S+@\S+\.\S+/,
} }