0.0.4 β€’ Published 11 months ago

@refinist/prettier-config v0.0.4

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

@refinist/prettier-config npm

Prettier config

Install

Using pnpm, yarn, or npm

# with pnpm
pnpm add -D @refinist/prettier-config

# with yarn
yarn add -D @refinist/prettier-config

# with npm
npm i -D @refinist/prettier-config

Usage

// package.json
{
  "prettier": "@refinist/prettier-config"
}

Generally, prettier works together with eslint. Check out @refinist/eslint-config for more configuration details.

Features

  • πŸ“ 2 spaces (default)
  • πŸ”š Semicolons
  • πŸ”€ Single quotes
  • ❌ No trailing commas
  • 🏹 Avoid arrow parentheses
  • 🌐 Ignore HTML whitespace sensitivity
  • 🚫 Ignore common files (node_modules, dist, pnpm-lock.yaml...),refer to #4708

Inspired by @sxzz

License

MIT

Copyright (c) 2025-present, Zhifeng (Jeff) Wang

0.0.4

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago