openclaw/git-hooks
Cyrus Goh 13661abbd8
chore: add lint check to pre-commit hook
- Add scripts/lint-staged.js to run oxlint on staged files
- Extend format-staged.js to include ui/src/ directory
- Update pre-commit hook to run both format and lint checks

The pre-commit hook now blocks commits if there are linting
errors, catching issues like unused imports before they land.
2026-01-25 21:34:15 -08:00
..
pre-commit chore: add lint check to pre-commit hook 2026-01-25 21:34:15 -08:00