debt-taxonomy-typescriptlisted
Install: claude install-skill johantor/zion
# Debt taxonomy — TypeScript / JavaScript
Apply this skill when `debt-taxonomy` stack detection finds a JS/TS project (`package.json`,
`tsconfig.json`, `.eslintrc*`, `biome.json`) — this covers any JavaScript/TypeScript code,
whether a React frontend or a Node backend/CLI. The React-specific rows below apply only when
React is present. Classification rubric and blast-radius gate are in the core `debt-taxonomy`
skill.
## Suppression mechanisms
| Mechanism | Scope | Safe-removal notes |
|---|---|---|
| `// eslint-disable-next-line rule-name` | Next line | Delete the comment; re-lint the file to confirm the rule passes. |
| `// eslint-disable rule-name` … `// eslint-enable` | Block | Delete both markers. |
| `/* eslint-disable */` (no rule) | File | Broad — expand to **diagnostic count** before gating. Prefer replacing with targeted per-line disables only where genuinely needed, then remove the rest. |
| `// biome-ignore lint/category/rule: reason` | Next line | A meaningful `reason` may be legitimate (rubric class 1). |
| `@ts-ignore` | Next line | Worst kind — suppresses **all** errors on the next line. Removal may surface multiple distinct errors; enumerate them before fixing. Prefer replacing with `@ts-expect-error` if one specific error remains. |
| `@ts-expect-error` | Next line | **Cheap-win detector**: if the underlying issue was already fixed, removal compiles clean (TS reports the directive as unused → just delete it). If not, the error is now explicit. **Always saf