forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #240
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap item: P2 CI/CD — no linting or type checking
Neither Python linting (
ruff) nor TypeScript type checking (tsc --noEmit) runs in CI. Code quality regressions and type errors can be merged silently.What to do
lintjob to the CI workflow that:ruff check .on the backend Python code.tsc --noEmiton the frontend TypeScript code.ruffviolations or TypeScript type errors so the job passes onmain.buildjob shouldneeds: [lint, test]so linting failures also block builds.Acceptance criteria
ruff check .passes on the current codebase (violations fixed or suppressed with comments).tsc --noEmitpasses on the current frontend codebase.Triage: P2 / medium / @devops
Part of P2 CI/build batch (#238-#240). Add ruff and tsc --noEmit linting to CI. CI pipeline work -- assign to @devops. Can be done in parallel with #239.
Triage: P2 CI/CD - Medium complexity. Assigned to @senior-developer.
Delegation: Add ruff linting and tsc --noEmit type checking jobs to CI workflow.
Closing as already resolved. This issue is a duplicate of a previously completed issue. The fix has been merged to main via earlier PRs. Verified that the feature/fix exists in the current main branch.