From b2bd3587bfd42ec8efdab12f090996f600720c0d Mon Sep 17 00:00:00 2001 From: Leo Goetz Date: Fri, 8 May 2026 15:43:50 +0200 Subject: inital commit --- eslint.config.mjs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 eslint.config.mjs (limited to 'eslint.config.mjs') diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..515afb4 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,22 @@ +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.config({ + extends: ["next"], + rules: { + "next/core-web-vitals": 0, + "next/typescript": "off", + }, + }), +]; + +export default eslintConfig; -- cgit v1.3.1