Skip to content

Commit

Permalink
Add hint on configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored and clementdessoude committed Nov 26, 2023
1 parent dd322a3 commit ae03d4a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ Note: If you want to install the prettier-plugin-java globally, you should also

## Usage

To reformat all your Java files, run:
To reformat all your Java files, you first need to create `.prettierrc.yaml` with following content:

```yaml
plugins:
- prettier-plugin-java
```
Then run:
```bash
# If you have installed the package locally
Expand Down

0 comments on commit ae03d4a

Please sign in to comment.