2025-12-04 00:46:48 +08:00
|
|
|
## Style Guide
|
|
|
|
|
|
|
|
|
|
- Try to keep things in one function unless composable or reusable
|
2026-01-07 07:54:16 +08:00
|
|
|
- AVOID unnecessary destructuring of variables
|
2025-12-04 00:46:48 +08:00
|
|
|
- AVOID `try`/`catch` where possible
|
|
|
|
|
- AVOID `else` statements
|
|
|
|
|
- AVOID using `any` type
|
|
|
|
|
- AVOID `let` statements
|
|
|
|
|
- PREFER single word variable names where possible
|
|
|
|
|
- Use as many bun apis as possible like Bun.file()
|