Commit db2f57a
docs: add code style guidelines including TypeScript best practices and testing mock policy
- Never use 'any' type - require specific types or union types
- Use 'function' keyword for top-level functions over arrow functions
- Document Vitest mocking patterns used in codebase (vi.fn(), custom mock classes)
- Reference test helpers in tests/helpers.ts for consistent test setup
- Specify mock call verification patterns (fn.mock.calls)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5cf8c5a commit db2f57a
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
13 | 28 | | |
14 | 29 | | |
15 | 30 | | |
| |||
0 commit comments