From 752c9ea03e058fa34db371136e8a3785acf00705 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Mon, 1 Dec 2025 08:45:45 +0100 Subject: [PATCH] copilot instructions update (#280247) --- .github/copilot-instructions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 24500c211f2..00f615a4078 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -130,7 +130,7 @@ function f(x: number, y: string): void { } - Don't add tests to the wrong test suite (e.g., adding to end of file instead of inside relevant suite) - Look for existing test patterns before creating new structures - Use `describe` and `test` consistently with existing patterns -- If you create any temporary new files, scripts, or helper files for iteration, clean up these files by removing them at the end of the task -- Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined. -- Never duplicate imports. Always reuse existing imports if they are present. - Prefer regex capture groups with names over numbered capture groups. +- If you create any temporary new files, scripts, or helper files for iteration, clean up these files by removing them at the end of the task +- Never duplicate imports. Always reuse existing imports if they are present. +- Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined.