@shelf/prettier-config
v1.0.0
Published
Reusable Prettier config
Downloads
40,614
Maintainers
Keywords
Readme
prettier-config
Reusable prettier config
Install
$ yarn add --dev @shelf/prettier-config
Usage
In your package.json
{
"prettier": "@shelf/prettier-config"
}
Config Content
module.exports = {
printWidth: 100,
singleQuote: true,
bracketSpacing: false,
trailingComma: 'es5',
parser: 'typescript',
arrowParens: 'avoid'
};
Publish
$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags
License
MIT © Shelf