https://github.com/xg4/prettier-config
My personal Prettier config.
https://github.com/xg4/prettier-config
prettier prettier-config
Last synced: about 2 months ago
JSON representation
My personal Prettier config.
- Host: GitHub
- URL: https://github.com/xg4/prettier-config
- Owner: xg4
- License: mit
- Created: 2022-07-18T10:29:34.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T06:57:29.000Z (almost 3 years ago)
- Last Synced: 2026-02-14T05:39:53.538Z (5 months ago)
- Topics: prettier, prettier-config
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @xg4/prettier-config
> My personal [Prettier](https://prettier.io/) config.
## Install
> Install the package using `pnpm` (or `yarn`, `npm`)
```sh
# pnpm
pnpm i -D @xg4/prettier-config
# yarn
yarn add -D @xg4/prettier-config
```
## Usage
Add the `prettier` key to your `package.json`
```diff
diff --git a/package.json b/package.json
index ae72749..224be39 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"files": [
"index.json"
],
+ "prettier": "@xg4/prettier-config",
"publishConfig": {
"access": "public"
}
```
## License
MIT