forked from mengyxu/noob-components
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
716 B
14 lines
716 B
|
3 months ago
|
Check if the code you just wrote follows the frontend development guidelines.
|
||
|
|
|
||
|
|
Execute these steps:
|
||
|
|
1. Run `git status` to see modified files
|
||
|
|
2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
|
||
|
|
3. Based on what you changed, read the relevant guideline files:
|
||
|
|
- Component changes → `.trellis/spec/frontend/component-guidelines.md`
|
||
|
|
- Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
|
||
|
|
- State changes → `.trellis/spec/frontend/state-management.md`
|
||
|
|
- Type changes → `.trellis/spec/frontend/type-safety.md`
|
||
|
|
- Any changes → `.trellis/spec/frontend/quality-guidelines.md`
|
||
|
|
4. Review your code against the guidelines
|
||
|
|
5. Report any violations and fix them if found
|