From 973a1cb0e522ffd5017edd5b6209b41c86c627b3 Mon Sep 17 00:00:00 2001 From: scarf Date: Fri, 16 May 2025 09:32:45 +0900 Subject: [PATCH] docs: fix table formatting --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 5c091835..9ae0fd4f 100644 --- a/README.md +++ b/README.md @@ -34,25 +34,25 @@ Install your preferred validation library alongside `@hookform/resolvers`. | resolver | Infer values
from schema | [criteriaMode](https://react-hook-form.com/docs/useform#criteriaMode) | |---|---|---| -| AJV | ❌ | `firstError | all` | +| AJV | ❌ | `firstError \| all` | | Arktype | ✅ | `firstError` | -| class-validator | ✅ | `firstError | all` | +| class-validator | ✅ | `firstError \| all` | | computed-types | ✅ | `firstError` | -| Effect | ✅ | `firstError | all` | +| Effect | ✅ | `firstError \| all` | | fluentvalidation-ts | ❌ | `firstError` | | io-ts | ✅ | `firstError` | -| joi | ❌ | `firstError | all` | +| joi | ❌ | `firstError \| all` | | Nope | ❌ | `firstError` | -| Standard Schema | ✅ | `firstError | all` | +| Standard Schema | ✅ | `firstError \| all` | | Superstruct | ✅ | `firstError` | | typanion | ✅ | `firstError` | -| typebox | ✅ | `firstError | all` | -| typeschema | ❌ | `firstError | all` | -| valibot | ✅ | `firstError | all` | -| vest | ❌ | `firstError | all` | -| vine | ✅ | `firstError | all` | -| yup | ✅ | `firstError | all` | -| zod | ✅ | `firstError | all` | +| typebox | ✅ | `firstError \| all` | +| typeschema | ❌ | `firstError \| all` | +| valibot | ✅ | `firstError \| all` | +| vest | ❌ | `firstError \| all` | +| vine | ✅ | `firstError \| all` | +| yup | ✅ | `firstError \| all` | +| zod | ✅ | `firstError \| all` | ## TypeScript @@ -91,7 +91,9 @@ useForm, any, z.output>({ ### Supported resolvers +- [React Hook Form Resolvers](#react-hook-form-resolvers) - [Install](#install) +- [TypeScript](#typescript) - [Links](#links) - [Supported resolvers](#supported-resolvers) - [API](#api) @@ -118,7 +120,6 @@ useForm, any, z.output>({ - [fluentvalidation-ts](#fluentvalidation-ts) - [standard-schema](#standard-schema) - [Backers](#backers) - - [Sponsors](#sponsors) - [Contributors](#contributors) ## API