mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-13 12:18:15 +00:00
chore: add basic copilot instructions
This commit is contained in:
parent
8aa861389c
commit
29bea9899f
14
.github/copilot-instructions.md
vendored
Normal file
14
.github/copilot-instructions.md
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user