1.0.4 • Published 7 months ago

@web_liaoyi/prettier-config v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@yi/prettier-config

My personal Prettier config ( 我的 Prettier 配置 )

Configs ( 配置 )

  • No semi ( 不使用分号 )
  • Use single quotes ( 使用单引号 )
  • Ignore space around HTML tags ( 忽略 HTML 标签周围空格 )
  • Ignore pnpm-lock.yaml file ( 忽略 pnpm-lock.yaml 文件 )

Install ( 安装 )

npm i -D prettier 

Usage ( 使用 )

Edit package.json ( 编辑 package.json )

// config
"prettier": ""

// script
"scripts": {
  "format": "prettier --cache --write ."
}
1.0.4

7 months ago