Conventional Commits

Format

<type>(<scope>): <description>

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, etc.)
  • refactor: Code refactoring
  • test: Adding or modifying tests
  • chore: Routine tasks, maintenance, etc

Examples

  • fix(login): correct password hashing issue
  • fix(cart): prevent items from duplicating on refresh
  • fix(profile): resolve avatar upload error
  • fix(navbar): align links correctly on mobile
  • fix(modal): close button not responsive
  • fix(button): make hover effect consistent
  • fix(api): handle missing user ID in requests
  • fix(api): correct error codes for unauthorized access
  • fix(api): prevent null values in response
  • fix(db): ensure indexes are used for faster queries
  • fix(db): correct foreign key constraint in orders
  • fix(db): handle data migration for older records
  • fix(auth): resolve token expiry handling
  • fix(payment): correct tax calculation logic
  • fix(file-upload): prevent large files from causing timeout
  • fix(css): adjust padding for form inputs
  • fix(js): prevent null pointer error on page load
  • fix(svg): correct icon alignment in header
  • fix(store): ensure cart state persists on refresh
  • fix(state): prevent duplicate entries in wishlist
  • fix(redux): correct initial state for auth