-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCONTRIBUTING
More file actions
18 lines (15 loc) · 827 Bytes
/
CONTRIBUTING
File metadata and controls
18 lines (15 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Contributing to the Code
- Follow the existing code style when making changes or adding new code.
- Add code typing, more is better than less.
- Indent with 2 spaces, no tab, and use Unix line endings.
- If modifying the code requires a hack, avoid making the change.
## Vue3 and Nuxt3
- Use the option API when possible.
- Avoid using the store in low-level components to make them easier to manipulate and test.
# Testing
- Include tests with any changes made.
- Add Histoire stories for new components or when modifying existing ones.
- Maintain and add Cypress tests for new features.
# Contributing on GitHub
- Split changes into coherent commits, ensuring that the commit comments and messages remain readable for years.
- Only include one fix or feature per PR. If the feature is large, split it into multiple PRs.