https://github.com/gilbarbara/prettier-config
Shared Prettier config
https://github.com/gilbarbara/prettier-config
Last synced: 6 months ago
JSON representation
Shared Prettier config
- Host: GitHub
- URL: https://github.com/gilbarbara/prettier-config
- Owner: gilbarbara
- License: mit
- Created: 2021-04-01T00:11:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T03:37:04.000Z (over 2 years ago)
- Last Synced: 2025-03-15T03:48:11.803Z (10 months ago)
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @gilbarbara/prettier-config
[](https://badge.fury.io/js/%40gilbarbara%2Fprettier-config)
Shared [Prettier](https://prettier.io) configuration.
## Usage
**Install**:
```sh
$ npm install -D @gilbarbara/prettier-config
```
**Edit `package.json`**:
```jsonc
{
// ...
"prettier": "@gilbarbara/prettier-config"
}
```
[Read more on sharing configurations.](https://prettier.io/docs/en/configuration.html#sharing-configurations)
## Philosophy
> By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles.
>
> – [Prettier's Option Philosophy](https://prettier.io/docs/en/option-philosophy.html)
This configuration is intended to provide consistent, automatic formatting throughout a project and pairs well with [eslint-config](https://github.com/gilbarbara/eslint-config).