From 4f0279e17e6cb545f613ddba7f3b13b5d7579842 Mon Sep 17 00:00:00 2001 From: denis0001-dev Date: Fri, 5 Sep 2025 22:41:33 +0300 Subject: [PATCH] Improve Cursor rules --- .cursor/rules/general.mdc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.cursor/rules/general.mdc b/.cursor/rules/general.mdc index d6bd4c8..5ba1ecc 100644 --- a/.cursor/rules/general.mdc +++ b/.cursor/rules/general.mdc @@ -9,9 +9,11 @@ When working with this project, follow these rules: - Do NOT "test the implementation" when you are done. The only exception is when you need to typecheck or build the app, in that case: - - To typecheck, run "npm run frontend:typecheck". - - To build, run "npm run frontend:build". + - To typecheck, run `npm run frontend:typecheck`. + - To build, run `npm run frontend:build`. Do NOT execute other commands like "cd". - Do NOT "cd" to the project directory. -- If possible, try to update files in a single edit. \ No newline at end of file +- If possible, try to update files in a single edit. +- When you need a delay, use `await delay(millis);` in an async function. If the current function is not async, + make it async. The import is `/frontend/src/utils/utils`. \ No newline at end of file