Files
nuzlocke-tracker/.beans/nuzlocke-tracker-rb0p--implement-pre-commit-hooks-for-linting.md
Julian Tabel 597ad91629 Prioritize beans and add pre-commit hooks task
Game Data Cleanup → critical, Tests → high, pre-commit hooks → high,
boss battles → low, remaining epics → deferred.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:06:13 +01:00

19 lines
777 B
Markdown

---
# nuzlocke-tracker-rb0p
title: Implement pre-commit hooks for linting
status: todo
type: task
priority: high
created_at: 2026-02-10T12:05:39Z
updated_at: 2026-02-10T12:05:39Z
---
Set up pre-commit hooks to automatically run linting before every commit, catching issues before they reach the pipeline.
## Checklist
- [ ] Install and configure a pre-commit framework (e.g. `pre-commit` for Python, `husky` + `lint-staged` for the frontend, or a unified approach)
- [ ] Add backend hook: `ruff check` + `ruff format --check` on staged Python files
- [ ] Add frontend hook: `eslint` + `tsc` on staged TS/TSX files
- [ ] Update CI workflow to replace lint checks with test runs once the test suite is in place
- [ ] Document the pre-commit setup in CLAUDE.md or DEPLOYMENT.md