An open API service indexing awesome lists of open source software.

https://github.com/shelfio/prettier-config


https://github.com/shelfio/prettier-config

npm-package prettier

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# prettier-config

> Reusable prettier config

## Install

```
$ yarn add --dev @shelf/prettier-config
```

## Usage

In your `package.json`

```json
{
"prettier": "@shelf/prettier-config"
}
```

## Config Content

```js
module.exports = {
printWidth: 100,
singleQuote: true,
bracketSpacing: false,
trailingComma: 'es5',
parser: 'typescript',
arrowParens: 'avoid'
};
```

## Publish

```sh
$ yarn version
$ git push --tags
```

## License

MIT © [Shelf](https://shelf.io)