Contributions are welcome! Please feel free to submit a Pull Request.
This project uses Conventional Commits. All commit messages must follow this format:
<type>(<scope>): <subject>
Rules:
- ✅ English only - All commit messages must be in English
- ✅ Short and concise - Header max 72 characters
- ✅ Single line - No multi-line subjects
- ✅ Lowercase - Subject and type must be lowercase
- ✅ No period - Don't end subject with a period
Types:
feat- New featurefix- Bug fixdocs- Documentation changesstyle- Code formatting (no logic changes)refactor- Code refactoringperf- Performance improvementstest- Adding or updating testschore- Build/tooling changesci- CI/CD changes
Examples:
✅ Good:
git commit -m "feat(flags): add 428 circular country flag components"
git commit -m "fix(build): resolve missing @eslint/js dependency"
git commit -m "docs: update installation instructions"
❌ Bad:
git commit -m "添加国旗组件" # Not English
git commit -m "Add flags" # Missing type
git commit -m "feat: Add new feature." # Period at end
git commit -m "FEAT: NEW FEATURE" # Not lowercaseWhen submitting a Pull Request, please ensure the following:
- ✅ Descriptive title - Summarize the changes made
- ✅ Detailed description - Explain the purpose and context of the changes
- ✅ Linked issues - Reference any related issues (e.g., "Closes #123")
- ✅ Tests included - Add tests for new features or bug fixes
- ✅ Pass all checks - Ensure all CI checks pass before requesting review