Files
create-better-t-stack/.cursor/rules/better-t-stack-repo.mdc

10 lines
451 B
Plaintext

---
alwaysApply: true
---
- Always use functional programming; avoid object-oriented programming.
- Define functions using the standard function declaration syntax, not arrow functions.
- Do not include emojis.
- Use TypeScript type aliases instead of interface declarations.
- In Handlebars templates, avoid generic if/else blocks. Write explicit conditions, such as: use if (eq orm "prisma") for Prisma, and else if (eq orm "drizzle") for Drizzle.