Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavanjadhaw/prettier-config
My personal prettier config
https://github.com/pavanjadhaw/prettier-config
Last synced: about 8 hours ago
JSON representation
My personal prettier config
- Host: GitHub
- URL: https://github.com/pavanjadhaw/prettier-config
- Owner: pavanjadhaw
- Created: 2019-06-08T09:44:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-08T09:58:32.000Z (over 5 years ago)
- Last Synced: 2024-11-11T16:52:35.568Z (9 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## @pavanjadhaw/prettier-config
> My personal [Prettier](https://prettier.io) config.
## Usage
**Install**:
```bash
$ yarn add --dev @pavanjadhaw/prettier-config
```Reference it in your package.json
**Edit `package.json`**:
```jsonc
{
// ...
"prettier": "@pavanjadhaw/prettier-config"
}
```If you don't want to use package.json, you can use any of the supported extensions to export config, e.g. `.prettierrc.js`:
This method also allows extending the configuration.
```js
module.exports = {
...require("@pavanjadhaw/prettier-config"),
semi: false
};
```