Nuxt/.github/copilot-instructions.md
2025-02-11 19:32:19 +00:00

585 B

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