Prettier

Prettier can be used to automatically format your files on Save.

Configuration

Create a .prettierrc or .prettierrc.json file.

See Prettier configuration for more details.

Limitations

Preloaded list of plugins:

  • parser-babel
  • parser-typescript
  • parser-markdown
  • parser-html
  • parser-postcss

You can't add your own plugins. Contact us if you have a specific need.

Technical details

Prettier is running in a web-worker to avoid impacting our performance and your experience.

Using prettier@2/standalone