Skip to content

Commit 7c993aa

Browse files
jdeniaufisker
andauthored
Document the fact that the plugin must be activated (#2237)
* Document the fact that the plugin must be activated * Update README.md Co-authored-by: fisker Cheung <lionkay@gmail.com> --------- Co-authored-by: fisker Cheung <lionkay@gmail.com>
1 parent 1b44175 commit 7c993aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ npm install --save-dev prettier @prettier/plugin-php
9797
npm install --global prettier @prettier/plugin-php
9898
```
9999

100+
### Activate the plugin
101+
102+
Create or modify your [prettier configuration file](https://prettier.io/docs/en/configuration) to activate the plugin:
103+
104+
```json
105+
{
106+
"plugins": ["@prettier/plugin-php"]
107+
}
108+
```
109+
100110
## Use
101111

102112
### With Node.js

0 commit comments

Comments
 (0)