1.1.2 • Published 2 years ago
@saqqdy/prettier-config v1.1.2
@saqqdy/prettier-config
Description
个人自用的prettier配置
Software Architecture
请在使用前确保您本地开启了prettier
Installation
# 使用npm安装
npm install @saqqdy/prettier-config -D
# 使用yarn安装
yarn add @saqqdy/prettier-config --dev
Instructions
方法1. 修改package.json
# 编辑您项目package.json加上下面这一行
{
...
"prettier": "@saqqdy/prettier-config",
...
}
方法2. 创建/修改本地.prettierrc.js文件
# 编辑.prettierrc.js
module.exports = {
...require("@saqqdy/prettier-config"),
semi: false
}
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
About Me
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- My Gitee:https://gitee.com/saqqdy
- My Github:https://github.com/saqqdy
- My npm:https://npmjs.com/~saqqdy
- My porsonal site http://www.saqqdy.com