Commit Graph

1 Commits

Author SHA1 Message Date
SuYao
1885f9cecb
feat: migrate from husky to prek for git hooks (#12491)
* feat: migrate from husky to prek for git hooks

Replace husky + lint-staged with prek (pre-commit re-engineered in Rust) for
faster and more efficient git hooks management.

Changes:
- Add @j178/prek dependency
- Create .pre-commit-config.yaml with equivalent hooks
- Update prepare script to use prek install
- Remove husky, lint-staged dependencies and configuration
- Remove .husky directory

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* build: add @j178/prek to onlyBuiltDependencies

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: icarus <eurfelux@gmail.com>
2026-01-17 14:22:58 +08:00