diff --git a/eslint-config/default.js b/eslint-config/index.js similarity index 98% rename from eslint-config/default.js rename to eslint-config/index.js index 25e0318..bd2e8e4 100644 --- a/eslint-config/default.js +++ b/eslint-config/index.js @@ -27,7 +27,7 @@ const defaultConfig = [ ]; const reactConfig = [ - defaultConfig, + ...defaultConfig, reactPluginRecommended, reactPluginJsxRuntime, { diff --git a/eslint-config/package.json b/eslint-config/package.json index a1c6a34..50061cf 100644 --- a/eslint-config/package.json +++ b/eslint-config/package.json @@ -8,7 +8,7 @@ "Robbe Van Petegem " ], "license": "MIT", - "main": "default.js", + "main": "index.js", "type": "module", "scripts": {}, "dependencies": { diff --git a/eslint.config.js b/eslint.config.js index f027559..a493b38 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,3 +1,2 @@ -import config from "./eslint-config/default.js"; - +import config from "./eslint-config/index.js"; export default config.configs.default;