1.5.0 • Published 9 months ago
@jimmy.codes/prettier-config v1.5.0
@jimmy.codes/prettier-config
💄 My personal prettier config
🐣 Features
- Supports
tailwindcssthrough prettier-plugin-tailwindcss - Supports
astrothrough prettier-plugin-astro - Sorts
package.jsonproperties through prettier-plugin-packagejson - Ignores
pnpm-lock.yaml - Uses
prettier's defaults except forquotePropswhich is set as"consistent"
🛠️ Usage
First you need to install @jimmy.codes/prettier-config, for example with pnpm:
pnpm add -D @jimmy.codes/prettier-configThen you can add the prettier key to your package.json, like so:
+ "prettier": "@jimmy.codes/prettier-config",