1.0.0 • Published 4 years ago
@addono/prettier-config v1.0.0
@addono/prettier-config
Shared configuration for Prettier.
Usage
- Install
@addono/prettier-configas 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.jsonto"@addono/prettier-config", or - Import the dependency in your
.prettierrc.jsand export its values. (This option allows overwriting the values as well.)
- Add the following key-value pair to your
References
1.0.0
4 years ago