Skip to content

Commit cacd165

Browse files
authored
feat: add subtle code and tests from 0.x (#782)
1 parent b297bbc commit cacd165

30 files changed

Lines changed: 5891 additions & 1242 deletions

.rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ Every time you choose to apply a rule(s), explicitly state the rule(s) in the ou
2626
- Use modern C++ features.
2727
- Attempt to reduce the amount of code rather than add more.
2828
- Prefer iteration and modularization over code duplication.
29-
- Do not add comments unless explicitly told to do so.
29+
- Do not add comments unless explicitly told to do so, or the code is sufficiently complex to warrant comments.
3030

3131
## TypeScript Best Practices
3232

3333
- Use TypeScript for all code; prefer interfaces over types.
3434
- Use lowercase with dashes for directories (e.g., `components/auth-wizard`).
3535
- Favor named exports for components.
3636
- Avoid `any` and enums; use explicit types and maps instead.
37+
- Do not cast to `unknown` and then another type.
3738
- Use functional components with TypeScript interfaces.
3839
- Enable strict mode in TypeScript for better type safety.
3940
- Suggest the optimal implementation considering:

bun.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)