chore: 补充 Taro 小程序开发配置体系并格式化代码
- 新增全局规则: - taro-patterns.md(Taro 开发规范) - miniprogram-checklist.md(小程序检查清单) - taro-cross-platform.md(多端兼容指南) - 新增项目配置: - .eslintrc.js(ESLint 规则) - .prettierrc(Prettier 格式化) - .lintstagedrc.js(Git 暂存检查) - .editorconfig(编辑器统一配置) - scripts/setup-husky.sh(Husky 自动安装) - 新增文档: - docs/development-guide.md(完整开发指南) - docs/config-quick-reference.md(配置快速参考) - 更新 package.json: - 添加代码质量相关命令(lint、format等) - 使用 Prettier 格式化所有代码 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
84 changed files
with
2239 additions
and
967 deletions
.eslintrc.js
0 → 100644
.husky/commit-msg
0 → 100755
.husky/pre-commit
0 → 100755
.lintstagedrc.js
0 → 100644
.prettierignore
0 → 100644
.prettierrc
0 → 100644
docs/config-quick-reference.md
0 → 100644
docs/development-guide.md
0 → 100644
This diff is collapsed. Click to expand it.
scripts/setup-husky.sh
0 → 100755
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment