@addepar/prettier-config 中文文档教程
@addepar/prettier-config
这是 Addepar 用于 Javascript 项目的 Prettier 配置。
Using the plugin
Installation
在您的项目中将插件安装为开发依赖项。
yarn add --dev @addepar/prettier-config
Configuration
在 .prettierrc.js
中重新导出配置
// .prettierrc.js
module.exports = require('@addepar/prettier-config');
@addepar/prettier-config
This is the Prettier config used for Javascript projects at Addepar.
Using the plugin
Installation
Install the plugin as a dev dependency in your project.
yarn add --dev @addepar/prettier-config
Configuration
Re-export the config in .prettierrc.js
// .prettierrc.js
module.exports = require('@addepar/prettier-config');