From 91fd5b2d4dd6559718dc60c163477cae6cb60bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B6derlund?= Date: Sat, 5 Oct 2024 15:26:21 +0200 Subject: [PATCH] Linter --- .../(v2)/v2/component-regen/Input.svelte | 2 +- src/routes/(v2)/v2/issue-484/+layout.ts | 2 +- src/routes/(v2)/v2/issue-484/schemas.ts | 20 +++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/routes/(v2)/v2/component-regen/Input.svelte b/src/routes/(v2)/v2/component-regen/Input.svelte index f3b6a81b..0d31ffcd 100644 --- a/src/routes/(v2)/v2/component-regen/Input.svelte +++ b/src/routes/(v2)/v2/component-regen/Input.svelte @@ -1,5 +1,5 @@ diff --git a/src/routes/(v2)/v2/issue-484/+layout.ts b/src/routes/(v2)/v2/issue-484/+layout.ts index d2c0be26..ceccaaf6 100644 --- a/src/routes/(v2)/v2/issue-484/+layout.ts +++ b/src/routes/(v2)/v2/issue-484/+layout.ts @@ -1,2 +1,2 @@ export const prerender = true; -export const ssr = false; \ No newline at end of file +export const ssr = false; diff --git a/src/routes/(v2)/v2/issue-484/schemas.ts b/src/routes/(v2)/v2/issue-484/schemas.ts index b8beacb5..f6358d3d 100644 --- a/src/routes/(v2)/v2/issue-484/schemas.ts +++ b/src/routes/(v2)/v2/issue-484/schemas.ts @@ -2,17 +2,17 @@ import { z } from 'zod'; import type { JSONSchema } from '$lib/index.js'; export const loginZodSchema = z.object({ - name: z.string().min(5).default('Superform'), - email: z.string().email() + name: z.string().min(5).default('Superform'), + email: z.string().email() }); export const loginJSONSchema = { - type: 'object', - properties: { - name: { type: 'string', minLength: 5, default: 'Superform' }, - email: { type: 'string', format: 'email' } - }, - required: ['name', 'email'], - additionalProperties: false, - $schema: 'http://json-schema.org/draft-07/schema#' + type: 'object', + properties: { + name: { type: 'string', minLength: 5, default: 'Superform' }, + email: { type: 'string', format: 'email' } + }, + required: ['name', 'email'], + additionalProperties: false, + $schema: 'http://json-schema.org/draft-07/schema#' } as const satisfies JSONSchema;