https://github.com/shelfio/prettier-config
https://github.com/shelfio/prettier-config
npm-package prettier
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shelfio/prettier-config
- Owner: shelfio
- License: mit
- Created: 2020-03-23T15:31:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T22:48:44.000Z (8 months ago)
- Last Synced: 2025-05-22T23:59:25.177Z (8 months ago)
- Topics: npm-package, prettier
- Size: 19.5 KB
- Stars: 0
- Watchers: 22
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: license
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)