# Prettier Config

WordPress Prettier shareable config for [Prettier](https://prettier.io).

## Installation

Install the module

```shell
$ npm install @wordpress/prettier-config --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.

## Usage

Add this to your `package.json` file:

```json
"prettier": "@wordpress/prettier-config"
```

Alternatively, add this to `.prettierrc` file:

```
extends @wordpress/prettier-config
```

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
