@btrb/prettier-config
Version:
Shared prettier config for building Bridgetown websites and plugins
27 lines (18 loc) • 717 B
Markdown
# `@btrb/prettier-config`
[](../../LICENSE.md) [](https://badge.fury.io/js/%40btrb%2Fprettier-config.svg)
Shared prettier config for building Bridgetown websites and plugins
## Installation
```bash
# npm
npm i --dev @btrb/prettier-config
# pnpm
pnpm add -D @btrb/prettier-config
# yarn
yarn add -D @btrb/prettier-config
```
## Usage
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:
```json
"prettier": "@btrb/prettier-config"
```