--- # nuzlocke-tracker-rb0p title: Implement pre-commit hooks for linting status: in-progress type: task priority: high created_at: 2026-02-10T12:05:39Z updated_at: 2026-02-17T17:15:05Z --- 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