https://github.com/studiometa/prettier-config
A simple and single Prettier config for all project
https://github.com/studiometa/prettier-config
Last synced: 10 months ago
JSON representation
A simple and single Prettier config for all project
- Host: GitHub
- URL: https://github.com/studiometa/prettier-config
- Owner: studiometa
- License: mit
- Created: 2019-04-10T14:11:12.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2025-08-15T23:51:56.000Z (10 months ago)
- Last Synced: 2025-08-16T01:31:06.850Z (10 months ago)
- Language: TypeScript
- Size: 344 KB
- Stars: 1
- Watchers: 12
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Prettier configuration
[](https://www.npmjs.com/package/@studiometa/prettier-config)
[](https://david-dm.org/studiometa/prettier-config)
[](https://david-dm.org/studiometa/prettier-config?type=dev)
> Studio Meta's favorite Prettier configuration to be used across projects.
## Installation
Install the package with NPM:
```bash
$ npm install --save-dev prettier @studiometa/prettier-config
```
## Usage
Create a `.prettierrc.js` file in the root of your project with the following:
```js
module.exports = require('@studiometa/prettier-config');
```
## Contributing
This project uses [Git Flow](https://github.com/petervanderdoes/gitflow-avh) as a branching model, new feature will be added by pull-requests of `feature/` branches against `develop`.
The JS files are linted with [ESLint](https://eslint.org/) and [Prettier](https://prettier.io). You can check for linting errors before your commits by running the following scripts with Yarn:
```bash
$ yarn lint # Check for linting errors
$ yarn fix # Fix the fixable linting errors
```
Or with NPM:
```bash
$ npm run lint # Check for linting errors
$ npm run fix # Fix the fixable linting errors
```