2026-02-10 13:06:13 +01:00
|
|
|
---
|
|
|
|
|
# nuzlocke-tracker-rb0p
|
|
|
|
|
title: Implement pre-commit hooks for linting
|
2026-02-17 18:17:23 +01:00
|
|
|
status: in-progress
|
2026-02-10 13:06:13 +01:00
|
|
|
type: task
|
|
|
|
|
priority: high
|
|
|
|
|
created_at: 2026-02-10T12:05:39Z
|
2026-02-17 18:17:23 +01:00
|
|
|
updated_at: 2026-02-17T17:15:05Z
|
2026-02-10 13:06:13 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
Set up pre-commit hooks to automatically run linting before every commit, catching issues before they reach the pipeline.
|
|
|
|
|
|
|
|
|
|
## Checklist
|
|
|
|
|
|
2026-02-17 18:17:23 +01:00
|
|
|
- [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
|