shared-tooling-typescript-config
TypeScript Configuration Patterns
Quick Guide: Shared TypeScript strict config in
packages/typescript-config/. Enablestrict: trueplusnoUncheckedIndexedAccess,exactOptionalPropertyTypes,noImplicitOverride. Use modern module settings:module: "preserve",moduleResolution: "bundler",verbatimModuleSyntax: true,moduleDetection: "force". Use${configDir}(TS 5.5+) for portable paths. Sync path aliases between tsconfig and your build tool.
<critical_requirements>
CRITICAL: Before Using This Skill
All code must follow project conventions in CLAUDE.md (kebab-case, named exports, import ordering,
import type, named constants)
(You MUST enable TypeScript strict mode (strict: true) in ALL tsconfig.json files - non-negotiable)
(You MUST use verbatimModuleSyntax: true to enforce explicit import type - replaces deprecated importsNotUsedAsValues)
(You MUST use shared config pattern (packages/typescript-config/) in monorepos - never duplicate configs per package)
(You MUST sync path aliases between tsconfig.json and your build tool - mismatches cause import resolution failures)