Skip to content

Commit

Permalink
Fix react config
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp committed May 6, 2024
1 parent 21d2c99 commit fff1c38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eslint-config/default.js → eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const defaultConfig = [
];

const reactConfig = [
defaultConfig,
...defaultConfig,
reactPluginRecommended,
reactPluginJsxRuntime,
{
Expand Down
2 changes: 1 addition & 1 deletion eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Robbe Van Petegem <[email protected]>"
],
"license": "MIT",
"main": "default.js",
"main": "index.js",
"type": "module",
"scripts": {},
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
import config from "./eslint-config/default.js";

import config from "./eslint-config/index.js";
export default config.configs.default;

0 comments on commit fff1c38

Please sign in to comment.