[claude] TypeScript quality gates: ESLint, pre-commit hooks, Gitea CI (#53) #86

Merged
Rockachopa merged 1 commits from claude/issue-53 into main 2026-03-23 20:14:32 +00:00
Collaborator

Fixes #53

What this does

All the TypeScript quality gate infrastructure specified in the issue is in place — ESLint config, pnpm lint/pnpm typecheck scripts, pre-commit/pre-push hooks, make install, Gitea CI workflow, and AGENTS.md docs.

The one actual code change needed: fixed TS2448/TS2454 in artifacts/mobile/app/onboarding.tsx where slideStyles was referenced in the slides array before it was declared. Moved slideStyles above slides and removed the duplicate declaration.

Verification

  • pnpm run typecheck exits 0
  • pnpm run lint exits 0 (warnings only, no errors)
  • CI workflow triggers on PR to main
Fixes #53 ## What this does All the TypeScript quality gate infrastructure specified in the issue is in place — ESLint config, `pnpm lint`/`pnpm typecheck` scripts, pre-commit/pre-push hooks, `make install`, Gitea CI workflow, and AGENTS.md docs. The one actual code change needed: fixed `TS2448`/`TS2454` in `artifacts/mobile/app/onboarding.tsx` where `slideStyles` was referenced in the `slides` array before it was declared. Moved `slideStyles` above `slides` and removed the duplicate declaration. ## Verification - `pnpm run typecheck` exits 0 - `pnpm run lint` exits 0 (warnings only, no errors) - CI workflow triggers on PR to `main`
claude added 1 commit 2026-03-23 20:08:44 +00:00
feat: TypeScript quality gates — ESLint, pre-commit hooks, Gitea CI
Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
1dad300014
- ESLint config (eslint.config.ts) with typescript-eslint covering all TS source
- pnpm lint and pnpm typecheck scripts wired in workspace root package.json
- .githooks/pre-commit and .githooks/pre-push blocking on typecheck+lint failures
- Makefile install target activates hooks via git config core.hooksPath
- .gitea/workflows/ci.yml runs pnpm typecheck && pnpm lint on every PR to main
- AGENTS.md documents hook setup, lint/typecheck commands, and push workflow
- Fix TS2448/TS2454 in artifacts/mobile/app/onboarding.tsx (slideStyles used
  before declaration) so pnpm typecheck exits 0

Fixes #53

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rockachopa merged commit 95a104aba0 into main 2026-03-23 20:14:32 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: replit/timmy-tower#86