Skip to content

Commit e4aa773

Browse files
authored
docs: changed configs to flatConfigs
1 parent a04205f commit e4aa773

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
@@ -37,7 +37,7 @@ import reactRefresh from "eslint-plugin-react-refresh";
3737

3838
export default [
3939
/* Main config */
40-
reactRefresh.configs.recommended,
40+
reactRefresh.flatConfigs.recommended,
4141
];
4242
```
4343

@@ -50,7 +50,7 @@ import reactRefresh from "eslint-plugin-react-refresh";
5050

5151
export default [
5252
/* Main config */
53-
reactRefresh.configs.vite,
53+
reactRefresh.flatConfigs.vite,
5454
];
5555
```
5656

0 commit comments

Comments
 (0)