@petbee/prettier-config
v1.0.3
Published
Petbee's shared prettier config
Downloads
145
Readme
@petbee/prettier-config
This package provides Petbee's .prettierrc
shared config.
Installation
Give that you already have prettier
installed, run:
yarn add -D @petbee/prettier-config
Usage
After installing the module, add it to your .prettierrc
configuration file:
"@petbee/prettier-config"
Or add it to your package.json
:
{
...
"prettier": "@petbee/prettier-config"
...
}
Differently from eslint
, prettier
shared presets are not extensible, so if you want to override some property, which is not encouraged, you'll need to use the .prettierrc.js
file.
For more information about configuring prettier
, please check the Prettier configuration documentation.