Prettier shareable configuration for Xerox projects.
- Install this config and prettier as a
devDependency
:
yarn add prettier @xerox/prettier-config --dev
# or
npm install prettier @xerox/prettier-config --save-dev
- Add the following to your
package.json
:
{
// ...
"prettier": "@xerox/prettier-config"
// ...
}