TypeScript strict
Strict TypeScript that stays strict. No new any, loose types, unsafe assertions or suppressions; tsconfig keeps its strict flags; source files stay small.
Set this profile
ccpp cpo profile set typescript-strictInside Claude Code, prefix the command with ! to run it in the session. Downloading a profile needs a Builder or Team plan; listing them does not.
Policies
6 policies, grouped by what they guard.
Weakened checks 2
Suppressions, disabled lint or CI steps and relaxed strictness need a reason or the user's approval.
ts-no-suppressionsNo new comments suppressing TypeScript or type-safety lint errors
tsconfig-stricttsconfig files may not turn strictness flags off
Type safety 3
No escapes from the type checker (any, unchecked casts, non-null assertions) and explicit contracts.
ts-no-anyNo new `any` in TypeScript
ts-no-loose-typesNo new `Function` or `Object` types in TypeScript
ts-no-unsafe-assertionsNo new double casts, `as {}` or non-null assertions in TypeScript
Architecture & boundaries 1
Declared layers and dependency directions, no import cycles, small modules, explicit dependencies.
source-file-sizeTypeScript source files may not grow beyond the size limit