add a lot of thing (too late to understand tbh)

This commit is contained in:
lnino
2025-02-01 03:43:37 +01:00
parent f4a9e9d2fe
commit b16eb4c0b5
18 changed files with 230 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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;