Skip to content

Commit 55e37fa

Browse files
committed
chore: update copilot instructions to emphasize code quality, structure, and error handling
1 parent 31d5f15 commit 55e37fa

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,18 @@
88

99
- No need to fix formatting related issues.
1010

11-
- You can use `bun ts` for type checking.
11+
- You can use `bun ts` for type checking.
12+
13+
- Always check for typescript errors before providing the final code in the editor.
14+
15+
- Keep the implementation simpler, keep the code cleaner, and if possible keep the utility functions or pure functions outside at the root.
16+
17+
- Patch fixes are not allowed, always provide a proper solution to the problem. Find the root cause and fix it.
18+
19+
- `as any` type usage is not allowed
20+
21+
- No reparative code is allowed, use the DRY principle to avoid code repetition.
22+
23+
- Think hard, take your time and implement it nicely, with good code quality, readable and efficient.
24+
25+
- When I ask to fix anything do not patch fix, update anything you want but make the code very very well structured, clean, efficient and with good code quality.

0 commit comments

Comments
 (0)