3.3.0 • Published 3 months ago

@ubermanu/prettier-config v3.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@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"
}