.PRETTIERRC File Extension

.PRETTIERRC File Extension

Prettier Configuration File

Developer Prettier
2.0  |  1 Vote
Category Settings Files
Format Text

What is a PRETTIERRC file?

A PRETTIERRC file is a configuration file used by Prettier, an automated code formatting tool. It contains JSON- or YAML-formatted text that specifies a user's Prettier settings. You can open a PRETTIERRC file in any text or source code editor.

More Information
Screenshot of a .prettierrc file in Microsoft Visual Studio Code
PRETTIERRC file open in Microsoft Visual Studio Code

Prettier is a code formatting tool that developers can use to automatically format their code using preset guidelines. Some of these guidelines can be adjusted using Prettier configuration files. For example, a developer can use a configuration file to set whether formatted code will include single quotes or double quotes, or whether the code will include a semicolon at the end of every statement.

Some Prettier configuration files are saved as PRETTIERRC files. These files contain a list of a user's Prettier settings, formatted using JSON or YAML. Other Prettier configuration files may contain JavaScript- or TOML-formatted lists of settings.

NOTE: PRETTIERRC files may also contain settings overrides, used to override a setting when formatting code saved in certain folders or files.

How to open a PRETTIERRC file

You can open and edit a PRETTIERRC file in any text or source code editor, such as Microsoft Visual Studio Code (cross-platform) or GitHub Atom (cross-platform).

How do I use a PRETTIERRC file with Prettier?

To learn how to use a PRETTIERRC file with Prettier, refer to the configuration instructions found here.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference PRETTIERRC files

Included with OS
Included with OS
Chrome OS
Included with OS
Updated October 11, 2021

Verified by FileInfo.com

The FileInfo.com team has independently researched the Prettier Configuration file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.