Code Standards
We follow a few key standards to maintain code quality:- TypeScript: All code should be strongly typed. Use of
anyis forbidden. - Linting & Prettier: We use Husky pre-commit hooks to enforce linting / formatting rules.
- Commit Messages: Use conventional commits for clarity. Example:
feat: add new reel upload feature. - Branch Naming: Use descriptive names like
feature/reel-uploadorbugfix/login-error. - Testing: Write unit tests for new features and bug fixes. Use Vitest for testing.
Pull Requests
When you’re ready to submit your changes:- Create a Pull Request (PR): Open a PR against the
mainbranch. - PR Title: Use a clear, descriptive title.
- PR Description: Explain what your changes do, why they are needed, and any relevant context.
- Accompanying Materials: Attach screenshots, Loom videos, or other materials to help reviewers understand your changes.
- Instructions: If your PR requires specific testing steps, include them in the description.
- Review Process: PRs will be reviewed by at least one team member. Address any feedback promptly