Skip to content

Commit ae03d4a

Browse files
kopporclementdessoude
authored andcommitted
Add hint on configuration
1 parent dd322a3 commit ae03d4a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@ Note: If you want to install the prettier-plugin-java globally, you should also
7070

7171
## Usage
7272

73-
To reformat all your Java files, run:
73+
To reformat all your Java files, you first need to create `.prettierrc.yaml` with following content:
74+
75+
```yaml
76+
plugins:
77+
- prettier-plugin-java
78+
```
79+
80+
Then run:
7481
7582
```bash
7683
# If you have installed the package locally

0 commit comments

Comments
 (0)