Prettier

Format code with Prettier. MUST be run automatically before creating any git commit and when finishing a coding task.

celo-org Updated
celo-mondo excalidraw

File contents

Format code with Prettier.

This skill should be invoked automatically:

  • Before creating any git commit
  • When a coding task is complete (after all edits are done)

If $ARGUMENTS is provided, run:

npx prettier --write $ARGUMENTS

If no arguments, format the entire src directory:

yarn prettier

celo-org/celo-mondo commit 3c443dea43

Frequently asked questions

npx get-skill add celo-org/prettier