.PRETTIERRC File Extension
Prettier Configuration File
2.0 | 1 Vote
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.
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.
NOTE: PRETTIERRC files may also contain settings overrides, used to override a setting when formatting code saved in certain folders or files.
How do I open a PRETTIERRC file?
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.