mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-13 12:18:15 +00:00
15 lines
585 B
Markdown
15 lines
585 B
Markdown
|
# 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
|