Skip to content

Commit

Permalink
Merge pull request #195 from Automattic/update/readme-for-prettier
Browse files Browse the repository at this point in the history
Add limitation for wp-prettier v3.0
  • Loading branch information
chriszarate committed Dec 13, 2023
2 parents fb9076c + d8f21e7 commit aa9df6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -72,10 +72,10 @@ Note that the order of configs can matter, since they can contain overrides. It

### Prettier

Install [WP Prettier](https://github.com/Automattic/wp-prettier) to benefit from additional formatting rules:
Install [WP Prettier](https://github.com/Automattic/wp-prettier) v2.x to benefit from additional formatting rules:

```sh
npm i --save-dev --save-exact "prettier@npm:wp-prettier@latest"
npm i --save-dev --save-exact "prettier@npm:wp-prettier@2.8.5"
```

This repo also provides a Prettier config, which you can use with the following `.prettierrc`:
Expand Down

0 comments on commit aa9df6a

Please sign in to comment.