update project cursor rules

This commit is contained in:
miloschwartz 2026-06-04 18:13:26 -07:00
parent d2793dfad7
commit 5a5b77cf62
No known key found for this signature in database
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
alwaysApply: true
---
When adding submit buttons, don't change the text of the button during the loading state. Text should stay static and you should use the loading prop on the button.

View file

@ -0,0 +1,7 @@
---
alwaysApply: true
---
When writing TypeScript:
Prefer to use types instead of interfaces.

View file

@ -0,0 +1,5 @@
---
alwaysApply: true
---
When creating forms, use React form for validation and use Zod schemas.