diff --git a/eslint.config.cjs b/eslint.config.js similarity index 83% rename from eslint.config.cjs rename to eslint.config.js index a680e28..da4cc0b 100644 --- a/eslint.config.cjs +++ b/eslint.config.js @@ -1,6 +1,6 @@ -const finsitPlugin = require("@foretagsplatsen/eslint-plugin"); +import finsitPlugin from "@foretagsplatsen/eslint-plugin"; -module.exports = [ +export default [ ...finsitPlugin.configs.main, { ignores: ["coverage/"] }, { @@ -11,7 +11,7 @@ module.exports = [ unusedExports: true, missingExports: true, ignoreExports: [ - "eslint.config.cjs", + "eslint.config.js", "vitest.config.js", ".eslintrc.cjs", "index.js",