Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscoheat committed Oct 5, 2024
1 parent 2225364 commit 91fd5b2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/routes/(v2)/v2/component-regen/Input.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
export let value: unknown;
export let value: unknown;
</script>

<input bind:value />
2 changes: 1 addition & 1 deletion src/routes/(v2)/v2/issue-484/+layout.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const prerender = true;
export const ssr = false;
export const ssr = false;
20 changes: 10 additions & 10 deletions src/routes/(v2)/v2/issue-484/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 91fd5b2

Please sign in to comment.