From b83cdcb9908b3577bb14d394c9cbda2587802bde Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Thu, 28 May 2026 16:12:48 +0000 Subject: [PATCH] [ci] format --- packages/core/src/utils/validation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/utils/validation.ts b/packages/core/src/utils/validation.ts index bc7ef7d..0e04d5f 100644 --- a/packages/core/src/utils/validation.ts +++ b/packages/core/src/utils/validation.ts @@ -4,12 +4,12 @@ import type { StandardSchemaV1 } from './standard-schema.js'; * A function or [Standard Schema](https://github.com/standard-schema/standard-schema) * that validates user input. If a custom function is given, you should return a * `string` or `Error` to show as a validation error, or `undefined` to accept the result. - * + * * @example Using arktype * ```ts * import { text } from '@clack/prompts'; * import { type } from 'arktype'; - * + * * const name = await text({ * message: 'Enter your name (letters only)', * validate: type('string.alpha').describe('Name can only contain letters'), @@ -19,7 +19,7 @@ import type { StandardSchemaV1 } from './standard-schema.js'; * @example Custom validator * ```ts * import { text } from '@clack/prompts'; - * + * * const age = await text({ * message: 'Enter your age:', * validate(value) { -- 2.51.2