Prettier Config Generator

Generate a .prettierrc from options.

Prettier options
.prettierrc
{
  "semi": true,
  "singleQuote": false,
  "tabWidth": 2,
  "printWidth": 80,
  "trailingComma": "all",
  "useTabs": false
}

About this tool

Set your formatting preferences and generate a .prettierrc.json you can commit to your project.

How to use

  1. Set print width, tab width, and quote style.
  2. Toggle semicolons and trailing commas.
  3. Copy the generated .prettierrc.json.

Examples

Option
{ "singleQuote": true, "semi": false }

Frequently asked questions

A JSON .prettierrc file, which Prettier reads automatically.
Contact

Let’s connect

Have a Liferay or Backend project you’d like to talk through? Fill in the form and I’ll get back to you.

Book Calendar