fix: les
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
description: Algemene project-conventies
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Code Style
|
||||
- Gebruik TypeScript strict mode
|
||||
- Geen any-types; geef expliciete return types op functies
|
||||
- Tailwind voor styling — geen CSS modules
|
||||
- Server components by default; "use client" alleen waar nodig
|
||||
- Imports: gebruik @/ alias voor src/
|
||||
|
||||
# Bestandsstructuur
|
||||
- Componenten in src/components/<naam>/index.tsx
|
||||
- Page-specifieke componenten in app/<route>/_components/
|
||||
- Hooks in src/hooks/<naam>.ts
|
||||
|
||||
# Algemeen
|
||||
- Geen console.log in committed code
|
||||
- Errors: gebruik next/error of toast (geen alert)
|
||||
- Async: prefer await over .then chains
|
||||
Reference in New Issue
Block a user