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.
833 B
833 B
| name | description |
|---|---|
| check-backend | Check if the code you just wrote follows the backend development guidelines. |
Check if the code you just wrote follows the backend development guidelines.
Execute these steps:
- Run
git statusto see modified files - Read
.trellis/spec/backend/index.mdto understand which guidelines apply - Based on what you changed, read the relevant guideline files:
- Database changes →
.trellis/spec/backend/database-guidelines.md - Error handling →
.trellis/spec/backend/error-handling.md - Logging changes →
.trellis/spec/backend/logging-guidelines.md - Type changes →
.trellis/spec/backend/type-safety.md - Any changes →
.trellis/spec/backend/quality-guidelines.md
- Database changes →
- Review your code against the guidelines
- Report any violations and fix them if found