Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dre1080/prettier-config
A sharable Prettier config object.
https://github.com/dre1080/prettier-config
Last synced: 9 days ago
JSON representation
A sharable Prettier config object.
- Host: GitHub
- URL: https://github.com/dre1080/prettier-config
- Owner: dre1080
- Created: 2020-04-08T17:58:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T08:33:57.000Z (over 2 years ago)
- Last Synced: 2024-12-07T20:45:47.066Z (29 days ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dre1080 Prettier Config
[![npm (scoped)](https://img.shields.io/npm/v/@dre1080/prettier-config)](https://www.npmjs.org/package/@dre1080/prettier-config)
> A sharable prettier config object.
## Install
Install [prettier](https://prettier.io/) and `@dre1080/prettier-config`:
**With Yarn**
```sh
$ yarn add --dev prettier @dre1080/prettier-config
```**With npm**
```sh
$ npm install prettier @dre1080/prettier-config --save-dev
```## Usage
Add the `prettier` key to your `package.json`:
```json
"prettier": "@dre1080/prettier-config"
```or create a `.prettierrc.js` with the following contents:
```js
module.exports = {
...require("@dre1080/prettier-config"),
};
```[Check out the `prettier` documentation for more info on sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).