chore(styles): 添加代码格式化依赖 #12

Manually merged
remilia merged 8 commits from style/prettier into master 2025-09-17 16:58:30 +08:00

8 Commits

Author SHA1 Message Date
e395e08102 chore: 修改PR模板
- 调整表单验证项
- 修改默认分支
2025-09-17 16:54:54 +08:00
444fa4ff9b docs: 创建合并请求模板 2025-09-17 16:54:54 +08:00
04a57044eb chore: 修改git hook
- 将git hook的调用工具调整为npx
2025-09-17 16:10:28 +08:00
ba16879594 chore(styles): 为项目添加开发依赖
- 添加lint-staged用于创建pre-commithook
2025-09-17 16:05:14 +08:00
359aaec8a9 style: 格式化项目代码
- 根据prettier配置格式化整个项目的代码
2025-09-17 15:50:29 +08:00
bb89721f1c chore(styles): 调整格式化配置文件
- 修改prettier.config.mjs: 标签换行
- 修改eslint.config.mjs: 允许自闭合标签(如<br />)
2025-09-17 15:46:39 +08:00
e94dbf29a3 chore(styles): 调整格式化配置文件
- 调整prettier.config.mjs,强制css文件与scss文件使用双引号
2025-09-17 15:23:44 +08:00
bfad693bd0 chore(styles): 为项目添加开发依赖
- 添加Prettier、ESLint用于规范代码风格
- 添加Prettier配置文件
2025-09-17 14:47:56 +08:00