Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@btrb/prettier-config

License: MIT npm version

Shared prettier config for building Bridgetown websites and plugins

Installation

# 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:

"prettier": "@btrb/prettier-config"