.PRETTIERRC 文件扩展名

Prettier Configuration File

开发者 Prettier
受欢迎程度
3.0  |  2 
 

什么是 PRETTIERRC 文件?

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.

更多信息

在 Microsoft Visual Studio Code 中打开的 .prettierrc 文件截图
在 Microsoft Visual Studio Code 中打开的 PRETTIERRC 文件

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.

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

如何打开 PRETTIERRC 文件

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.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 PRETTIERRC 文件的程序

Windows
免费
操作系统自带
免费
免费
Mac
免费
操作系统自带
免费
免费
Linux
免费
免费
免费
免费
Chrome OS
操作系统自带
分类: 设置
更新时间: 2021-10-11

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Prettier Configuration 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们