@ubermanu/prettier-config
v3.4.0
Published
My prettier config with preconfigured plugins
Downloads
133
Readme
@ubermanu/prettier-config
This is my personal prettier config.
Features
- No semicolons
- Single quotes
- 2 spaces
- 80 characters per line
- Trailing commas
Plugins
- Svelte format
- Tailwind classes sorting
- CSS property sorting
- Import sorting
- Package.json sorting
- JSDoc formatting
Install
pnpm i @ubermanu/prettier-config prettier -D
You can also install the following plugins (automatically detected):
With Svelte
pnpm i prettier-plugin-svelte -D
With Tailwind
pnpm i prettier-plugin-tailwindcss -D
Usage
In your package.json
:
{
"prettier": "@ubermanu/prettier-config"
}