chore: add basic copilot instructions

This commit is contained in:
Daniel Roe 2025-02-11 15:27:45 +00:00
parent 8aa861389c
commit 29bea9899f
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

14
.github/copilot-instructions.md vendored Normal file
View File

@ -0,0 +1,14 @@
# Core Requirements
- The end goal is stability, speed and great user experience.
## Code Quality Requirements
- Follow standard TypeScript conventions and best practices
- Use the Composition API when creating Vue components
- Use clear, descriptive variable and function names
- Add comments to explain complex logic or non-obvious implementations
- Write unit tests for core functionality using `vitest`
- Write end-to-end tests using Playwright and `@nuxt/test-utils`
- Keep functions focused and manageable (generally under 50 lines)
- Use error handling patterns consistently