Skip to content

Conversation

leoAshu
Copy link
Owner

@leoAshu leoAshu commented Jul 21, 2025

🚀 Summary

This PR adds a GitHub Actions workflow to enforce Prettier formatting on all pull requests targeting the main branch. It ensures consistent code style across the codebase and helps prevent formatting-related issues during code review.

Key changes include:

  • Added .github/workflows/prettier.yml for running prettier --check . on PRs to main
  • Updated package.json with format and format:check scripts
  • Introduced Prettier config file (.prettier.config.js)

🧩 Related Issues / Tasks

🛠️ Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 🧨 Breaking change
  • 🔨 Enhancement/Refactor
  • 📝 Documentation
  • 📜 Other (please describe):

✅ Checklist

  • The code is formatted with Prettier (npm run format or npx prettier --write .)
  • PR references a linked Issue or Task number
  • Tested on both iOS and Android devices/emulators
  • No unnecessary logs or commented-out code
  • UI changes, if any, have been reviewed visually
  • All tests are passing (if applicable)
  • Added or updated documentation where necessary

📸 Screenshots / Videos (UI changes only)

N/A

🧪 Test Plan

N/A

@leoAshu leoAshu requested a review from mano-ranjan July 21, 2025 17:51
@leoAshu leoAshu self-assigned this Jul 21, 2025
@leoAshu leoAshu added the feature New feature or request label Jul 21, 2025
mano-ranjan
mano-ranjan previously approved these changes Jul 21, 2025
@leoAshu leoAshu merged commit e70bbc4 into main Jul 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Enforce Prettier Checks on GitHub PRs

2 participants