diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c1674aa..03bd5d2 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -34,8 +34,8 @@ This is a crowdfunding platform for games with a developer theme. The applicatio ### Code formatting requirements -- Use TypeScript with explicit types for function parameters and return values, especially in the data layer (`db/`, `src/lib/`) -- Frontend code (TypeScript, Astro) must pass ESLint checks (`npm run lint`) +- Every exported function should have a TSDoc comment describing its purpose, parameters, and return value. +- Before imports or any code, add a comment block to the file that explains its purpose. ### Data Layer Patterns (Drizzle + Node SQLite)