Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: imports consistency (geen prio) #212

Open
4 tasks
TessaViergever opened this issue Dec 4, 2024 · 0 comments
Open
4 tasks

Refactor: imports consistency (geen prio) #212

TessaViergever opened this issue Dec 4, 2024 · 0 comments

Comments

@TessaViergever
Copy link
Collaborator

index.ts

  • alle componenten staan in index.ts
  • de componenten staan op alfabetische volgorde
  • als dit altijd/vaker nodig is, is het misschien handig om hier een prettier/eslint rule voor toe te voegen?
  • de import/export voor alle componenten is gelijk
  • export from i.p.v. apart import from + export (zie screenshot)

.tsx files

  • alle componenten die opgehaald worden uit index.ts staan in 1 import
  • i.p.v. meerdere imports vanuit index.ts (zie screenhot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant