Skip to content

Commit a7c1089

Browse files
Update README for Prettier v3
1 parent 7f4e22b commit a7c1089

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ The `prettier` executable is now installed and ready for use:
100100
./node_modules/.bin/prettier --plugin=@prettier/plugin-ruby --write '**/*'
101101
```
102102

103+
### Using Prettier >= 3.0
104+
105+
You need to tell Prettier to use the plugin, add the following to your existing [prettier configuration
106+
file](https://prettier.io/docs/en/configuration.html).
107+
108+
```json
109+
{
110+
"plugins": ["@prettier/plugin-ruby"],
111+
}
112+
```
113+
103114
## Configuration
104115

105116
Below are the options (from [`src/plugin.js`](src/plugin.js)) that `@prettier/plugin-ruby` currently supports:

0 commit comments

Comments
 (0)