A sharable TypeScript configuration preset for projects using the Carbon Design System. v0.10.0, versioned alongside Carbon releases. Provides strict settings aligned with Carbon's coding conventions, including strictNullChecks and noUnusedLocals. Differentiates from generic presets by tailoring paths and module resolution for Carbon's monorepo structure. Updated for Carbon v11 compatibility.
npm install typescript-config-carbonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the config package and extend it in tsconfig.json for a Carbon project.
Update package.json dependency to @carbon/tsconfig and change extends field accordingly.
Switch to ESM imports; no require().
Set module to node16 or nodenext in your tsconfig if overriding.
Install @carbon/tsconfig (not @carbon/typescript-config) and ensure extends points to '@carbon/tsconfig'.
Set module: 'node16' in your tsconfig.json or remove conflicting overrides.
Ensure your tsconfig includes "jsx": "react-jsx" if not already defined.