shared · git:20250224.001a864 · 2025-02-24 · sha256 67b52e895cbe2142
shared git:20250224.001a864A
Immutable. This exact content is served forever at /api/v1/blob/67b52e895cbe2142.
--- description: Shared rules accross all packages globs: **/* --- TypeScript Conventions: - Use interfaces over types when possible - Avoid enums, use const objects instead - Use strict type checking - Proper error handling with custom error types Code Style: - Use functional programming patterns - Avoid classes - Use pure functions where possible - Implement proper error handling - Use meaningful variable names - Keep functions small and focused Git Conventions: - Use conventional commits - Keep PRs focused and small - Include proper documentation - Add meaningful tests Performance: - Implement proper caching strategies - Optimize bundle sizes - Use code splitting - Implement proper lazy loading - Don't use barel files