mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(cli): prisma + workers, prisma + turso, planetscale (postgres/mysql) support (#567)
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
- use functional programming
|
||||
- use normal function syntax for functions do not use arrow functions
|
||||
- no emojis
|
||||
- use type syntax, dont use interface syntax for types
|
||||
- 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.
|
||||
|
||||
Reference in New Issue
Block a user