TypeScript Tooling
Priority: P1 (OPERATIONAL)
Essential tooling for TypeScript development and maintenance.
Implementation Guidelines
- •Compiler:
tscfor CI.ts-node/esbuildfor dev. - •Lint: ESLint +
@typescript-eslint. Strict type checking. - •Format: Prettier (on save + commit).
- •Test: Jest/Vitest > 80% coverage.
- •Build:
tsup(libs), Vite/Webpack (apps). - •Check:
tsc --noEmitin CI.
Anti-Patterns
- •No Disable: Avoid
// eslint-disable. - •No Skip: Avoid
skipLibCheck: trueif possible. - •No Ignore: Use
@ts-expect-error>@ts-ignore.
Configuration
json
// tsconfig.json
{
"compilerOptions": {
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true
}
}
Reference & Examples
For testing configuration and CI/CD setup: See references/REFERENCE.md.
Related Topics
best-practices | language