# Code formatting

For maintaining unitary style, the **.prettierrc** configuration file is read by other tools that run **Prettier** such as scripts or IDE extensions. For example if using **Visual Studio Code** we recommend installing the following extension [Prettier formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)

In case the **.prettierrc** file is customized, the new settings will be used when re-running the generator. The only condition is to answer **no** when asked to overwrite this file.

The default prettier config file can be found here: [.prettierrc](https://github.com/osstotalsoft/generator-graphql-rocket/blob/master/generators/app/templates/infrastructure/.prettierrc)
