Skip to content

kirklin/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kirklin/prettier-config

npm star license

My personal Prettier config ( 我的 Prettier 配置 )

Configs ( 配置 )

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

Install ( 安装 )

npm i -D prettier @kirklin/prettier-config

Usage ( 使用 )

Edit package.json ( 编辑 package.json )

// config
"prettier": "@kirklin/prettier-config"

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

About

Prettier Config ( 格式化配置 )

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published