Skip to content

Commit

Permalink
docs: changed configs to flatConfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
NishargShah authored Jan 24, 2025
1 parent a04205f commit e4aa773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import reactRefresh from "eslint-plugin-react-refresh";

export default [
/* Main config */
reactRefresh.configs.recommended,
reactRefresh.flatConfigs.recommended,
];
```

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

export default [
/* Main config */
reactRefresh.configs.vite,
reactRefresh.flatConfigs.vite,
];
```

Expand Down

0 comments on commit e4aa773

Please sign in to comment.