Files
uiogaming.no/eslint.config.mjs
T
leander e7d7e29edf the big mega huge amazing nextjs migration
Code still trash though but we'll fix it someday

Closes #48, #47, #37, #32
2025-07-31 22:38:27 +02:00

17 lines
393 B
JavaScript

import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
});
const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];
export default eslintConfig;