Skip to content

Commit 7e39274

Browse files
committed
doc: plugin compatibility
1 parent 48d56aa commit 7e39274

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ yarn add prettier-plugin-jsdoc --dev
4141

4242
Add `prettier-plugin-jsdoc` to your `plugins` list.
4343

44+
**Important:** When using multiple plugins, add `prettier-plugin-jsdoc` to the **end** of the plugins list.
45+
4446
`.prettierrc`:
4547

4648
```json
@@ -49,6 +51,14 @@ Add `prettier-plugin-jsdoc` to your `plugins` list.
4951
}
5052
```
5153

54+
With other plugins:
55+
56+
```json
57+
{
58+
"plugins": [..., "prettier-plugin-jsdoc"]
59+
}
60+
```
61+
5262
`prettier.config.js`:
5363

5464
```js

0 commit comments

Comments
 (0)