Skip to content

Commit 2ee375a

Browse files
committed
docs: update copilot instructions
1 parent 9334484 commit 2ee375a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ recipe-scrapers-js/
2323
## TypeScript Rules
2424

2525
### Strict Type Safety
26+
27+
- **Never use non-null assertions (!)**
2628
- **Never use `any`** - Use proper types, unions, or `unknown` instead
2729
- **Avoid type casting** unless absolutely necessary and safe
2830
- Use **type guards** for runtime type checking instead of casting

0 commit comments

Comments
 (0)