Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.44 KB

File metadata and controls

53 lines (38 loc) · 1.44 KB

Contributing to Infinity Ranking

Thank you for your interest in contributing! Here are some guidelines to help you get started.

Development Setup

  1. Fork the repository
  2. Clone your fork
  3. Install dependencies: npm install
  4. Copy .env.example to .env.local and configure
  5. Run npx prisma db push to set up the database
  6. Start the dev server: npm run dev

Code Standards

  • TypeScript: All code must be strongly typed. No any types.
  • Linting: Run npm run lint before committing
  • Components: Use shadcn/ui primitives when possible
  • Styling: Use TailwindCSS utility classes
  • State: Use Zustand for global state, TanStack Query for server state
  • Validation: Use Zod for all input validation
  • Testing: Write tests for new features when applicable

Pull Request Process

  1. Create a feature branch from main
  2. Make your changes
  3. Ensure all checks pass
  4. Submit a pull request with a clear description
  5. Wait for review

Commit Messages

Use clear, descriptive commit messages:

  • feat: add bulk promotion support
  • fix: resolve member pagination issue
  • docs: update API documentation
  • refactor: simplify audit log queries

Reporting Issues

When reporting issues, please include:

  • Steps to reproduce
  • Expected behavior
  • Actual behavior
  • Browser/OS information
  • Screenshots if applicable

Code of Conduct

Be respectful and constructive. We're building something great together.