1
0
Fork 0
freesewing/markdown/dev/reference/packages/prettier-config/en.md
2023-05-25 22:13:17 -07:00

764 B

title
prettier-config

Published as @freesewing/prettier-config, this package is FreeSewing's shared configuration for Prettier.

Installation

npm install @freesewing/prettier-config

Usage

Edit package.json:

{
  // ...
  "prettier": "@freesewing/prettier-config"
}

Prettier options

The Prettier options configured by this package:

Option Value
semi false
singleQuote true
trailingComma "es5"
printWidth 100

Please see the Prettier options documentation for information about the effects of each option.