Skip to content

Conversation

@Gagan202005
Copy link
Contributor

βœ… Summary

This PR adds a GitHub Actions workflow to run Prettier formatting checks on pull requests to ensure consistent code style.


πŸ”§ Changes Included

  • Added Prettier Check workflow
  • Added format:check script:
    • prettier --check .
  • Configured workflow to check only changed files in the PR (to avoid failing due to existing formatting issues in the repo)

βœ… Why this change?

  • Ensures consistent formatting for new changes
  • Prevents formatting issues from entering the codebase
  • Keeps PRs clean without forcing a full repo reformat

πŸ§ͺ Testing Done

  • npm run format:check
  • Workflow runs successfully on PR

Signed-off-by: Gagan202005 <gagansinghal2005@gmail.com>
Signed-off-by: Gagan202005 <gagansinghal2005@gmail.com>
Signed-off-by: Gagan202005 <gagansinghal2005@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant