2025-11-07 11:26:19 +01:00
|
|
|
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 = [
|
2026-02-23 02:31:49 +01:00
|
|
|
{
|
|
|
|
|
ignores: [".next/**", "out/**", "node_modules/**"],
|
|
|
|
|
},
|
2025-11-07 11:26:19 +01:00
|
|
|
...compat.extends("next/core-web-vitals"),
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default eslintConfig;
|