Skip to content
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

Improve documentation for the prettier-move plugin #20406

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sceat
Copy link
Contributor

@Sceat Sceat commented Nov 23, 2024

Description

This PR explains how to use the prettier-move plugin through npm for a package.json workflow, along with CLI usage for direct formatting

npm run prettier

# or
npx --yes [email protected] --plugin "$SUI/external-crates/move/tooling/prettier-move/out/index.js" --write "path/to/move/folder/**/*.move"

Test plan

Manually testet

Copy link

vercel bot commented Nov 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 23, 2024 5:59am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Skipped (Inspect) Nov 23, 2024 5:59am
sui-kiosk ⬜️ Skipped (Inspect) Nov 23, 2024 5:59am
sui-typescript-docs ⬜️ Skipped (Inspect) Nov 23, 2024 5:59am

Copy link
Contributor

⚠️ 🦋 Changesets Warning: This PR has changes to public npm packages, but does not contain a changeset. You can create a changeset easily by running pnpm changeset in the root of the Sui repo, and following the prompts. If your change does not need a changeset (e.g. a documentation-only change), you can ignore this message. This warning will be removed when a changeset is added to this pull request.

Learn more about Changesets.

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