Shared Prettier configuration
$ npm install --dev @channel.io/prettier-config
$ yarn add --dev @channel.io/prettier-config
Channels’s shared prettier config comes bundled in @channel-io/prettier-config
. To enable these rules, add a prettier
property in your package.json
and reference this shared config as follows:
"prettier": "@channel.io/prettier-config"