From b0465a246080d943639d8d932533777fce874fd5 Mon Sep 17 00:00:00 2001 From: Samrudh S Shetty <84171396+Samrudh9@users.noreply.github.com> Date: Thu, 24 Sep 2026 09:52:32 +0000 Subject: [PATCH] Add doc comment and file-header standards to copilot instructions --- .github/copilot-instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)