mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-29 15:26:05 +02:00
761 B
761 B
Project Guidelines
Testing and Quality
- After making changes, run
pnpm format && pnpm lint && pnpm testat the root of the project - Always run this command before finishing a task to ensure the application isn't broken
Code Quality
- Don't leave comments that don't add value
- Don't duplicate code unless there's a very good reason; keep the same logic in one place
Nodecar
- After changing nodecar's code, recompile it with
cd nodecar && pnpm buildbefore testing
Singletons
- If there is a global singleton of a struct, only use it inside a method while properly initializing it, unless explicitly specified otherwise
UI Theming
- When modifying the UI, don't add random colors that are not controlled by
src/lib/themes.ts