Skip to content

Commit

Permalink
fix: update eslint configuration to use fixupConfigRules
Browse files Browse the repository at this point in the history
  • Loading branch information
freds-dev committed Jan 2, 2025
1 parent 881ef12 commit cebf001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { fixupPluginRules } from "@eslint/compat";

Check failure on line 1 in eslint.config.mjs

View workflow job for this annotation

GitHub Actions / ⬣ ESLint

'/home/runner/work/frontend/frontend/node_modules/@eslint/compat/dist/esm/index.js' imported multiple times
import { fixupConfigRules } from "@eslint/compat";

Check failure on line 2 in eslint.config.mjs

View workflow job for this annotation

GitHub Actions / ⬣ ESLint

'/home/runner/work/frontend/frontend/node_modules/@eslint/compat/dist/esm/index.js' imported multiple times
import eslintPluginUnicorn from "eslint-plugin-unicorn";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import { fixupPluginRules } from "@eslint/compat";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand Down

0 comments on commit cebf001

Please sign in to comment.