Skip to content

format: Configure Prettier for all workspaces #650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

nvsriram
Copy link
Collaborator

@nvsriram nvsriram commented Jul 9, 2025

This PR adds:

  • Add Prettier as a devDependency with global .prettierrc.json configuration
  • Add prettier npm script for all workspaces:
    • npm run prettier in a specific workspace will only format the files in the workspace
    • npm run prettier in root directory will format the files in all workspaces
  • Run Prettier on all workspaces to format all relevant files

@aadam-10 aadam-10 requested review from evgeniko and nik-suri July 14, 2025 15:08
@nvsriram nvsriram force-pushed the add-global-prettier branch 3 times, most recently from 9e77511 to 5e2ca29 Compare July 14, 2025 22:57
@nvsriram nvsriram force-pushed the add-global-prettier branch from 5e2ca29 to ff40cac Compare July 15, 2025 17:01
@kcsongor
Copy link
Contributor

This is great! Let's coordinate here, and do this after some major changes to the cli have been merged in to avoid conflicts? In particular, the sui cli work is still in progress, but nearly ready.

@nvsriram
Copy link
Collaborator Author

This is great! Let's coordinate here, and do this after some major changes to the cli have been merged in to avoid conflicts? In particular, the sui cli work is still in progress, but nearly ready.

Sounds good, aligned with that!

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.

2 participants