.prettierrc config

Prettier code formatting configuration.

Open in JSON Formatter

About this format

Prettier configurations control the automated formatting of your code, such as quote style and indentation.

Example Data

{
  "semi": true,
  "trailingComma": "all",
  "singleQuote": true,
  "printWidth": 100,
  "tabWidth": 2
}

When to use .prettierrc config

  • Unifying code style
  • Configuring quote preferences
  • Setting line width limits