WordPress Prettier shareable config for Prettier.
Install the module
$ npm install @wordpress/prettier-config --save-dev
Add this to your package.json
file:
"prettier": "@wordpress/prettier-config"
Alternatively, add this to .prettierrc
file:
extends @wordpress/prettier-config