Files
nuzlocke-tracker/.beans/nuzlocke-tracker-rb0p--implement-pre-commit-hooks-for-linting.md

18 lines
643 B
Markdown
Raw Normal View History

---
# nuzlocke-tracker-rb0p
title: Implement pre-commit hooks for linting
status: completed
type: task
priority: high
created_at: 2026-02-10T12:05:39Z
updated_at: 2026-02-17T17:17:32Z
---
Set up pre-commit hooks to automatically run linting before every commit, catching issues before they reach the pipeline.
## Checklist
- [x] Install and configure a pre-commit framework — migrated from `pre-commit` to `prek` (Rust)
- [x] Add backend hook: `ruff check --fix` + `ruff format` on staged Python files
- [x] Add frontend hook: `oxlint`, `oxfmt --check`, and `tsc -b` on staged TS/TSX files
- [x] Document the pre-commit setup in CLAUDE.md