dd2538f33e
Phase 1: Next.js App Router scaffold (TS strict, Tailwind v4, Vitest), ApiClient/MockApiClient boundary, /ask + /choose with 8 methodology cards, advanced dials drawer, root redirect, README quickstart. REQ-52..56 covered. Gates: typecheck/lint/test(20)/build green. Verify: PASS zero P0, 4 P1 flagged post-hoc.
25 lines
526 B
JavaScript
25 lines
526 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"),
|
|
{
|
|
ignores: [
|
|
"node_modules/**",
|
|
".next/**",
|
|
"out/**",
|
|
"next-env.d.ts",
|
|
"coverage/**",
|
|
],
|
|
},
|
|
];
|
|
|
|
export default eslintConfig; |