fix glob format

This commit is contained in:
Chris Watson
2025-04-17 13:53:29 -06:00
parent 5125f271f2
commit 8fe9254c05
236 changed files with 253 additions and 244 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
description: This rule provides comprehensive guidelines for using the Zod library effectively, covering code organization, performance, security, and testing to ensure robust and maintainable type validation.
globs: **/*.ts?(x)
globs: *.ts?(x)
---
- **Organize Zod schemas logically for readability and maintainability.** Group related schemas together and structure your Zod code for improved clarity, especially in larger projects.
- **Compose and reuse related schemas to avoid repetition.** Use Zod's composition features (e.g., `z.intersection`, `z.union`, `z.extend`) to create reusable schema components and reduce redundancy.