@web-configs/prettier
v0.1.2
Published
Shared prettier configuration
Downloads
330
Readme
@web-configs/prettier
Shared prettier configuration
Installation
$ yarn add --dev @web-configs/prettier
Usage
ThunderMiracle's shared prettier config comes bundled in @web-configs/prettier
. To enable these rules, add a prettier
property in your package.json
and reference this shared config as follows:
"prettier": "@web-configs/prettier"
Previously, rules had been defined directly in a .prettierrc
or package.json
Any previous .prettierrc
should be removed in favour of the shared config.