EM tsc --noEmit is red; precommit lint:exercise-manager will fail
Ubicación
packages/exercise-manager/tsconfig.json (baseUrl / TS5101)
packages/exercise-manager/src/** (many existing type errors under tsc --noEmit)
packages/exercise-manager/package.json typecheck script
root package.json lint:exercise-manager
Qué falla
npm run typecheck --workspace=packages/exercise-manager (and therefore npm run lint:exercise-manager / npm run precommit when EM files changed) exits non-zero. TypeScript 6.0 first reports TS5101 (baseUrl deprecated). After --ignoreDeprecations 6.0, dozens of real type errors remain (tests, Storybook, handlers, JSX namespace, etc.).
lint:exercise-manager should be a usable precommit gate. Today it cannot pass on the current tree.
Por qué se dejó sin corregir
The precommit gate wires EM lint to tsc --noEmit as designed. Fixing the existing type errors is a separate, large cleanup, not part of adding the runner.
Riesgo
Media
Criterio de cierre
npm run typecheck --workspace=packages/exercise-manager exits 0 on the default branch, so npm run precommit can include EM lint without a guaranteed red step.
Thanks for opening this. Before we dig in, a couple of things need addressing in the description:
- Use the bug report template. The bug report template doesn't appear to have been used. Please open the issue via the "Bug Report" template — the form collects the specific info we need to reproduce the problem.
If the description isn't updated within 7 days, this issue will be closed automatically and labeled state-rules-not-followed. Reopen any time — an edit to the description is all it takes.
If an AI helped draft this, AGENTS.md covers the same expectations from the AI side.
Opened on the wrong repo (upstream). This debt belongs in aserec/alphaTab.