prettier-config

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

Installation

Shell prompt
npm install @freesewing/prettier-config

Usage

Edit package.json:

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

Prettier options

The Prettier options configured by this package:

OptionValue
semifalse
singleQuotetrue
trailingComma”es5”
printWidth100
RELATED

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