xingzihai
|
b44ba7096f
|
feat(hooks): add pre-commit quality check hook
- Add pre-bash-commit-quality.js hook script
- Runs quality checks before git commit commands:
- Lints staged files (ESLint, Pylint, golint)
- Validates commit message format (conventional commits)
- Detects console.log/debugger statements
- Warns about TODO/FIXME without issue references
- Detects potential hardcoded secrets
- Updates hooks.json with new hook configuration
- Updates README.md with hook documentation
Cross-platform (Windows, macOS, Linux)
|
2026-03-26 00:28:26 +00:00 |
|