Improve Cursor rules

This commit is contained in:
2025-09-03 22:47:27 +03:00
Unverified
parent 2b60df8f4b
commit 9f2af12374
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -5,4 +5,9 @@ alwaysApply: true
When working with this project, follow these rules: When working with this project, follow these rules:
- NEVER do anything i didn't ask you for! - NEVER do anything i didn't ask you for!
- Use double quotes ("") for strings. - Use double quotes ("") for strings.
- 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".
+1 -1
View File
@@ -4,6 +4,6 @@ alwaysApply: true
When you work with UI: When you work with UI:
1. Use MDUI components as HTML elements 1. Use MDUI components as HTML elements with the name "mdui-***". In JSX/TSX use the same elements and props as in HTML.
2. Do NOT dynamically create HTML if it's going to be loaded when the page loads, instead put it statically in the HTML. 2. Do NOT dynamically create HTML if it's going to be loaded when the page loads, instead put it statically in the HTML.
3. The supporting text slot for MDUI lists is "description". 3. The supporting text slot for MDUI lists is "description".