Skip to content

Commit

Permalink
37849678: Fix eslint.config.js to use the ESM syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienCassou committed Jun 18, 2024
1 parent 79e8df5 commit 016d8b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -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/"] },
{
Expand All @@ -11,7 +11,7 @@ module.exports = [
unusedExports: true,
missingExports: true,
ignoreExports: [
"eslint.config.cjs",
"eslint.config.js",
"vitest.config.js",
".eslintrc.cjs",
"index.js",
Expand Down

0 comments on commit 016d8b5

Please sign in to comment.