首页/ AI 技能 / @skilllib/skill-2014279417151827969
Skill站外收录 @skilllib/skill-2014279417151827969

tooling

提供 TypeScript 项目的标准化开发支持,涵盖代码编译、静态检查、格式化与测试流程管理,确保类型安全与代码一致性,适用于需要高质量构建和维护的工程化场景。

0.0 (0) 527 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# TypeScript Tooling ## **Priority: P1 (OPERATIONAL)** Essential tooling for TypeScript development and maintenance. ## Implementation Guidelines - **Compiler**: `tsc` for CI. `ts-node`/`esbuild` for 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 --noEmit` in CI. ## Anti-Patterns - **No Disable**: Avoid `// eslint-disable`. - **No Skip**: Avoid `skipLibCheck: true` if 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](references/REFERENCE.md). ## Related Topics best-practices | language

评论 0

还没有评论,来抢沙发。