https://github.com/addono/prettier-config
Reusable Prettier configuration package
https://github.com/addono/prettier-config
Last synced: 15 days ago
JSON representation
Reusable Prettier configuration package
- Host: GitHub
- URL: https://github.com/addono/prettier-config
- Owner: Addono
- Created: 2022-05-17T16:39:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T00:43:15.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T05:47:25.446Z (almost 2 years ago)
- Size: 521 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# `@addono/prettier-config`
Shared configuration for [Prettier](https:/prettier.io).
## Usage
1. Install `@addono/prettier-config` as a dev dependency (`yarn add -D @addono/prettier-config`).
2. Now either:
1. Add the following key-value pair to your `package.json`: `"prettier": "@addono/prettier-config"`, or
2. Set `.prettierrc.json` to `"@addono/prettier-config"`, or
3. Import the dependency in your `.prettierrc.js` and export its values. (This option allows overwriting the values as well.)
## References
https://prettier.io/docs/en/configuration.html