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
- Set print width, tab width, and quote style.
- Toggle semicolons and trailing commas.
- Copy the generated .prettierrc.json.
Examples
Option
{ "singleQuote": true, "semi": false }Frequently asked questions
A JSON .prettierrc file, which Prettier reads automatically.