0.0.4 β’ Published 11 months ago
@refinist/prettier-config v0.0.4
@refinist/prettier-config 
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-configUsage
// 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
Copyright (c) 2025-present, Zhifeng (Jeff) Wang