@freesewing/prettier-config
FreeSewing's prettier-config package holds FreeSewing's preferred configuration for the Prettier code formatter.
It is published on NPM as @freesewing/prettier-config
.
The source code for this package is available in our monorepo on Codeberg
under packages/prettier-config
.
Usage
This package only provides a default export, which is a JSON file.
To use it, do not install it, but instead update you package.json
file as such:
{
// ...
"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.