@ubermanu/prettier-config

3.4.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @ubermanu/prettier-config

Weekly Downloads

3

Version

3.4.0

License

MIT

Unpacked Size

3.67 kB

Total Files

4

Last publish

Collaborators

  • ubermanu