Add ESLint + pre-commit hook and fix the issues it surfaced

This commit is contained in:
2026-06-05 01:42:42 +03:00
parent 3d38dd1411
commit 939950b136
10 changed files with 1543 additions and 53 deletions
+4
View File
@@ -0,0 +1,4 @@
# Format + lint the staged files, then run the full verify gate.
# At this project's size all three finish in ~2s; if the suite grows slow,
# move typecheck/test to a pre-push hook and leave lint-staged here.
npx lint-staged && npm run typecheck && npm test