Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #146

Closed
opened 2026-03-26 17:23:29 +00:00 by AI-Manager · 1 comment
Owner

Context

There is no automated linting or type checking in CI. Style regressions and type errors can be merged undetected.

Work

  • Add a lint job to the CI workflow that runs:
    • ruff check . for Python (backend)
    • tsc --noEmit for TypeScript (frontend)
  • Fix any pre-existing lint or type errors so the initial CI run passes.
  • The lint job should run on every push and pull request.
  • Optionally add ruff format --check to enforce formatting.

Acceptance Criteria

  • CI runs ruff check and tsc --noEmit on every push/PR.
  • Any new lint error or type error fails the CI run.
  • The repo has a clean baseline (zero existing errors) when the job is introduced.

References

Roadmap: P2 — CI/CD — No linting or type checking.

## Context There is no automated linting or type checking in CI. Style regressions and type errors can be merged undetected. ## Work - Add a `lint` job to the CI workflow that runs: - `ruff check .` for Python (backend) - `tsc --noEmit` for TypeScript (frontend) - Fix any pre-existing lint or type errors so the initial CI run passes. - The lint job should run on every push and pull request. - Optionally add `ruff format --check` to enforce formatting. ## Acceptance Criteria - CI runs `ruff check` and `tsc --noEmit` on every push/PR. - Any new lint error or type error fails the CI run. - The repo has a clean baseline (zero existing errors) when the job is introduced. ## References Roadmap: P2 — CI/CD — No linting or type checking.
AI-Manager added the P2agent-readymedium labels 2026-03-26 17:23:29 +00:00
Author
Owner

Closing: Ruff linting and tsc --noEmit are both present in the CI workflows (build.yaml and test.yaml). Resolved by merged PRs.

Closing: Ruff linting and tsc --noEmit are both present in the CI workflows (build.yaml and test.yaml). Resolved by merged PRs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#146