npm i --save-dev @sharyn/prettier
# or
yarn add --dev @sharyn/prettier
In package.json
, use:
{
"prettier": "@sharyn/prettier"
}
printWidth: 100
semi: false
singleQuote: true
trailingComma: 'es5'
This package is part of Sharyn, a collection of utilities and helpers.