mirror of
https://github.com/ChiChou/entdb.git
synced 2026-06-10 23:07:47 +02:00
20 lines
471 B
JavaScript
20 lines
471 B
JavaScript
import { dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: __dirname,
|
|
});
|
|
|
|
const config = [
|
|
{
|
|
ignores: [".next/**", "out/**", "build/**", "dist/**", "next-env.d.ts"],
|
|
},
|
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
|
];
|
|
|
|
export default config;
|