mirror of
https://github.com/NicholaiVogel/dashore-incubator.git
synced 2026-03-30 22:38:56 +00:00
Details: C3 = create-cloudflare@2.62.3 project name = dashore-incubator framework = next framework cli = create-next-app@15.5.6 package manager = pnpm@10.28.0 wrangler = wrangler@4.59.3 git = 2.52.0
15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
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;
|