Skip to content

Commit

Permalink
Merge pull request #98 from matzkoh/update-docs-for-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
matzkoh authored Jul 28, 2023
2 parents d62c5cd + 55ea461 commit 862fd2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ A [Prettier] plugin to sort the keys of a `package.json` file using [sort-packag
```sh
npm i -D prettier prettier-plugin-packagejson
```

For prettier v3+ you need to configure

```js
module.exports = {
// add this
plugins: ['prettier-plugin-packagejson'],
}
```

0 comments on commit 862fd2e

Please sign in to comment.