💄 My personal prettier config
- Supports
tailwindcss
through prettier-plugin-tailwindcss - Supports
astro
through prettier-plugin-astro - Ignores
pnpm-lock.yaml
- Uses
prettier
's defaults except forquoteProps
which is set as"consistent"
First you need to install @jimmy.codes/prettier-config
, for example with pnpm
:
pnpm add -D @jimmy.codes/prettier-config
Then you can add the prettier
key to your package.json
, like so:
+ "prettier": "@jimmy.codes/prettier-config",