A CLI tool to help you set up your project with prettier.
pnpm dlx @mancuoj/prettier-configManual Install
pnpm i -D prettier @mancuoj/prettier-configAnd add the following to your package.json:
{
"scripts": {
"format": "prettier -w ."
},
"prettier": "@mancuoj/prettier-config"
}- 2 spaces
- No semicolons
- Single quotes
- Trailing commas
- 100 print width
- Ignore common files