forked from zhongyidian/food-add-edu
feat: 初始化项目结构并添加基本配置
- 新增 Vite、React 和 TypeScript 的基础模板 - 添加 ESLint 和 Husky 进行代码检查和提交钩子 - 创建基本的 HTML、CSS 和 TypeScript 文件 - 配置 tsconfig 和 Vite 相关文件
This commit is contained in:
commit
e348e16170
20 files changed
+782
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# Commit Message 规则
|
||||
|
||||
所有 commit message 必须使用中文编写。
|
||||
|
||||
Commit message 格式:
|
||||
- 类型: 简短描述(50字以内)
|
||||
- 空行
|
||||
- 详细描述(可选,72字以内换行)
|
||||
|
||||
类型包括:
|
||||
- feat: 新功能
|
||||
- fix: 修复 bug
|
||||
- docs: 文档变更
|
||||
- style: 代码格式(不影响代码运行的变动)
|
||||
- refactor: 重构
|
||||
- perf: 性能优化
|
||||
- test: 增加测试
|
||||
- chore: 构建过程或辅助工具的变动
|
||||
- ci: 持续集成相关
|
||||
- build: 构建系统或外部依赖的变更
|
||||
|
||||
示例:
|
||||
```
|
||||
fix: 修复 TypeScript 配置文件中的 lint 错误
|
||||
|
||||
- 添加 incremental 选项以支持 tsBuildInfoFile
|
||||
- 移除不存在的 noUncheckedSideEffectImports 选项
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user