765 B
765 B
- use pnpm instead of npm
- use pnpm run check after tasks to check code
- Support i18n. When writing business logic, initially only translate the English version of en.json
- use English for comments&console
- Follow the ✅ KISS (Keep It Simple, Stupid) & ✅ YAGNI (You Aren't Gonna Need It) principles
- Use Conventional Commits format for commit messages:
type(scope): subject. Common types: feat, fix, docs, style, refactor, test, chore, perf, ci, build, revert. PR titles should also follow this format. - If there is an error when running
pnpm run check:i18n, please complete the missing corresponding translation files and fields. Ensure the translation is done into the corresponding language, rather than directly copying the English version.