- api: Align rate-limit plugin docs with actual store (in-memory unless wired in index); type errorResponseBuilder context; augment FastifyRequest with optional ingest_token_id instead of casting to any. - web: Upgrade to Next 15 / React 19; add ESLint 9 flat config, tsconfig, next-env.d.ts; outputFileTracingRoot so file tracing stays within this product tree. Paperclip-Agent: Tiago Neves (urlKey tiago-neves; id 5d084b36-f38f-42a5-a92a-520005afda4f) Paperclip-Issue: BIT-2479 Paperclip-Run: e3292ca4-a7b9-42f1-83ca-bc3d78906532
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
import { dirname } from "node:path";
|
|
import { fileURLToPath } from "node: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;
|