Skip to content

Commit 87ffdb1

Browse files
fix: prettier v3.0.0 problem
TypeError: prettier.resolveConfig.sync is not a function
1 parent ad14f5c commit 87ffdb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ You can see all the [base rules](https://github.com/frontendfixer/eslint-config-
4040
- without typescript
4141

4242
```bash
43-
npm install -D eslint prettier @frontendfixer/eslint-config-react
43+
npm install -D eslint prettier@^2.8.0 @frontendfixer/eslint-config-react
4444
```
4545

4646
- with typescript
4747

4848
```bash
49-
npm install -D eslint prettier typescript @frontendfixer/eslint-config-react
49+
npm install -D eslint prettier@^2.8.0 typescript @frontendfixer/eslint-config-react
5050
```
5151

5252
## Configuration

0 commit comments

Comments
 (0)