1.0.0 • Published 1 year ago

@mlz/prettier-config v1.0.0

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

mlz-prettier-config

prettier 统一规范配置

Installation

npm i -D @mlz/prettier-config

Usage

mlz-prettier-config 的使用有两种方式

在项目根目录新建 .prettierrc.json 文件,并写入下面👇代码

"@mlz/prettier-config"

如需覆盖部分配置,在项目根目录新建 .prettierrc.js 文件,并写入下面👇代码

module.exports = {
  ...require('@mlz/prettier-config'),
  semi: true,
}