chore: remove husky and local commit hooks - #23
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Walkthrough移除 Husky、lint-staged 和 commitlint 本地校验配置、依赖及钩子脚本,调整服务构建排除项,并将 AGENTS.md 与 README.md 中的提交规范更新为由 CI 和 Code Review 约束。 Changes本地提交校验移除
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS.md`:
- Around line 132-133: Update the commit-message policy wording in AGENTS.md
lines 132-133 and README.md line 340 to match the actual workflow: remove the
claim that CI enforces commit conventions and state that compliance relies on
Code Review and repository conventions; do not add commitlint or CI checks.
🪄 Autofix (Beta)
✅ Autofix completed
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 47f36008-fae4-48e0-8cdb-3216e1359506
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (7)
.husky/commit-msg.husky/pre-commitAGENTS.mdREADME.mdapps/server/tsconfig.build.jsoncommitlint.config.tspackage.json
💤 Files with no reviewable changes (4)
- .husky/commit-msg
- commitlint.config.ts
- apps/server/tsconfig.build.json
- .husky/pre-commit
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Fixes Applied SuccessfullyFixed 2 file(s) based on 1 unresolved review comment. Files modified:
Commit: The changes have been pushed to the Time taken: |
Fixed 2 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
🔗 关联 Issue | Related Issue
Summary by CodeRabbit