mirror of
https://github.com/Such-Software/smirk-website.git
synced 2026-10-17 05:51:28 +02:00
17 lines
417 B
JavaScript
17 lines
417 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)),
|
|
});
|
|
|
|
const eslintConfig = [
|
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
|
{
|
|
ignores: [".next/**", "out/**", "build/**", "next-env.d.ts"],
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|