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:
Option | Value |
---|---|
semi | false |
singleQuote | true |
trailingComma | ”es5” |
printWidth | 100 |
RELATED
Please see the Prettier options documentation for information about the effects of each option.