Initialise le projet Karbé : - Next.js 16 (App Router, TypeScript) + Tailwind CSS v4 + ESLint - Prisma avec datasource PostgreSQL, schema minimal et client généré dans src/generated/prisma (postinstall: prisma generate) - Page d'accueil placeholder (titre + mission) - .env.example (DATABASE_URL, NEXTAUTH_SECRET) - README avec instructions de setup Co-Authored-By: Paperclip <noreply@paperclip.ing>
18 lines
465 B
JavaScript
18 lines
465 B
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
// Override default ignores of eslint-config-next.
|
|
globalIgnores([
|
|
// Default ignores of eslint-config-next:
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"next-env.d.ts",
|
|
]),
|
|
]);
|
|
|
|
export default eslintConfig;
|