Shared prettier config for building Bridgetown websites and plugins
# npm
npm i --dev @btrb/prettier-config
# pnpm
pnpm add -D @btrb/prettier-config
# yarn
yarn add -D @btrb/prettier-config
btrb’s shared prettier config comes bundled in @btrb/prettier-config
.
To enable these rules, add a prettier
property in your package.json
and reference this shared config as follows:
"prettier": "@btrb/prettier-config"