Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.73 KB

File metadata and controls

64 lines (46 loc) · 1.73 KB

Contributing to GitHub Users

Thank you for your interest in contributing to GitHub Users! This document provides guidelines and instructions for contributing.

🤝 How to Contribute

Reporting Bugs

If you find a bug, please create an issue with:

  • A clear, descriptive title
  • Steps to reproduce the issue
  • Expected vs actual behavior
  • iOS version and device information
  • Screenshots if applicable

Suggesting Features

Feature suggestions are welcome! Please create an issue with:

  • A clear description of the feature
  • Use cases and benefits
  • Any mockups or examples if applicable

Pull Requests

  1. Fork the repository and create your branch from main
  2. Make your changes following the project's code style
  3. Write or update tests if applicable
  4. Update documentation if needed
  5. Ensure all tests pass before submitting
  6. Create a pull request with a clear description

📋 Code Style

  • Follow Swift API Design Guidelines
  • Use SwiftUI best practices
  • Maintain Clean Architecture principles
  • Write self-documenting code with clear naming
  • Add comments for complex logic
  • Keep functions focused and small

🧪 Testing

  • Write unit tests for ViewModels and Services
  • Test edge cases and error scenarios
  • Ensure test coverage doesn't decrease

📝 Commit Messages

Use clear, descriptive commit messages:

  • Use present tense ("Add feature" not "Added feature")
  • Start with a capital letter
  • Reference issue numbers when applicable

✅ Checklist

Before submitting a pull request:

  • Code follows the project's style guidelines
  • Tests pass locally
  • Documentation is updated
  • No new warnings or errors
  • Changes are tested on iOS 15.0+

Thank you for contributing! 🎉