@brionmario/prettier-config
Shareable Prettier configurations used in Brion Mario's code bases.
Installation
You'll first need to install Prettier:
With npm
npm i prettier --save-dev
With pnpm
pnpm add --save-dev prettier
With Yarn
yard add --dev prettier
Next, install @brionmario/prettier-config
:
With npm
npm i @brionmario/prettier-config --save-dev
With pnpm
pnpm add --save-dev @brionmario/prettier-config
With Yarn
yard add --dev @brionmario/prettier-config
Usage
You can extend the @brionmario/prettier-config
in your preferred configuration file flavor.
// prettier.config.cjs
module.exports = require('@brionmario/prettier-config')
For more extending strategies, read the official guide.