1.4.0 • Published 1 year ago

prettier-config-common v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

prettier-config-common

适合中国人使用习惯的 prettier 配置

NPM version Codacy Badge License

Sonar

请在使用前确保您本地安装了 prettier

Installation

# use pnpm
pnpm install -D prettier-config-common

# use yarn
yarn add prettier-config-common --dev

# use npm
npm install prettier-config-common -D

Instructions

方法 1. 修改 package.json

编辑您项目 package.json 加上下面这一行

{
  "prettier": "prettier-config-common"
}

方法 2. 创建/修改本地.prettierrc.js 文件

// 编辑.prettierrc.js
module.exports = require('prettier-config-common')

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

About Me

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. My Gitee:https://gitee.com/saqqdy
  3. My Github:https://github.com/saqqdy
  4. My npm:https://npmjs.com/~saqqdy
  5. My porsonal site http://www.saqqdy.com

License

MIT