# Format with Prettier

**URL:** https://forum.pinegrow.com/t/format-with-prettier/6413
**Category:** Feature Request
**Tags:** feature-request
**Created:** [March 22, 2022, 6:49am UTC](https://forum.pinegrow.com/t/format-with-prettier/6413 "2022-03-22T06:49:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vl1](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/vl1/32/4388_2.png) [@vl1](https://forum.pinegrow.com/u/vl1)
#### Post date: [March 22, 2022, 6:49am UTC](https://forum.pinegrow.com/t/format-with-prettier/6413/1 "2022-03-22T06:49:38Z")

</div>

It would be great if edited files were formatted with Prettier ([https://prettier.io/](https://prettier.io/)) on save, if prettier config is found in the project folder.

Otherwise, the formatting is all thrown off and different each time the file is saved in VS Code/IntelliJ vs. Pinegrow.

Prettier can be invoked either by CLI command or JS API, either way, it shouldn’t take more than a few lines of code.

Thank you.
