@addono/prettier-config
v1.0.0
Published
Shared configuration for Prettier
Downloads
13
Readme
@addono/prettier-config
Shared configuration for Prettier.
Usage
- Install
@addono/prettier-config
as a dev dependency (yarn add -D @addono/prettier-config
). - Now either:
- Add the following key-value pair to your
package.json
:"prettier": "@addono/prettier-config"
, or - Set
.prettierrc.json
to"@addono/prettier-config"
, or - Import the dependency in your
.prettierrc.js
and export its values. (This option allows overwriting the values as well.)
- Add the following key-value pair to your
References
https://prettier.io/docs/en/configuration.html