15 خطوط
356 B
JavaScript
15 خطوط
356 B
JavaScript
import { FlatCompat } from "@eslint/eslintrc";
|
|
import { dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: dirname(fileURLToPath(import.meta.url))
|
|
});
|
|
|
|
export default [
|
|
...compat.extends("next/core-web-vitals"),
|
|
{
|
|
ignores: [".next/**", "node_modules/**", "next-env.d.ts"]
|
|
}
|
|
];
|