Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 2.37 KB

File metadata and controls

51 lines (38 loc) · 2.37 KB

🤝 Contributing to Hummingbird

Thank you for your interest in contributing! Hummingbird is an open-source development theme for PrestaShop, and your help is highly appreciated 🙌

🧠 Learn Before You Start

💬 Join our Slack community: https://www.prestashop-project.org/slack/

🛠️ Environment Setup

Follow the README.md for detailed setup and build instructions.

✅ Checklist Before You Start

  1. Set up your Git config:
    Set up your Git for contributing
  2. Use an editor that supports .editorconfig.
    Download an EditorConfig plugin.
  3. Make sure you have Node.js v20 installed.

👍 Good Practices

  • Use BEM naming conventions for CSS.
  • Use Bootstrap components when they fully meet your needs.
  • Create custom components when Bootstrap isn't sufficient.
  • Use Bootstrap CSS variables in your custom components wherever possible to maintain consistency.
  • Add comments to your code where clarification is needed.
  • Before submitting a PR:
    • Format code using Prettier:
      npm run prettier and npm run prettier:fix
    • Run linters for both JavaScript and styles:
      For linting check use npm run lint && npm run stylelint. Use npm run lint:fix && npm run stylelint:fix to auto-fix where possible.
      Otherwise, fix issues manually.
  • If your PR is a work in progress, use GitHub draft PR.
  • Fill out the PR template thoroughly to speed up testing and review.
  • Organize your commits clearly and try to follow conventional commits to name it.
    Examples:
    • feat: add responsive support for product cards
    • fix: correct header spacing on mobile
    • chore: update dependencies

🐛 Reporting Issues

You can open an issue to:

  • Report a bug 🐞
  • Suggest an improvement 💡
  • Ask a question or get feedback before starting work 💬