Skip to main content

Code Standards

TypeScript

  • ✅ Use TypeScript for all new code
  • ✅ Define proper types and interfaces
  • ✅ Avoid any types when possible
  • ✅ Ensure code compiles without errors

Code Style

  • ✅ Follow existing code patterns and conventions
  • ✅ Use meaningful variable and function names
  • ✅ Add comments for complex logic
  • ✅ Keep functions focused and single-purpose

File Organization

  • ✅ Place files in appropriate directories
  • ✅ Follow the existing project structure
  • ✅ Use consistent naming conventions

Testing

  • ✅ Test your changes locally before pushing
  • ✅ Verify the build succeeds (yarn build)
  • ✅ Test critical user flows manually